1 2015-04-24 Florian Weimer <fweimer@redhat.com>
3 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6 2015-04-24 Roland McGrath <roland@hack.frob.com>
8 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
9 * sysdeps/arm/configure: Regenerated.
11 2015-04-24 Florian Weimer <fweimer@redhat.com>
14 * time/tzfile.c (__tzfile_read): Check for large values of
15 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
16 * time/tzset.c (__tzstring_len): New function, based on the old
18 (__tzstring): Call __tzstring_len.
19 (parse_tzname): New helper function extracted from
20 __tzset_parse_tz. Call __tzstring_len, without making a copy of
22 (parse_offset): New helper function extracted from
23 __tzset_parse_tz. Replace switch with fallthrough with
24 initialization before sscanf.
25 (parse_rule): Likewise.
26 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27 new-style function definition.
28 * timezone/Makefile (tests): Add tst-tzset.
29 (tst-tzset.out): Dependencies on time zone files.
30 (tst-tzset-ENV): Set TZDIR.
31 (testdata/XT%): Copy crafted time zone files.
32 * timezone/README: Mention crafted time zone files.
33 * timezone/testdata/XT1, timezone/testdata/XT2,
34 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36 * timezone/tst-tzset.c: New test.
38 2015-04-24 Florian Weimer <fweimer@redhat.com>
40 * Makeconfig (+gccwarn): Remove -Winline.
42 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
44 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
46 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
48 * NEWS: Mention sysconf() cache information support for s390.
49 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
51 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
53 * math/k_casinh.c (__kernel_casinh): Use __copysign.
54 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
55 (__nearbyint): Likewise.
56 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
57 (copysignl): Likewise.
59 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
62 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
63 based on padding. (CVE-2015-1781)
65 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
67 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
69 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
70 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
71 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
72 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
73 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
74 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
75 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
76 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
78 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
79 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
80 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
81 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
82 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
83 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
84 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
85 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
86 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
87 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
88 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
89 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
90 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
91 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
93 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
95 * stdlib/setenv.c (__add_to_environ):
96 Dump core quickly if setenv (..., NULL, ...) is called.
97 This time, do it the right way, and pacify GCC with a pragma.
99 2015-04-17 Roland McGrath <roland@hack.frob.com>
101 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
102 IMAP->l_prev cannot be null, and #if out the code for the contrary
103 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
104 believe that NS (&_dl_ns[NSID]) could point outside the array.
106 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
107 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
108 before using NSID as an index.
110 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
113 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
114 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
115 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
117 2015-04-17 Roland McGrath <roland@hack.frob.com>
119 Add preliminary port to Google Native Client on ARM.
120 * abi-tags (.*-.*-nacl.*): New entry.
121 * sysdeps/arm/nacl: New directory.
122 * sysdeps/nacl: New directory.
124 2015-04-16 David S. Miller <davem@davemloft.net>
126 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
129 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
131 * sysdeps/tile/configure.ac: New file.
132 * sysdeps/tile/configure: Regenerated.
134 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
136 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
137 conditionals for weak_alias and libc_hidden_weak.
138 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
139 libc_hidden_weak and weak_alias.
140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
141 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
142 and weak_alias for static one.
144 2015-04-15 David S. Miller <davem@davemloft.net>
146 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
148 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
151 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
152 Use signed comparision instead of substraction to avoid
154 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
155 Take the sign of ret.
156 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
157 Do not expect precise return values. Only the sign matters.
158 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
159 * wcsmbs/test-wcsncmp.c: New File.
160 * string/test-strncmp.c: Add wcsncmp support.
162 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
165 * math/w_log1p.c: New file.
166 * math/w_log1pf.c: Likewise.
167 * math/w_log1pl.c: Likewise.
168 * math/Makefile (libm-calls): Add w_log1p.
169 * math/s_log1pl.c (log1pl): Remove weak_alias.
170 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
171 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
172 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
173 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
174 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
175 [NO_LONG_DOUBLE] (log1pl): Likewise.
176 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
177 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
178 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
179 (log1p): Remove long_double_symbol.
180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
181 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
182 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
183 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
184 remove weak_alias for corresponding log1p function.
185 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
186 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
187 * sysdeps/ia64/fpu/w_log1p.c: New file.
188 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
189 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
190 * math/libm-test.inc (log1p_test_data): Add errno expectations.
192 2015-04-10 Joseph Myers <joseph@codesourcery.com>
195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
196 decimal exponent by 1.
197 * stdlib/tst-strtod-round-data: Add more tests.
198 * stdlib/tst-strtod-round.c (tests): Regenerated.
200 2015-04-09 Joseph Myers <joseph@codesourcery.com>
202 * math/auto-libm-test-in: Add more tests of clog and clog10.
203 * math/auto-libm-test-out: Regenerated.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
207 2015-04-09 Roland McGrath <roland@hack.frob.com>
209 * Makeconfig (module-cppflags): Exclude all .v.i files.
210 (skip-module-cppflags): Variable removed.
212 * configure.ac (libc_config_ok): Initialize before reading
213 preconfigure scripts, not after.
214 * configure: Regenerated.
216 * test-skeleton.c (TIMEOUT): Move #define to top level.
217 (main): Grok environment variable TEST_DIRECT. If set, print
218 test expectation details into that file and then behave as if
221 2015-04-09 Florian Weimer <fweimer@redhat.com>
223 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
226 2015-04-08 David S. Miller <davem@davemloft.net>
228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
230 2015-04-08 Joseph Myers <joseph@codesourcery.com>
232 * math/auto-libm-test-in: Add more tests of atanh.
233 * math/auto-libm-test-out: Regenerated.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237 * math/auto-libm-test-in: Add more tests of atan.
238 * math/auto-libm-test-out: Regenerated.
239 * sysdeps/i386/fpu/libm-test-ulps: Update.
240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
242 2015-04-08 Florian Weimer <fweimer@redhat.com>
244 * elf/pldd.c (main): Rewrite to use struct
245 scratch_buffer instead of extend_alloca.
246 * elf/pldd-xx.c (find_maps): Likewise.
247 * grp/initgroups.c: Include <scratch_buffer.h> instead of
249 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
250 scratch_buffer instead of extend_alloca.
251 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
252 grp/compat-initgroups.c.
253 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
254 Rewrite to use struct scratch_buffer instead of extend_alloca.
255 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
256 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
258 2015-04-08 Joseph Myers <joseph@codesourcery.com>
260 * math/auto-libm-test-in: Add more tests of cbrt.
261 * math/auto-libm-test-out: Regenerated.
262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
264 * math/auto-libm-test-in: Add more tests of cabs.
265 * math/auto-libm-test-out: Regenerated.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
271 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
272 (__ieee754_atan2): Set FE_TONEAREST mode for internal
274 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
276 * math/auto-libm-test-out: Regenerated.
277 * sysdeps/i386/fpu/libm-test-ulps: Update.
278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
282 (atan): Set FE_TONEAREST mode for internal computations.
283 * math/auto-libm-test-in: Add more tests of atan.
284 * math/auto-libm-test-out: Regenerated.
286 2015-04-07 James Cowgill <james410@cowgill.org.uk>
289 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
291 2015-04-07 Florian Weimer <fweimer@redhat.com>
293 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
295 2015-04-07 Florian Weimer <fweimer@redhat.com>
297 * include/scratch_buffer.h: New file.
298 * malloc/scratch_buffer_grow.c: Likewise.
299 * malloc/scratch_buffer_grow_preserve.c: Likewise.
300 * malloc/scratch_buffer_set_array_size.c: Likewise.
301 * malloc/tst-scratch_buffer.c: Likewise.
302 * malloc/Makefile (routines): Add scratch_buffer_grow.
303 (tests): Add test case.
304 * malloc/Versions (GLIBC_PRIVATE): Export
305 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
306 __libc_scratch_buffer_set_array_size.
308 2015-04-06 Richard Henderson <rth@redhat.com>
310 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
311 * sysdeps/alpha/fpu/libm-test-ulps: Update.
313 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
314 unsigned int before printing.
316 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
319 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
320 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
322 2015-04-02 Florian Weimer <fweimer@redhat.com>
324 * include/libc-internal.h (libc_max_align_t): Define.
326 2015-04-02 Andreas Schwab <schwab@suse.de>
329 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
331 2015-04-02 Mel Gorman <mgorman@suse.de>
334 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
335 as well as the main arena.
337 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
340 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
341 sharing L2 cache to 2 for Silvermont/Knights Landing.
343 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
346 * config.make.in (have-protected-data): New.
347 * configure.ac: Check linker support for protected data symbol.
348 * configure: Regenerated.
349 * elf/Makefile (modules-names): Add tst-protected1moda and
350 tst-protected1modb if $(have-protected-data) is yes.
351 (tests): Add tst-protected1a and tst-protected1b if
352 $(have-protected-data) is yes.
353 ($(objpfx)tst-protected1a): New.
354 ($(objpfx)tst-protected1b): Likewise.
355 (tst-protected1modb.so-no-z-defs): Likewise.
356 * elf/tst-protected1a.c: New file.
357 * elf/tst-protected1b.c: Likewise.
358 * elf/tst-protected1mod.h: Likewise.
359 * elf/tst-protected1moda.c: Likewise.
360 * elf/tst-protected1modb.c: Likewise.
362 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
365 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
366 indicates it is called from do_lookup_x on relocation against
367 protected data, skip the data definion in the executable from
369 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
370 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
371 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
372 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
373 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
375 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
376 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
377 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
378 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
379 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
380 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
382 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
384 * sysdeps/nptl/pthread.h: Remove duplicate definition of
385 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
387 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
389 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
391 * sysdeps/x86_64/nptl/tls.h: Ditto.
393 2015-03-27 Roland McGrath <roland@hack.frob.com>
395 * dlfcn/tststatic.c (main): Converted to ...
397 (TEST_FUNCTION): New macro.
398 Include test-skeleton.c.
400 2015-03-26 Alan Modra <amodra@gmail.com>
402 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
403 Don't segfault if ifunc resolver returns a NULL. Do set plt to
404 zero for undefined weak.
405 (elf_machine_plt_conflict): Similarly.
407 2015-03-25 Joseph Myers <joseph@codesourcery.com>
409 * math/auto-libm-test-in: Add more tests of acosh, asinh and
411 * math/auto-libm-test-out: Regenerated.
412 * sysdeps/i386/fpu/libm-test-ulps: Update.
413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415 * math/auto-libm-test-in: Add another test of asin.
416 * math/auto-libm-test-out: Regenerated.
417 * sysdeps/i386/fpu/libm-test-ulps: Update.
418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
420 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
422 (LLL_EBX_REG): Likewise.
423 (LLL_ENTER_KERNEL): Likewise.
425 * math/auto-libm-test-in: Add more tests of asin.
426 * math/auto-libm-test-out: Regenerated.
427 * sysdeps/i386/fpu/libm-test-ulps: Update.
428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
431 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
432 libc_do_syscall_args): New structure.
433 (INTERNAL_SYSCALL_MAIN_0): New macro.
434 (INTERNAL_SYSCALL_MAIN_1): Likewise.
435 (INTERNAL_SYSCALL_MAIN_2): Likewise.
436 (INTERNAL_SYSCALL_MAIN_3): Likewise.
437 (INTERNAL_SYSCALL_MAIN_4): Likewise.
438 (INTERNAL_SYSCALL_MAIN_5): Likewise.
439 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
440 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
441 Replace conditional definitions by conditional definitions of ....
442 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
443 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
444 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
445 (libpthread-sysdep_routines): Add libc-do-syscall.
446 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
447 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
448 to __NR_futex not 240.
450 2015-03-25 Alan Modra <amodra@gmail.com>
452 * NEWS: Advertise TLS optimization.
453 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
454 (DT_PPC_NUM): Increment.
455 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
456 (CHECK_STATIC_TLS): Use here.
457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
460 * sysdeps/powerpc/dl-tls.c: New file.
461 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
462 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
463 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
464 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
469 2015-03-25 Alan Modra <amodra@gmail.com>
471 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
472 for overlapping .opd entries" to "support...".
473 * sysdeps/powerpc/powerpc64/configure: Regenerate
475 2015-03-25 Joseph Myers <joseph@codesourcery.com>
477 * math/auto-libm-test-in: Add more tests of acos.
478 * math/auto-libm-test-out: Regenerated.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
482 * math/auto-libm-test-in: Add more tests of expm1.
483 * math/auto-libm-test-out: Regenerated.
484 * sysdeps/i386/fpu/libm-test-ulps: Update.
485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
487 2015-03-24 Joseph Myers <joseph@codesourcery.com>
489 * math/auto-libm-test-in: Add more tests of cosh and sinh.
490 * math/auto-libm-test-out: Regenerated.
491 * sysdeps/i386/fpu/libm-test-ulps: Update.
492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
494 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
497 * math/auto-libm-test-in: Add more tests of log2.
498 * math/auto-libm-test-out: Regenerated.
499 * sysdeps/i386/fpu/libm-test-ulps: Update.
500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
502 2015-03-23 Roland McGrath <roland@hack.frob.com>
504 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
505 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
506 _IO_IS_APPENDING bit in READ_WRITE instead.
508 2015-03-23 Florian Weimer <fweimer@redhat.com>
510 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
511 (__determine_cpumask_size): Replace extend_alloca with a
512 variable-length array. Do not treat res == 0 as an error.
514 2015-03-23 Florian Weimer <fweimer@redhat.com>
517 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
518 and integer overflow.
519 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
520 (main): Add integer overflow tests.
521 * manual/pattern.texi (Calling Wordexp): Document additional use
524 2015-03-23 Alan Modra <amodra@gmail.com>
526 * config.h.in: Remove HAVE_ASM_PPC_REL16.
527 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
528 and false branch of conditional.
529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
532 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
534 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
536 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
537 unused declaration of _hurd_intr_rpc_msg_in_trap.
538 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
539 defined instead of whether it is non-zero.
540 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
541 input constraint instead of both input and output constraint. Use ecx
542 clobber instead of %ecx.
543 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
544 mutex_unlock): Use a statement expression instead of an expression list.
545 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
546 type to vm_size_t instead of vm_address_t.
547 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
548 defined instead of whether it is non-zero.
549 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
550 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
551 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
552 comparisons with mapaddr.
553 * nscd/nscd-client.h: Include <time.h>.
554 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
555 9th parameter to __vm_region instead of int.
556 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
557 * scripts/check-local-headers.sh (exclude): Add device/,
558 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
561 2015-03-19 Roland McGrath <roland@hack.frob.com>
563 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
564 to account for alignment padding.
565 * sysdeps/arm/memmove.S: Likewise.
567 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
569 * sysdeps/unix/sysv/linux/generic/README: New file.
571 2015-03-18 Joseph Myers <joseph@codesourcery.com>
574 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
575 (futex_abstimed_wait)
576 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
577 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
578 of lll_futex_timed_wait.
580 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
583 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
585 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
592 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
593 entries with Static TLS too. Skip entries past the end of the
594 allocated DTV, from Alan Modra.
595 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
596 Static TLS DTV entry set up from...
597 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
598 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
599 * nptl/allocatestack.c (init_one_static_tls): ... and here...
600 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
602 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
603 that the slot we find is associated with the given map before
604 using its generation count.
605 * nptl_db/db_info.c: Include ldsodefs.h.
606 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
607 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
608 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
609 (link_map::l_tls_offset): New struct field.
610 (dtv_t::counter): Likewise.
611 (rtld_global): New struct.
612 (_rtld_global): New rtld variable.
613 (dl_tls_dtv_slotinfo_list): New rtld global field.
614 (dtv_slotinfo_list): New struct.
615 (dtv_slotinfo): Likewise.
616 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
617 (td_lookup): Rename to...
618 (td_mod_lookup): ... this. Use new mod parameter instead of
620 * nptl_db/td_thr_tlsbase.c: Include link.h.
621 (dtv_slotinfo_list, dtv_slotinfo): New functions.
622 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
623 addresses even if the DTV is out of date or missing them.
624 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
625 index zero-length arrays.
626 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
627 (td_lookup): Make it a macro implemented in terms of...
628 (td_mod_lookup): ... this declaration.
629 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
630 (DB_MAIN_VARIABLE): Likewise.
632 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
635 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
637 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
639 * stdlib/setenv.c (__add_to_environ): Revert previous change.
641 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
644 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
645 (atomic_add, atomic_increment_and_test)
646 (atomic_decrement_and_test): Fix 64-bit arithmetic.
648 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
650 * stdlib/setenv.c (__add_to_environ):
651 Dump core quickly if setenv (..., NULL, ...) is called.
653 2015-03-13 Roland McGrath <roland@hack.frob.com>
655 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
656 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
657 all the necessary asm magic in one place.
658 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
661 2015-03-13 Carlos O'Donell <carlos@redhat.com>
664 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
665 traced file mtime. Use consistent log message.
666 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
667 (register_traced_file): Call install_watches. Always set mtime.
668 (invalidate_cache): Iterate over all trace files. Call install_watches.
669 (inotify_check_files): Don't inline. Handle watching parent
670 directories and configuration file movement in and out.
671 (handle_inotify_events): New function.
672 (main_loop_poll): Call handle_inotify_events.
673 (main_loop_epoll): Likewise.
674 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
675 (struct traced_file): Use array of inotify fds. Add parent directory,
677 (struct database_dyn): Remove unused file_mtime.
678 (init_traced_file): New inline function.
679 (define_traced_file): New macro.
680 * nss/nss_db/db-init.c: Use define_traced_file.
681 (_nss_db_init): Use init_traced_file.
682 * nss/nss_files/files-init.c: Use define_traced_file.
683 (_nss_files_init): Use init_traced_file.
685 2015-03-12 Joseph Myers <joseph@codesourcery.com>
687 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
688 [_LIBC]: Do not include <stdlib.h>.
689 [!_LIBC] (abort): Remove declaration.
690 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
691 _FP_STATIC_ASSERT instead of conditionally calling abort.
692 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
693 (_FP_EXTEND_CNAN): Likewise.
694 (FP_TRUNC): Likewise.
695 (__FP_CLZ): Likewise.
696 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
698 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
700 * manual/string.texi (XPG basename): Fix prototype.
702 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
705 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
706 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
707 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
708 (__setcontext): Likewise.
709 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
710 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
711 Call rt_sigprocmask syscall one time to set new signal mask
712 and retrieve the current signal mask instead of two calls.
713 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
714 (__swapcontext): Likewise.
715 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
716 * stdlib/tst-setcontext2.c: New file.
718 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
720 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
722 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
725 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
728 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
731 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
733 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
735 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
736 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
738 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
739 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
740 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
741 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
742 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
743 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
745 * nptl_db/td_symbol_list.c (td_lookup): Remove
746 HAVE_ASM_GLOBAL_DOT_NAME code.
747 * sysdeps/powerpc/powerpc64/configure.ac: Remove
748 HAVE_ASM_GLOBAL_DOT_NAME check.
749 * sysdeps/powerpc/powerpc64/configure: Regenerate.
750 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
751 (DOT_LABEL): Remove define.
752 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
753 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
754 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
755 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
756 (__TLS_GET_ADDR): Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
758 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
760 2015-03-11 Carlos O'Donell <carlos@redhat.com>
763 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
764 (_FPU_SETCW): Initialize cw from fpsr before storing.
765 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
766 (fesetexceptflag): Rewrite using fpu_control.h.
767 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
769 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
772 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
774 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
776 2015-03-11 Joseph Myers <joseph@codesourcery.com>
778 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
779 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
784 2015-03-10 Roland McGrath <roland@hack.frob.com>
786 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
788 * Makefile (summarize-tests): New canned sequence, factored out of
789 commands for targets tests and xtests. Display summary lines that
790 don't start with PASS: or XFAIL: rather than ones that do start with
791 ERROR: or FAIL:. Make the commands fail if any summary lines fail
792 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
793 do start with ERROR: or FAIL:.
794 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
795 (except for [$(build-shared) = yes]).
796 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
797 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
798 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
799 * nptl/Makefile: Revert 2015-03-04 changes.
800 [$(CXX) empty] (tests-unsupported): New variable.
801 * debug/Makefile: Likewise.
803 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
804 gnulib file. Replace __attribute with __attribute__ throughout.
806 2015-03-10 Carlos O'Donell <carlos@redhat.com>
808 * sysdeps/hppa/fpu/libm-test-ulps: Update.
810 2015-03-10 Joseph Myers <joseph@codesourcery.com>
813 * math/auto-libm-test-in: Add another test of pow.
814 * math/auto-libm-test-out: Regenerated.
816 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
819 $(config-cflags-nofma).
821 2015-03-10 Joseph Myers <joseph@codesourcery.com>
823 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
824 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
825 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
826 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
827 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
828 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
829 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
830 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
831 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
832 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
833 Add comment on closing #endif.
835 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
837 * posix/wordexp.c (CHAR_IN_SET): New macro.
838 (parse_param): Use it.
840 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
842 * sysdeps/powerpc/fpu/libm-test-ulps: update.
844 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
847 * posix/wordexp.c (parse_param): Fix buffer overflow.
848 * posix/wordexp-test.c (test_case): Add test case.
850 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
853 * posix/wordexp.c (parse_backtick): Fix off-by-one.
854 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
856 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
859 * posix/wordexp-test.c (test_case): Add test for BZ #18043
860 (do_bz18043): Delete.
862 (testit): Refactor to have words at the edge of unreadable page.
864 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
867 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
868 Cleanup read-only streams as well.
869 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
871 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
873 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
876 2015-03-07 Joseph Myers <joseph@codesourcery.com>
878 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
880 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
881 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
882 * soft-fp/op-common.h (_FP_DECL): Likewise.
884 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
886 * elf/ifuncdep2.c (global): Replace
887 __attribute__((visibility("protected"))) with
888 asm (".protected global").
889 * elf/ifuncmod1.c (global): Likewise.
890 * elf/ifuncmod5.c (global): Likewise.
892 2015-03-06 Joseph Myers <joseph@codesourcery.com>
894 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
895 <asm/sfp-machine.h> instead of <sfp-machine.h>.
897 2015-03-06 Roland McGrath <roland@hack.frob.com>
899 * manual/install.texi (Configuring and compiling):
900 Document test-wrapper-env-only.
901 * INSTALL: Regenerated.
903 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
906 * posix/wordexp.c (parse_param): Fix buffer overflow.
907 * posix/wordexp-test.c (do_bz18043): Add test case.
909 2015-03-06 Vincent Bernat <vincent@bernat.im>
911 * time/tst-strptime2.c (do_test): Ensure failing tests are
913 * time/tst-strptime3.c (do_test): Likewise.
915 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
917 Fix aio_error thread-safety.
918 * sysdeps/pthread/aio_error.c: New file
919 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
922 2015-03-06 Florian Weimer <fweimer@redhat.com>
924 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
925 (group_number, vfprintf): Use it.
926 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
928 (WORK_BUFFER_SIZE): New enum constant.
929 (process_arg, vfprintf): Use it.
931 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
933 * manual/errno.texi (Error Messages): Complete example function
934 by adding missing #define.
935 (program_invocation_name): Add statement indicating GNU
936 extension and reference which header file declares the variable.
937 (program_invocation_short_name): Likewise.
939 2015-03-06 Mike Frysinger <vapier@gentoo.org>
941 * manual/errno.texi (Error Messages): Delete strerror ISO C89
944 2015-03-05 Roland McGrath <roland@hack.frob.com>
946 * Makeconfig (test-wrapper-env-only): New variable.
947 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
948 then use that with $(test-wrapper-env-only) rather than using
949 $(test-wrapper-env) $(run-program-env) $($*-ENV).
951 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
954 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
955 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
956 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
957 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
958 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
959 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
960 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
961 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
963 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
968 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
970 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
972 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
973 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
977 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
978 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
980 2015-03-04 Roland McGrath <roland@hack.frob.com>
982 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
983 (ETH_ALEN): New macro.
984 (struct ether_addr): Use it for length of ether_addr_octet.
986 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
987 (setdb): Don't call __nss_configure_lookup for "rpc".
988 (do_test): Don't call test_rpc.
989 (output_rpcent, test_rpc): Functions moved ...
990 * sunrpc/test-rpcent.c: ... to this new file.
991 * sunrpc/Makefile (tests): Add it.
993 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
995 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
996 * nptl/tst-signal6.c: Likewise.
997 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
998 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1000 * configure.ac (libc_cv_cxx_link_ok): New check.
1001 Reset CXX to empty if it fails to link.
1002 * configure: Regenerated.
1003 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1004 bug-atexit3-lib only if $(CXX) is nonempty.
1005 * nptl/Makefile (tests): Likewise for tst-cancel24.
1006 (tests, tests-static): Likewise for tst-cancel24-static.
1007 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1008 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1009 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1010 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1012 2015-03-04 Andreas Schwab <schwab@suse.de>
1015 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1016 for non-GCC compilers.
1017 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1020 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1023 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1024 integer before bitwise and assembly operations.
1025 (feclearexcept): Likewise.
1026 * math/test-fenvinline.c: New file.
1027 * math/Makefile: Add test-fenvinline test.
1029 2015-03-03 Alan Modra <amodra@gmail.com>
1032 * scripts/localplt.awk: Strip off symbol version.
1033 * NEWS: Mention bug fix.
1035 2015-03-02 Roland McGrath <roland@hack.frob.com>
1037 * sysdeps/pthread/timer_routines.c
1038 (timer_free_list, thread_free_list, thread_active_list): Make static.
1040 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1043 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1044 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1046 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1047 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1049 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1050 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1053 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1056 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1057 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1059 2015-03-02 Andreas Schwab <schwab@suse.de>
1061 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1064 2015-03-02 Florian Weimer <fweimer@redhat.com>
1066 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1067 Return error status.
1069 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1072 * locale/findlocale.c (_nl_find_locale): Introduce const
1073 version of loc_name and drop unsafe type casts.
1075 2015-02-27 Roland McGrath <roland@hack.frob.com>
1077 * dlfcn/tststatic2.c (main): Converted to ...
1078 (do_test): ... this.
1079 (TEST_FUNCTION): New macro.
1080 Include test-skeleton.c.
1082 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1085 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1086 (tests-pie): Add vismain.
1087 (CFLAGS-vismain.c): New.
1088 * elf/vismain.c: Add comments for PIE requirement.
1090 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1095 0x1p-56L as threshold for just returning the argument.
1096 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1097 0x1p-32L as threshold for just returning the argument.
1098 * math/auto-libm-test-in: Add more tests of atanh.
1099 * math/auto-libm-test-out: Regenerated.
1100 * sysdeps/i386/fpu/libm-test-ulps: Update.
1101 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1103 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1105 * string/bcopy.c (bcopy): Call memmove for performance.
1107 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1109 * string/bzero.c (__bzero): Call memset for performance.
1111 2015-02-27 John David Anglin <dave.anglin@bell.net>
1114 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1117 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1119 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1121 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1123 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1124 (__kernel_standard): Use CSTR macro when setting exc.name.
1125 * sysdeps/ieee754/Makefile [$(subdir) = math]
1126 (CFLAGS-k_standard.c): Remove variable.
1128 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1129 setting p and q from "else if" to "else".
1131 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1133 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1135 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1137 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1139 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1144 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1145 return pi/2 for arguments below 0x1p-113L.
1146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1147 return pi/2 for arguments below 0x1p-106L.
1148 * math/auto-libm-test-in: Add more tests of acos.
1149 * math/auto-libm-test-out: Regenerated.
1152 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1154 (__ieee754_asin): Force underflow exception for results with small
1156 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1158 (__ieee754_asinf): Force underflow exception for results with
1159 small absolute value.
1160 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1161 (__ieee754_asin): Force underflow exception for results with small
1163 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1164 (__ieee754_asinf): Force underflow exception for results with
1165 small absolute value.
1166 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1167 (__ieee754_asinl): Force underflow exception for results with
1168 small absolute value.
1169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1170 (__ieee754_asinl): Force underflow exception for results with
1171 small absolute value.
1172 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1173 (__ieee754_asinl): Force underflow exception for results with
1174 small absolute value.
1175 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1177 * math/auto-libm-test-in: Do not mark underflow exceptions as
1178 possibly missing for bug 16351.
1179 * math/auto-libm-test-out: Regenerated.
1182 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1183 of power of 2 down when low part has opposite sign.
1184 * math/libm-test.inc (logb_test_data): Add more tests.
1186 2015-02-26 Andreas Schwab <schwab@suse.de>
1189 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1190 over collating symbol inside a bracket expression. Minor cleanup.
1191 * posix/tst-fnmatch3.c (do_test): Add test case.
1193 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1196 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1197 Adjust exponent of power of 2 down when low part has opposite
1199 * math/libm-test.inc (ilogb_test_data): Add more tests.
1201 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1204 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1205 the previous change.
1208 * locale/findlocale.c (_nl_find_locale): Retry archive search
1209 after alias expansion.
1211 2015-02-25 Roland McGrath <roland@hack.frob.com>
1213 * iconv/tst-iconv3.c (main): Converted to ...
1214 (do_test): ... this.
1215 (TEST_FUNCTION): New macro.
1216 Include test-skeleton.c.
1218 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1219 (convert): Make function static.
1220 (test_unalign): Likewise. Add const to argument pointee types.
1221 (main): Replace with static function do_test.
1222 Print "Succeeded." only if RET is zero.
1223 (TEST_FUNCTION): New macro.
1224 Include test-skeleton.c.
1226 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1227 returns a null pointer.
1229 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1231 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1232 to __memcpy_ppc only for static builds.
1234 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1237 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1238 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1239 * math/auto-libm-test-in: Add more tests of asinh.
1240 * math/auto-libm-test-out: Regenerated.
1241 * sysdeps/i386/fpu/libm-test-ulps: Update.
1242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1244 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1247 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1248 and ip6_mtuinfo definitions here.
1249 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1250 in this define too. Update comment.
1252 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1254 * elf/sprof.c (load_shobj): Tweak error message to match others.
1256 2015-02-24 Kevin Easton <kevin@guarana.org>
1258 [BZ #16145] (partial fix)
1259 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1260 to reduce lock contention.
1262 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1264 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1265 (struct timex): Update time comment.
1266 (ADJ_SETOFFSET): Define.
1268 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1271 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1272 2**56 not 2**28 as threshold for log (2x) formula.
1273 * math/auto-libm-test-in: Add more tests of acosh.
1274 * math/auto-libm-test-out: Regenerated.
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1278 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1280 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1281 parenthesis around the buf assignment.
1282 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1284 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1287 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1288 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1289 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1290 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1291 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1292 * math/libm-test.inc (scalb_test_data): Add more tests.
1294 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1297 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1298 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1300 2015-02-24 Eric Rannaud <e@nanocritical.com>
1303 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1304 * io/bits/fcntl2.h (open): Use it.
1306 * io/open.c (__libc_open): Likewise.
1307 * io/open64.c (__libc_open64): Likewise.
1308 * io/open64_2.c (__open64_2): Likewise.
1309 * io/open_2.c (__open_2): Likewise.
1310 * io/openat.c (__openat): Likewise.
1311 * io/openat64.c (__openat64): Likewise.
1312 * io/openat64_2.c (__openat64_2): Likewise.
1313 * io/openat_2.c (__openat_2): Likewise.
1314 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1315 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1316 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1317 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1318 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1319 (__open_nocancel): Likewise.
1320 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1321 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1322 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1324 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1327 * resolv/gethnamaddr.c (getanswer): Skip logging if
1328 RES_USE_DNSSEC is set.
1329 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1331 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1333 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1335 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1337 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1338 201304L, for Unicode 7.
1340 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1343 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1344 shared library. Add gmon-start.os otherwise.
1345 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1346 $(objpfx)gmon-start.os if builing shared library.
1347 ($(objpfx)g$(static-start-installed-name)): Likewise.
1349 2015-02-23 Andreas Schwab <schwab@suse.de>
1351 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1353 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1356 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1357 (enlarge_userbuf): Likewise.
1359 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1361 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1362 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1363 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1364 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1366 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1368 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1369 expression inside statement expression.
1371 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1373 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1374 <sysdeps/nptl/lowlevellock.h> and remove macros and
1375 functions that are now defined there.
1376 (SYS_futex): Remove.
1377 (lll_compare_and_swap): Remove.
1378 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1380 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1383 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1384 instead of scandirat.
1385 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1386 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1387 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1389 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1390 (__scandirat): Declare. Use libc_hidden_proto.
1391 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1393 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1395 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1398 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1400 (__ieee754_atan2): For results with small absolute value, force
1401 underflow exception and remove excess range and precision from
1403 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1405 (__ieee754_atan2f): For results with small absolute value, force
1406 underflow exception and remove excess range and precision from
1408 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1410 (__atan): For results with small absolute value, force underflow
1411 exception and remove excess range and precision from return value.
1412 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1414 (__atanf): For results with small absolute value, force underflow
1415 exception and remove excess range and precision from return value.
1416 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1418 (__ieee754_atan2): Force underflow exception for results with
1419 small absolute value.
1420 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1422 (atan): Force underflow exception for results with small absolute
1424 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1425 (__atanf): Force underflow exception for results with small
1427 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1429 (__atanl): Force underflow exception for results with small
1431 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1432 (__atanl): Force underflow exception for results with small
1434 * sysdeps/x86/fpu/bits/mathinline.h
1435 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1436 (__ieee754_atan2): Only define inline for long double.
1437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1438 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1439 * math/auto-libm-test-in: Do not mark underflow exceptions as
1440 possibly missing for bug 15319. Add more tests of atan2.
1441 * math/auto-libm-test-out: Regenerated.
1442 * math/libm-test.inc (casin_test_data): Do not mark underflow
1443 exceptions as possibly missing for bug 15319.
1444 (casinh_test_data): Likewise.
1445 * sysdeps/i386/fpu/libm-test-ulps: Update.
1447 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1449 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1450 * sysdeps/mips/bits/endian.h: Fix comments.
1452 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1455 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1456 (hdestroy_r): Likewise.
1457 (hsearch_r): Likewise.
1458 (__hcreate_r): Declare and use libc_hidden_proto.
1459 (__hdestroy_r): Likewise.
1460 (__hsearch_r): Likewise.
1461 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1462 (hcreate): Call __hcreate_r instead of hcreate_r.
1463 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1464 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1465 as weak alias of __hcreate_r.
1466 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1468 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1470 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1472 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1473 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1474 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1475 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1477 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1479 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1480 arena_lock into a single arena_get.
1482 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1484 * dl-reloc.c: Inlucde libc-internal.h.
1485 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1486 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1487 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1488 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1489 (grow_heap): Likewise.
1490 * malloc/malloc.c: Include libc-internal.h.
1491 (do_check_malloc): Call powerof2.
1492 (sysmalloc): Use pagesize. Call ALIGN_UP.
1493 (systrim): Use pagesize.
1494 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1495 (__libc_valloc): Use pagesize.
1496 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1498 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1501 * include/sys/resource.h (__getrlimit64): Declare. Use
1503 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1504 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1505 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1507 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1509 [!getrlimit64] (getrlimit64): Define as weak alias of
1510 __getrlimit64. Use libc_hidden_weak.
1511 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1512 using __getrlimit64 not __new_getrlimit64.
1513 (__GI_getrlimit64): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1516 (__GI_getrlimit64): Likewise.
1517 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1519 (getrlimit): Add __getrlimit64 alias.
1520 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1522 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1524 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1525 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1527 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1529 * libio/fileops.c: Add missing sys/mman.h
1530 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1532 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1534 * manual/math.texi (Errors in Math Functions): Clarify goals
1535 regarding inexact and underflow exceptions.
1537 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1539 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1540 * sysdeps/mips/memset.S: Ditto.
1542 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1544 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1546 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1548 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1549 (__v1longjmp): Remove versioned symbol.
1550 (__v1siglongjmp): Remove alias and versioned symbol.
1551 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1552 (__v2siglongjmp): Likewise.
1554 2015-02-16 Torvald Riegel <triegel@redhat.com>
1556 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1558 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1560 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1562 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1565 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1566 zero result does not depend on the sign resulting from
1568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1570 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1572 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1573 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1574 * math/libm-test.inc (remquo_test_data): Add more tests.
1576 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1578 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1579 Problem reported by J William Piggott.
1581 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1584 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1585 products 4 * y and 2 * y where those would overflow.
1586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1588 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1592 * math/libm-test.inc (remquo_test_data): Add more tests.
1594 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1596 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1597 [defined _COMPILING_NEWLIB].
1598 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1599 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1601 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1602 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1604 2015-02-16 Torvald Riegel <triegel@redhat.com>
1606 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1609 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1612 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1613 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1614 HOST_STACK_END_ADDR): Likewise.
1616 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1618 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1619 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1620 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1622 2015-02-13 Roland McGrath <roland@hack.frob.com>
1624 * sysdeps/generic/c++-types.data: New file.
1625 * sysdeps/generic/ld.abilist: New file.
1626 * sysdeps/generic/libBrokenLocale.abilist: New file.
1627 * sysdeps/generic/libanl.abilist: New file.
1628 * sysdeps/generic/libc.abilist: New file.
1629 * sysdeps/generic/libcrypt.abilist: New file.
1630 * sysdeps/generic/libdl.abilist: New file.
1631 * sysdeps/generic/libm.abilist: New file.
1632 * sysdeps/generic/libpthread.abilist: New file.
1633 * sysdeps/generic/libresolv.abilist: New file.
1634 * sysdeps/generic/librt.abilist: New file.
1636 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1639 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1640 Compute absolute value of x as modified by fmod, not original
1642 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1643 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1644 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1645 RUN_TEST_ffI_f1_mod8.
1646 (remquo_test_data): Add more tests.
1648 2015-02-13 Roland McGrath <roland@hack.frob.com>
1650 * sysdeps/init_array/pt-crti.S: New file.
1652 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1655 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1656 __builtin_fmaf instead of relying on contraction of a * b + c.
1658 2015-02-12 J William Piggott <elseifthen@gmx.com>
1661 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1664 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1667 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1668 __builtin_fma instead of relying on contraction of a * b + c.
1670 2015-02-12 Roland McGrath <roland@hack.frob.com>
1672 * Makeconfig (ASFLAGS): Add -Werror=undef.
1673 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1674 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1675 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1677 * Makeconfig (after-link): New variable.
1678 (+link-pie, +link-pie-tests): Use it.
1679 (+link-static, +link-static-tests): Likewise.
1680 (+link, +link-tests): Likewise.
1681 * Makerules (build-module, build-module-asneeded): Likewise.
1682 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1684 * elf/Makefile ($(objpfx)ld.so): Likewise.
1686 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1689 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1690 both struct timeval and struct timespec.
1692 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1695 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1697 (__ieee754_exp2l): Do not multiply small fractional parts by
1699 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1701 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1702 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1703 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1704 * math/auto-libm-test-in: Add more tests of exp2.
1705 * math/auto-libm-test-out: Regenerated.
1707 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1709 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1712 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1717 2015-02-12 Andreas Schwab <schwab@suse.de>
1720 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1721 Filter out elision flags from value returned in kind.
1722 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1723 * nptl/tst-pthread-mutexattr.c: New file.
1725 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1727 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1728 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1729 into gnu-gnu, and update comment to refer to abi-tags.
1731 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1734 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1735 (__sincos): Set errno to EDOM for infinite argument.
1736 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1737 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1738 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1739 (__sincosl): Set errno to EDOM for infinite argument.
1740 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1741 (__sincosl): Set errno to EDOM for infinite argument.
1742 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1743 (__sincosl): Set errno to EDOM for infinite argument.
1744 * math/libm-test.inc (sincos_test_data): Test errno setting.
1746 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1748 * string/strxfrm_l.c: Remove #define STRCMP.
1749 * string/strcoll_l.c: Remove #define STRLEN.
1750 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1751 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1753 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1755 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1756 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1757 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1758 * sysdeps/mips/mips64/Makefile: ... here.
1759 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1760 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1761 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1762 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1763 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1764 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1765 * sysdeps/mips/mips64/n64/Implies: Likewise.
1767 2015-02-10 Roland McGrath <roland@hack.frob.com>
1769 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1770 <sys/time.h>, <string.h>, and <errno.h>.
1771 (dest_offset, dest_address, value, zero): Remove unused variables.
1772 (ldouble): Remove typedef.
1773 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1774 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1776 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1777 (check): Function removed.
1779 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1780 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1781 Don't call set_sigaction_FP and remove_sigaction_FP here.
1782 (ldouble_test): Just use 'long double' as macro argument, no need for
1783 the 'ldouble' typedef.
1784 (do_test): Set up SIGFPE handler at start, using plain signal rather
1785 than sigaction. Fix code style.
1787 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1790 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1793 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1795 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1796 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1798 * sysdeps/powerpc/configure.ac: Remove file.
1799 * sysdeps/powerpc/configure: Likewise.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1802 [sysdep_routines]: Remove wordcopy-power6 object.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1804 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1806 (__memmove_ppc32): Likewise.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1810 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1811 Remove preprocessor.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1814 [sysdep_routines]: Remove wide chars objects.
1815 [wcsmbs]: New rule for wide char objects.
1817 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1818 Remove wordcopy-power6 obejct.
1819 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1820 Use local call for wordcopy and memcpy symbols.
1821 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1822 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1823 implementation for loader.
1824 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1826 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1827 Remove wordcopy-power7 object.
1828 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1829 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1830 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1831 (_wordcopy_fwd_dest_aligned): Likewise.
1832 (_wordcopy_bwd_aligned): Likewise.
1833 (_wordcopy_bwd_dest_aligned): Likewise.
1835 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1836 Rewrite to call __memmove_ppc instead of include default
1839 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1840 Remove wide chars objects.
1841 [wcsmbs]: New rule for wide char objects.
1843 2015-02-09 Andreas Schwab <schwab@suse.de>
1846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1847 in terms of __O_DIRECTORY.
1849 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1851 * time/getdate.c: Include <stdbool.h>.
1852 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1854 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1857 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1859 Add ersatz _Static_assert on older C hosts
1860 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1861 pre-C11 C platform that is not known to support _Static_assert.
1863 2015-02-07 Richard Braun <rbraun@sceen.net>
1865 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1867 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1869 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1871 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1872 priority against unexistent AIO_PRIO_DELTA_MAX.
1873 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1875 * misc/fchflags.c (fchflags): Likewise.
1876 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1877 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1878 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1879 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1880 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1882 [__USE_MISC] (chflags, fchflags): Declare functions.
1883 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1884 EINVAL when nfds is greater than FD_SETSIZE.
1885 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1886 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1888 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1889 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1890 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1892 * hurd/hurd/signal.h (_hurd_self_sigstate,
1893 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1894 Explicit casts from void *.
1895 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1896 * abi-tags: Rename gnu-gnu os into gnu.
1899 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1900 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1901 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1902 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1903 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1904 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1907 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1908 duplicates ADDR->sun_path with sockaddr LEN limitation.
1909 * sysdeps/mach/hurd/connect.c: Include <string.h>
1910 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1911 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1912 * sysdeps/mach/hurd/sendto.c: Likewise.
1913 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1914 implementing it by hand.
1916 2015-02-06 Roland McGrath <roland@hack.frob.com>
1918 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1919 Use sfi_breg on ldr.
1920 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1923 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1925 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1926 Test SIGSETXID only if it's defined.
1928 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1930 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1931 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1933 * nptl/tst-align2.c: Moved ...
1934 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1935 * nptl/Makefile (tests): Remove tst-align2.
1936 * sysdeps/unix/sysv/linux/Makefile
1937 [$(subdir) = nptl] (tests): Add tst-align-clone.
1938 * nptl/tst-getpid1.c: Moved ...
1939 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1940 * nptl/tst-getpid2.c: Moved ...
1941 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1942 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1943 * sysdeps/unix/sysv/linux/Makefile
1944 [$(subdir) = nptl] (tests): ... here.
1945 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1946 * sysdeps/unix/sysv/linux/Makefile
1947 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1949 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1950 Drop trailing \n from perror argument. Use return rather than exit.
1952 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1954 * nptl/tst-cancel21.c (do_test): Likewise.
1955 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1956 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1957 [!SA_SIGINFO]: Make it a stub test.
1959 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1960 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1962 * posix/tst-getlogin.c: Move to ...
1963 * login/tst-getlogin.c: ... here.
1964 * posix/Makefile (tests): Move tst-getlogin to ...
1965 * login/Makefile (tests): ... here.
1967 * libio/tst-atime.c (do_test): Move local variables SV and E
1968 inside [ST_NOATIME] conditional.
1970 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1972 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1974 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1975 (wait_code): New function replaces macro.
1976 Call nanosleep rather than syscall.
1978 * nptl/pt-system.c: Rewritten. Put everything under
1979 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1980 Use IFUNC to redirect when possible.
1982 * nptl/pt-longjmp.c: Rewritten. Put everything under
1983 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1984 Use IFUNC to redirect when possible.
1986 * nptl/pt-fork.c: Rewritten. Put everything under
1987 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1988 Use IFUNC to redirect when possible.
1989 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1991 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1992 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1993 unconditionally nowadays. This included the only reference to
1994 __vdso_clock_gettime that appears outside libc proper.
1995 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1996 Remove version set (containing only __vdso_clock_gettime).
1997 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1998 Add attribute_hidden.
1999 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2000 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2001 libc_hidden_data_def.
2002 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2003 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2005 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2006 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2007 setrpcent, and getrpcport to ...
2008 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2009 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2010 getrpcbynumber_r, and getrpcent_r to ...
2011 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2012 * inet/getrpcbyname.c: Moved ...
2013 * sunrpc/getrpcbyname.c: ... here.
2014 * inet/getrpcbyname_r.c: Moved ...
2015 * sunrpc/getrpcbyname_r.c: ... here.
2016 * inet/getrpcbynumber.c: Moved ...
2017 * sunrpc/getrpcbynumber.c: ... here.
2018 * inet/getrpcbynumber_r.c: Moved ...
2019 * sunrpc/getrpcbynumber_r.c: ... here.
2020 * inet/getrpcent.c: Moved ...
2021 * sunrpc/getrpcent.c: ... here.
2022 * inet/getrpcent_r.c: Moved ...
2023 * sunrpc/getrpcent_r.c: ... here.
2024 * inet/Makefile (routines): Move those to ...
2025 * sunrpc/Makefile (routines): ... here.
2026 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2027 the $(subdirs) list.
2028 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2029 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2030 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2031 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2033 * elf/Makefile (routines): Include $(all-dl-routines), not just
2035 (rtld-routines): Likewise. Use = rather than :=.
2036 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2037 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2038 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2039 * sysdeps/arm/Makefile: Likewise.
2040 * sysdeps/i386/Makefile: Likewise.
2041 * sysdeps/x86_64/Makefile: Likewise.
2042 * sysdeps/hppa/Makefile [$(subdir) = elf]
2043 (sysdep_routines, sysdep-rtld-routines): Don't add
2044 $(sysdep-dl-routines) to these.
2045 * sysdeps/ia64/Makefile: Likewise.
2046 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2047 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2048 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2049 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2050 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2051 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2053 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2054 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2055 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2056 these; sysdep-dl-routines alone is enough.
2058 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2061 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2062 where multiplication results in zero and third argument is finite
2064 * math/auto-libm-test-in: Add more tests of fma.
2065 * math/auto-libm-test-out: Regenerated.
2067 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2068 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2069 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2070 (_FP_CMP_EQ): Likewise.
2071 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2073 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2074 extra argument CHECK_NAN. Redefine as wrapper around
2077 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2079 * version.h (RELEASE): Set to "stable".
2080 (VERSION): Set to "2.21"
2081 * include/features.h (__GLIBC_MINOR__): Set to 21.
2083 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2085 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2086 Paul Eggert <eggert@cs.ucla.edu>
2089 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2090 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2091 size in bytes. Store needed elements in wpmax. Use needed size
2092 in bytes for extend_alloca.
2094 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2096 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2097 binutls 2.25, and texinfo 5.2.
2098 * INSTALL: Regenerate.
2099 * sysdeps/nios2/configure: Regenerate.
2100 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2101 * manual/contrib.texi: Update.
2125 * po/pt_BR.po: Update.
2134 * po/zh_CN.po: Update.
2135 * po/zh_TW.po: Update.
2137 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2138 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2139 * sysdeps/hppa/dl-irel.h: Remove #warning.
2140 * sysdeps/hppa/entry.h: Provide prototype for
2141 __canonicalize_funcptr_for_compare and cast argument.
2142 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2143 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2144 * sysdeps/hppa/sotruss-lib.c: New file.
2145 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2146 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2147 (atomic_compare_and_exchange_bool_acq): Likewise.
2148 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2149 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2151 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2152 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2153 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2155 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2157 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2158 called function in non-PIC case.
2160 2015-01-31 David S. Miller <davem@davemloft.net>
2162 * sysdeps/sparc/sparc32/bits/atomic.h
2163 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2164 unlock not after it.
2165 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2166 volatile register usage warnings from the compiler.
2168 * sysdeps/sparc/nptl/sem_init.c: Delete.
2169 * sysdeps/sparc/nptl/sem_post.c: Delete.
2170 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2171 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2172 * sysdeps/sparc/sparc32/sem_init.c: New file.
2173 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2174 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2175 padding explicitly initialized.
2176 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2177 padding for in-semaphore spinlock.
2178 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2179 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2180 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2181 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2182 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2183 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2184 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2185 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2187 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2188 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2190 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2194 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2195 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2197 (index_AVX_Fast_Unaligned_Load): Likewise.
2198 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2199 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2200 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2201 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2202 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2203 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2204 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2205 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2206 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2208 2015-01-29 Andreas Schwab <schwab@suse.de>
2210 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2212 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2215 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2217 2015-01-28 Martin Sebor <msebor@redhat.com>
2219 * math/README.libm-test: Clarify. Add "How to read the test output."
2221 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2223 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2226 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2228 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2229 (__HAVE_64B_ATOMICS): Define to 0.
2231 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2234 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2235 value to set as new flag.
2238 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2239 and use _ARCH_PPCSQ instead.
2240 (__ieee754_sqrt): Likewise.
2241 (__ieee754_sqrtf): Likewise.
2242 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2243 _ARCH_PPCSQ is defined.
2244 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2246 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2247 _ARCH_PPCSQ is defined.
2248 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2250 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2252 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2254 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2255 bug (GCC BZ #64739).
2257 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2259 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2260 Mark _retval as used.
2261 (lll_futex_wake_unlock): Likewise.
2262 (lll_futex_timed_wait_requeue_pi): Likewise.
2264 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2265 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2268 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2271 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2272 (__bswap_64): Mark as __always_inline.
2274 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2277 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2278 when none of the search directories exist.
2280 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2283 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2284 power8 in .machine directive.
2287 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2288 set dependency from opd value.
2290 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2293 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2296 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2299 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2301 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2303 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2304 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2305 Replace 1UL with (uint64_t) 1.
2306 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2309 2015-01-23 Roland McGrath <roland@hack.frob.com>
2311 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2312 (if_freenameindex): Likewise.
2314 * resource/getrlimit64.c: Add missing libc_hidden_def.
2316 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2318 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2320 (_FP_FMA): Likewise.
2321 (_FP_TO_INT_ROUND): Likewise.
2322 (_FP_FROM_INT): Likewise.
2324 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2328 Make code racy and cancel safe.
2330 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2332 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2333 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2336 * pwd/tst-getpw.c: Rewrite.
2339 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2340 (modules-names): Add moddummy1 and moddummy2.
2341 ($(objpfx)tst-rec-dlopen): Define.
2342 * dlfcn/moddummy1.c: New file.
2343 * dlfcn/moddummy2.c: New file.
2344 * dlfcn/tst-rec-dlopen.c: New file.
2345 * elf/dl-cache.c (_dl_load_cache_lookup):
2346 Return char*. Copy result with alloca/strcpy/strdup.
2347 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2348 returns char*. Free cached. If not saving realname
2350 * elf/dl-open.c (dl_open_worker): Do not assert that
2351 _r_debug->r_state is RT_CONSISTENT.
2352 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2355 2015-01-21 Torvald Riegel <triegel@redhat.com>
2356 Carlos O'Donell <carlos@redhat.com>
2359 * nptl/sem_waitcommon.c: New file.
2360 * nptl/sem_wait.c: Include sem_waitcommon.c.
2361 (__sem_wait_cleanup, do_futex_wait): Remove.
2362 (__new_sem_wait): Adapt.
2363 (__new_sem_trywait): New function.
2364 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2365 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2366 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2367 (sem_timedwait): Adapt.
2368 * nptl/sem_post.c (__new_sem_post): Adapt.
2369 (futex_wake): New function.
2370 (__old_sem_post): Add release MO fence.
2371 * nptl/sem_open.c (sem_open): Adapt.
2372 * nptl/sem_init.c (__new_sem_init): Adapt.
2373 (futex_private_if_supported): New function.
2374 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2375 (__old_sem_getvalue): Add using previous code.
2376 * sysdeps/nptl/internaltypes.h: Adapt.
2377 * nptl/tst-sem13.c (do_test): Adapt.
2378 * nptl/tst-sem11.c (main): Adapt.
2379 * nptl/sem_trywait.c: Remove.
2380 * nptl/DESIGN-sem.txt: Remove.
2381 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2382 (gen-as-const-headers): Remove structsem.sym.
2383 * nptl/structsem.sym: Remove.
2384 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2385 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2386 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2387 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2388 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2389 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2390 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2391 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2392 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2393 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2394 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2395 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2396 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2397 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2398 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2399 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2400 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2401 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2402 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2403 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2404 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2405 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2407 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2409 * INSTALL: Regenerated.
2411 * po/libc.pot: Regenerated.
2413 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2414 Sandra Loosemore <sandra@codesourcery.com>
2415 Andrew Jenner <andrew@codesourcery.com>
2416 Joseph Myers <joseph@codesourcery.com>
2417 Nathan Sidwell <nathan@codesourcery.com>
2419 * NEWS: Mention new Nios II port.
2420 * sysdeps/nios2/Implies: New file.
2421 * sysdeps/nios2/Makefile: New file.
2422 * sysdeps/nios2/Subdirs: New file.
2423 * sysdeps/nios2/Versions: New file.
2424 * sysdeps/nios2/__longjmp.S: New file.
2425 * sysdeps/nios2/abort-instr.h: New file.
2426 * sysdeps/nios2/backtrace.c: New file.
2427 * sysdeps/nios2/bits/endian.h: New file.
2428 * sysdeps/nios2/bits/fenv.h: New file.
2429 * sysdeps/nios2/bits/link.h: New file.
2430 * sysdeps/nios2/bits/setjmp.h: New file.
2431 * sysdeps/nios2/bsd-_setjmp.S: New file.
2432 * sysdeps/nios2/bsd-setjmp.S: New file.
2433 * sysdeps/nios2/configure: New generated file.
2434 * sysdeps/nios2/configure.ac: New file.
2435 * sysdeps/nios2/crti.S: New file.
2436 * sysdeps/nios2/crtn.S: New file.
2437 * sysdeps/nios2/dl-init.c: New file.
2438 * sysdeps/nios2/dl-machine.h: New file.
2439 * sysdeps/nios2/dl-sysdep.h: New file.
2440 * sysdeps/nios2/dl-tls.h: New file.
2441 * sysdeps/nios2/dl-trampoline.S: New file.
2442 * sysdeps/nios2/gccframe.h: New file.
2443 * sysdeps/nios2/gmp-mparam.h: New file.
2444 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2445 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2446 * sysdeps/nios2/ldsodefs.h: New file.
2447 * sysdeps/nios2/libc-tls.c: New file.
2448 * sysdeps/nios2/libm-test-ulps: New file.
2449 * sysdeps/nios2/machine-gmon.h: New file.
2450 * sysdeps/nios2/math-tests.h: New file.
2451 * sysdeps/nios2/math_private.h: New file.
2452 * sysdeps/nios2/memusage.h: New file.
2453 * sysdeps/nios2/nptl/Makefile: New file.
2454 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2455 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2456 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2457 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2458 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2459 * sysdeps/nios2/nptl/tls.h: New file.
2460 * sysdeps/nios2/preconfigure: New file.
2461 * sysdeps/nios2/s_fma.c: New file.
2462 * sysdeps/nios2/s_fmaf.c: New file.
2463 * sysdeps/nios2/setjmp.S: New file.
2464 * sysdeps/nios2/sfp-machine.h: New file.
2465 * sysdeps/nios2/sotruss-lib.c: New file.
2466 * sysdeps/nios2/stackguard-macros.h: New file.
2467 * sysdeps/nios2/stackinfo.h: New file.
2468 * sysdeps/nios2/start.S: New file.
2469 * sysdeps/nios2/sysdep.h: New file.
2470 * sysdeps/nios2/tls-macros.h: New file.
2471 * sysdeps/nios2/tst-audit.h: New file.
2472 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2473 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2474 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2475 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2476 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2477 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2478 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2479 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2480 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2481 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2482 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2483 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2484 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2485 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2486 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2487 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2488 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2489 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2490 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2491 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2492 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2493 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2494 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2495 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2496 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2497 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2498 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2499 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2500 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2501 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2502 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2503 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2504 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2505 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2506 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2507 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2508 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2509 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2510 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2511 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2512 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2513 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2514 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2515 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2517 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2520 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2521 (getutent): Use weak_alias in non SHARED case
2522 and default_symbol_version in SHARED case.
2523 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2524 (getutent_r, pututline): Likewise.
2525 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2526 (getutid): Likewise.
2527 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2528 (getutid_r): Likewise.
2529 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2530 (getutline): Likewise.
2531 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2532 (getutline_r): Likewise.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2534 (updwtmp): Likewise.
2536 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2539 * sysdeps/s390/s390-32/memcmp.S
2540 (memcmp_g5): Rename to __memcmp_g5.
2541 * sysdeps/s390/s390-32/memcpy.S
2542 (memcpy_g5): Rename to __memcpy_g5.
2543 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2544 (memcpy_mvcle) Rename to __memcpy_mvcle.
2545 * sysdeps/s390/s390-32/memset.S
2546 (memset_g5): Rename to __memset_g5.
2547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2548 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2549 and use prefixed functions.
2550 * sysdeps/s390/s390-32/multiarch/memcmp.S
2551 (memcmp_z196): Rename to __memcmp_z196.
2552 (memcmp_z10): Rename to __memcmp_z10.
2553 (memcmp): Set alias to __memcmp_g5.
2554 (bcmp): Set alias to __memcmp_g5.
2555 * sysdeps/s390/s390-32/multiarch/memcpy.S
2556 (memcpy_z196): Rename to __memcpy_z196.
2557 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2558 (memcpy_z10): Rename to __memcpy_z10.
2559 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2560 (memcpy): Set alias to __memcpy_g5.
2561 * sysdeps/s390/s390-32/multiarch/memset.S
2562 (memset_z196): Rename to __memset_z196.
2563 Jump to __memset_mvcle instead of memset_mvcle.
2564 (memset_z10): Rename to __memset_z10.
2565 Jump to __memset_mvcle instead of memset_mvcle.
2566 (memset_mvcle) Rename to __memset_mvcle.
2567 (memset): Set alias to __memset_g5.
2568 * sysdeps/s390/s390-64/memcmp.S
2569 (memcmp_z900): Rename to __memcmp_z900.
2570 * sysdeps/s390/s390-64/memcpy.S
2571 (memcpy_z900): Rename to __memcpy_z900.
2572 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2573 (memcpy_mvcle) Rename to __memcpy_mvcle.
2574 * sysdeps/s390/s390-64/memset.S
2575 (memset_z900): Rename to __memset_z900.
2576 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2577 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2578 and use prefixed functions.
2579 * sysdeps/s390/s390-64/multiarch/memcmp.S
2580 (memcmp_z196): Rename to __memcmp_z196.
2581 (memcmp_z10): Rename to __memcmp_z10.
2582 (memcmp): Set alias to __memcmp_z900.
2583 (bcmp): Set alias to __memcmp_z900.
2584 * sysdeps/s390/s390-64/multiarch/memcpy.S
2585 (memcpy_z196): Rename to __memcpy_z196.
2586 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2587 (memcpy_z10): Rename to __memcpy_z10.
2588 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2589 (memcpy): Set alias to __memcpy_z900.
2590 * sysdeps/s390/s390-64/multiarch/memset.S
2591 (memset_z196): Rename to __memset_z196.
2592 Jump to __memset_mvcle instead of memset_mvcle.
2593 (memset_z10): Rename to __memset_z10.
2594 Jump to __memset_mvcle instead of memset_mvcle.
2595 (memset_mvcle) Rename to __memset_mvcle.
2596 (memset): Set alias to __memset_z900.
2598 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2601 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2602 __fesetenv instead of fesetenv.
2604 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2606 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2609 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2615 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2616 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2617 strncmp-power8 object.
2618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2619 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2620 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2623 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2624 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2627 trailing byte check.
2629 2015-01-13 David S. Miller <davem@davemloft.net>
2631 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2633 2015-01-13 Roland McGrath <roland@hack.frob.com>
2635 * login/logout.c (logout): Use memset rather than bzero.
2636 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2637 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2638 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2639 (_gethtbyaddr): Likewise.
2640 * locale/programs/simple-hash.c (bcopy): Macro removed.
2642 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2645 Add strcmp-power8 object.
2646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2647 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2648 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2649 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2650 __strcmp_power8 implementation.
2651 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2655 Add strncpy-power8 and stpncpy-power8 objects.
2656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2657 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2659 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2660 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2661 __stpncpy_power8 implementation.
2662 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2663 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2664 __strncpy_power8 implementation.
2665 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2666 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2669 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2670 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2671 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2673 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2674 strncat-power8 object.
2675 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2676 __strcat_power8 implementation.
2677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2678 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2679 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2680 optimized strcat for power8.
2682 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2683 strcpy-power8 and stpcpy-power8 objects.
2684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2685 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2688 multiarch stpcpy implementation for POWER8.
2689 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2690 multiarch strcpy implementation for POWER8.
2691 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2692 __strcpy_power8 function.
2693 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2695 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2699 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2702 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2703 weights and rules. Use do_xfrm_cached if data fits in cache,
2704 do_xfrm otherwise. Moved former main loop to...
2705 * (do_xfrm_cached): New function.
2706 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2707 find_idx, find_position and stack_push.
2708 * (find_idx): New function.
2709 * (find_position): Likewise.
2710 * localedata/sort-test.sh: Added test run for do_xfrm.
2711 * localedata/xfrm-test.c (main): Added command line option
2712 -nocache to run the test with strings that are too large for
2715 2015-01-13 Torvald Riegel <triegel@redhat.com>
2717 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2718 variable to lll_futex_wake call, not the value itself.
2720 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2724 twom64. Adjust value to 0x1p-64L.
2725 (__scalblnl): Only return standard underflowing result for K <=
2726 -64 not K <= -63; adjust exponent for underflowing result by 64
2728 * math/libm-test.inc (scalbn_test_data): Add more tests.
2729 (scalbln_test_data): Likewise.
2732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2734 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2736 * math/libm-test.inc (scalbn_test_data): Add more tests.
2737 (scalbln_test_data): Likewise.
2739 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740 Stefani Seibold <stefani@seibold.net>
2742 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2743 (sysdep_routines): Add dl-vdso here, ...
2744 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2745 (sysdep_routines): ... not here.
2746 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2747 fallback when vDSO is not presented.
2748 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2749 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2750 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2751 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2752 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2753 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2754 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2755 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2756 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2758 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2759 fallback configurable symbol when vDSO is not available.
2760 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2761 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2762 be able to redefine fallback symbol when vDSO is not available.
2763 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2764 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2766 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2768 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2769 (TLS_INIT_TP): Add tm_capable initialization.
2770 (TLS_DEFINE_INIT_TP): Likewise.
2771 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2773 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2774 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2776 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2777 transactoion is lock elision is built and TCB tm_capable is set.
2778 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2780 (INTERNAL_SYSCALL_NCS): Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2782 (INTERNAL_SYSCALL_NCS): Likewise.
2783 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2785 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2787 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2788 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2789 and remove it for 32 bits case.
2790 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2793 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2794 Disable lock elision with rdlocks if elision is not available.
2796 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2797 (sysdep_routines): Add lock elision objects.
2798 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2799 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2800 [pthread_mutex_t] (__elision): Add field.
2801 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2802 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2803 elision definitions for powerpc.
2804 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2805 implementation of lock elision for powerpc.
2806 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2807 implementation of timed lock elision for powerpc.
2808 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2809 implementation of trylock with lock elision for powerpc.
2810 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2811 implementaion of unlock for lock elision for powerpc.
2812 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2813 automatic enable lock elision for mutexes.
2814 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2815 transaction execution definitions for powerpc.
2816 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2818 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2819 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2824 2015-01-09 Roland McGrath <roland@hack.frob.com>
2826 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2827 for #include of <shm-directory.h>.
2829 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2832 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2834 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2837 * NEWS: Mention bug fix.
2838 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2839 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2840 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2842 2015-01-09 Torvald Riegel <triegel@redhat.com>
2844 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2846 2015-01-09 Torvald Riegel <triegel@redhat.com>
2848 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2850 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2852 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2853 pointer and cast to uintptr_t.
2855 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2857 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2859 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2861 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2863 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2866 2015-01-08 Roland McGrath <roland@hack.frob.com>
2868 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2869 <nptl/pthreadP.h> instead.
2870 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2872 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2874 [__SIGRTMIN] (init): Function removed.
2875 [__SIGRTMIN] (initialized): Variable removed.
2876 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2877 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2878 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2879 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2880 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2881 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2882 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2883 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2884 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2885 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2886 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2887 * sysdeps/nptl/allocrtsig.c: New file.
2888 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2889 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2890 * sysdeps/generic/testrtsig.h: File removed.
2892 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2893 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2895 * nptl/nptl-init.c (pthread_functions): Conditionalize
2896 .ptr__nptl_setxid initialization on [SIGSETXID].
2898 * sysdeps/nptl/sys/procfs.h: New file.
2899 * nptl_db/Makefile (headers): Add it.
2900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2902 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2903 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2904 * nptl/pthread_attr_setaffinity.c: Include it.
2905 * nptl/pthread_setattr_default_np.c: Likewise.
2906 * nptl/check-cpuset.h: New file.
2908 2015-01-08 Richard Henderson <rth@redhat.com>
2910 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2911 (CFLAGS-tst-execstack-prog.c): Likewise.
2912 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2914 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2915 Sandra Loosemore <sandra@codesourcery.com>
2916 Andrew Jenner <andrew@codesourcery.com>
2917 Joseph Myers <joseph@codesourcery.com>
2918 Nathan Sidwell <nathan@codesourcery.com>
2920 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2921 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2922 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2923 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2924 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2925 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2926 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2927 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2928 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2929 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2930 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2931 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2932 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2933 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2934 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2935 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2936 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2938 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2940 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2941 timespec struct member in syscall macro.
2942 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2943 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2944 first timeval struct member in syscall macro.
2945 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2947 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2950 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2951 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2952 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2953 __feupdateenv and define as weak alias of __feupdateenv. Use
2955 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2957 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2958 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2959 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2960 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2962 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2963 __feupdateenv and define as weak alias of __feupdateenv. Use
2965 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2967 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2968 __feupdateenv and define as weak alias of __feupdateenv. Use
2970 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2972 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2973 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2974 (__feupdateenv): Likewise.
2975 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2976 __feupdateenv and define as weak alias of __feupdateenv. Use
2978 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2979 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2981 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2983 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2985 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2986 __feupdateenv instead of feupdateenv.
2987 (default_libc_feupdateenv_test): Likewise.
2988 (libc_feresetround_ctx): Likewise.
2990 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2995 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2997 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2998 COLL_SYM in a couple of places to avoid uninitialized variable
2999 wanings on tilegx gcc 4.8.2.
3001 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3003 * sysdeps/aarch64/strcpy.S: New file.
3004 * sysdeps/aarch64/stpcpy.S: New file.
3007 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3009 * sysdeps/aarch64/strrchr.S: New file.
3012 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3015 * stdlib/setenv.c: Fix memory leak when setting large,
3018 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3021 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3022 and tabs from buffer before parsing fstab entry.
3023 * misc/tst-mntent.c (main): Add test for mount entry with
3024 trailing spaces and tabs.
3026 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3029 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3030 * math/fesetround.c (fesetround): Rename to __fesetround and
3031 define as weak alias of __fesetround. Use libm_hidden_weak.
3032 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3033 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3034 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3035 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3036 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3037 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3038 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3039 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3040 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3041 __fesetround_inline.
3042 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3043 __fesetround_inline instead of __fesetround.
3044 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3045 __fesetround and define as weak alias of __fesetround. Use
3046 libm_hidden_weak. Call __fesetround_inline instead of
3048 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3049 __fesetround and define as weak alias of __fesetround. Use
3051 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3053 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3054 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3055 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3056 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3057 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3058 __fesetround and define as weak alias of __fesetround. Use
3060 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3061 __fesetround instead of fesetround.
3062 (default_libc_feholdexcept_setround): Likewise.
3063 (libc_feholdsetround_ctx): Likewise.
3064 (libc_feholdsetround_noex_ctx): Likewise.
3067 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3068 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3069 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3070 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3071 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3072 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3073 define as weak alias of __fesetenv. Use libm_hidden_weak.
3074 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3075 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3076 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3077 define as weak alias of __fesetenv. Use libm_hidden_weak.
3078 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3079 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3080 define as weak alias of __fesetenv. Use libm_hidden_weak.
3081 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3083 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3086 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3087 define as weak alias of __fesetenv. Use libm_hidden_weak.
3088 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3089 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3090 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3091 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3092 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3093 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3094 __fesetenv instead of fesetenv.
3095 (libc_feresetround_noex_ctx): Likewise.
3096 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3097 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3098 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3099 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3100 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3101 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3102 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3103 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3104 (__feupdateenv): Likewise.
3105 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3106 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3107 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3108 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3110 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3113 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3114 addresses have been freed.
3116 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3118 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3121 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3123 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3124 Clean up check_pf allocation pattern. addresses
3126 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3128 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3129 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3130 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3131 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3132 * nptl/pthread_join.c (pthread_join): Likewise.
3133 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3134 * sysdeps/posix/waitid.c (__waitid): Likewise.
3135 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3136 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3137 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3138 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3141 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3142 (__libc_pread64): Likewise.
3143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3144 (__libc_pwrite): Likewise.
3145 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3146 (__libc_pwrite64): Likewsie.
3147 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3148 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3149 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3150 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3151 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3152 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3157 (__libc_pread64): Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3161 (__libc_pwrite64): Likewise.
3162 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3163 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3164 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3165 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3166 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3167 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3168 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3169 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3170 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3171 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3172 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3173 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3174 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3175 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3176 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3180 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3182 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3183 (CFLAGS-test-double.c): Likewise.
3184 (CFLAGS-test-ldouble.c): Likewise.
3185 (CPPFLAGS-test-ifloat.c): Likewise.
3186 (CPPFLAGS-test-idouble.c): Likewise.
3187 (CPPFLAGS-test-ildoubl.c): Likewise.
3188 (CFLAGS-test-test-fenv.c): Remove variable.
3189 (CFLAGS-test-misc.c): Likewise.
3191 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3194 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3195 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3196 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3197 CLOCKS_PER_SEC == 1000000.
3198 * time/clocktest.c (main): Replace %ld with %jd and cast to
3201 2015-01-05 Roland McGrath <roland@hack.frob.com>
3203 * sysdeps/generic/unwind-resume.h: New file.
3204 * sysdeps/gnu/unwind-resume.c: Include it.
3205 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3206 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3208 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3209 global rather than static.
3210 (_Unwind_Resume): Update user.
3211 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3212 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3213 rather than static. Add __attribute__ ((cold)).
3214 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3215 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3216 * sysdeps/arm/arm-unwind-resume.S: New file.
3217 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3218 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3219 * sysdeps/arm/Makefile [$(subdir) = csu]
3220 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3221 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3222 Add rt-arm-unwind-resume.
3224 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3225 Add pt-arm-unwind-resume.
3226 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3227 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3229 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3232 * include/fenv.h (__feholdexcept): Declare. Use
3234 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3235 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3236 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3237 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3238 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3239 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3240 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3241 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3242 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3243 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3244 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3245 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3246 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3247 (feholdexcept): Likewise.
3248 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3249 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3250 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3251 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3252 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3253 __feholdexcept instead of feholdexcept.
3254 (default_libc_feholdexcept_setround): Likewise.
3256 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3258 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3259 to avoid using stl/str to align destination.
3261 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3263 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3265 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3268 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3269 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3270 Define as weak alias not strong alias.
3272 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3274 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3275 bltzal with addiupc.
3276 (RTLD_START): Ditto.
3278 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3280 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3281 for __vdso_* functions in declarations.
3282 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3284 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3285 INTERNAL_VSYSCALL): Use struct return types to check for error.
3287 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3288 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3289 function with cast from llround().
3290 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3291 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3294 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3297 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3298 Define as weak alias not strong alias.
3301 * ctype/ctype-c99.c: New file. isblank implementation moved from
3303 * ctype/ctype-extn.c: ... here.
3304 (__isblank_l): Move to ...
3305 * ctype/ctype-c99_l.c: ... here. New file.
3306 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3307 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3309 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3310 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3311 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3312 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3313 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3316 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3317 (posix_fadvise64): Define as weak alias not strong alias.
3318 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3319 (posix_fallocate64): Likewise.
3320 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3322 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3323 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3324 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3325 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3326 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3328 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3331 * NEWS: Mention bug fix.
3332 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3333 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3334 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3335 (HOST_STACK_END_ADDR): Likewise.
3337 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3340 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3341 * math/fegetround.c (fegetround): Rename to __fegetround and
3342 define as weak alias of __fegetround. Use libm_hidden_weak.
3343 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3344 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3345 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3346 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3347 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3348 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3349 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3350 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3351 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3352 Undefine after rather than before function definition; use
3353 parentheses around function name in definition.
3354 (__fegetround): Also undefine macro after function definition.
3355 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3356 __fegetround and define as weak alias of __fegetround. Use
3357 libm_hidden_weak. Do not undefine as macro.
3358 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3360 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3361 __fegetround and define as weak alias of __fegetround. Use
3363 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3364 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3365 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3366 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3367 __fegetround and define as weak alias of __fegetround. Use
3369 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3370 __fegetround instead of fegetround.
3373 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3374 Condition macro definition on [__USE_MISC].
3377 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3378 (struct sigaction): Change type of sa_flags field to int.
3381 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3382 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3385 * nptl/version.c (banner): Use single year in copyright notice.
3387 * NEWS: Update copyright dates.
3388 * catgets/gencat.c (print_version): Likewise.
3389 * csu/version.c (banner): Likewise.
3390 * debug/catchsegv.sh: Likewise.
3391 * debug/pcprofiledump.c (print_version): Likewise.
3392 * debug/xtrace.sh (do_version): Likewise.
3393 * elf/ldconfig.c (print_version): Likewise.
3394 * elf/ldd.bash.in: Likewise.
3395 * elf/pldd.c (print_version): Likewise.
3396 * elf/sotruss.sh: Likewise.
3397 * elf/sprof.c (print_version): Likewise.
3398 * iconv/iconv_prog.c (print_version): Likewise.
3399 * iconv/iconvconfig.c (print_version): Likewise.
3400 * locale/programs/locale.c (print_version): Likewise.
3401 * locale/programs/localedef.c (print_version): Likewise.
3402 * login/programs/pt_chown.c (print_version): Likewise.
3403 * malloc/memusage.sh (do_version): Likewise.
3404 * malloc/memusagestat.c (print_version): Likewise.
3405 * malloc/mtrace.pl: Likewise.
3406 * manual/libc.texinfo: Likewise.
3407 * nptl/version.c (banner): Likewise.
3408 * nscd/nscd.c (print_version): Likewise.
3409 * nss/getent.c (print_version): Likewise.
3410 * nss/makedb.c (print_version): Likewise.
3411 * posix/getconf.c (main): Likewise.
3412 * scripts/test-installation.pl: Likewise.
3413 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3415 2015-01-02 Will Newton <will.newton@linaro.org>
3417 * sysdeps/arm/armv7/configure: Removed.
3418 * sysdeps/arm/armv7/configure.ac: Likewise.
3420 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3422 * All files with FSF copyright notices: Update copyright dates
3423 using scripts/update-copyrights.
3424 * intl/plural.c: Regenerated.
3425 * locale/programs/charmap-kw.h: Likewise.
3426 * locale/programs/locfile-kw.h: Likewise.
3428 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3432 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3435 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3436 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3437 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3438 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3439 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3440 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3441 define as weak alias of __fegetenv. Use libm_hidden_weak.
3442 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3443 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3444 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3445 define as weak alias of __fegetenv. Use libm_hidden_weak.
3446 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3447 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3448 define as weak alias of __fegetenv. Use libm_hidden_weak.
3449 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3451 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3454 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3455 define as weak alias of __fegetenv. Use libm_hidden_weak.
3456 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3457 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3458 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3459 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3460 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3461 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3462 __fegetenv instead of fegetenv.
3463 (libc_feholdsetround_noex_ctx): Likewise.
3465 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3467 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3468 (Elf_MIPS_ABIFlags_v0): New structure.
3469 (EF_MIPS_FP64): Define.
3470 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3471 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3472 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3473 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3474 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3475 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3476 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3477 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3478 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3479 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3480 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3481 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3482 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3483 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3484 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3485 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3486 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3487 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3488 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3489 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3490 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3491 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3493 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3495 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3496 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3497 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3498 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3499 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3500 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3501 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3502 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3503 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3504 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3505 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3506 record the current FP ABI extension.
3507 (mips-mode-switch): Define to show if kernel headers support mode
3509 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3510 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3511 supported SYSV ABI version to 3.
3512 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3515 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3516 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3518 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3520 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3522 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3524 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3525 __fegetround and redefine to call __fegetround. Remove condition
3526 on [!__NO_MATH_INLINES].
3527 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3529 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3530 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3532 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3533 instead of <fenv_libc.h>.
3534 (__llrintl): Call fegetround instead of __fegetround.
3535 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3536 instead of <fenv_libc.h>.
3537 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3538 (__lrintl): Call fegetround instead of __fegetround.
3539 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3540 instead of <fenv_libc.h>.
3541 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3542 (__rintl): Call fegetround instead of __fegetround.
3544 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3546 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3549 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3552 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3553 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3554 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3556 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3558 * sysdeps/i386/tls-macros.h: Include <features.h>.
3559 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3563 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3564 define for GCC >= 5.0.
3566 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3568 * math/test-fenv.c (test_single_exception, set_single_exc,
3569 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3570 feexcp_mask_test, feenable_test, fe_single_test): Add
3571 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3572 case where they are not used.
3573 * math/libm-test.inc: Likewise.
3574 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3575 unused in the absence of FP rounding/exception support.
3576 * stdio-common/tst-printf-round.c: Likewise.
3577 * stdlib/tst-strtod-round.c: Likewise.
3578 * stdlib/tst-strtod-underflow.c: Likewise.
3580 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3583 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3584 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3585 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3586 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3588 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3589 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3590 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3592 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3593 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3595 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3597 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3598 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3599 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3601 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3603 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3604 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3605 (__feraiseexcept): Likewise.
3606 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3607 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3610 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3612 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3613 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3614 Use libm_hidden_def.
3615 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3617 (feraiseexcept): Define as weak not strong alias. Use
3619 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3620 New inline function. Factored out of ...
3621 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3622 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3623 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3625 * math/w_acos.c (__acos): Likewise.
3626 * math/w_asin.c (__asin): Likewise.
3627 * math/w_ilogb.c (__ilogb): Likewise.
3628 * math/w_j0.c (y0): Likewise.
3629 * math/w_j1.c (y1): Likewise.
3630 * math/w_jn.c (yn): Likewise.
3631 * math/w_log.c (__log): Likewise.
3632 * math/w_log10.c (__log10): Likewise.
3633 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3634 * sysdeps/aarch64/fpu/math_private.h
3635 (libc_feupdateenv_test_aarch64): Likewise.
3636 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3637 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3638 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3639 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3640 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3641 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3642 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3643 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3644 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3645 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3647 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3650 * io/test-utime.c (main): Replace %ld with %jd and cast to
3652 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3653 * nptl/tst-mutex5.c: Include <stdint.h>.
3654 (do_test): Replace %ld with %jd and cast to intmax_t.
3655 * posix/tst-regex.c (run_test): Likewise.
3656 (run_test_backwards): Likewise.
3657 * rt/tst-clock.c: Include <stdint.h>.
3658 (clock_test): Replace %ld with %jd and cast to intmax_t.
3659 * rt/tst-cpuclock1.c: Include <stdint.h>.
3660 (do_test): Replace %lu with %ju and cast to uintmax_t.
3661 * rt/tst-cpuclock2.c: Include <stdint.h>.
3662 (do_test): Replace %lu with %ju and cast to uintmax_t.
3663 * rt/tst-mqueue1.c: Include <stdint.h>.
3664 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3665 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3667 * rt/tst-mqueue4.c (do_test): Likewise.
3668 * rt/tst-timer4.c: Include <stdint.h>.
3669 (check_ts): Replace %ld with %jd and cast to intmax_t.
3670 (do_test): Likewise.
3671 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3672 and cast to intmax_t.
3673 * sysdeps/pthread/tst-timer.c (main): Likewise.
3674 * time/clocktest.c (main): Likewise.
3675 * time/tst-posixtz.c (do_test): Likewise.
3676 * timezone/tst-timezone.c (main): Likewise.
3678 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3679 H.J. Lu <hongjiu.lu@intel.com>
3681 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3682 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3686 version if bit_Fast_Unaligned_Load is set.
3687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3694 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3695 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3696 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3698 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3699 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3700 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3701 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3703 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3705 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3706 instead of #if to avoid a Wundef warning.
3707 * stdlib/tst-limits.c (do_test): Likewise.
3709 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3710 parallel other exception macros.
3711 (fegetenv): Convert from macro to extern inline so that it applies
3712 retroactively to inline functions already seen by the compiler.
3713 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3715 * posix/Makefile (before-compile): Use $(objpfx) for
3716 posix-conf-vars-def.h.
3718 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3720 * posix/getconf.c (main): Use size_t for type of I.
3721 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3724 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3725 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3726 * posix/posix-envs.def: Likewise.
3727 * sysdeps/posix/sysconf.c: Likewise.
3728 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3729 (specs): Remove array.
3730 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3733 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3734 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3735 (__sysconf): Use CONF_IS_* macros.
3737 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3738 ($(objpfx)posix-conf-vars-def.h): New target.
3739 * posix/posix-conf-vars.list: New file.
3740 * posix/posix-conf-vars.h: New file.
3741 * posix/confstr.c: Include posix-conf-vars.h.
3742 (confstr): Use CONF_IS_* macros.
3743 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3745 * scripts/gen-posix-conf-vars.awk: New file.
3747 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3749 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3750 fegetround): Add no-op macros to avoid linknamespace issues.
3752 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3753 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3755 * sysdeps/unix/sysv/linux/tile/sysdep.h
3756 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3757 assembly-specific section to avoid a redefinition warning.
3759 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3760 long before casting to pointer to avoid a cast warning.
3762 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3764 * sysdeps/tile/tilegx/Implies: New file.
3766 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3768 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3770 2014-12-23 Florian Weimer <fweimer@redhat.com>
3772 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3774 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3776 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3778 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3779 <kernel-features.h>.
3780 (__utimes) [__NR_utimes]: Make code unconditional.
3781 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3782 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3783 (__ASSUME_UTIMES): Do not undefine.
3784 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3785 (__ASSUME_UTIMES): Likewise.
3786 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3787 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3788 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3789 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3791 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3793 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3795 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3798 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3799 alias to weak alias for j0l, y0l.
3800 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3801 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3804 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3807 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3809 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3810 to zero if not already defined.
3812 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3815 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3816 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3817 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3818 (char *) casts added.
3819 * sysdeps/ieee754/k_standardf.c: New file.
3820 * sysdeps/ieee754/k_standardl.c: Likewise.
3821 * math/Makefile (libm-support): Remove k_standard.
3822 (libm-calls): Add k_standard.
3824 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3826 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3827 Optimize to avoid an unnecessary FPCR read.
3829 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3832 Optimize to reduce FPCR/FPSR accesses.
3834 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3836 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3837 Call libc_fetestexcept_aarch64.
3839 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3841 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3842 Call libc_fesetround_aarch64.
3844 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3847 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3848 (__bind): Do not define as weak alias.
3849 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3851 (__getsockname): Do not define as weak alias.
3853 2014-12-22 Will Newton <will.newton@linaro.org>
3855 * manual/install.texi: Document that we require bison 2.7
3857 * INSTALL: Regenerate.
3858 * configure.ac: Use AC_CHECK_PROG_VER instead of
3859 AC_PATH_PROG when checking for bison and check for
3860 version 2.7 or above.
3861 * configure: Regenerate.
3863 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3866 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3867 * sysdeps/tile/ffsll.c (ffsll): To here.
3869 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3871 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3873 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3875 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3877 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3878 hidden ___tls_get_addr.
3879 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3880 hidden __tls_get_addr.
3881 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3882 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3885 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3887 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3890 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3892 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3893 from "call _dl_init@PLT".
3894 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3896 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3898 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3901 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3903 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3905 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3908 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3911 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3913 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3915 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3916 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3917 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3918 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3919 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3921 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3923 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3924 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3925 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3926 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3927 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3929 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3931 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3933 * string/strncat.c (STRNCAT): Simplify implementation.
3935 2014-12-19 David S. Miller <davem@davemloft.net>
3937 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3938 access the quad as both a long double and as a series of 4 words.
3940 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3941 link_map->l_info array access.
3943 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3945 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3947 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3948 * math/atest-exp2.c (TIMEOUT): Likewise.
3949 * math/atest-sincos.c (TIMEOUT): Likewise.
3951 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3953 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3954 -Wno-error with -fno-builtin-lround.
3956 2014-12-19 Torvald Riegel <triegel@redhat.com>
3958 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3959 Contains futex constants and functions moved over from ...
3960 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3961 <lowlevellock-futex.h>.
3962 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3963 (lll_timedwait_tid): Add comments and parentheses around macro
3966 2014-12-19 Torvald Riegel <triegel@redhat.com>
3968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3969 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3970 (__lll_private_flag): Remove.
3971 (lll_futex_wait): Likewise.
3972 (lll_futex_timed_wait): Likewise.
3973 (lll_futex_wake): Likewise.
3974 (lll_futex_requeue): Likewise.
3975 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3976 (__lll_timedwait_tid): Spell out argument names.
3977 (lll_timedwait_tid): Add comments and parentheses around macro
3979 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3980 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3982 2014-12-19 Torvald Riegel <triegel@redhat.com>
3984 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3985 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3986 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3988 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3989 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3990 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3991 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3992 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3993 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3994 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3995 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3996 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3997 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3998 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3999 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4000 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4001 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4002 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4004 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4006 * sysdeps/x86_64/x32/Makefile: New file.
4008 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4010 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4011 1L with (mp_limb_t) 1.
4013 2014-12-17 Roland McGrath <roland@hack.frob.com>
4015 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4016 * nptl/libc_pthread_init.c: ... here.
4017 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4018 * nptl/register-atfork.c: ... here.
4020 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4021 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4022 Use assert_perror to check its return value.
4023 (__gai_create_helper_thread): Likewise.
4025 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4027 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4029 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4032 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4034 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4036 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4038 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4040 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4041 (profil_counter): Likewise.
4042 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4043 (profil_counter): Likewise.
4044 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4046 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4048 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4049 (profil_counter): Likewise.
4050 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4052 [!__profil_counter] (profil_counter): Define as weak alias of
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4055 (profil_counter): Rename to __profil_counter.
4056 [!__profil_counter] (profil_counter): Define as weak alias of
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4059 (profil_counter): Rename to __profil_counter.
4060 [!__profil_counter] (profil_counter): Define as weak alias of
4062 * sysdeps/posix/profil.c: Update comment referring to
4064 (__profil): Use __profil_counter instead of profil_counter.
4065 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4066 __profil_counter. Use __profil_counter_ushort and
4067 __profil_counter_uint in definitions.
4068 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4069 instead of profil_counter_uint and profil_counter_ushort.
4072 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4073 define as weak alias of __inet_makeaddr.
4074 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4075 as weak alias of __inet_addr.
4076 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4077 as weak alias of __inet_pton. Use libc_hidden_weak.
4078 * include/arpa/inet.h (__inet_pton): Declare. Use
4080 (inet_makeaddr): Don't use libc_hidden_proto.
4081 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4082 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4083 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4084 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4086 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4087 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4089 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4091 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4093 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4095 * stdio-common/bug-vfprintf-nargs.c (do_test):
4096 Cast value to intptr_t to avoid format warning
4097 for usage with PRIdPTR printing macro.
4099 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4101 * libio/tst-widetext.c (do_test):
4102 Use format type %td instead of %Zd for ptrdiff_t
4103 in order to avoid format warning.
4105 2014-12-17 Andreas Schwab <schwab@suse.de>
4107 * nscd/mem.c (gc): Add size_t cast to match printf format.
4109 2014-12-16 Roland McGrath <roland@hack.frob.com>
4111 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4112 (init): Apply PTR_MANGLE to pointers before storing them.
4113 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4116 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4119 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4120 define as weak alias of __memrchr.
4121 (__memrchr): Do not define as strong alias of memrchr.
4122 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4124 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4125 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4126 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4129 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4130 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4131 (if_indextoname): Rename to __if_indextoname and define as weak
4132 alias of __if_indextoname. Use libc_hidden_weak.
4133 (if_freenameindex): Rename to __if_freenameindex and define as
4134 weak alias of __if_freenameindex.
4135 (if_nameindex): Rename to __if_nameindex and define as weak alias
4137 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4138 __if_nametoindex and define as weak alias of __if_nametoindex.
4139 Use libc_hidden_weak.
4140 (if_freenameindex): Rename to __if_freenameindex and define as
4141 weak alias of __if_freenameindex.
4142 (if_nameindex): Rename to __if_nameindex and define as weak alias
4144 (if_indextoname): Rename to __if_indextoname and define as weak
4145 alias of __if_indextoname. Use libc_hidden_weak.
4146 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4147 __if_nametoindex and define as weak alias of __if_nametoindex.
4148 Use libc_hidden_weak.
4149 (if_freenameindex): Rename to __if_freenameindex and define as
4150 weak alias of __if_freenameindex. Use libc_hidden_weak.
4151 (if_nameindex_netlink): Use __if_freenameindex instead of
4153 (if_nameindex): Rename to __if_nameindex and define as weak alias
4154 of __if_nameindex. Use libc_hidden_weak.
4155 (if_indextoname): Rename to __if_indextoname and define as weak
4156 alias of __if_indextoname. Use libc_hidden_weak.
4157 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4159 [!_ISOMAC] (__if_freenameindex): Likewise.
4160 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4162 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4164 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4165 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4166 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4167 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4168 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4169 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4170 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4172 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4174 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4175 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4177 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4179 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4180 subscript above bounds'
4182 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4185 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4187 * libio/tst-fopenloc.c: Use test-skeleton.c.
4189 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4190 (entry): Rename to ITEM.
4191 (do_test, comp): Adjust.
4193 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4195 2014-12-16 Torvald Riegel <triegel@redhat.com>
4197 * string/tester.c: Include <libc-internal.h>.
4198 (test_memset): Ignore -Wmemset-transposed-args.
4200 2014-12-16 Torvald Riegel <triegel@redhat.com>
4202 * misc/tst-mntent2.c (do_test): Fix warning.
4204 2014-12-16 Torvald Riegel <triegel@redhat.com>
4206 * elf/tst-unique4lib.cc(a): Mark as used.
4208 2014-12-16 Florian Weimer <fweimer@redhat.com>
4211 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4214 2014-12-16 Allan McRae <allan@archlinux.org>
4216 * stdio-common/Makefile (tests): Re-add bug26.
4218 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4221 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4224 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4226 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4227 (__lll_lock_wait): Likewise.
4228 (__lll_timedlock_wait): Likewise.
4229 (__lll_timedwait_tid): Likewise.
4230 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4231 (__lll_robust_timedlock_wait): Likewise.
4232 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4233 (lll_cond_trylock): Likewise.
4234 (__lll_lock): Likewise.
4235 (__lll_robust_lock): Likewise.
4236 (__lll_cond_lock): Likewise.
4237 (lll_robust_cond_lock): Likewise.
4238 (__lll_timedlock): Likewise.
4239 (__lll_robust_timedlock): Likewise.
4240 (__lll_unlock): Likewise.
4241 (__lll_robust_unlock): Likewise.
4242 (lll_wait_tid): Likewise.
4243 (lll_timedwait_tid): Likewise.
4245 2014-12-15 Torvald Riegel <triegel@redhat.com>
4247 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4249 2014-12-15 Torvald Riegel <triegel@redhat.com>
4251 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4253 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4255 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4256 * stdio-common/tst-sprintf.c: Likewise.
4258 2014-12-15 Torvald Riegel <triegel@redhat.com>
4260 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4262 2014-12-15 Jeff Law <law@redhat.com>
4265 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4266 on the heap. (CVE-2012-3406)
4267 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4268 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4269 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4271 2014-12-15 Will Newton <will.newton@linaro.org>
4273 * manual/install.texi: Bump required version of texinfo
4275 * INSTALL: Regenerated.
4276 * configure.ac: Check for makeinfo version 4.7 and above.
4277 * configure: Regenerated.
4279 2014-12-12 Roland McGrath <roland@hack.frob.com>
4281 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4282 PREFIX, string constant to insert between directory and name.
4283 * sysdeps/posix/shm_open.c: Update caller.
4284 * sysdeps/posix/shm_unlink.c: Likewise.
4285 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4286 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4287 (SEM_SHM_PREFIX): New macro.
4288 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4289 [$(have-thread-library) = no].
4290 * nptl/Makefile (libpthread-routines): Add shm-directory.
4291 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4292 * sysdeps/nptl/shm-directory.h: New file.
4293 * sysdeps/posix/shm-directory.c
4294 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4295 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4296 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4298 (__where_is_shmfs): Function removed.
4299 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4301 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4303 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4305 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4306 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4307 unconditional for use inside libpthread.
4308 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4310 2014-12-12 Roland McGrath <roland@hack.frob.com>
4312 * nptl/pthread_getaffinity.c: New file.
4313 * nptl/pthread_setaffinity.c: New file.
4314 * nptl/pthread_getname.c: New file.
4315 * nptl/pthread_setname.c: New file.
4317 * nptl/pthread_create.c (START_THREAD_DEFN)
4318 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4320 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4321 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4323 * resolv/res_send.c (send_vc): Disable warning resplen may
4324 be used uninitialized.
4326 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4329 (ATTR_NULL): New define checks ATTR against NULL.
4330 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4331 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4333 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4337 (mem2mem_check): Revert my previous change.
4338 (malloc_check_get_size): Revert my previous change.
4339 (mem2chunk_check): Revert my previous change.
4341 2014-12-11 Roland McGrath <roland@hack.frob.com>
4343 * sysdeps/posix/shm-directory.c: New file.
4344 * sysdeps/posix/shm-directory.h: New file.
4345 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4346 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4347 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4348 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4349 Transmute EPERM to EACCES.
4350 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4352 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4353 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4355 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4357 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4358 pointer and cast to uintptr_t.
4359 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4360 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4361 Add cast to avoid warning.
4362 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4364 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4366 * nptl/semaphore.h: Move to ...
4367 * sysdeps/pthread/semaphore.h: ... here.
4368 * Makefile (installed-headers): Change nptl/semaphore.h to
4369 sysdeps/pthread/semaphore.h.
4371 2014-12-11 Roland McGrath <roland@hack.frob.com>
4373 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4374 generated error format strings.
4376 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4377 -Wformat-extra-args warnings for scanf formats.
4378 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4379 test of zero-length format (duh).
4380 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4381 corner-case scanf format test.
4382 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4383 generated fprintf format string.
4384 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4385 corner-case sprintf format tests.
4386 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4387 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4388 -Wformat-extra-args warnings throughout.
4389 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4390 (CFLAGS-scanf4.c): Likewise.
4391 (CFLAGS-scanf7.c): Likewise.
4392 (CFLAGS-tst-sprintf.c): Likewise.
4393 (CFLAGS-tst-printf.c): Likewise.
4394 (CFLAGS-tst-printfsz.c): Likewise.
4396 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4398 * include/cpio.h: New file.
4399 * include/fmtmsg.h: Likewise.
4401 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4402 corresponding format argument to size_t.
4403 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4405 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4406 corresponding format argument to size_t.
4407 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4409 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4410 corresponding format argument to size_t.
4411 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4412 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4413 (CFLAGS-tst-mbswcs2.c): Likewise.
4414 (CFLAGS-tst-mbswcs3.c): Likewise.
4415 (CFLAGS-tst-mbswcs4.c): Likewise.
4416 (CFLAGS-tst-mbswcs5.c): Likewise.
4417 (CFLAGS-tst-trans.c): Likewise
4419 2014-12-11 Roland McGrath <roland@hack.frob.com>
4421 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4422 rather than assuming they won't contain any '%'s.
4424 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4426 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4427 inhibit_loop_to_libcall to avoid recursive calls.
4428 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4429 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4431 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4433 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4436 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4438 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4439 integer value instead of boolean.
4441 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4443 * malloc/malloc.c: Fix powerof2 check.
4445 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4447 * locale/programs/locfile.h (maybe_swap_uint32):
4448 Remove inline and add unused attribute.
4450 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4453 Truncating assembler expression to a .long expression.
4455 2014-12-11 Andreas Schwab <schwab@suse.de>
4457 * elf/rtld.c (struct map_args): Constify str member.
4458 (do_preload): Constify fname argument.
4460 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4463 constants definition.
4465 2014-12-11 Andreas Schwab <schwab@suse.de>
4468 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4469 FORCE_ELISION instead of DO_ELISION.
4470 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4472 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4475 * iconvdata/gconv-modules: Remove duplicate entry.
4477 2014-12-11 Will Newton <will.newton@linaro.org>
4479 Merge gettext 0.19.3 into intl/.
4481 This involves a number of cosmetic changes to comments
4482 and ANSI function definitions and prototypes throughout
4483 all the files. The gettext copyright header is used but
4484 with the date ranges taken from the glibc copy.
4486 * NEWS: Add gettext merge to 2.21.
4487 * intl/bindtextdom.c: Switch to gettext copyright.
4488 Use ANSI definitions and prototypes.
4489 Use gl_* locking primitives rather than __libc_* ones.
4490 Use __builtin_expect rather than __glibc_likely/unlikely.
4491 * intl/dcgettext.c: Switch to gettext copyright.
4492 Use ANSI definitions and prototypes.
4493 * intl/dcigettext.c: Switch to gettext copyright.
4494 Use ANSI definitions and prototypes.
4495 (INTDIV0_RAISES_SIGFPE): New define.
4496 Use gl_* locking primitives rather than __libc_* ones.
4497 Include eval-plural.h instead of plural-eval.c.
4498 Use __builtin_expect rather than __glibc_likely/unlikely.
4499 * intl/dcngettext.c: Switch to gettext copyright.
4500 Use ANSI definitions and prototypes.
4501 * intl/dgettext.c: Likewise.
4502 * intl/dngettext.c: Likewise.
4503 * intl/plural-eval.c: Renamed to...
4504 * intl/eval-plural.h: ...this.
4505 * intl/explodename.c: Switch to gettext copyright.
4506 Use ANSI definitions and prototypes.
4507 (_nl_explode_name): Use strchr instead of __rawmemchr.
4508 * intl/finddomain.c: Switch to gettext copyright.
4509 Use ANSI definitions and prototypes.
4510 Use gl_* locking primitives rather than __libc_* ones.
4511 (_nl_find_domain): Use malloc rather than alloca for
4512 allocation of temporary locale name.
4513 * intl/gettext.c: Switch to gettext copyright.
4514 Use ANSI definitions and prototypes.
4515 * intl/gettextP.h: Switch to gettext copyright.
4516 Use ANSI definitions and prototypes.
4517 Use gl_* locking primitives rather than __libc_* ones.
4518 * intl/gmo.h: Switch to gettext copyright.
4519 (struct sysdep_string): Move struct segment_pair outside of
4521 * intl/hash-string.c: Use ANSI definitions and prototypes.
4522 * intl/hash-string.h: Switch to gettext copyright.
4523 Use ANSI definitions and prototypes.
4524 * intl/l10nflist.c: Switch to gettext copyright.
4525 Use ANSI definitions and prototypes.
4526 (_nl_normalize_codeset): Avoid integer overflow.
4527 * intl/loadinfo.h: Switch to gettext copyright.
4528 Use ANSI definitions and prototypes.
4529 (LIBINTL_DLL_EXPORTED): New define.
4530 (PATH_SEPARATOR): New define.
4531 * intl/loadmsgcat.c: Switch to gettext copyright.
4532 * intl/localealias.c: Switch to gettext copyright.
4533 Use ANSI definitions and prototypes.
4534 (_nl_expand_alias): Use PATH_SEPARATOR.
4535 * intl/ngettext.c: Switch to gettext copyright.
4536 Use ANSI definitions and prototypes.
4537 * intl/plural-exp.c: Likewise.
4538 * intl/plural-exp.h: Switch to gettext copyright.
4539 Use ANSI definitions and prototypes.
4540 (struct expression): Move definition of enum operator outside
4541 of struct definition.
4542 * intl/plural.c: Regenerate.
4543 * intl/plural.y: Switch to gettext copyright.
4544 Use ANSI definitions and prototypes.
4546 * intl/textdomain.c: Switch to gettext copyright.
4547 Use ANSI definitions and prototypes.
4548 Use gl_* locking primitives rather than __libc_* ones.
4550 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4552 * debug/warning-nop.c: Add used atrribute.
4554 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4556 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4558 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4559 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4560 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4562 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4563 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4567 Undefine after defining function. Define as weak alias of
4568 __wcschr. Use libc_hidden_weak.
4569 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4570 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4571 (libc_hidden_def): Also define __GI___wcschr alias.
4572 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4573 __wcschr and define as weak alias of __wcschr.
4574 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4576 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4577 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4578 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4579 libc_hidden_weak. Do not use libc_hidden_def.
4580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4581 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4582 __GI___wcschr alias.
4583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4584 [IS_IN (libc)] (wcschr): Define as macro expanding to
4586 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4587 [IS_IN (libc)] (__wcschr_power6): Likewise.
4588 [IS_IN (libc)] (__wcschr_power7): Likewise.
4589 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4591 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4593 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4594 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4595 __wcschr and define as weak alias of __wcschr. Use
4596 libc_hidden_builtin_def.
4597 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4598 as weak alias of __wcschr. Use libc_hidden_weak.
4599 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4601 * time/era.c (_nl_init_era_entries): Likewise.
4602 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4604 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4605 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4607 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4609 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4610 format for long int variable.
4612 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4615 * manual/search.texi: (Array Sort Function): Remove claim how to make
4618 2014-12-10 Andreas Schwab <schwab@suse.de>
4621 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4622 user-controlled locks.
4624 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4626 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4629 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4631 * configure.ac (--disable-werror): New configure option.
4632 (enable_werror): New AC_SUBST.
4633 * configure: Regenerated.
4634 * config.make.in (enable-werror): New variable.
4635 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4637 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4638 * manual/install.texi (Configuring and compiling): Document
4640 * INSTALL: Regenerated.
4641 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4642 (CFLAGS-tst-chk2.c): Likewise.
4643 (CFLAGS-tst-chk3.c): Likewise.
4644 (CFLAGS-tst-chk4.cc): Likewise.
4645 (CFLAGS-tst-chk5.cc): Likewise.
4646 (CFLAGS-tst-chk6.cc): Likewise.
4647 (CFLAGS-tst-lfschk1.c): Likewise.
4648 (CFLAGS-tst-lfschk2.c): Likewise.
4649 (CFLAGS-tst-lfschk3.c): Likewise.
4650 (CFLAGS-tst-lfschk4.cc): Likewise.
4651 (CFLAGS-tst-lfschk5.cc): Likewise.
4652 (CFLAGS-tst-lfschk6.cc): Likewise.
4654 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4655 (main): Disable -Wdeprecated-declarations around calls to
4656 register_printf_function.
4658 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4659 (do_test): Disable -Wdiv-by-zero around some calls to
4660 fwrite_unlocked and fread_unlocked.
4662 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4663 (DIAG_POP_NEEDS_COMMENT): Likewise.
4664 (_DIAG_STR1): Likewise.
4665 (_DIAG_STR): Likewise.
4666 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4667 * stdio-common/bug21.c: Include <libc-internal.h>.
4668 (do_test): Disable -Wformat around call to sscanf.
4669 * stdio-common/scanf14.c: Include <libc-internal.h>.
4670 (main): Disable -Wformat around some calls to scanf functions.
4672 2014-12-09 Torvald Riegel <triegel@redhat.com>
4674 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4676 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4679 stack variable alignment.
4681 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4684 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4685 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4686 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4687 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4688 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4689 __getrlimit instead of getrlimit.
4690 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4691 __gettimeofday instead of gettimeofday.
4692 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4694 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4697 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4699 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4700 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4702 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4705 for wide-character tests.
4707 2014-12-04 Roland McGrath <roland@hack.frob.com>
4709 * io/openat64.c: #include <libc-internal.h>
4710 (__openat64): Prototypify. Use ignore_value on MODE.
4711 * io/openat.c: Likewise.
4712 * misc/reboot.c: #include <libc-internal.h>
4713 (reboot): Prototypify. Use ignore_value on HOWTO.
4714 * misc/ptrace.c: #include <libc-internal.h>
4715 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4717 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4719 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4720 XPG4, UNIX98 and XOPEN2K.
4721 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4723 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4725 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4727 * libio/fileops.c: Use ISO C style for function definitions.
4728 * libio/iofopen.c: Likewise.
4729 * libio/wfileops.c: Likewise.
4732 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4734 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4735 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4736 (fgets_func): Function pointer to fgets and fgetws.
4737 (do_ftell_test): Add test to verify ftell value after read
4739 (do_test): Set fgets_func.
4741 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4742 O_TRUNC flag for w and w+ modes.
4743 (do_rewind_test): Likewise.
4744 (do_ftell_test): Likewise.
4745 (do_write_test): Likewise.
4748 * libio/fileops.c (do_ftell): Seek only when there are
4750 * libio/wfileops.c (do_ftell_wide): Likewise.
4751 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4753 (do_one_test): Call it.
4755 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4757 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4758 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4759 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4761 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4762 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4763 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4765 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4767 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4769 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4772 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4773 as weak alias of __getifaddrs. Use libc_hidden_weak.
4774 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4775 __freeifaddrs. Use libc_hidden_weak.
4776 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4777 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4778 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4779 __freeifaddrs. Use libc_hidden_weak.
4780 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4781 __getifaddrs and define as weak alias of __getifaddrs. Use
4783 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4784 __freeifaddrs. Use libc_hidden_weak.
4785 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4787 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4788 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4790 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4793 * sysdeps/mips/start.S (__start): Use indirect jump to call
4796 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4798 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4800 * nptl/tst-mutex1.c: Include <stdbool.h>.
4801 [!ATTR] (ATTR_NULL): New macro.
4802 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4803 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4804 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4806 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4810 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4811 Change conditional to [__USE_MISC].
4814 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4816 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4818 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4820 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4822 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4823 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4824 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4825 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4826 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4827 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4828 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4829 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4830 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4832 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4834 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4836 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4837 Remove strpbrk objects.
4838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4839 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4840 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4841 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4842 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4843 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4845 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4846 Remove strcspn objects.
4847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4848 (__libc_ifunc_impl_list): Remove strcspn implementation.
4849 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4850 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4851 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4852 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4854 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4855 Remove strspn objetcs.
4856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4857 (__libc_ifunc_impl_list): Remove strspn implementation.
4858 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4859 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4860 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4861 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4863 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4867 (mem2mem_check): Add a terminator to the chain of checking blocks.
4868 (malloc_check_get_size): Use it here.
4869 (mem2chunk_check): Ditto.
4871 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4873 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4874 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4876 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4878 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4880 * nptl/nptl-init.c: Include libc-internal.h.
4881 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4883 * elf/ldconfig.c (search_dir): Expand comment.
4885 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4887 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4889 (linknamespace-symlist-stdlibs-tests): Likewise.
4890 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4891 instead of $(objpfx)symlist-stdlibs.
4892 (linknamespace-libs-isoc): New variable.
4893 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4894 (linknamespace-libs-ISO): New variable.
4895 (linknamespace-libs-ISO99): Likewise.
4896 (linknamespace-libs-ISO11): Likewise.
4897 (linknamespace-libs-XPG3): Likewise.
4898 (linknamespace-libs-XPG4): Likewise.
4899 (linknamespace-libs-POSIX): Likewise.
4900 (linknamespace-libs-UNIX98): Likewise.
4901 (linknamespace-libs-XOPEN2K): Likewise.
4902 (linknamespace-libs-POSIX2008): Likewise.
4903 (linknamespace-libs-XOPEN2K8): Likewise.
4904 ($(objpfx)symlist-stdlibs): Replace by
4905 $(linknamespace-symlist-stdlibs-tests). Use
4906 $(linknamespace-libs-$*) as set of libraries.
4907 ($(linknamespace-header-tests)): Update dependencies. Use
4908 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4909 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4910 * conform/linknamespace.pl: Remove comment about considering
4911 definitions of symbols from irrelevant libraries.
4913 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4916 * elf/dl-tls.c: Include <atomic.h>.
4917 (oom): Remove #ifdef SHARED/#endif.
4918 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4919 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4920 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4922 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4923 * nptl/Makefile (tests): Add tst-stack4.
4924 (modules-names): Add tst-stack4mod.
4925 ($(objpfx)tst-stack4): New.
4926 (tst-stack4mod.sos): Likewise.
4927 ($(objpfx)tst-stack4.out): Likewise.
4928 ($(tst-stack4mod.sos)): Likewise.
4930 * nptl/tst-stack4.c: New file.
4931 * nptl/tst-stack4mod.c: Likewise.
4933 2014-11-27 J. Brown <jb999@gmx.de>
4935 * sysdeps/x86/bits/string.h: Add recent CPUs.
4937 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4939 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4942 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4945 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4948 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4950 * nscd/connections.c: Include libc-internal.h because of macro
4953 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 * string/bits/string3.h (__warn_memset_zero_len): Don't
4956 declare for gcc newer than 5.0.
4957 (memset): Don't test for zero-length __LEN for gcc newer than
4960 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4962 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4963 size_t for %zu format.
4965 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4966 difference, not %ju.
4968 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4970 * include/libc-internal.h (ignore_value): New macro.
4971 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4974 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4977 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4978 pthread_cleanup_push to void *.
4980 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4986 instead of 1L << 52.
4988 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4989 * libio/bug-rewind2.c (do_test): Likewise.
4991 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4992 * debug/test-strcpy_chk-ifunc.c: Likewise.
4993 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4999 * Rules [$(multi-arch) = no] (tests): Do not filter out
5001 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5002 * debug/Makefile (tests-ifunc): Remove variable.
5003 (tests): Do not add $(tests-ifunc).
5004 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5005 (tests): Do not add $(tests-ifunc).
5006 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5007 [TEST_IFUNC]: Remove conditionals.
5008 * string/test-string.h (TEST_IFUNC): Remove macro.
5009 [TEST_IFUNC]: Remove conditionals.
5011 * string/test-strchr.c [!WIDE] (L): New macro.
5012 [WIDE] (L): Likewise.
5013 (check1): Use CHAR instead of char. Use L on string and character
5016 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5018 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5020 * sysdeps/powerpc/bits/atomic.h
5021 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5022 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5023 (atomic_exchange_and_add_acq): Likewise.
5024 (atomic_exchange_and_add_rel): Likewise.
5025 * sysdeps/powerpc/powerpc32/bits/atomic.h
5026 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5027 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5028 * sysdeps/powerpc/powerpc64/bits/atomic.h
5029 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5030 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5032 2014-11-26 Torvald Riegel <triegel@redhat.com>
5034 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5035 Change synchronization of __sched_fifo_min_prio and
5036 __sched_fifo_max_prio.
5037 * nptl/pthread_mutexattr_getprioceiling.c
5038 (pthread_mutexattr_getprioceiling): Likewise.
5039 * nptl/pthread_mutexattr_setprioceiling.c
5040 (pthread_mutexattr_setprioceiling): Likewise.
5041 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5042 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5045 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5047 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5050 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5052 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5053 third argument const.
5055 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5057 fnmatch: work around GCC compiler warning bug with uninit var
5058 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5059 This works around a bug with x86-64 GCC 4.9.2 and earlier
5060 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5061 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5062 used uninitialized in this function [-Wmaybe-uninitialized]".
5064 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5066 * posix/bug-regex31.c (main): Return RES not 0.
5068 2014-11-25 Anton Blanchard <anton@samba.org>
5070 * sysdeps/powerpc/bits/atomic.h
5071 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5073 2014-11-24 Sterling Augustine <saugustine@google.com>
5075 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5077 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5082 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5085 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5086 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5088 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5089 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5091 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5093 * string/strncpy.c (strncpy): Improve performance by using memset.
5095 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5097 * string/strcpy.c (strcpy):
5098 Improve performance by using strlen and memcpy.
5100 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5102 * string/strcoll_l.c (get_next_seq): __always_inline.
5103 * string/strcoll_l.c (do_compare): __always_inline.
5105 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5109 * include/mqueue.h: Likewise.
5110 * include/stdlib.h: Likewise.
5112 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5113 (get_null_defines): Adjust.
5114 * sunrpc/Makefile: Adjust comment.
5115 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5116 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5117 (CFLAGS-interp.c): Likewise.
5118 (CFLAGS-ldconfig.c): Likewise.
5119 (CPPFLAGS-.os): Likewise.
5120 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5121 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5122 * extra-modules.mk (extra-modules.mk): Likewise.
5123 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5124 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5125 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5126 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5127 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5128 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5129 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5130 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5131 * iconvdata/Makefile (CPPFLAGS): Likewise.
5132 (cpp-srcs-left): Add libof for all iconvdata routines.
5133 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5134 * include/assert.h: Likewise.
5135 * include/ctype.h: Likewise.
5136 * include/errno.h: Likewise.
5137 * include/libc-symbols.h: Likewise.
5138 * include/math.h: Likewise.
5139 * include/netdb.h: Likewise.
5140 * include/resolv.h: Likewise.
5141 * include/stdio.h: Likewise.
5142 * include/stdlib.h: Likewise.
5143 * include/string.h: Likewise.
5144 * include/sys/stat.h: Likewise.
5145 * include/wctype.h: Likewise.
5146 * intl/l10nflist.c: Likewise.
5147 * libidn/idn-stub.c: Likewise.
5148 * libio/libioP.h: Likewise.
5149 * nptl/libc_multiple_threads.c: Likewise.
5150 * nptl/pthreadP.h: Likewise.
5151 * posix/regex_internal.h: Likewise.
5152 * resolv/res_hconf.c: Likewise.
5153 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5154 * sysdeps/arm/memmove.S: Likewise.
5155 * sysdeps/arm/sysdep.h: Likewise.
5156 * sysdeps/generic/_itoa.h: Likewise.
5157 * sysdeps/generic/symbol-hacks.h: Likewise.
5158 * sysdeps/gnu/errlist.awk: Likewise.
5159 * sysdeps/gnu/errlist.c: Likewise.
5160 * sysdeps/i386/i586/memcpy.S: Likewise.
5161 * sysdeps/i386/i586/memset.S: Likewise.
5162 * sysdeps/i386/i686/memcpy.S: Likewise.
5163 * sysdeps/i386/i686/memmove.S: Likewise.
5164 * sysdeps/i386/i686/mempcpy.S: Likewise.
5165 * sysdeps/i386/i686/memset.S: Likewise.
5166 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5171 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5172 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5176 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5177 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5178 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5179 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5180 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5181 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5182 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5183 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5184 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5185 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5186 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5187 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5188 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5189 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5190 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5191 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5192 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5193 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5194 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5196 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5201 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5202 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5203 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5206 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5207 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5210 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5211 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5212 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5213 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5216 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5217 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5218 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5219 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5220 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5221 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5222 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5223 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5224 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5226 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5227 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5228 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5229 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5230 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5231 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5232 * sysdeps/posix/closedir.c: Likewise.
5233 * sysdeps/posix/opendir.c: Likewise.
5234 * sysdeps/posix/readdir.c: Likewise.
5235 * sysdeps/posix/rewinddir.c: Likewise.
5236 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5237 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5239 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5240 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5241 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5243 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5244 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5245 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5246 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5247 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5249 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5251 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5252 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5253 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5254 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5256 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5267 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5269 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5271 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5272 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5274 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5275 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5276 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5277 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5278 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5279 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5280 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5281 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5282 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5283 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5284 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5285 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5288 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5289 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5290 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5291 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5293 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5294 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5295 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5296 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5297 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5298 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5300 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5301 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5303 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5305 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5307 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5308 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5309 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5310 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5311 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5313 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5314 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5315 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5316 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5317 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5319 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5322 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5323 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5324 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5325 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5326 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5327 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5328 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5329 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5332 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5334 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5335 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5337 * sysdeps/unix/alpha/sysdep.S: Likewise.
5338 * sysdeps/unix/alpha/sysdep.h: Likewise.
5339 * sysdeps/unix/make-syscalls.sh: Likewise.
5340 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5342 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5343 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5344 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5345 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5346 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5347 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5348 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5349 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5350 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5351 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5353 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5355 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5356 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5357 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5358 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5359 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5360 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5361 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5362 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5363 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5364 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5365 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5369 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5370 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5372 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5374 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5376 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5379 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5380 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5382 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5383 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5387 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5390 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5391 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5392 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5393 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5394 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5395 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5396 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5398 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5399 * sysdeps/x86_64/memcpy.S: Likewise.
5400 * sysdeps/x86_64/memmove.c: Likewise.
5401 * sysdeps/x86_64/memset.S: Likewise.
5402 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5405 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5406 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5407 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5408 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5409 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5410 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5411 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5412 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5414 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5417 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5419 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5421 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5422 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5423 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5426 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5427 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5428 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5429 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5430 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5431 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5432 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5433 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5434 * sysdeps/x86_64/strcmp.S: Likewise.
5436 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5438 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5439 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5440 * elf/rtld-Rules: Likewise.
5441 * elf/setup-vdso.h: Likewise.
5442 * include/assert.h: Likewise.
5443 * include/bits/stdlib-float.h: Likewise.
5444 * include/errno.h: Likewise.
5445 * include/sys/stat.h: Likewise.
5446 * include/unistd.h: Likewise.
5447 * sysdeps/aarch64/setjmp.S: Likewise.
5448 * sysdeps/alpha/setjmp.S: Likewise.
5449 * sysdeps/arm/__longjmp.S: Likewise.
5450 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5451 * sysdeps/arm/setjmp.S: Likewise.
5452 * sysdeps/arm/sysdep.h: Likewise.
5453 * sysdeps/generic/_itoa.h: Likewise.
5454 * sysdeps/generic/dl-sysdep.h: Likewise.
5455 * sysdeps/generic/ldsodefs.h: Likewise.
5456 * sysdeps/i386/dl-tls.h: Likewise.
5457 * sysdeps/i386/setjmp.S: Likewise.
5458 * sysdeps/m68k/setjmp.c: Likewise.
5459 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5460 * sysdeps/mach/hurd/opendir.c: Likewise.
5461 * sysdeps/posix/getcwd.c: Likewise.
5462 * sysdeps/posix/opendir.c: Likewise.
5463 * sysdeps/posix/profil.c: Likewise.
5464 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5465 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5466 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5468 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5470 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5471 * sysdeps/s390/dl-tls.h: Likewise.
5472 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5473 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5474 * sysdeps/sh/sh3/setjmp.S: Likewise.
5475 * sysdeps/sh/sh4/setjmp.S: Likewise.
5476 * sysdeps/unix/alpha/sysdep.h: Likewise.
5477 * sysdeps/unix/arm/sysdep.S: Likewise.
5478 * sysdeps/unix/i386/sysdep.S: Likewise.
5479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5480 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5481 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5486 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5487 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5488 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5489 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5490 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5491 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5494 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5497 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5498 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5502 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5503 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5506 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5507 * sysdeps/x86_64/setjmp.S: Likewise.
5509 * include/math.h: Use IS_IN instead of IS_IN_libm.
5510 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5522 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5530 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5531 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5532 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5533 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5534 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5535 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5537 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5538 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5539 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5540 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5541 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5542 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5553 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5557 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5558 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5565 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5566 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5567 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5569 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5571 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5572 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5573 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5575 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5577 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5579 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5581 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5582 * nptl/pthreadP.h: Likewise.
5583 * nptl_db/structs.def: Likewise.
5584 * sysdeps/arm/sysdep.h: Likewise.
5585 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5586 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5587 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5588 * sysdeps/unix/alpha/sysdep.h: Likewise.
5589 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5590 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5591 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5592 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5593 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5594 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5596 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5597 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5598 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5599 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5600 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5601 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5602 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5607 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5610 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5611 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5612 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5613 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5614 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5616 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5617 * nptl/pthreadP.h: Likewise.
5618 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5619 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5621 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5622 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5623 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5624 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5625 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5626 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5627 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5628 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5629 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5639 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5640 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5641 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5643 * dlfcn/dladdr.c: Use IS_IN.
5644 * dlfcn/dladdr1.c: Likewise.
5645 * dlfcn/dlclose.c: Likewise.
5646 * dlfcn/dlerror.c: Likewise.
5647 * dlfcn/dlinfo.c: Likewise.
5648 * dlfcn/dlmopen.c: Likewise.
5649 * dlfcn/dlopen.c: Likewise.
5650 * dlfcn/dlsym.c: Likewise.
5651 * dlfcn/dlvsym.c: Likewise.
5653 * include/ifaddrs.h: Use IS_IN.
5654 * inet/check_pf.c: Likewise.
5655 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5656 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5658 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5660 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5661 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5663 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5664 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5667 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5669 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5670 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5671 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5672 * include/libc-symbols.h (IS_IN_LIB): New macro.
5673 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5674 * include/netdb.h: Likewise.
5675 * include/stap-probe.h: Remove all uses of IN_LIB.
5677 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5678 instead of IN_MODULE.
5679 * include/libc-symbols.h (IN_MODULE): Define using
5681 (PASTE_NAME, PASTE_NAME1): New macros.
5682 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5684 (STAP_PROBE_ASM): Likewise.
5686 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5688 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5689 __mach_init in dlopened libc.
5691 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5693 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5694 * sysdeps/arm/preconfigure: Regenerate.
5696 2014-11-21 Roland McGrath <roland@hack.frob.com>
5698 * nptl/pthread_create.c (__pthread_create_2_1): Set
5699 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5700 when copying values from IATTR into PD.
5702 2014-11-21 Will Newton <will.newton@linaro.org>
5703 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5705 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5706 Refactor inline-asm. Also add comment.
5708 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5709 ElfW macro instead of hardcoded Elf64 types.
5710 (la_aarch64_gnu_pltenter): Likewise.
5711 * sysdeps/aarch64/dl-machine.h
5712 (elf_machine_runtime_setup): Use ElfW(Addr).
5714 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5715 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5716 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5717 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5718 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5719 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5720 (R_AARCH64_TLS_DTPMOD): This.
5721 (R_AARCH64_TLS_DTPREL64): Rename to ...
5722 (R_AARCH64_TLS_DTPREL): This.
5723 (R_AARCH64_TLS_TPREL64): Rename to ...
5724 (R_AARCH64_TLS_TPREL): This.
5725 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5726 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5727 R_AARCH64_TLS_TPREL64.
5728 (elf_machine_rela): Likewise.
5730 2014-11-21 Torvald Riegel <triegel@redhat.com>
5732 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5733 by setting it to 0. 64b atomics are not supported currently.
5735 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5738 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5739 search domain names.
5741 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5745 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5747 * posix/tst-getaddrinfo5.c: New.
5748 * posix/Makefile (tests): Add it.
5750 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5754 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5755 after parsing line but before break_if_match.
5756 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5757 if there is a protocol mismatch.
5759 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5761 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5762 because the potential race is on the user-supplied stream.
5764 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5766 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5767 string literal if not passed a buffer.
5768 * manual/job.texi (ctermid): Update reasoning, note deviation
5769 from posix, suggest mtasurace when not passed a buffer, for
5770 future non-preliminary safety notes.
5772 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5774 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5775 of not passing it a buffer.
5776 Reported by Peng Haitao.
5778 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5780 * manual/Makefile ($(objpfx)stamp-summary): Require
5781 check-safety.sh to pass.
5782 * manual/check-safety.sh: Wish for verification that every
5783 @deftypefn and @deftypefun is followed by a @safety remark.
5785 2014-11-20 Roland McGrath <roland@hack.frob.com>
5787 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5789 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5790 PTHREAD_CANCEL_ASYNCHRONOUS.
5791 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5794 * nptl/default-sched.h: New file.
5795 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5796 * nptl/pthread_create.c: Include it.
5797 (__pthread_create_2_1): Use collect_default_sched instead of making
5798 Linux syscalls here directly.
5800 2014-11-20 Torvald Riegel <triegel@redhat.com>
5802 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5803 __pthread_once): Use C11 atomics.
5805 2014-11-20 Torvald Riegel <triegel@redhat.com>
5807 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5809 2014-11-20 Torvald Riegel <triegel@redhat.com>
5811 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5812 atomic_thread_fence_acquire, atomic_thread_fence_release,
5813 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5814 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5815 atomic_compare_exchange_weak_relaxed,
5816 atomic_compare_exchange_weak_acquire,
5817 atomic_compare_exchange_weak_release,
5818 atomic_exchange_acquire, atomic_exchange_release,
5819 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5820 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5821 atomic_fetch_and_acquire,
5822 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5824 2014-11-20 Torvald Riegel <triegel@redhat.com>
5826 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5827 USE_ATOMIC_COMPILER_BUILTINS): Define.
5828 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5829 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5830 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5831 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5832 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5833 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5834 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5835 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5836 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5837 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5838 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5839 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5840 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5841 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5842 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5843 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5844 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5845 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5846 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5847 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5848 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5849 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5850 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5851 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5852 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5853 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5854 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5855 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5856 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5857 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5858 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5859 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5860 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5861 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5862 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5863 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5864 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5866 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5869 2014-11-19 Roland McGrath <roland@hack.frob.com>
5871 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5872 the sched_priority value here. It was already checked when the user
5873 called pthread_attr_setschedparam.
5875 * nptl/tst-bad-schedattr.c: New file.
5876 * nptl/Makefile (tests): Add it.
5878 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5879 Florian Weimer <fweimer@redhat.com>
5880 Joseph Myers <joseph@codesourcery.com>
5881 Adam Conrad <adconrad@0c3.net>
5882 Andreas Schwab <schwab@suse.de>
5883 Brooks <bmoses@google.com>
5886 * wordexp-test.c (__dso_handle): Add prototype.
5887 (__register_atfork): Likewise.
5888 (__app_register_atfork): New function.
5889 (registered_forks): New global.
5890 (register_fork): New function.
5891 (test_case): Add 3 new tests for WRDE_CMDSUB.
5892 (main): Call __app_register_atfork.
5893 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5894 fork count is non-zero fail the test.
5895 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5897 (parse_dollars): Remove check for WRDE_NOCMD.
5898 (parse_dquote): Likewise.
5900 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5902 * Makeconfig (built-modules): List non-library modules to be
5904 (module-cppflags): Include libc-modules.h for
5905 everything except shlib-versions.v.i.
5907 (before-compile): Add libc-modules.h.
5908 ($(common-objpfx)libc-modules.h,
5909 $(common-objpfx)libc-modules.stmp): New targets.
5910 (common-generated): Add libc-modules.h and libc-modules.stmp.
5911 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5912 * include/libc-symbols.h: Don't include libc-modules.h.
5913 * include/libc-modules.h: Remove file.
5914 * scripts/gen-libc-modules.awk: New script to generate
5916 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5917 Depend on libc-modules.stmp.
5919 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5921 * Makeconfig (in-module): Get value of libof set for the
5923 (CPPFLAGS): Use $(in-module).
5924 * Makerules: Don't suffix routine names for nonlib.
5925 * include/libc-modules.h: New file.
5926 * include/libc-symbols.h: Include libc-modules.h
5927 (IS_IN): New macro to replace IS_IN_* macros.
5928 * elf/Makefile: Set libof-* for each routine.
5929 * elf/rtld-Rules: Likewise.
5930 * extra-modules.mk: Likewise.
5931 * iconv/Makefile: Likewise.
5932 * iconvdata/Makefile: Likewise.
5933 * locale/Makefile: Likewise.
5934 * malloc/Makefile: Likewise.
5935 * nss/Makefile: Likewise.
5936 * sysdeps/gnu/Makefile: Likewise.
5937 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5938 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5939 * sysdeps/s390/s390-64/Makefile: Likewise.
5940 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5941 CPPFLAGS for nscd instead of nonlib.
5943 2014-11-18 Roland McGrath <roland@hack.frob.com>
5945 * nptl/createthread.c: New file.
5947 * nptl/createthread.c: Moved ...
5948 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5950 * nptl/createthread.c: Add proper top-line comment.
5951 (do_clone): Folded into ...
5952 (create_thread): ... here. Take new arguments STOPPED_START and
5953 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5954 increment __nptl_threads, do event-reporting logic, do
5955 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5956 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5957 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5958 just send SIGCANCEL.
5959 * nptl/pthread_create.c: Forward-declare create_thread before
5960 including createthread.c.
5961 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5962 declaration, and new macro START_THREAD_SELF to replace argument.
5963 Remove return statement.
5964 (report_thread_creation): New function.
5965 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5966 synchronization logic, and __nptl_nthreads increment here, around
5967 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5968 PD->parent_cancelhandling here, before create_thread. When
5969 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5970 __deallocate_stack, and ENOMEM translation here.
5972 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5975 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5976 (mptwo): Rename to __mptwo.
5977 (__inv): Use __mptwo instead of mptwo.
5978 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5979 (mptwo): Rename to __mptwo.
5980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5981 of mpone and __mptwo instead of mptwo.
5982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5985 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5986 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5987 of mpone and __mptwo instead of mptwo.
5988 (__mpranred): Use __mpone instead of mpone.
5989 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5991 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5992 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5993 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5994 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5995 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5996 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5997 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5998 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5999 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6000 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6001 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6002 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6003 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6004 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6005 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6006 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6007 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6011 2014-11-18 Tom de Vries <tom@codesoucery.com>
6013 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6014 replace BSD Handler xref with BSD Signal Handling.
6016 2014-11-17 Richard Henderson <rth@redhat.com>
6018 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6019 (_FP_PACK_RAW_2): Remove.
6020 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6021 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6022 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6023 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6024 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6025 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6026 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6027 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6028 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6029 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6030 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6031 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6032 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6033 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6034 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6035 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6037 2014-11-14 Roland McGrath <roland@hack.frob.com>
6039 * signal/signal.h [__USE_MISC]
6040 (struct sigvec): Remove type.
6041 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6042 (sigvec): Remove declaration.
6043 * sysdeps/posix/sigvec.c: Moved ...
6044 * signal/sigvec.c: ... here, replacing old file.
6045 (struct sigvec): New type, copied from old signal.h definition.
6046 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6047 (__sigvec): Convert definition to prototype.
6048 (sigvec): Replace weak_alias with compat_symbol.
6049 * signal/Versions (libc: GLIBC_2.21): New version set.
6050 * include/signal.h: Remove __sigvec declaration.
6051 * sysdeps/unix/bsd/sigvec.c: Remove file.
6052 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6053 * manual/signal.texi (BSD Handler): Remove subsection.
6054 Move siginterrupt up to ...
6055 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6056 (Blocking in BSD): Fold subsection into its parent.
6057 * NEWS: Mention sigvec removal.
6059 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6061 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6062 (DLA_FMS): Make definition conditional only on [__FMA4__].
6063 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6066 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6067 Make definition conditional only on [PROF].
6068 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6070 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6071 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6073 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6075 * include/signal.h (__sigpause): Move declaration above call to
6077 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6079 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6080 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6082 2014-11-14 David S. Miller <davem@davemloft.net>
6084 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6085 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6087 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6089 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6090 * configure: Regenerated.
6091 * manual/install.texi (Tools for Compilation): Document a
6092 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6093 compiler verified to work.
6094 * INSTALL: Regenerated.
6096 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6097 redeclare with asm name.
6098 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6099 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6100 including <string.h>.
6101 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6102 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6103 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6104 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6105 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6107 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6109 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6111 * stdlib/strtol.c (__strtol): Use prototype definition.
6114 * stdlib/strtol.c (SYM__): New macro.
6116 (__strtol): Likewise.
6117 (strtol): Rename to __strtol and define as weak alias of
6118 __strtol. Use libc_hidden_weak.
6120 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6122 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6123 Use numbered labels in inline assembly.
6125 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6127 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6128 Add setjmp LIBC_PROBE.
6129 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6131 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6132 Add longjmp, longjmp_target LIBC_PROBE.
6133 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6136 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6138 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6139 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6140 to get rid of unused variable warning.
6142 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6144 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6145 Check for unwind_backtrace == NULL only in SHARED case.
6146 (__backchain_backtrace): Compile only in SHARED case.
6147 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6149 (__backchain_backtrace): Declare as static.
6151 2014-11-12 Roland McGrath <roland@hack.frob.com>
6153 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6154 (__libc_multiple_threads_ptr): Variable moved ...
6155 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6157 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6159 * conform/GlibcConform.pm: New file.
6160 * conform/conformtest.pl: Use GlibcConform module.
6161 * conform/linknamespace.pl: New file.
6162 * conform/list-header-symbols.pl: Likewise.
6163 * conform/Makefile (linknamespace-symlists-base): New variable.
6164 (linknamespace-symlists-tests): Likewise.
6165 (linknamespace-header-base): Likewise.
6166 (linknamespace-header-tests): Likewise.
6167 (tests-special): Add new tests.
6168 ($(linknamespace-symlists-tests)): New rule.
6169 (linknamespace-libs): New variable.
6170 ($(objpfx)symlist-stdlibs): New rule.
6171 ($(linknamespace-header-tests)): Likewise.
6172 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6173 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6174 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6175 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6176 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6177 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6178 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6179 (test-xfail-ISO/math.h/linknamespace): Likewise.
6180 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6181 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6182 (test-xfail-ISO/time.h/linknamespace): Likewise.
6183 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6184 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6185 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6186 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6187 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6188 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6189 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6190 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6191 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6192 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6193 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6194 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6195 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6196 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6197 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6198 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6199 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6200 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6201 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6202 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6203 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6204 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6205 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6206 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6207 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6208 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6209 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6210 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6211 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6212 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6213 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6214 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6215 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6216 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6217 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6218 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6219 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6220 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6221 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6222 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6223 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6224 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6225 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6226 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6227 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6228 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6229 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6230 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6231 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6232 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6233 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6234 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6235 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6236 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6237 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6238 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6239 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6240 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6241 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6242 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6243 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6244 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6245 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6246 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6247 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6248 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6249 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6250 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6251 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6252 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6253 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6254 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6255 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6256 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6257 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6258 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6259 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6260 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6261 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6262 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6263 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6264 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6265 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6266 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6267 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6268 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6269 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6270 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6271 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6272 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6273 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6274 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6275 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6276 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6277 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6278 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6279 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6280 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6281 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6282 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6283 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6284 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6285 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6286 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6287 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6288 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6289 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6290 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6291 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6292 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6293 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6294 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6295 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6296 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6297 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6298 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6299 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6300 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6301 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6302 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6303 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6304 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6305 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6306 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6307 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6308 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6309 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6310 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6311 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6312 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6313 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6314 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6315 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6316 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6317 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6318 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6319 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6320 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6321 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6322 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6323 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6324 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6325 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6326 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6327 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6328 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6329 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6330 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6331 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6332 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6335 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6339 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6340 (memmem): Rename to __memmem and define as weak alias of
6341 __memmem. Use libc_hidden_weak.
6342 (__memmem): Use libc_hidden_def.
6343 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6344 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6348 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6349 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6350 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6351 and define as weak alias of __fgets_unlocked. Use
6353 (__fgets_unlocked): Use libc_hidden_def.
6354 * include/stdio.h (__fgets_unlocked): Declare. Use
6356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6357 __fgets_unlocked instead of fgets_unlocked.
6358 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6359 (GET_NPROCS_CONF_PARSER): Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6361 (GET_NPROCS_CONF_PARSER): Likewise.
6364 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6365 weak alias of __wmemset. Use libc_hidden_weak.
6366 (__wmemset): Use libc_hidden_def.
6367 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6368 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6372 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6373 with asm name __mempcpy.
6374 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6377 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6378 and define as weak alias of __rawmemchr.
6379 (__rawmemchr): Do not define as strong alias of rawmemchr.
6382 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6384 (qsort): Call __qsort_r instead of qsort_r.
6385 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6386 (__qsort_r): Declare. Call libc_hidden_proto.
6387 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6389 * nscd/gai.c (__qsort_r): Define to qsort_r.
6390 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6391 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6392 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6395 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6396 define as weak alias of __malloc_info.
6399 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6400 as weak alias of __rewinddir. Don't use libc_hidden_def.
6401 (__rewinddir): Use libc_hidden_def.
6402 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6403 as weak alias of __rewinddir. Don't use libc_hidden_def.
6404 (__rewinddir): Use libc_hidden_def.
6405 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6406 weak alias of __rewinddir. Don't use libc_hidden_def.
6407 (__rewinddir): Use libc_hidden_def.
6408 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6409 (__rewinddir): Use libc_hidden_proto.
6410 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6412 (__getcwd): Use __rewinddir instead of rewinddir.
6415 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6416 alias of __fileno. Use libc_hidden_weak.
6417 (__fileno): Use libc_hidden_def.
6418 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6419 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6421 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6423 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6424 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6426 (fread_unlocked): Don't use libc_hidden_ver.
6427 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6428 and define as weak alias of __fread_unlocked. Don't use
6430 (__fread_unlocked): Use libc_hidden_def.
6431 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6432 (ftello): Don't use libc_hidden_proto.
6433 (__ftello): Declare. Use libc_hidden_proto.
6434 (fread_unlocked): Don't use libc_hidden_proto.
6435 (__fread_unlocked): Declare. Use libc_hidden_proto.
6436 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6437 and __ftello instead of fileno, fread_unlocked and ftello.
6439 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6441 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6445 (_dl_start_user): Likewise.
6446 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6448 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6449 Siddhesh Poyarekar <siddhesh@redhat.com>
6451 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6452 Move argv and envp down instead of moving argc up.
6453 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6455 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6458 * test-skeleton.c (main): Return successful if one of
6459 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6460 * string/tst-strcoll-overflow.c: Define expected status.
6462 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6465 * locale/iso-639.def: Define Bhili and Tulu language codes.
6467 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6469 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6471 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6474 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6476 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6478 * configure.ac: Updated check of minimal required version to
6480 * manual/install.texi (Tools for Compilation): Updated version
6482 * configure: Regenerated.
6483 * INSTALL: Likewise.
6485 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6487 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6490 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6492 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6493 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6494 (__waitpid): Don't define as alias. Use libc_hidden_def not
6496 (waitpid): Define as alias of __waitpid.
6497 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6499 (__waitpid): Don't define as alias. Use libc_hidden_def not
6501 (waitpid): Define as alias of __waitpid.
6502 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6503 __libc_waitpid alias.
6504 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6507 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6508 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6509 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6511 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6513 (__waitpid): Don't define as alias. Use libc_hidden_def not
6515 (waitpid): Define as alias of __waitpid.
6517 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6519 * manual/llio.texi: Add comment that write safety has been
6522 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6523 (localplt-build-dso): Add elf/ld.so.
6524 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6525 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6528 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6533 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6534 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6535 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6536 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6537 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6538 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6539 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6540 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6541 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6545 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6548 * include/libc-symbols.h (INTUSE): Remove macro.
6550 (INTVARDEF): Likewise.
6551 (_INTVARDEF): Likewise.
6552 (INTDEF2): Likewise.
6553 (INTVARDEF2): Likewise.
6554 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6555 rtld_hidden_def instead of INTVARDEF.
6556 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6557 (_dl_starting_up_internal): Remove declaration.
6558 (_dl_starting_up): Use rtld_hidden_proto.
6559 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6561 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6562 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6564 * elf/dl-writev.h (_dl_writev): Likewise.
6565 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6566 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6567 _dl_starting_up_internal.
6569 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6574 2014-11-05 Will Newton <will.newton@linaro.org>
6576 * benchtests/Makefile: (bench-malloc): Add malloc thread
6577 scalability benchmark.
6578 * benchtests/bench-malloc-threads.c: New file.
6580 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6582 * sysdeps/aarch64/strchrnul.S: New file.
6584 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6586 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6588 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6594 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6599 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6601 * catgets/test-gencat.c: Use test-skeleton.c.
6602 * catgets/tst-catgets.c: Likewise.
6603 * csu/tst-empty.c: Likewise.
6604 * elf/tst-audit2.c: Likewise.
6605 * elf/tst-global1.c: Likewise.
6606 * elf/tst-pathopt.c: Likewise.
6607 * elf/tst-piemod1.c: Likewise.
6608 * elf/tst-tls10.c: Likewise.
6609 * elf/tst-tls11.c: Likewise.
6610 * elf/tst-tls12.c: Likewise.
6611 * gnulib/tst-gcc.c: Likewise.
6612 * iconvdata/tst-e2big.c: Likewise.
6613 * iconvdata/tst-loading.c: Likewise.
6614 * iconv/tst-iconv1.c: Likewise.
6615 * iconv/tst-iconv2.c: Likewise.
6616 * inet/test-inet6_opt.c: Likewise.
6617 * inet/tst-gethnm.c: Likewise.
6618 * inet/tst-network.c: Likewise.
6619 * inet/tst-ntoa.c: Likewise.
6620 * intl/tst-codeset.c: Likewise.
6621 * intl/tst-gettext2.c: Likewise.
6622 * intl/tst-gettext3.c: Likewise.
6623 * intl/tst-ngettext.c: Likewise.
6624 * intl/tst-translit.c: Likewise.
6625 * io/test-stat.c: Likewise.
6626 * libio/test-fmemopen.c: Likewise.
6627 * libio/tst-freopen.c: Likewise.
6628 * libio/tst-sscanf.c: Likewise.
6629 * libio/tst-ungetwc1.c: Likewise.
6630 * libio/tst-ungetwc2.c: Likewise.
6631 * libio/tst-widetext.c: Likewise.
6632 * localedata/tst-ctype.c: Likewise.
6633 * localedata/tst-digits.c: Likewise.
6634 * localedata/tst-leaks.c: Likewise.
6635 * localedata/tst-mbswcs1.c: Likewise.
6636 * localedata/tst-mbswcs2.c: Likewise.
6637 * localedata/tst-mbswcs3.c: Likewise.
6638 * localedata/tst-mbswcs4.c: Likewise.
6639 * localedata/tst-mbswcs5.c: Likewise.
6640 * localedata/tst-setlocale.c: Likewise.
6641 * localedata/tst-trans.c: Likewise.
6642 * localedata/tst-wctype.c: Likewise.
6643 * localedata/tst-xlocale1.c: Likewise.
6644 * login/tst-grantpt.c: Likewise.
6645 * malloc/tst-calloc.c: Likewise.
6646 * malloc/tst-malloc.c: Likewise.
6647 * malloc/tst-mallocstate.c: Likewise.
6648 * malloc/tst-mcheck.c: Likewise.
6649 * malloc/tst-mtrace.c: Likewise.
6650 * malloc/tst-obstack.c: Likewise.
6651 * math/atest-exp2.c: Likewise.
6652 * math/atest-exp.c: Likewise.
6653 * math/atest-sincos.c: Likewise.
6654 * math/test-matherr.c: Likewise.
6655 * math/test-misc.c: Likewise.
6656 * math/test-powl.c: Likewise.
6657 * math/tst-definitions.c: Likewise.
6658 * misc/tst-dirname.c: Likewise.
6659 * misc/tst-efgcvt.c: Likewise.
6660 * misc/tst-fdset.c: Likewise.
6661 * misc/tst-hsearch.c: Likewise.
6662 * misc/tst-mntent2.c: Likewise.
6663 * nptl/tst-sem7.c: Likewise.
6664 * nptl/tst-sem8.c: Likewise.
6665 * nptl/tst-sem9.c: Likewise.
6666 * nss/test-netdb.c: Likewise.
6667 * posix/tst-fnmatch.c: Likewise.
6668 * posix/tst-getlogin.c: Likewise.
6669 * posix/tst-gnuglob.c: Likewise.
6670 * posix/tst-mmap.c: Likewise.
6671 * pwd/tst-getpw.c: Likewise.
6672 * resolv/tst-inet_ntop.c: Likewise.
6673 * rt/tst-timer.c: Likewise.
6674 * stdio-common/test-fseek.c: Likewise.
6675 * stdio-common/test-popen.c: Likewise.
6676 * stdio-common/test-vfprintf.c: Likewise.
6677 * stdio-common/tst-cookie.c: Likewise.
6678 * stdio-common/tst-fileno.c: Likewise.
6679 * stdio-common/tst-gets.c: Likewise.
6680 * stdio-common/tst-obprintf.c: Likewise.
6681 * stdio-common/tst-perror.c: Likewise.
6682 * stdio-common/tst-sprintf2.c: Likewise.
6683 * stdio-common/tst-sprintf3.c: Likewise.
6684 * stdio-common/tst-sprintf.c: Likewise.
6685 * stdio-common/tst-swprintf.c: Likewise.
6686 * stdio-common/tst-tmpnam.c: Likewise.
6687 * stdio-common/tst-unbputc.c: Likewise.
6688 * stdio-common/tst-wc-printf.c: Likewise.
6689 * stdlib/tst-environ.c: Likewise.
6690 * stdlib/tst-fmtmsg.c: Likewise.
6691 * stdlib/tst-limits.c: Likewise.
6692 * stdlib/tst-rand48-2.c: Likewise.
6693 * stdlib/tst-rand48.c: Likewise.
6694 * stdlib/tst-random2.c: Likewise.
6695 * stdlib/tst-random.c: Likewise.
6696 * stdlib/tst-strtol.c: Likewise.
6697 * stdlib/tst-strtoll.c: Likewise.
6698 * stdlib/tst-tls-atexit.c: Likewise.
6699 * stdlib/tst-xpg-basename.c: Likewise.
6700 * string/test-ffs.c: Likewise.
6701 * string/tst-bswap.c: Likewise.
6702 * string/tst-inlcall.c: Likewise.
6703 * string/tst-strtok.c: Likewise.
6704 * string/tst-strxfrm.c: Likewise.
6705 * sysdeps/x86_64/tst-audit10.c: Likewise.
6706 * sysdeps/x86_64/tst-audit3.c: Likewise.
6707 * sysdeps/x86_64/tst-audit4.c: Likewise.
6708 * sysdeps/x86_64/tst-audit5.c: Likewise.
6709 * time/tst-ftime_l.c: Likewise.
6710 * time/tst-getdate.c: Likewise.
6711 * time/tst-mktime3.c: Likewise.
6712 * time/tst-mktime.c: Likewise.
6713 * time/tst-posixtz.c: Likewise.
6714 * time/tst-strptime2.c: Likewise.
6715 * time/tst-strptime3.c: Likewise.
6716 * wcsmbs/tst-btowc.c: Likewise.
6717 * wcsmbs/tst-mbrtowc.c: Likewise.
6718 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6719 * wcsmbs/tst-wchar-h.c: Likewise.
6720 * wcsmbs/tst-wcpncpy.c: Likewise.
6721 * wcsmbs/tst-wcrtomb.c: Likewise.
6722 * wcsmbs/tst-wcsnlen.c: Likewise.
6723 * wcsmbs/tst-wcstof.c: Likewise.
6725 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6728 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6730 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6732 (_dl_mcount): Use rtld_hidden_proto.
6733 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6735 * elf/rtld.c (_rtld_global_ro): Likewise.
6738 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6739 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6740 of _dl_init_internal.
6741 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6742 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6743 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6744 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6745 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6746 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6747 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6748 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6749 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6750 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6751 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6752 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6753 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6754 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6755 * sysdeps/tile/dl-start.S (_start): Likewise.
6756 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6757 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6760 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6761 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6762 (rtld_progname): Make macro definition unconditional.
6763 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6765 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6766 (dl_main): Likewise.
6767 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6768 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6769 instead of _dl_argv_internal.
6770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6771 __GI__dl_argv instead of INTUSE(_dl_argv).
6772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6773 __GI__dl_argv instead of _dl_argv_internal.
6775 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6776 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6778 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6779 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6781 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6782 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6784 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6785 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6787 2014-11-04 Andreas Schwab <schwab@suse.de>
6789 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6791 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6794 mtvsrd instruction in binary form.
6796 2014-11-03 Andreas Schwab <schwab@suse.de>
6799 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6800 for less than MB_LEN_MAX use a local buffer of that size.
6801 * libio/tst-fputws.c: New file.
6802 * libio/Makefile (tests): Add tst-fputws.
6804 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6806 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6807 the size of the fpu_fr.fpu_dregs[] array.
6809 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6811 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6812 (__nanosleep): Do not define as alias.
6813 (nanosleep): Define as alias of __nanosleep.
6814 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6815 __libc_nanosleep name.
6817 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6819 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6820 install.texi in comment.
6822 2014-10-31 Torvald Riegel <triegel@redhat.com>
6824 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6825 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6826 ... add here and use lwsync or sync ...
6827 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6828 ... and add here using lwsync.
6830 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6832 * elf/dl-machine-reject-phdr.h: New file.
6833 * elf/dl-load.c: #include that.
6834 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6835 if that returned true.
6837 2014-10-31 Roland McGrath <roland@hack.frob.com>
6840 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6841 gen-as-const-headers chunk. Add a big scare comment after the last
6842 safe place to touch before-compile.
6844 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6846 * manual/install.texi (Tools for Compilation): Update autoconf
6847 version requirements.
6848 * INSTALL: Regenerated.
6850 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6851 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6852 (__libc_pselect): Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6860 2014-10-31 Torvald Riegel <triegel@redhat.com>
6862 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6863 correct barrier instruction.
6864 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6866 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6869 2014-10-30 Roland McGrath <roland@hack.frob.com>
6871 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6872 after defining inlines. Instead, just use parens to defeat macro
6873 expansion of __isctype in its declaration.
6875 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6877 * include/sys/uio.h (__libc_readv): Remove declaration.
6878 (__libc_writev): Likewise.
6879 * misc/readv.c (__libc_readv): Rename to __readv.
6880 (__readv): Do not define as alias.
6881 (readv): Define as alias of __readv.
6882 * misc/writev.c (__libc_writev): Rename to __writev.
6883 (__writev): Do not define as alias.
6884 (writev): Define as alias of __writev.
6885 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6886 (__readv): Do not define as alias.
6887 (readv): Define unconditionally as alias of __readv.
6888 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6889 (__writev): Do not define as alias.
6890 (writev): Define unconditionally as alias of __writev.
6891 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6893 (writev): Do not define __libc_writev name.
6895 2014-10-30 Roland McGrath <roland@hack.frob.com>
6897 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6898 (convert_charseq): New function, broken out of ...
6899 (use_from_charmap): ... here. Call it.
6900 (use_to_charmap): Use convert_charseq and free instead of duplicating
6901 its code with a variable-length stack struct.
6903 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6905 * include/fcntl.h (__libc_creat): Remove declaration.
6906 * io/creat.c (__libc_creat): Rename to creat.
6907 (creat): Do not define as alias.
6908 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6909 of creat instead of __libc_creat.
6910 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6912 (creat): Do not define as alias.
6913 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6915 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6920 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6922 * manual/llio.texi: Add comments discussing why write() may be
6923 considered MT-unsafe on Linux.
6925 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6927 * dl-load.c (local_strdup): Remove.
6928 (expand_dynamic_string_token): Use __strdup.
6929 (decompose_rpath): Likewise.
6930 (_dl_map_object): Likewise.
6932 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6935 * sysdeps/generic/unwind-dw2-fde.c
6936 (__register_frame_info_bases_internal): Do not declare.
6937 (__register_frame_info_table_bases_internal): Likewise.
6938 (__deregister_frame_info_bases_internal): Likewise.
6939 (__register_frame_info_bases): Declare and use hidden_proto before
6940 definition. Use hidden_def instead of INTDEF.
6941 (__register_frame_info_table_bases): Likewise.
6942 (__deregister_frame_info_bases): Likewise.
6943 (__register_frame_info): Do not use INTUSE.
6944 (__register_frame): Likewise.
6945 (__register_frame_info_table): Likewise.
6946 (__register_frame_table): Likewise.
6947 (__deregister_frame_info): Likewise.
6948 (__deregister_frame): Likewise.
6950 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6953 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6955 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6957 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6960 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6963 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6964 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6965 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6966 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6967 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6968 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6969 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6971 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6972 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6974 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6975 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6977 (setfsuid): Likewise.
6978 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6979 (setfsuid): Likewise.
6980 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6981 (setfsuid): Likewise.
6982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6984 (setfsuid): Likewise.
6985 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6986 (setfsuid): Likewise.
6987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6989 (setfsuid): Likewise.
6991 2014-10-27 Andreas Schwab <schwab@suse.de>
6994 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6995 check for Slow_SSE4_2 feature bit.
6996 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6997 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6998 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6999 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7001 2014-10-24 Roland McGrath <roland@hack.frob.com>
7003 * configure.ac: Validate compiler version with a empirical test of
7004 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7006 * configure: Regenerated.
7008 * inet/htons.c (htons): Prototypify.
7009 * inet/htonl.c (htonl): Likewise.
7011 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7013 * string/strncat.c (strncat): Improve performance by using strlen.
7015 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7017 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7019 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7021 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7022 Call libc_fetestexcept_aarch64.
7024 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7026 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7027 Call libc_feholdexcept_aarch64.
7029 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7031 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7032 Call get_rounding_mode.
7034 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7036 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7039 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7041 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7044 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7047 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7048 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7049 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7050 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7051 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7052 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7053 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7054 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7056 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7058 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7059 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7060 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7061 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7062 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7063 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7064 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7065 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7066 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7067 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7068 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7069 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7070 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7071 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7073 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7074 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7075 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7076 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7077 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7078 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7079 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7080 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7081 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7082 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7083 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7087 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7089 (geteuid): Likewise.
7092 (getresgid): Likewise.
7093 (getresuid): Likewise.
7094 (getgroups): Likewise.
7095 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7096 (geteuid): Likewise.
7099 (getresgid): Likewise.
7100 (getresuid): Likewise.
7101 (getgroups): Likewise.
7102 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7103 (geteuid): Likewise.
7106 (getresgid): Likewise.
7107 (getresuid): Likewise.
7108 (getgroups): Likewise.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7111 (geteuid): Likewise.
7114 (getresgid): Likewise.
7115 (getresuid): Likewise.
7116 (getgroups): Likewise.
7117 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7118 (geteuid): Likewise.
7121 (getresgid): Likewise.
7122 (getresuid): Likewise.
7123 (getgroups): Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7126 (geteuid): Likewise.
7129 (getgroups): Likewise.
7132 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7133 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7134 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7135 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7137 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7138 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7139 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7140 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7142 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7143 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7144 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7146 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7149 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7153 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7156 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7161 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7163 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7166 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7168 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7171 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7173 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7174 Remove unused include.
7176 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7178 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7179 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7180 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7181 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7183 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7184 Helge Deller <deller@gmx.de>
7187 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7188 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7189 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7191 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7194 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7195 Remove macro definition.
7196 (__ashrdi3_v_glibc20): Likewise.
7197 (__lshrdi3_v_glibc20): Likewise.
7198 (__cmpdi2_v_glibc20): Likewise.
7199 (__ucmpdi2_v_glibc20): Likewise.
7200 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7201 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7202 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7203 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7204 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7205 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7207 2014-10-22 Roland McGrath <roland@hack.frob.com>
7209 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7210 old GNU extension [0] syntax.
7211 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7212 alloca rather than an array member with variable length.
7213 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7214 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7215 (parse_opt): ... here. Likewise use alloca there.
7216 Validate the -i argument before checking for rootness.
7217 (send_shutdown): New function, broken out of ...
7218 (parse_opt): ... here.
7220 2014-10-22 Roland McGrath <roland@hack.frob.com>
7222 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7223 macro to get at the _rt_local_ro field.
7224 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7225 ([PIC] case) or _dl_hwcap ([!PIC] case).
7226 * sysdeps/arm/setjmp.S: Likewise.
7228 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7229 * sysdeps/arm/configure.ac: New check to define it.
7230 * sysdeps/arm/configure: Regenerated.
7231 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7232 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7233 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7234 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7235 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7236 Use move/movt pair instead of a load.
7237 (LDST_GLOBAL): Macro removed.
7238 (LDR_GLOBAL): New macro replaces it.
7239 (LDR_HIDDEN): New macro.
7240 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7241 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7243 * setjmp/tst-setjmp-static.c: New file.
7244 * setjmp/Makefile (tests): Add it.
7245 (tests-static): New variable.
7247 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7250 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7252 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7255 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7257 2014-10-21 Roland McGrath <roland@hack.frob.com>
7259 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7261 2014-10-20 Roland McGrath <roland@hack.frob.com>
7263 * io/fts.c (dirent_not_directory): New function.
7264 (fts_build): Call it.
7266 2014-10-20 Roland McGrath <roland@hack.frob.com>
7268 * nptl/version.c (__nptl_main): Use normal __write rather than
7270 (banner): Update copyright years.
7272 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7274 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7275 * nptl/pthread_cond_timedwait.c: Likewise.
7276 * nptl/pthread_mutex_timedlock.c: Likewise.
7277 * nptl/sem_timedwait.c: Likewise.
7279 * sysdeps/nptl/bits/libc-lock.h
7280 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7281 (__libc_lock_init_recursive): Return void, not 0.
7282 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7283 (__libc_rwlock_init): Likewise.
7284 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7286 2014-10-20 Torvald Riegel <triegel@redhat.com>
7289 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7290 (__pthread_once_slow): ... here.
7291 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7292 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7294 2014-10-20 Torvald Riegel <triegel@redhat.com>
7297 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7298 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7299 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7300 * nptl/pthread_once.c (__pthread_once): Likewise.
7303 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7306 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7308 (writev): Use __libc_writev as strong name.
7309 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7310 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7312 2014-10-17 Roland McGrath <roland@hack.frob.com>
7314 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7316 * sysdeps/i386/nptl/tls.h
7317 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7318 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7320 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7321 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7322 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7323 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7324 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7325 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7327 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7328 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7330 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7332 (__pthread_mutex_init): ... here. Call it.
7333 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7334 Conditionalize PI cases on [__NR_futex].
7335 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7336 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7337 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7339 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7340 conditional on [SIGSETXID].
7341 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7342 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7343 is defined. Likewise for SIGSETXID.
7344 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7345 Conditionalize definitions on [SIGSETXID].
7346 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7347 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7348 unblocking on [SIGCANCEL].
7350 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7351 [__NR_set_robust_list].
7353 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7355 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7356 (do_compare): Likewise.
7358 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7361 * string/strcoll_l.c: Don't include stdio.h.
7362 (coll_seq): Remove members idxarr and rulearr.
7363 (get_next_seq_cached): Remove function.
7364 (get_next_seq): Likewise.
7365 (get_next_seq_nocache): Rename to get_next_seq.
7366 (do_compare): Remove function.
7367 (do_compare_nocache): Rename to do_compare.
7368 (STRCOLL): Remove weight and rules cache.
7370 2014-10-16 Roland McGrath <roland@hack.frob.com>
7372 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7373 * sysdeps/arm/sfp-machine.h: ... to here.
7374 * sysdeps/arm/Implies: Remove arm/soft-fp.
7376 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7378 * conform/data/sys/utsname.h-data (*_t): Allow.
7379 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7380 [POSIX] (WEXITED): Do not expect constant.
7381 [POSIX] (WSTOPPED): Likewise.
7382 [POSIX] (WNOHANG): Likewise.
7383 [POSIX] (WNOWAIT): Likewise.
7384 [POSIX] (siginfo_t): Do not expect type or elements.
7385 [POSIX] (pid_t): Do not expect type.
7386 [POSIX] (signal.h): Do not allow header.
7387 [POSIX] (sys/resource.h): Likewise.
7388 [POSIX] (si_*): Do not allow pattern.
7389 [POSIX] (W*): Likewise.
7390 [POSIX] (P_*): Likewise.
7391 [POSIX] (BUS_*): Likewise.
7392 [POSIX] (CLD_*): Likewise.
7393 [POSIX] (FPE_*): Likewise.
7394 [POSIX] (ILL_*): Likewise.
7395 [POSIX] (POLL_*): Likewise.
7396 [POSIX] (SEGV_*): Likewise.
7397 [POSIX] (SI_*): Likewise.
7398 [POSIX] (TRAP_*): Likewise.
7399 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7402 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7405 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7406 infinite loop when __recvmsg returns 0.
7408 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7410 * CANCEL-FCT-WAIVE: Remove file.
7411 * CANCEL-FILE-WAIVE: Likewise.
7414 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7415 instead of INTVARDEF.
7416 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7417 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7418 rtld_hidden_data_def instead of INTVARDEF.
7419 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7420 * elf/dl-deps.c (expand_dst): Likewise.
7421 * elf/dl-load.c (_dl_dst_count): Likewise.
7422 (_dl_dst_substitute): Likewise.
7423 (decompose_rpath): Likewise.
7424 (_dl_init_paths): Likewise.
7425 (open_path): Likewise.
7426 (_dl_map_object): Likewise.
7427 * elf/rtld.c (dl_main): Likewise.
7428 (process_dl_audit): Likewise.
7429 (process_envvars): Likewise.
7430 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7432 (__libc_enable_secure): Use rtld_hidden_proto.
7434 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7437 (add_path): New function broken out of _dl_rtld_di_serinfo.
7438 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7440 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7442 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7443 parentheses around macro arguments.
7444 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7445 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7446 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7449 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7450 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7453 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7454 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7455 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7457 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7458 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7459 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7460 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7462 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7467 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7468 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7471 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7472 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7473 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7475 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7476 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7477 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7478 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7479 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7481 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7485 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7488 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7489 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7490 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7491 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7492 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7493 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7500 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7502 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7503 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7504 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7505 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7506 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7507 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7508 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7509 (_FP_FRAC_SRS_1): Likewise.
7510 (_FP_FRAC_CLZ_1): Likewise.
7511 (_FP_MUL_MEAT_1_imm): Likewise.
7512 (_FP_MUL_MEAT_1_wide): Likewise.
7513 (_FP_MUL_MEAT_1_hard): Likewise.
7514 (_FP_SQRT_MEAT_1): Likewise.
7515 (_FP_FRAC_ASSEMBLE_1): Likewise.
7516 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7517 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7518 (__FP_CLZ_2): Likewise.
7519 (_FP_MUL_MEAT_2_wide): Likewise.
7520 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7521 (_FP_MUL_MEAT_2_gmp): Likewise.
7522 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7523 (_FP_SQRT_MEAT_2): Likewise.
7524 (_FP_FRAC_ASSEMBLE_2): Likewise.
7525 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7526 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7527 (_FP_FRAC_CLZ_4): Likewise.
7528 (_FP_MUL_MEAT_4_wide): Likewise.
7529 (_FP_MUL_MEAT_4_gmp): Likewise.
7530 (_FP_SQRT_MEAT_4): Likewise.
7531 (_FP_FRAC_ASSEMBLE_4): Likewise.
7532 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7533 * soft-fp/op-common.h (_FP_CMP): Likewise.
7534 (_FP_CMP_EQ): Likewise.
7535 (_FP_CMP_UNORD): Likewise.
7536 (_FP_TO_INT): Likewise.
7537 (_FP_FROM_INT): Likewise.
7538 [!__FP_CLZ] (__FP_CLZ): Likewise.
7539 (_FP_DIV_HELP_imm): Likewise.
7540 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7542 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7543 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7544 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7545 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7546 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7547 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7548 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7549 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7550 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7551 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7552 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7553 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7554 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7555 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7556 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7557 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7558 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7559 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7561 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7562 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7563 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7564 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7565 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7566 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7567 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7568 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7569 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7570 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7571 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7572 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7573 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7574 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7575 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7576 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7577 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7578 (FP_UNPACK_RAW_SP): Likewise.
7579 (FP_PACK_RAW_S): Likewise.
7580 (FP_PACK_RAW_SP): Likewise.
7581 (FP_UNPACK_S): Likewise.
7582 (FP_UNPACK_SP): Likewise.
7583 (FP_UNPACK_SEMIRAW_S): Likewise.
7584 (FP_UNPACK_SEMIRAW_SP): Likewise.
7585 (FP_PACK_S): Likewise.
7586 (FP_PACK_SP): Likewise.
7587 (FP_PACK_SEMIRAW_S): Likewise.
7588 (FP_PACK_SEMIRAW_SP): Likewise.
7589 (_FP_SQRT_MEAT_S): Likewise.
7590 (FP_CMP_S): Likewise.
7591 (FP_CMP_EQ_S): Likewise.
7592 (FP_CMP_UNORD_S): Likewise.
7593 (FP_TO_INT_S): Likewise.
7594 (FP_FROM_INT_S): Likewise.
7596 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7598 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7599 (FP_EX_INVALID_IMZ): Likewise.
7600 (FP_EX_INVALID_IMZ_FMA): Likewise.
7601 (FP_EX_INVALID_ISI): Likewise.
7602 (FP_EX_INVALID_ZDZ): Likewise.
7603 (FP_EX_INVALID_IDI): Likewise.
7604 (FP_EX_INVALID_SQRT): Likewise.
7605 (FP_EX_INVALID_CVI): Likewise.
7606 (FP_EX_INVALID_VC): Likewise.
7607 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7608 "invalid" exceptions.
7609 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7610 (_FP_ADD_INTERNAL): Likewise.
7611 (_FP_MUL): Likewise.
7612 (_FP_FMA): Likewise.
7613 (_FP_DIV): Likewise.
7614 (_FP_CMP_CHECK_NAN): Likewise.
7615 (_FP_SQRT): Likewise.
7616 (_FP_TO_INT): Likewise.
7617 (FP_EXTEND): Likewise.
7619 2014-10-09 Allan McRae <allan@archlinux.org>
7621 * po/fr.po: Update French translation from translation project.
7623 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7626 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7628 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7629 (__cxa_atexit): Use libc_hidden_proto.
7630 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7633 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7635 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7636 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7637 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7638 [!_ISOMAC] (__iswctype_internal): Likewise.
7639 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7640 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7642 (fcntl): Remove __fcntl_internal alias.
7643 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7644 __connect_internal alias.
7645 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7648 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7649 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7651 (_FP_CHECK_FLUSH_ZERO): New macro.
7652 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7653 (_FP_CMP): Likewise.
7654 (_FP_CMP_EQ): Likewise.
7655 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7657 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7658 (FP_TRUNC): Likewise.
7660 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7661 treated as invalid conversion, not as normal exponent.
7663 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7664 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7665 (_FP_CMP_EQ): Likewise.
7666 (_FP_CMP_UNORD): Likewise.
7667 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7668 (FP_CMP_EQ_D): Likewise.
7669 (FP_CMP_UNORD_D): Likewise.
7670 * soft-fp/extended.h (FP_CMP_E): Likewise.
7671 (FP_CMP_EQ_E): Likewise.
7672 (FP_CMP_UNORD_E): Likewise.
7673 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7674 (FP_CMP_EQ_Q): Likewise.
7675 (FP_CMP_UNORD_Q): Likewise.
7676 * soft-fp/single.h (FP_CMP_S): Likewise.
7677 (FP_CMP_EQ_S): Likewise.
7678 (FP_CMP_UNORD_S): Likewise.
7679 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7680 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7681 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7682 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7683 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7684 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7685 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7686 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7687 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7688 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7689 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7690 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7691 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7693 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7695 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7696 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7698 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7700 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7701 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7702 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7703 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7705 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7707 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7708 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7710 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7712 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7713 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7714 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7715 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7718 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7719 a subnormal result, set the underflow exception if trapping on
7720 underflow is enabled.
7721 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7722 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7723 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7725 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7726 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7727 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7728 * soft-fp/extendxftf2.c (__extendxftf2): Use
7729 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7731 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7732 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7733 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7734 FP_HANDLE_EXCEPTIONS.
7735 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7736 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7737 FP_HANDLE_EXCEPTIONS.
7738 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7739 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7740 FP_HANDLE_EXCEPTIONS.
7741 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7742 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7743 FP_HANDLE_EXCEPTIONS.
7745 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7748 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7749 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7751 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7752 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7754 (__adjtimex): Define using libc_hidden_ver.
7755 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7757 (ntp_gettime): Call __adjtimex directly.
7758 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7760 (ntp_gettimex): Call __adjtimex directly.
7761 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7762 __adjtimex_internal alias.
7764 2014-10-08 Roland McGrath <roland@hack.frob.com>
7767 * nscd/nscd.c (more_help): Rewrite list of tables collection
7768 using xstrdup and asprintf.
7770 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7772 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7773 Roland McGrath <roland@hack.frob.com>
7775 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7776 (do_lookup_unique): ... local function 'enter' here; update callers.
7778 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7780 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7781 compat_symbol calls on [SHARED].
7782 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7783 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7785 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7786 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7787 (oldsetrlimit): Remove.
7788 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7790 (lchown): New syscall entry.
7791 (oldsetrlimit): Remove.
7792 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7794 (oldsetrlimit): Remove.
7795 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7798 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7799 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7800 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7801 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7803 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7805 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7810 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7812 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7813 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7814 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7815 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7816 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7818 (__old_sem_post): Likewise.
7820 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7822 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7823 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7824 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7825 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7826 Use INLINE_VSYSCALL macro.
7827 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7828 __vdso_clock_gettime.
7829 * sysdeps/unix/sysv/linux/tile/init-first.c
7830 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7831 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7832 __vdso_clock_gettime.
7834 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7835 to set up frame more cleanly.
7837 * sysdeps/tile/memcmp.c: New file.
7839 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7841 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7842 * sysdeps/tile/tilegx/strcasestr.c: New file.
7843 * sysdeps/tile/tilegx/strnlen.c: New file.
7844 * sysdeps/tile/tilegx/strstr.c: New file.
7846 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7848 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7850 * nptl/tst-setuid3.c: Write errors to stdout.
7852 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7855 (preload): New functions broken out of _dl_map_object_deps.
7856 (_dl_map_object_deps): Remove a nested function. Update call sites.
7858 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7862 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7864 2014-10-01 Steve Ellcey <sellcey@mips.com>
7866 * sysdeps/mips/strcmp.S: New.
7868 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7871 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7873 (mkdirat): Likewise.
7874 (readlinkat): Likewise.
7875 (renameat): Likewise.
7876 (symlinkat): Likewise.
7877 (unlinkat): Likewise.
7878 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7879 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7880 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7881 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7882 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7883 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7884 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7886 2014-09-30 Will Newton <will.newton@linaro.org>
7888 * math/math.h: Define long double math functions if
7889 _LIBC_TEST is defined.
7890 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7892 * localedata/Makefile: Move assignment to tests-special
7893 into an ifdef testing run-built-tests.
7894 * timezone/Makefile: Likewise.
7896 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7898 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7899 with $(BASH) not $(SHELL).
7901 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7902 Matthew LeGendre <legendre1@llnl.gov>
7905 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7908 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7910 * stdio-common/printf_fp.c
7911 (hack_digit): New function, broken out of ...
7912 (__printf_fp): ... local function here. Update call sites.
7913 hack_digit now takes an additional parameter that is a pointer
7914 to a struct of the referenced locals. Those locals moved inside
7915 the struct and references updated.
7917 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7919 * aclocal.m4: Require autoconf 2.69.
7920 * configure: Regenerated.
7921 * sysdeps/aarch64/configure: Likewise.
7922 * sysdeps/alpha/configure: Likewise.
7923 * sysdeps/arm/armv7/configure: Likewise.
7924 * sysdeps/arm/configure: Likewise.
7925 * sysdeps/ia64/configure: Likewise.
7926 * sysdeps/mach/configure: Likewise.
7927 * sysdeps/mips/configure: Likewise.
7928 * sysdeps/s390/configure: Likewise.
7929 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7932 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7934 * sysdeps/ia64/configure.ac: Likewise.
7936 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7939 specify symbol version for ld.so. Do not include entry for
7941 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7942 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7943 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7946 * Makeconfig [$(build-shared) = yes]
7947 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7949 [$(build-shared) = yes && $(soversions.mk-done) = t]
7950 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7951 [$(build-shared) = yes && $(soversions.mk-done) = t]
7952 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7954 [$(build-shared) = yes && $(soversions.mk-done) = t]
7955 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7957 [$(build-shared) = yes && $(soversions.mk-done) = t]
7958 (common-generated): Don't append gnu/lib-names.h and
7959 gnu/lib-names.stmp here.
7960 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7961 (lib-names-h-abi): New variable.
7962 [$(build-shared) = yes && $(soversions.mk-done) = t]
7963 (lib-names-stmp-abi): Likewise.
7964 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7965 abi-variants] (before-compile): Append
7966 $(common-objpfx)$(lib-names-h-abi).
7967 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7968 abi-variants] (common-generated): Append gnu/lib-names.h.
7969 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7970 abi-variants] (install-others-nosubdir): Depend on
7971 $(inst_includedir)/$(lib-names-h-abi).
7972 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7973 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7974 [$(build-shared) = yes && $(soversions.mk-done) = t]
7975 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7976 [$(build-shared) = yes && $(soversions.mk-done) = t]
7977 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7978 [$(build-shared) = yes && $(soversions.mk-done) = t]
7979 (common-generated): Append $(lib-names-h-abi) and
7980 $(lib-names-stmp-abi).
7981 * scripts/lib-names.awk: Do not handle multi being set.
7982 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7984 (abi-lp64_be-ld-soname): Likewise.
7985 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7987 (abi-hard-ld-soname): Likewise.
7988 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7989 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7991 (abi-o32_hard-ld-soname): Likewise.
7992 (abi-o32_soft_2008-ld-soname): Likewise.
7993 (abi-o32_hard_2008-ld-soname): Likewise.
7994 (abi-n32_soft-ld-soname): Likewise.
7995 (abi-n32_hard-ld-soname): Likewise.
7996 (abi-n32_soft_2008-ld-soname): Likewise.
7997 (abi-n32_hard_2008-ld-soname): Likewise.
7998 (abi-n64_soft-ld-soname): Likewise.
7999 (abi-n64_hard-ld-soname): Likewise.
8000 (abi-n64_soft_2008-ld-soname): Likewise.
8001 (abi-n64_hard_2008-ld-soname): Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8004 (abi-64-v2-ld-soname): Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8007 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8009 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8011 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8013 (abi-64-ld-soname): Likewise.
8014 (abi-x32-ld-soname): Likewise.
8015 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8017 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8019 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8022 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8023 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8024 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8026 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8027 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8028 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8029 syscall entry for GLIBC_2.2 symbol version.
8030 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8033 (setrlimit): Likewise.
8034 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8037 2014-09-23 Will Newton <will.newton@linaro.org>
8039 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8040 _LINUX_ARM_SYSDEP_H include guard too.
8041 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8044 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8046 * sysdeps/unix/sysv/linux/eventfd.c:
8047 Make first argument unsigned.
8048 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8051 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8053 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8054 * socket/sys/socket.h: Likewise
8055 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8057 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8059 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8061 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8063 * time/tst-ftime.c: New test.
8064 * time/Makefile (tests): Add tst-ftime.
8066 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8068 * soft-fp/extended.h: Fix comment formatting.
8069 * soft-fp/op-1.h: Likewise.
8070 * soft-fp/op-2.h: Likewise.
8071 * soft-fp/op-4.h: Likewise.
8072 * soft-fp/op-8.h: Likewise.
8073 * soft-fp/op-common.h: Likewise.
8074 * soft-fp/soft-fp.h: Likewise.
8076 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8078 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8081 * Makeconfig (soversions-default-setname): Remove variable.
8082 ($(common-objpfx)soversions.i): Don't pass default_setname to
8084 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8085 oldest_abi to abi-versions.awk.
8086 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8087 * config.make.in (oldest-abi): Remove variable.
8088 * configure.ac (--enable-oldest-abi): Remove configure option.
8089 * configure: Regenerated.
8090 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8092 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8093 * scripts/soversions.awk: Do not handle default_setname variable.
8094 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8096 * sysdeps/mach/hurd/configure: Regenerated.
8097 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8099 * sysdeps/unix/sysv/linux/configure: Regenerated.
8101 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8103 * elf/Makefile (CFLAGS-interp.c): Remove.
8104 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8106 * elf/interp.c: Include generated runtime-linker.h
8108 * Makerules (lib%.so): Don't include $(+interp) in
8110 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8111 * dlfcn/eval.c: Remove file.
8113 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8117 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8121 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8123 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8124 Jakub Jelinek <jakub@redhat.com>
8127 * libio/stdio.h: Check definition of __fortify_function
8128 instead of __extern_always_inline to include bits/stdio2.h.
8129 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8130 check if __extern_always_inline is defined.
8131 [__USE_MISC || __USE_XOPEN]: Likewise.
8132 [__USE_ISOC99] Likewise.
8133 * misc/sys/cdefs.h (__fortify_function): Define only if
8134 __extern_always_inline is defined.
8135 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8136 __extern_always_inline and __extern_inline only for g++-4.3
8137 and newer or a compatible gcc.
8139 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8142 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8143 last change to handle zero prefix length.
8145 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8147 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8150 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8153 2014-09-13 Allan McRae <allan@archlinux.org>
8155 * po/ru.po: Update Russian translation from translation project.
8157 2014-09-12 Roland McGrath <roland@hack.frob.com>
8159 * locale/programs/locale.c (show_locale_vars): Inline local function
8160 into its sole call site. Clean up some style nits.
8161 (print_item): New function, broken out of ...
8162 (show_info): ... local function here. Clean up style nits.
8164 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8166 (set_class_defaults): ... local function set_default here.
8167 Define set_default as a macro locally to pass constant parameters.
8168 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8169 rather than a shared local.
8171 * stdlib/rpmatch.c (try): New function, broken out of ...
8172 (rpmatch): ... local function here. Also, prototypify definition.
8174 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8176 * scripts/soversions.awk: Do not handle configuration names.
8177 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8178 vendor and os variables to soversions.awk.
8179 * configure.ac: Do not modify gnu-* host_os.
8180 * configure: Regenerated
8181 * shlib-versions: Remove first column with configuration names.
8182 * nptl/shlib-versions: Likewise.
8183 * nptl_db/shlib-versions: Likewise.
8184 * sysdeps/hppa/shlib-versions: Likewise.
8185 * sysdeps/m68k/shlib-versions: Likewise.
8186 * sysdeps/mach/hurd/shlib-versions: Likewise.
8187 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8188 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8189 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8190 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8191 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8192 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8193 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8194 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8197 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8198 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8199 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8200 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8202 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8203 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8207 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8210 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8212 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8214 * shlib-versions: Remove OS-specific entries. Moved to files in
8216 * sysdeps/mach/hurd/shlib-versions: New file.
8217 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8219 * nptl/shlib-versions: Remove architecture-specific entries.
8220 Moved to files in sysdeps.
8221 * shlib-versions: Likewise.
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8224 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8225 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8229 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8230 (UDP_NO_CHECK6_RX): Likewise.
8232 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8234 * sysdeps/posix/sysconf.c (__sysconf): Spell
8235 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8237 2014-08-12 Florian Weimer <fweimer@redhat.com>
8239 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8241 * iconv/Versions (__gconv_transliterate): Export for use from
8243 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8244 (struct __gconv_trans_data, __gconv_trans_fct,
8245 __gconv_trans_context_fct, __gconv_trans_query_fct,
8246 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8248 (struct __gconv_step_data): Remove __trans member.
8249 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8250 longer hidden. Remove unused trans_data argument.
8251 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8252 (__gconv_translit_find): Remove declaration.
8253 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8255 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8256 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8257 trans_data argument. Add hidden definition.
8258 (__gconv_translit_find): Remove.
8259 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8260 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8261 * iconv/skeleton.c: Remove transliteration initialization.
8262 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8263 __gconv_step_data initialization.
8264 * libio/iofwide.c (__libio_translit_): Remove.
8265 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8266 * wcsmbs/btowc.c (__btowc): Likewise.
8267 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8268 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8269 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8270 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8271 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8272 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8273 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8274 * wcsmbs/wctob.c (wctob): Likewise.
8276 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8279 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8280 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8282 * sysdeps/x86/Makefile: Adjust.
8284 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8285 Roland McGrath <roland@hack.frob.com>
8287 * locale/weight.h: Add include guard.
8288 (findidx): Make static rather than auto; take new parameters
8289 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8290 * locale/weightwc.h: Likewise.
8291 * posix/fnmatch_loop.c
8292 (FCT): Change type of EXTRA from int32_t to wint_t.
8293 Don't include either header inside the function.
8294 Call FINDIDX rather than findidx, and pass new arguments.
8295 #undef FINDIDX at the end of the file.
8296 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8297 FINDIDX before including fnmatch_loop.c for the non-wide version.
8298 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8299 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8300 for the wide version.
8301 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8302 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8303 Pass new arguments to findidx.
8304 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8305 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8306 Don't #include it inside the function. Pass new arguments to findidx.
8307 * posix/regex_internal.h
8308 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8309 (re_string_elem_size_at): Don't #include it inside the function.
8310 Pass new arguments to findidx.
8311 * string/strcoll_l.c: #include WEIGHT_H at top level.
8312 (get_next_seq): Don't #include it inside the function.
8313 Pass new arguments to findidx.
8314 (get_next_seq_nocache): Likewise.
8315 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8316 (STRXFRM): Don't #include it inside the function.
8317 Pass new arguments to findidx.
8319 2014-09-11 Florian Weimer <fweimer@redhat.com>
8322 * malloc/malloc.c (unlink): Turn asserts into a call to
8325 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8328 * libio/wfileops (do_ftell_wide): Free OUT.
8330 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8332 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8334 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8337 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8338 group if the current group is empty.
8340 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8342 * benchtests/bench-memset.c (test_main): Add more test from size
8343 from 32 to 512 bytes.
8344 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8345 Add POWER8 memset object.
8346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8347 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8348 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8350 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8352 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8353 multiarch POWER8 memset optimization.
8354 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8355 POWER8 memset optimization.
8357 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8358 Remove bzero multiarch objects.
8359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8360 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8361 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8362 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8364 [__bzero]: Redefine to specific name.
8365 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8366 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8367 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8369 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8370 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8372 2014-09-10 Florian Weimer <fweimer@redhat.com>
8374 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8375 warnings into errors.
8377 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8378 __cxa_thread_atexit_impl prototype.
8380 2014-09-09 Steve Ellcey <sellcey@mips.com>
8382 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8383 Fix capitalization of error message.
8385 2014-09-09 Steve Ellcey <sellcey@mips.com>
8387 * sysdeps/mips/preconfigure: Modify ABI tests.
8389 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8391 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8393 2014-09-07 Roland McGrath <roland@hack.frob.com>
8394 Carlos O'Donell <carlos@systemhalted.org>
8396 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8397 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8398 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8399 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8400 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8401 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8402 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8403 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8404 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8405 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8406 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8407 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8408 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8409 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8410 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8411 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8412 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8413 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8414 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8415 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8416 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8417 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8418 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8419 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8420 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8421 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8422 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8423 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8424 Deconditionalize the code that was previously under [RESET_PID].
8425 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8426 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8427 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8428 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8431 2014-09-08 Allan McRae <allan@archlinux.org>
8433 * version.h (RELEASE): Set to "development".
8434 (VERSION): Set to "2.20.90"
8436 2014-09-07 Allan McRae <allan@archlinux.org
8438 * version.h (RELEASE): Set to "stable".
8439 (VERSION): Set to "2.20"
8440 * include/features.h (__GLIBC_MINOR__): Set to 20.
8442 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8445 * po/ko.po: Update Korean translation from translation project.
8447 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8450 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8451 macro for handling signed relocations.
8453 2014-09-03 Florian Weimer <fweimer@redhat.com>
8456 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8457 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8459 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8460 * iconvdata/ibm935.c (BODY): Likewise.
8461 * iconvdata/ibm937.c (BODY): Likewise.
8462 * iconvdata/ibm939.c (BODY): Likewise.
8463 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8465 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8467 * iconvdata/run-iconv-test.sh: New test loop for checking for
8470 2014-09-02 Khem Raj <raj.khem@gmail.com>
8472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8475 2014-09-01 Allan McRae <allan@archlinux.org>
8477 * po/eo.po: Update Esperanto translation from translation project.
8479 * po/ca.po: Update Catalan translation from translation project.
8481 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8483 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8486 2014-08-27 Mark Wielaard <mjw@redhat.com>
8489 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8490 to call set_thread_area instead of hand written asm.
8491 (__NR_set_thread_area): Removed define.
8492 (TLS_FLAG_WRITABLE): Likewise.
8493 (__ASSUME_SET_THREAD_AREA): Remove check.
8494 (TLS_EBX_ARG): Remove define.
8495 (TLS_LOAD_EBX): Likewise.
8497 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8499 Simplify atomicity of socket creation in bind.
8501 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8502 looking up the name after linking the file.
8504 2014-08-27 Allan McRae <allan@archlinux.org>
8506 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8508 2014-08-26 Florian Weimer <fweimer@redhat.com>
8511 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8512 trans_compare, open_translit, __gconv_translit_find):
8513 Remove module loading code.
8515 2014-08-26 Allan McRae <allan@archlinux.org>
8517 * po/vi.po: Update Vietnamese translation from translation project.
8519 * po/uk.po: Update Ukrainian translation from translation project.
8521 * po/fr.po: Update French translation from translation project.
8523 * po/ru.po: Update Russian translation from translation project.
8525 * po/pl.po: Update Polish translation from translation project.
8527 * po/cs.po: Update Czech translation from translation project.
8529 * po/de.po: Update German translation from translation project.
8531 * po/bg.po: Update Bulgarian translation from translation project.
8533 * po/sv.po: Update Sweedish translation from translation project.
8535 * po/nl.po: Update Dutch translation from translation project.
8537 * po/es.po: Update Spanish translation from translation project.
8539 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8541 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8543 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8544 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8545 (CPPFLAGS-iconvconfig): Likewise.
8546 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8548 * include/libc-symbols.h: Remove unnecessary check for
8550 * nptl/pthreadP.h: Likewise.
8551 * sysdeps/aarch64/setjmp.S: Likewise.
8552 * sysdeps/alpha/setjmp.S: Likewise.
8553 * sysdeps/arm/sysdep.h: Likewise.
8554 * sysdeps/i386/setjmp.S: Likewise.
8555 * sysdeps/m68k/setjmp.c: Likewise.
8556 * sysdeps/posix/getcwd.c: Likewise.
8557 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8558 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8559 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8560 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8561 * sysdeps/sh/sh3/setjmp.S: Likewise.
8562 * sysdeps/sh/sh4/setjmp.S: Likewise.
8563 * sysdeps/unix/alpha/sysdep.h: Likewise.
8564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8566 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8567 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8572 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8575 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8577 * sysdeps/x86_64/setjmp.S: Likewise.
8579 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8582 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8584 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8585 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8587 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8589 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8592 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8593 and __x86_64__ when disabling x87 inline functions.
8595 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8598 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8599 asm statement with __cpuid_count.
8601 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8603 * configure.ac: Change __ehdr_start code to dereference the struct.
8604 Run readelf on the output to look for relocations.
8605 * configure: Regenerated.
8607 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8612 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8614 2014-08-12 Roland McGrath <roland@hack.frob.com>
8616 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8618 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8621 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8622 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8624 2014-08-12 Sean Anderson <seanga2@gmail.com>
8626 * malloc/malloc.c: Fix typo in comment.
8628 2014-08-09 Allan McRae <allan@archlinux.org>
8630 * Regenerate libc.po.
8632 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8634 * intl/tst-gettext2.sh: Check every lang file for creation.
8636 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8638 * sysdeps/aarch64/fpu/math_private.h
8639 (libc_feholdsetround_noex_aarch64_ctx): New function.
8641 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8643 * sysdeps/arm/armv6/strcpy.S (strcpy):
8644 Fix performance issue in misaligned cases.
8646 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8649 Move definition from termios.h.
8650 (struct termio): Likewise.
8651 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8652 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8653 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8654 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8657 Move definition to ioctl-types.h
8658 (struct termio): Likewise.
8659 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8660 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8661 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8662 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8665 2014-08-05 Richard Henderson <rth@redhat.com>
8667 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8669 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8671 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8672 Use __feraiseexcept.
8673 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8674 Protect libm symbols with IS_IN_libm.
8676 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8678 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8680 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8682 2014-08-04 Will Newton <will.newton@linaro.org>
8684 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8687 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8689 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8690 variants for each function.
8692 2014-08-04 Roland McGrath <roland@hack.frob.com>
8694 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8696 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8697 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8699 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8700 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8701 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8702 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8703 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8704 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8705 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8706 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8707 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8708 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8711 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8735 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8736 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8737 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8738 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8739 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8741 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8742 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8743 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8745 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8747 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8749 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8750 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8751 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8753 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8754 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8756 2014-08-04 Roland McGrath <roland@hack.frob.com>
8758 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8759 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8760 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8761 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8762 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8763 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8765 2014-08-04 Roland McGrath <roland@hack.frob.com>
8767 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8768 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8769 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8770 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8772 2014-08-04 Roland McGrath <roland@hack.frob.com>
8774 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8775 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8776 (__libc_vfork): Define function under this name.
8777 (__vfork): Define as an alias.
8778 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8779 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8781 2014-08-04 Roland McGrath <roland@hack.frob.com>
8783 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8784 that was previously under [RESET_PID].
8785 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8787 2014-08-04 Andreas Schwab <schwab@suse.de>
8789 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8791 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8793 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8796 2014-08-01 Roland McGrath <roland@hack.frob.com>
8798 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8800 2014-08-01 Richard Henderon <rth@redhat.com>
8802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8803 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8804 typo in exact zero test.
8805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8806 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8809 2014-08-01 Roland McGrath <roland@hack.frob.com>
8811 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8812 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8813 * sysdeps/arm/sysdep.h: ... here.
8814 [!__ASSEMBLER__]: Include <stdint.h>.
8816 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8818 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8819 (HAVE_WCTYPE_H): Likewise.
8820 (HAVE_ISWCTYPE): Likewise.
8821 (ENABLE_NLS): Likewise.
8822 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8823 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8825 * posix/regex_internal.c: Check if DEBUG is defined and is
8828 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8829 (HAVE_MBSRTOWCS): Likewise.
8830 * posix/fnmatch.c: Include string.h unconditionally.
8832 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8834 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8837 2014-07-31 Roland McGrath <roland@hack.frob.com>
8839 * sysdeps/generic/safe-fatal.h: New file.
8840 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8841 * nptl/forward.c: Include it.
8842 (__pthread_unwind): Use __safe_fatal as default action, rather
8843 than a bogus use of INTERNAL_SYSCALL that could never work.
8845 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8846 * configure.ac (libc_cv_builtin_trap): New test.
8847 * configure: Regenerated.
8848 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8849 (ABORT_INSTRUCTION): Define using __builtin_trap.
8851 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8852 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8853 * sysdeps/nptl/nptl-signals.h: New file.
8854 * nptl/pthreadP.h: Include <nptl-signals.h>.
8856 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8858 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8859 (ONE_DIRECTION): Define.
8860 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8861 (ONE_DIRECTION): Define.
8862 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8863 (ONE_DIRECTION): Define.
8865 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8867 * sysdeps/s390/Makefile: Delete file.
8868 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8869 * sysdeps/s390/__longjmp.c: Delete file.
8870 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8871 Remove fields __flags and __reserved.
8872 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8874 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8875 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8876 * sysdeps/s390/rtld-setjmp.S: Likewise.
8877 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8878 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8879 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8880 * sysdeps/s390/s390-32/setjmp.S: ... here.
8882 (__sigsetjmp): Remove setting __flags field.
8883 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8884 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8885 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8886 * sysdeps/s390/s390-64/setjmp.S: ... here.
8888 (__sigsetjmp): Remove setting __flags field.
8889 * sysdeps/s390/setjmp.S: Delete file.
8890 * sysdeps/s390/sigjmp.c: Likewise.
8891 * sysdeps/s390/v1-longjmp.c: Likewise.
8892 * sysdeps/s390/v1-setjmp.h: Likewise.
8893 * sysdeps/s390/v1-sigjmp.c: Likewise.
8894 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8895 Remove v1-longjmp_chk.
8896 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8897 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8898 Include debug/longjmp_chk.c and add versioning.
8899 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8900 Include nptl/pt-longjmp.c and add versioning.
8901 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8903 Include __longjmp.c.
8904 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8906 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8907 (__getcontext): Remove setting __flags field.
8909 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8910 Don't restore upper high grps.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8913 (__swapcontext): Remove setting uc_flags field.
8914 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8916 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8917 Include __longjmp.c.
8918 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8920 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8921 (__getcontext): Remove setting __flags field.
8923 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8924 (__swapcontext): Remove setting uc_flags field.
8925 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8926 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8927 Remove fields uc_high_gprs and __reserved.
8928 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8929 New file with reverted content.
8930 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8931 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8936 2014-07-31 Andreas Schwab <schwab@suse.de>
8938 * config.h.in (HAVE_IFUNC): Define to 0.
8939 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8942 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8945 memmove-avx-unaligned, memcpy-avx-unaligned and
8946 mempcpy-avx-unaligned.
8947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8948 Add tests for AVX memcpy functions.
8949 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8950 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8952 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8953 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8955 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8956 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8958 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8959 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8960 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8962 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8965 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8968 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8971 * manual/llio.texi: Add section about open file description locks.
8972 * manual/examples/ofdlocks.c: Example of open file description
8974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8975 F_OFD_SETLK, and F_OFD_SETLKW.
8977 2014-07-23 Allan McRae <allan@archlinux.org>
8979 * po/es.po: Update Spanish translation from translation project.
8981 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8983 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8985 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8988 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8989 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8990 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8992 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8995 * math/fesetenv.c (__fesetenv)
8996 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8997 * math/feupdateenv.c (__feupdateenv)
8998 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9000 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9001 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9002 (__ASSUME_SOCKETCALL): Do not define.
9004 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9005 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9006 (__ASSUME_SOCKETCALL): Do not define.
9007 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9008 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9009 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9010 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9011 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9012 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9013 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9014 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9016 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9017 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9018 (__ASSUME_SOCKETCALL): Do not define.
9019 (__ASSUME_IPC64): Define unconditionally.
9020 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9021 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9022 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9023 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9024 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9025 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9026 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9029 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9030 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9031 (__ASSUME_SOCKETCALL): Do not define.
9032 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9033 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9034 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9035 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9036 (__ASSUME_REQUEUE_PI): Define unconditionally.
9037 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9038 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9039 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9040 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9041 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9042 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9044 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9045 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9046 (__ASSUME_SOCKETCALL): Do not define.
9047 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9048 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9049 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9050 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9051 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9052 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9054 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9055 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9056 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9057 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9058 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9059 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9060 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9061 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9062 (__ASSUME_GETCPU_SYSCALL): Likewise.
9064 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9065 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9066 cases for individual architectures.
9067 * sysdeps/gnu/configure: Regenerated.
9068 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9069 LIBC_SLIBDIR_RTLDDIR.
9070 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9071 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9072 LIBC_SLIBDIR_RTLDDIR.
9073 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9075 LIBC_SLIBDIR_RTLDDIR.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9078 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9079 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9081 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9082 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9084 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9085 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9087 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9089 * sysdeps/aarch64/shlib-versions: Move to ...
9090 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9091 * sysdeps/alpha/shlib-versions: Move to ...
9092 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9093 * sysdeps/arm/shlib-versions: Move to ...
9094 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9095 * sysdeps/hppa/shlib-versions: Move all contents except for
9096 libgcc_s entry to ...
9097 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9099 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9100 * sysdeps/ia64/shlib-versions: Move to ...
9101 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9103 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9104 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9105 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9106 * sysdeps/microblaze/shlib-versions: Move to ...
9107 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9108 * sysdeps/mips/shlib-versions: Move to ...
9109 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9111 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9112 * sysdeps/tile/shlib-versions: Move to ...
9113 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9114 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9116 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9117 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9119 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9121 2014-07-17 Will Newton <will.newton@linaro.org>
9123 * sysdeps/arm/bits/atomic.h
9124 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9125 (__arch_compare_and_exchange_bool_16_int): Likewise.
9126 (__arch_compare_and_exchange_bool_64_int): Likewise.
9128 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9129 into an #else block.
9131 2014-07-16 Roland McGrath <roland@hack.frob.com>
9133 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9134 just Linux configurations. Test empirically that the compiler sets
9135 __ARM_EABI__, rather than using the tuple to decide.
9136 * sysdeps/arm/preconfigure: Regenerated.
9137 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9138 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9139 contents appended ...
9140 * sysdeps/arm/configure.ac: ... here.
9141 * sysdeps/arm/configure: Regenerated.
9143 2014-07-15 Roland McGrath <roland@hack.frob.com>
9145 * nptl/pthread_kill.c: New file.
9146 * nptl/pthread_sigmask.c: New file.
9147 * nptl/pthread_sigqueue.c: New file.
9149 * sysdeps/nptl/lowlevellock.h: New file.
9150 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9151 * sysdeps/nptl/lowlevellock-futex.h: New file.
9153 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9154 Remove dead declarations.
9156 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9158 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9159 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9161 * sysdeps/x86_64/configure.ac: Likewise.
9162 * sysdeps/i386/configure: Regenerated.
9163 * sysdeps/x86_64/configure: Likewise.
9164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9165 memset-avx2 only if config-cflags-avx2 is yes.
9166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9167 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9169 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9170 only if HAVE_AVX2_SUPPORT is defined.
9171 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9173 2014-07-14 Alan Modra <amodra@gmail.com>
9176 * elf/elf.h (DT_PPC64_NUM): Correct value.
9177 * NEWS: Add to fixed bug list.
9179 2014-07-13 Jim Meyering <meyering@fb.com>
9182 regex: don't deref NULL upon heap allocation failure
9183 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9184 failure in one more place.
9185 To trigger the segfault, configure grep -with-included-regex,
9186 build it, and run these commands:
9187 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9189 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9191 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9193 2014-07-11 Richard Henderson <rth@redhat.com>
9195 * sysdeps/aarch64/libm-test-ulps: Update.
9197 2014-07-10 Florian Weimer <fweimer@redhat.com>
9200 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9201 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9202 (__nptl_setxid): Initialize error member. Call
9203 __nptl_setxid_error.
9204 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9205 * nptl/descr.h (struct xid_command): Add error member.
9206 * nptl/tst-setuid3.c: New file.
9207 * nptl/Makefile (tests): Add it.
9209 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9211 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9213 (__lll_trylock): Use __lll_base_trylock.
9214 (__lll_cond_trylock): Likewise.
9216 2014-07-10 Roland McGrath <roland@hack.frob.com>
9218 * nptl/pthread_create.c (start_thread): Use atomic_or and
9219 lll_futex_wake directly rather than lll_robust_dead.
9220 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9221 (lll_robust_dead): Macro removed.
9222 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9223 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9224 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9225 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9226 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9227 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9228 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9229 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9230 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9232 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9234 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9236 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9238 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9239 Use atomic_compare_and_exchange_val_acq directly rather than
9241 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9242 (__lll_robust_trylock, lll_robust_trylock): Removed.
9243 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9244 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9245 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9246 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9247 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9248 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9249 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9250 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9252 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9253 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9254 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9255 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9258 2014-07-02 Florian Weimer <fweimer@redhat.com>
9260 * manual/locale.texi (Locale Names): New section documenting
9261 locale name syntax. Adjust menu and node chaining accordingly.
9262 (Choosing Locale): Reference Locale Names, Locale Categories.
9263 Mention setting LC_ALL=C. Reflect that name syntax is now
9265 (Locale Categories): New section title. Reference Locale Names.
9266 LC_ALL is an environment variable, but not a category.
9267 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9268 description, now in Locale Name. Reference that section. Locale
9269 name syntax is now documented.
9271 2014-07-02 Florian Weimer <fweimer@redhat.com>
9274 * locale/findlocale.c (name_present, valid_locale_name): New
9276 (_nl_find_locale): Use the loc_name variable to store name
9277 candidates. Call name_present and valid_locale_name to check and
9278 validate locale names. Return an error if the locale is invalid.
9280 2014-07-02 Florian Weimer <fweimer@redhat.com>
9282 * locale/setlocale.c (setlocale): Use strdup for allocating
9283 composite name copy.
9285 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9287 Sync up with gnulib.
9288 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9289 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9290 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9291 and _GL_ARG_NONNULL.
9292 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9293 [!_LIBC]: Include code for Windows and Cygwin.
9294 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9295 Include prototype for int strerror_r.
9296 [!_LIBC] (is_open): New function.
9297 (flush_stdout): New function.
9298 (print_errno_message): Use it.
9300 (error_at_line): Likewise.
9301 (error_tail) Add function attribute macros. Use
9304 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9306 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9308 * io/ftw.c: Include sys/param.h unconditionally.
9310 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9315 (freecache): New function to free CACHE on exit.
9317 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9320 2014-07-09 David S. Miller <davem@davemloft.net>
9322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9324 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9325 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9326 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9327 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9328 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9329 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9330 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9331 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9332 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9333 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9334 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9335 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9336 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9338 2014-07-09 Andreas Schwab <schwab@suse.de>
9340 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9342 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9343 (do_test): Likewise.
9345 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9347 2014-07-09 Will Newton <will.newton@linaro.org>
9349 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9350 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9351 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9352 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9353 * sysdeps/hppa/start.S (_start): Likewise.
9355 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9357 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9359 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9362 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9364 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9365 after checking that it is non-NULL.
9367 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9369 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9371 * sysdeps/powerpc/memmove.c: Remove file.
9372 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9373 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9374 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9375 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9376 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9377 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9378 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9379 string memmove instead of removed powerpc one.
9381 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9382 [weak_alias]: Fix compiler warning due trailing data.
9383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9384 [weak_alias]: Likewise.
9385 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9386 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9389 (__libc_ifunc_impl_list): Add memmove functions.
9391 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9393 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9395 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9397 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9399 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9401 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9403 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9405 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9407 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9409 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9411 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9413 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9415 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9417 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9419 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9421 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9423 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9425 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9428 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9431 to avoid alignment traps in non-cacheable memory.
9432 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9434 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9436 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9437 file: multiarch power7 memmove.
9438 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9439 multiarch default memmove.
9440 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9441 multiarch memove for powerpc32/power4.
9443 * string/bcopy.c: Use full path to include memmove.c.
9444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9446 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9447 bcopy for powerpc64.
9448 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9449 bcopy for powerpc64.
9450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9451 and memmove implementations.
9452 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9453 optimized multiarch memmove for POWER7/powerpc64.
9454 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9455 default multiarch memmove for powerpc64.
9456 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9457 multiarch for powerpc64.
9458 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9459 for POWER7/powerpc64.
9460 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9461 memmove for POWER7/powerpc64.
9463 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9466 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9467 __ELF_NATIVE_CLASS equal to 64.
9469 2014-07-07 Roland McGrath <roland@hack.frob.com>
9471 * sysdeps/nptl/lowlevellock.h: File removed.
9473 * NEWS: NPTL is no longer an add-on!
9474 * nptl/internaltypes.h: Moved ...
9475 * sysdeps/nptl/internaltypes.h: ... here.
9476 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9477 * sysdeps/nptl/fork.c: Likewise.
9478 * sysdeps/nptl/gai_misc.h: Likewise.
9479 * sysdeps/nptl/librt-cancellation.c: Likewise.
9480 * sysdeps/nptl/jmp-unwind.c: Likewise.
9481 * sysdeps/nptl/setxid.h: Likewise.
9482 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9483 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9484 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9485 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9486 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9487 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9488 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9489 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9490 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9491 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9492 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9493 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9494 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9495 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9496 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9497 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9498 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9499 * nptl/Makeconfig: Moved ...
9500 * sysdeps/nptl/Makeconfig: ... here.
9501 * nptl/configure: File removed.
9502 * nptl/ANNOUNCE: File removed.
9503 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9504 * sysdeps/unix/sysv/linux/configure: Regenerated.
9506 * nptl/Makefile (routines): Add libc_pthread_init,
9507 libc_multiple_threads, register-atfork and unregister-atfork.
9508 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9509 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9510 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9511 pthread-pi-defines.sym, structsem.sym.
9512 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9513 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9514 [$(subdir) = nptl] (tests): Add tst-setgetname.
9515 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9516 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9517 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9518 [!LIBC_SIGACTION]: Remove aliases.
9519 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9520 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9521 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9522 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9523 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9524 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9527 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9528 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9529 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9530 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9531 __libc_allocate_rtsig_private.
9532 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9533 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9534 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9535 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9536 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9537 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9538 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9539 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9540 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9541 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9542 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9543 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9544 * nptl/internaltypes.h: ... here.
9545 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9546 * sysdeps/nptl/jmp-unwind.c: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9548 * nptl/libc-lowlevellock.c: ... here.
9549 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9550 * nptl/libc_multiple_threads.c: ... here.
9551 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9552 * nptl/libc_pthread_init.c: ... here.
9553 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9554 * nptl/lowlevelbarrier.sym: ... here.
9555 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9556 * nptl/lowlevelcond.sym: ... here.
9557 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9558 * nptl/lowlevellock.c: ... here.
9559 * nptl/lowlevellock.h: Moved ...
9560 * sysdeps/nptl/lowlevellock.h: ... here.
9561 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9562 * nptl/lowlevelrobustlock.c: ... here.
9563 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9564 * nptl/lowlevelrobustlock.sym: ... here.
9565 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9566 * nptl/lowlevelrwlock.sym: ... here.
9567 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9568 * nptl/pt-fork.c: ... here.
9569 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9570 * nptl/pthread-pi-defines.sym: ... here.
9571 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9572 * nptl/pthread_attr_getaffinity.c: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9574 * nptl/pthread_attr_setaffinity.c: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9576 * nptl/pthread_mutex_cond_lock.c: ... here.
9577 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9579 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9580 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9581 * nptl/pthread_once.c: ... here, replacing old file.
9582 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9583 * nptl/pthread_yield.c: ... here.
9584 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9585 * nptl/register-atfork.c: ... here.
9586 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9587 * nptl/sem_post.c: ... here.
9588 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9589 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9590 * nptl/sem_timedwait.c: ... here.
9591 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9592 * nptl/sem_trywait.c: ... here.
9593 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9594 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9595 * nptl/sem_wait.c: ... here.
9596 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9597 * nptl/structsem.sym: ... here.
9598 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9599 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9600 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9601 * nptl/unregister-atfork.c: ... here.
9602 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9603 * nptl/unwindbuf.sym: ... here.
9604 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9605 * sysdeps/nptl/fork.c: ... here.
9606 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9607 * sysdeps/nptl/fork.h: ... here.
9608 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9609 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9610 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9611 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9612 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9613 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9614 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9615 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9616 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9617 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9618 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9619 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9620 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9621 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9622 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9623 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9624 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9625 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9626 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9627 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9628 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9629 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9630 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9632 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9634 * sysdeps/unix/sysv/linux/raise.c: ... here.
9635 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9636 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9637 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9638 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9639 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9640 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9641 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9642 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9643 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9644 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9645 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9646 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9647 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9648 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9649 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9651 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9653 * sysdeps/generic/memcopy.h: Add comment for
9654 MEMCPY_OK_FOR_FWD_MEMMOVE.
9656 2014-07-04 Will Newton <will.newton@linaro.org>
9658 * string/memchr.c: Merge from gnulib.
9659 [_LIBC]: Remove conditionals.
9660 (__ptr_t): Remove define.
9661 (LONG_MAX_32_BITS): Likewise.
9662 (LONG_MAX): Likewise.
9663 (MEMCHR): Use ANSI prototype and optimize algorithm.
9665 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9667 2014-07-03 Roland McGrath <roland@hack.frob.com>
9669 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9670 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9672 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9673 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9674 in a bare environment with no <stdlib.h> installed.
9675 * sysdeps/nptl/configure: Regenerated.
9677 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9679 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9680 AC_EGREP_CPP for kernel header checks, so they only succeed if
9681 including <linux/version.h> actually works right.
9682 * sysdeps/unix/sysv/linux/configure: Regenerated.
9684 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9685 value so it's not diagnosed as unused.
9687 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9688 thing) with "ifeq ($(subdir),rt)".
9690 2014-07-03 Richard Henderson <rth@redhat.com>
9692 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9693 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9694 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9696 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9697 (math_force_eval): New.
9699 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9700 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9702 * sysdeps/alpha/fpu/s_round.c: Remove file.
9703 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9705 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9706 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9707 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9708 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9709 (_dl_start, print_statistics): Likewise.
9710 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9711 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9713 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9714 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9715 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9716 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9718 (HP_SMALL_TIMING_AVAIL): Define.
9719 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9720 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9721 (HP_SMALL_TIMING_AVAIL): Define.
9722 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9723 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9725 * sysdeps/aarch64/hp-timing.h: New file.
9727 * sysdeps/generic/hp-timing.h: Remove dead comment.
9728 * sysdeps/generic/hp-timing-common.h: New file.
9729 * sysdeps/alpha/hp-timing.h: Include it.
9730 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9731 * sysdeps/i386/i686/hp-timing.h: Likewise.
9732 * sysdeps/ia64/hp-timing.h: Likewise.
9733 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9736 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9737 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9738 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9741 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9742 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9743 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9744 * elf/rtld.c (_dl_start_final): Likewise.
9745 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9746 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9747 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9748 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9749 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9750 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9751 (HP_TIMING_DIFF_INIT): Remove.
9752 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9753 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9754 (HP_TIMING_DIFF_INIT): Remove.
9755 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9756 * sysdeps/i386/i686/hp-timing.c: Remove file.
9757 * sysdeps/x86_64/hp-timing.c: Remove file.
9758 * sysdeps/ia64/hp-timing.c: Remove file.
9759 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9760 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9761 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9762 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9764 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9765 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9766 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9767 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9769 (HP_TIMING_ACCUM): Remove.
9770 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9771 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9772 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9774 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9775 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9776 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9777 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9779 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9780 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9781 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9783 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9785 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9787 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9789 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9791 Sync up with gettext.
9792 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9793 [_MSC_VER]: Include malloc.h
9794 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9795 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9796 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9797 TEMP_FAILURE_RETRY. Cast return of alloca.
9798 [!_LIBC] Call gl_rwlock_init.
9799 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9801 2014-07-02 Roland McGrath <roland@hack.frob.com>
9803 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9804 before checking its value.
9806 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9808 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9810 * debug/memcpy_chk.c: Don't include pagecopy.h.
9811 * debug/mempcpy_chk.c: Likewise.
9812 * string/memcpy.c: Likewise.
9813 * string/memmove.c: Likewise.
9814 * sysdeps/powerpc/memmove.c: Likewise.
9815 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9816 definition of PAGE_COPY_FWD_MAYBE here...
9817 * sysdeps/generic/pagecopy.h: ... from here.
9818 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9820 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9821 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9823 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9827 (__libc_ifunc_impl_list): Likewise.
9828 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9829 multiarch strcat for PPC64.
9830 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9831 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9833 2014-07-02 Roland McGrath <roland@hack.frob.com>
9835 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9837 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9839 * intl/loadmsgcat.c: Remove declaration of
9840 get_sysdep_segment_value.
9841 (get_sysdep_segment_value): Use ISO C style.
9842 (_nl_load_domain): Use ISO C style. Get rid of redundant
9843 semicolon. Fix typo and formatting in comment.
9844 (_nl_unload_domain): Use ISO C style.
9846 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9848 2014-07-02 Will Newton <will.newton@linaro.org>
9850 * malloc/obstack.c: Merge from gnulib master.
9851 [HAVE_CONFIG_H]: Remove conditional code.
9852 [!_LIBC]: Include config.h.
9853 [!ELIDE_CODE]: Don't include inttypes.h, include
9854 stdint.h unconditionally.
9855 (print_and_abort): Mark as _Noreturn.
9856 (_obstack_allocated_p): Mark as __attribute_pure__.
9857 (obstack_free): Rename to __obstack_free.
9858 [!__attribute__]: Remove conditional code.
9859 * malloc/obstack.h: Merge from gnulib master.
9860 [__cplusplus]: Move conditional down.
9861 [!__attribute_pure__]: Define __attribute_pure__ here
9862 if it is not already defined.
9863 (_obstack_memory_used): Mark as __attribute_pure__.
9864 [!__obstack_free]: Define as obstack_free.
9865 [__GNUC__]: Remove check for ancient NeXT gcc.
9867 2014-07-02 Will Newton <will.newton@linaro.org>
9868 Paul Eggert <eggert@cs.ucla.edu>
9870 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9872 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9874 * resolv/gethnamaddr.c: Add comment warning that the file is
9877 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9879 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9882 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9883 entry for aio_cancel and aio_cancel64.
9884 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9885 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9886 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9887 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9888 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9889 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9890 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9891 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9892 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9893 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9894 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9895 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9896 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9898 2014-07-01 Roland McGrath <roland@hack.frob.com>
9900 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9901 * nptl/pthread_mutex_lock.c: Likewise.
9902 * nptl/pthread_mutex_timedlock.c: Likewise.
9903 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9905 2014-07-01 Richard henderson <rth@redhat.com>
9907 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9908 (__isnan, __isnanl): Remove.
9909 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9911 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9913 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9917 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * resolv/nss_dns/dns-host.c (getanswer_r)
9920 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9922 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9925 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9927 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9928 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9930 2014-07-01 Roland McGrath <roland@hack.frob.com>
9932 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9933 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9935 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9936 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9938 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9939 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9941 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9942 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9944 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9945 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9946 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9947 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9949 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9950 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9951 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9955 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9957 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9978 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9979 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9980 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9981 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9982 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9983 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9984 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9985 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9987 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9989 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9990 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9991 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9994 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9998 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10000 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10001 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10003 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10005 * sysdeps/arm/libm-test-ulps: Regenerated.
10007 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10008 Roland McGrath <roland@hack.frob.com>
10010 * test-skeleton.c (signal_handler): Kill the whole process group
10011 before killing the child individually.
10012 (main): Report any failure on `setpgid'.
10014 2014-06-30 Roland McGrath <roland@hack.frob.com>
10016 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10017 from _TLS_H to _ARM_NPTL_TLS_H.
10018 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10019 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10021 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10024 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10025 (__expm1l): Return argument unchanged when small but not
10028 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10029 include macro name.
10030 (_FP_UNPACK_RAW_1_P): Likewise.
10031 (_FP_PACK_RAW_1): Likewise.
10032 (_FP_PACK_RAW_1_P): Likewise.
10033 (_FP_MUL_MEAT_1_wide): Likewise.
10034 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10035 (_FP_MUL_MEAT_1_hard): Likewise.
10036 (_FP_DIV_MEAT_1_imm): Likewise.
10037 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10038 (_FP_DIV_MEAT_1_udiv): Likewise.
10039 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10040 (_FP_UNPACK_RAW_2): Likewise.
10041 (_FP_UNPACK_RAW_2_P): Likewise.
10042 (_FP_PACK_RAW_2): Likewise.
10043 (_FP_PACK_RAW_2_P): Likewise.
10044 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10045 (_FP_MUL_MEAT_2_wide): Likewise.
10046 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10047 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10048 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10049 (_FP_MUL_MEAT_2_gmp): Likewise.
10050 (_FP_DIV_MEAT_2_udiv): Likewise.
10051 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10052 (_FP_FRAC_SRL_4): Likewise.
10053 (_FP_FRAC_SRST_4): Likewise.
10054 (_FP_FRAC_SRS_4): Likewise.
10055 (_FP_UNPACK_RAW_4): Likewise.
10056 (_FP_UNPACK_RAW_4_P): Likewise.
10057 (_FP_PACK_RAW_4): Likewise.
10058 (_FP_PACK_RAW_4_P): Likewise.
10059 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10060 (_FP_MUL_MEAT_4_wide): Likewise.
10061 (_FP_MUL_MEAT_4_gmp): Likewise.
10062 (umul_ppppmnnn): Likewise.
10063 (_FP_DIV_MEAT_4_udiv): Likewise.
10064 (__FP_FRAC_ADD_4): Likewise.
10065 (__FP_FRAC_SUB_3): Likewise.
10066 (__FP_FRAC_SUB_4): Likewise.
10067 (__FP_FRAC_DEC_3): Likewise.
10068 (__FP_FRAC_DEC_4): Likewise.
10069 (__FP_FRAC_ADDI_4): Likewise.
10070 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10071 (_FP_FRAC_SRL_8): Likewise.
10072 (_FP_FRAC_SRS_8): Likewise.
10074 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10075 include macro name.
10076 (FP_UNPACK_RAW_EP): Likewise.
10077 (FP_PACK_RAW_E): Likewise.
10078 (FP_PACK_RAW_EP): Likewise.
10079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10080 (_FP_ISSIGNAN): Likewise.
10081 (_FP_ADD_INTERNAL): Likewise.
10082 (_FP_FMA): Likewise.
10083 (_FP_CMP): Likewise.
10084 (_FP_SQRT): Likewise.
10085 (_FP_TO_INT): Likewise.
10086 (_FP_FROM_INT): Likewise.
10087 (FP_EXTEND): Likewise.
10088 (_FP_DIV_MEAT_N_loop): Likewise.
10090 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10092 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10095 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10098 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10099 result with correct sign in case of exponents that produce
10100 overflow except for X very close to 1.
10102 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10104 mktime: merge #if/#ifdef usage from glibc
10105 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10106 as that works with both Glibc's and Gnulib's style.
10107 See thread starting at Siddhesh Poyarekar's bug report at:
10108 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10110 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10112 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10113 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10114 * sysdeps/tile/tilegx/memmove.c: Remove file.
10116 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10118 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10119 abi-name definition.
10120 * scripts/soversions.awk: Do not handle or generate ABI lines.
10121 * shlib-versions: Remove ABI entries.
10122 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10123 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10125 2014-06-27 Roland McGrath <roland@hack.frob.com>
10127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10128 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10129 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10130 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10135 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10138 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10140 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10142 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10144 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10147 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10148 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10149 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10151 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10153 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10158 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10159 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10161 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10163 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10168 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10170 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10172 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10175 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10177 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10183 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10188 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10191 Identical file removed.
10192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10194 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10196 Identical file removed.
10197 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10201 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10202 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10203 Identical file removed.
10204 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10205 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10207 Identical file removed.
10208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10211 Identical file removed.
10212 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10215 Identical file removed.
10216 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10218 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10220 Identical file removed.
10221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10223 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10225 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10227 Identical file removed.
10228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10230 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10232 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10233 Identical file removed.
10234 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10236 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10238 Identical file removed.
10239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10241 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10243 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10245 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10246 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10250 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10252 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10253 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10254 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10255 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10256 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10258 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10261 * nscd/nscd.c (monitor_child): Return exit status of child
10262 instead of return value from wait syscall.
10264 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10266 * configure.ac (libc_commonpagesize): Remove variable.
10267 (libc_relro_required): Likewise.
10268 (libc_cv_z_relro): Remove configure test.
10269 * configure: Regenerated.
10270 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10272 (libc_relro_required): Likewise.
10273 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10274 (libc_relro_required): Likewise.
10275 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10276 (libc_relro_required): Likewise.
10277 * sysdeps/arm/preconfigure: Regenerated.
10278 * sysdeps/ia64/preconfigure: Remove file.
10279 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10281 (libc_relro_required): Likewise.
10285 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10286 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10287 recompute overflowing results in original rounding mode.
10288 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10289 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10290 recompute overflowing results in original rounding mode.
10291 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10292 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10293 recompute overflowing results in original rounding mode.
10294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10295 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10296 recompute overflowing results in original rounding mode.
10297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10298 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10299 recompute overflowing results in original rounding mode.
10300 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10301 (libc_feholdsetround_ctx): New macro.
10302 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10303 * sysdeps/i386/fpu/libm-test-ulps: Update.
10304 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10306 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10308 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10309 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10310 corresponding .cpsetup call.
10312 2014-06-26 Roland McGrath <roland@hack.frob.com>
10314 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10315 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10316 * sysdeps/arm/Makefile [$(subdir) = csu]
10317 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10318 (static-only-routines): Add aeabi_read_tp here.
10319 (shared-only-routines): Add libc-aeabi_read_tp here.
10320 (CFLAGS-libc-start.c): Add -fexceptions here.
10321 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10322 (sysdep_routines, static-only-routines, shared-only-routines):
10323 Don't add to these here.
10324 (CFLAGS-libc-start.c): Likewise.
10326 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10327 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10328 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10329 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10330 * sysdeps/arm/Makefile [$(subdir) = rt]
10331 (librt-sysdep_routines, librt-shared-only-routines):
10332 Append rt-aeabi_unwind_cpp_pr1 here.
10333 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10334 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10335 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10336 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10337 Append nptl-aeabi_unwind_cpp_pr1 here.
10338 (tests): Filter out tst-cleanupx4 here.
10339 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10340 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10341 Don't do those here.
10343 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10345 * scripts/list-sources.sh: Do not handle ports specially.
10347 2014-06-26 Roland McGrath <roland@hack.frob.com>
10349 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10350 * sysdeps/arm/feupdateenv.c: Likewise.
10352 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10354 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10356 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10357 trailing whitespace removed.
10358 * scripts/config.guess: Update to version 2014-03-23.
10359 * scripts/config.sub: Update to version 2014-05-01
10360 * scripts/install-sh: Update to version 2013-12-25.23.
10361 * scripts/move-if-change: Update from gnulib.
10363 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10365 * debug/memmove_chk.c: Remove pagecopy.h include.
10367 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10369 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10370 identical to gnulib mktime.
10372 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10374 * configure.ac: Do not test for machine being rs6000. Do not test
10375 for powerpc*-*soft.
10376 * configure: Regenerated.
10379 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10381 * configure: Regenerated.
10382 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10383 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10384 Remove configure test.
10385 * sysdeps/arm/configure: Regenerated.
10386 * sysdeps/nptl/configure.ac: Do not check
10387 libc_cv_asm_cfi_directives.
10388 * sysdeps/nptl/configure: Regenerated.
10389 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10390 * sysdeps/x86_64/nptl/configure: Remove generated file.
10391 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10393 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10395 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10398 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10399 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10402 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10403 instead of whether it is defined.
10404 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10405 * sysdeps/hppa/dl-machine.h: Likewise.
10406 * sysdeps/ia64/dl-machine.h: Likewise.
10407 * sysdeps/m68k/dl-machine.h: Likewise.
10408 * sysdeps/microblaze/dl-machine.h: Likewise.
10409 * sysdeps/mips/dl-machine.: Likewise.
10410 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10411 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10412 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10413 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10414 * sysdeps/sh/dl-machine.h: Likewise.
10415 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10416 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10417 * sysdeps/tile/dl-machine.h: Likewise.
10418 * sysdeps/x86_64/dl-machine.h: Likewise.
10420 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10422 (verify_persistent_db): Likewise.
10424 2014-06-26 Roland McGrath <roland@hack.frob.com>
10426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10427 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10429 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10432 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10435 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10437 Identical file removed.
10438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10439 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10441 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10443 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10447 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10450 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10452 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10454 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10457 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10461 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10463 Identical file removed.
10464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10465 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10467 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10470 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10473 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10475 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10477 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10481 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10484 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10487 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10489 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10492 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10494 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10496 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10498 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10499 * sysdeps/unix/sysv/linux/s390/Versions
10500 (libpthread: GLIBC_2.19): New version set.
10501 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10502 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10503 (librt: GLIBC_2.3.3): New version set.
10504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10505 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10506 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10507 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10508 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10509 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10510 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10511 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10512 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10513 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10514 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10515 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10516 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10517 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10518 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10519 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10520 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10521 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10522 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10523 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10524 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10525 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10526 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10527 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10528 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10530 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10531 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10532 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10533 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10534 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10538 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10540 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10542 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10544 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10546 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10548 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10551 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10552 (__libc_vfork): Define the function under this name.
10553 [!NOT_IN_libc] (__vfork): Make this an alias.
10554 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10555 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10556 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10557 (__libc_vfork): Define the function under this name.
10558 [!NOT_IN_libc] (__vfork): Make this an alias.
10559 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10560 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10561 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10564 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10566 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10567 code that was previously under [RESET_PID].
10568 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10569 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10572 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10573 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10574 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10575 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10576 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10577 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10578 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10579 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10580 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10581 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10582 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10584 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10585 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10586 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10587 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10588 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10592 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10598 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10599 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10600 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10604 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10605 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10606 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10608 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10609 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10610 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10612 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10614 2014-06-25 Roland McGrath <roland@hack.frob.com>
10616 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10617 that was previously under [RESET_PID].
10618 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10620 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10622 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10623 not undefine and redefine.
10624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10625 [O_CLOEXEC]: Make code unconditional.
10626 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10628 <kernel-features.h>.
10629 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10630 conditional variable definition.
10631 (shm_open) [O_CLOEXEC]: Make code unconditional.
10632 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10635 * configure.ac (USE_REGPARMS): Don't define here.
10636 * configure: Regenerated.
10637 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10638 * sysdeps/i386/configure: Regenerated.
10640 * nptl/createthread.c: Don't include kernel-features.h.
10641 * nptl/pthread_cancel.c: Likewise.
10642 * nptl/pthread_condattr_setclock.c: Likewise.
10643 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10644 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10645 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10646 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10647 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10648 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10649 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10652 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10653 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10654 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10655 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10656 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10657 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10658 * nscd/gai.c: Likewise.
10659 * nss/nss_db/db-open.c: Likewise.
10660 * sysdeps/generic/ldsodefs.h: Likewise.
10661 * sysdeps/sh/nptl/tls.h: Likewise.
10662 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10663 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10664 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10665 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10666 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10667 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10668 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10669 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10671 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10672 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10673 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10674 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10675 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10676 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10677 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10678 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10679 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10680 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10681 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10682 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10683 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10684 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10685 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10686 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10687 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10688 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10689 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10690 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10691 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10692 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10693 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10694 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10695 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10696 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10697 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10698 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10699 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10700 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10701 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10702 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10703 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10704 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10705 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10706 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10707 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10708 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10709 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10710 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10711 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10712 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10713 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10714 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10715 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10716 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10717 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10718 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10719 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10742 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10743 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10744 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10745 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10746 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10747 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10750 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10751 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10753 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10754 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10755 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10756 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10757 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10759 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10760 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10761 * sysdeps/unix/sysv/linux/system.c: Likewise.
10762 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10763 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10764 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10765 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10766 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10767 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10768 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10770 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10771 * configure: Regenerated.
10772 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10774 * configure.ac (base_machine): Do not set specially for particular
10776 * configure: Regenerated.
10777 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10778 settings from configure.ac.
10779 * sysdeps/i386/preconfigure: New file.
10780 * sysdeps/s390/preconfigure: Likewise.
10781 * sysdeps/sh/preconfigure: Likewise.
10782 * sysdeps/sparc/preconfigure: Likewise.
10784 2014-06-25 Roland McGrath <roland@hack.frob.com>
10786 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10787 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10788 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10789 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10790 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10791 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10792 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10793 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10794 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10795 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10796 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10797 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10798 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10799 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10800 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10801 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10803 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10804 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10806 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10807 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10808 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10809 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10810 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10811 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10812 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10813 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10814 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10815 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10816 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10817 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10818 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10819 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10820 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10821 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10822 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10823 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10824 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10825 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10826 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10827 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10829 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10831 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10832 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10833 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10835 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10836 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10837 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10838 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10839 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10840 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10841 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10842 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10843 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10846 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10848 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10851 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10854 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10856 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10859 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10861 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10863 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10865 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10871 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10873 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10876 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10878 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10880 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10887 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10890 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10892 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10895 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10897 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10904 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10907 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10909 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10912 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10916 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10918 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10920 * timezone/checktab.awk: Update from tzcode 2014e.
10921 * timezone/private.h: Likewise.
10922 * timezone/tzfile.h: Likewise.
10923 * timezone/zdump.c: Likewise.
10924 * timezone/zic.c: Likewise.
10926 * sysdeps/unix/sysv/linux/kernel-features.h
10927 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10928 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10929 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10930 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10931 Remove conditional code.
10933 2014-06-25 Will Newton <will.newton@linaro.org>
10935 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10936 (_dl_arm_cap_flags): Add HWCAP2 values.
10937 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10938 (_DL_HWCAP_COUNT): Increase to 37.
10939 (_DL_HWCAP_LAST): New define.
10940 (_DL_HWCAP2_LAST): New define.
10941 (_dl_procinfo): Add support for printing
10943 (_dl_string_hwcap): Use _dl_hwcap_string.
10945 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10949 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10951 * README: Do not mention ports directory.
10953 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10955 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10956 <kernel-features.h>.
10957 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10958 conditional variable definition.
10959 (__futimes): Update comment.
10960 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10961 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10964 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10965 arguments close to 0.
10966 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10970 * math/auto-libm-test-in: Add more tests of exp10.
10971 * math/auto-libm-test-out: Regenerated.
10972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10974 * sysdeps/unix/sysv/linux/kernel-features.h
10975 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10976 * sysdeps/unix/sysv/linux/readv.c: Do not include
10977 <kernel-features.h>.
10978 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10979 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10980 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10982 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10984 * sysdeps/unix/sysv/linux/writev.c: Do not include
10985 <kernel-features.h>.
10986 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10987 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10988 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10990 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10993 2014-06-25 Will Newton <will.newton@linaro.org>
10995 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10996 comment changes throughout the file. Remove checks
10997 for HAVE_*_H definitions that are not required.
10998 (__gen_tempname): Call abort if an unknown kind value is
11001 2014-06-25 Andreas Schwab <schwab@suse.de>
11004 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11005 scalbln, scalblnf, scalblnl in libc.
11007 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11010 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11011 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11012 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11014 2014-06-24 Roland McGrath <roland@hack.frob.com>
11016 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11017 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11018 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11019 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11021 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11022 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11024 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11025 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11026 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11027 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11028 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11029 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11030 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11031 * sysdeps/x86/bits/semaphore.h: ... here.
11032 * sysdeps/x86/nptl/elide.h: Moved ...
11033 * sysdeps/x86/elide.h: ... here.
11034 * sysdeps/x86_64/nptl/Implies: File removed.
11035 * sysdeps/i386/nptl/Implies: File removed.
11037 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11041 return the argument for normal arguments with exponent below -64.
11042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11044 * math/auto-libm-test-in: Add another test of expm1.
11045 * math/auto-libm-test-out: Regenerated.
11048 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11049 calling __erfcl for arguments at least 16.
11050 * math/auto-libm-test-in: Add more tests of erf.
11051 * math/auto-libm-test-out: Regenerated.
11053 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11054 individual architectures.
11055 * sysdeps/unix/sysv/linux/configure: Regenerated.
11056 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11057 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11058 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11059 (ldd_rewrite_script): Define variable.
11060 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11065 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11066 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11067 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11068 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11069 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11070 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11071 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11072 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11074 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11078 Rename member __data.d to __data.__elision_data.
11080 2014-06-24 Wilco <wdijkstr@arm.com>
11082 * NEWS: Add 16918 to fixed bug list.
11084 2014-06-24 Wilco <wdijkstr@arm.com>
11086 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11088 2014-06-24 Wilco <wdijkstr@arm.com>
11090 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11091 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11092 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11093 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11094 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11095 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11096 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11099 2014-06-24 Wilco <wdijkstr@arm.com>
11101 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11103 2014-06-24 Wilco <wdijkstr@arm.com>
11105 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11106 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11107 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11108 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11110 2014-06-24 Wilco <wdijkstr@arm.com>
11113 * sysdeps/arm/feupdateenv.c (feupdateenv):
11114 Rewrite to reduce FPSCR accesses and fix return value.
11116 2014-06-24 Wilco <wdijkstr@arm.com>
11118 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11119 Optimize to avoid unnecessary FPSCR writes.
11120 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11121 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11122 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11123 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11125 2014-06-24 Wilco <wdijkstr@arm.com>
11127 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11128 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11129 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11130 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11131 Call libc_fetestexcept_vfp.
11132 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11133 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11134 __SOFTFP__ ifdef so that they can be built for softfp.
11136 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11138 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11139 argument type signed char.
11141 * Makerules (check-abi): Dump diff of symlist if the test
11144 2014-06-23 Roland McGrath <roland@hack.frob.com>
11146 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11149 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11150 Remove unused variable ST.
11152 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11156 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11157 small arguments before calling __expm1.
11158 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11159 small arguments before calling __expm1f.
11160 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11161 small arguments before calling __expm1l.
11162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11164 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11165 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11166 spurious underflow for some cosh tests.
11167 * math/auto-libm-test-out: Regenerated.
11168 * sysdeps/i386/fpu/libm-test-ulps: Update.
11171 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11172 (__ieee754_y1): Set errno if return value overflows.
11173 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11174 (__ieee754_y1f): Set errno if return value overflows.
11175 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11176 (__ieee754_y1l): Set errno if return value overflows.
11177 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11178 (__ieee754_y1l): Set errno if return value overflows.
11179 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11180 * math/auto-libm-test-out: Regenerated.
11182 * math/gen-auto-libm-tests.c: Document use of
11183 ignore-zero-inf-sign.
11184 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11185 (input_flags): Add ignore-zero-inf-sign.
11186 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11187 * math/gen-libm-test.pl (generate_testfile): Handle
11188 ignore-zero-inf-sign.
11189 * math/auto-libm-test-in: Mark some cpow tests with
11190 ignore-zero-inf-sign and some with xfail-rounding.
11191 * math/auto-libm-test-out: Regenerated.
11192 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11193 * sysdeps/i386/fpu/libm-test-ulps: Update.
11194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11197 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11198 overflowing or underflowing operations take place with sign of
11200 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11201 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11202 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11203 (__ieee754_pow): Recompute overflowing and underflowing results in
11204 original rounding mode.
11205 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11206 (__powl_helper): Allow negative argument X and scale negated value
11207 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11208 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11209 overflowing or underflowing operations take place with sign of
11211 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11213 * math/auto-libm-test-in: Add more tests of pow.
11214 * math/auto-libm-test-out: Regenerated.
11215 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11216 (pow_tonearest_test_data): Remove.
11217 (pow_test_tonearest): Likewise.
11218 (pow_towardzero_test_data): Likewise.
11219 (pow_test_towardzero): Likewise.
11220 (pow_downward_test_data): Likewise.
11221 (pow_test_downward): Likewise.
11222 (pow_upward_test_data): Likewise.
11223 (pow_test_upward): Likewise.
11224 (main): Don't call removed functions.
11225 * sysdeps/i386/fpu/libm-test-ulps: Update.
11226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11228 2014-06-23 Roland McGrath <roland@hack.frob.com>
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11404 2014-06-23 Will Newton <will.newton@linaro.org>
11405 Wilco <wdijkstr@arm.com>
11407 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11408 implementation. Include get-rounding-mode.h.
11409 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11410 [!libc_feholdsetround_noex_ctx]: Define
11411 libc_feholdsetround_noex_ctx.
11412 [!libc_feholdsetround_noexf_ctx]: Define
11413 libc_feholdsetround_noexf_ctx.
11414 [!libc_feholdsetround_noexl_ctx]: Define
11415 libc_feholdsetround_noexl_ctx.
11416 (libc_feholdsetround_ctx): New function.
11417 (libc_feresetround_ctx): New function.
11418 (libc_feholdsetround_noex_ctx): New function.
11419 (libc_feresetround_noex_ctx): New function.
11421 2014-06-23 Roland McGrath <roland@hack.frob.com>
11423 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11424 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11425 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11426 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11427 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11428 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11430 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11431 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11432 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11433 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11434 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11435 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11436 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11437 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11438 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11439 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11442 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11445 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11447 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11448 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11450 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11452 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11454 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11456 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11459 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11460 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11462 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11464 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11467 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11469 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11470 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11471 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11472 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11473 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11474 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11475 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11478 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11480 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11481 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11482 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11483 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11485 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11487 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11489 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11490 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11491 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11494 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11496 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11498 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11501 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11503 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11505 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11507 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11508 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11509 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11510 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11511 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11512 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11513 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11514 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11516 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11518 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11519 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11520 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11521 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11522 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11523 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11524 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11525 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11526 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11527 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11528 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11529 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11530 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11531 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11532 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11533 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11534 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11536 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11539 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11540 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11541 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11542 (IPV6_PMTUDISC_INTERFACE): Likewise.
11543 (IPV6_PMTUDISC_OMIT): Likewise.
11545 2014-06-23 Andreas Schwab <schwab@suse.de>
11547 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11548 Remove unused errout label.
11550 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11552 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11553 macro: hardware supports Vector Crypto instructions.
11555 2014-06-23 Will Newton <will.newton@linaro.org>
11557 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11558 rather than __builtin_expect.
11560 * elf/dl-lookup.c (undefined_msg): Remove variable.
11561 (_dl_lookup_symbol_x): Replace undefined_msg with string
11564 * elf/dl-lookup.c (do_lookup_unique): New function.
11565 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11566 to a separate function.
11568 2014-06-23 Andreas Schwab <schwab@suse.de>
11571 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11572 before reading the next line.
11574 2014-06-23 Will Newton <will.newton@linaro.org>
11576 * test-skeleton.c (signal_handler): Use printf and %m
11577 rather than perror. Use printf rather than fprintf to
11578 stderr. Use puts rather than fputs to stderr.
11581 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11583 * nscd/nscd.c (thread_info_t): Remove typedef.
11584 (thread_info): Remove variable.
11586 2014-06-21 Allan McRae <allan@archlinux.org>
11588 * NEWS: Mention CVE-2014-4043.
11590 2014-06-20 Roland McGrath <roland@hack.frob.com>
11592 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11593 * nptl/smp.h: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11597 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11598 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11599 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11600 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11602 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11603 * nptl/stack-aliasing.h: New file.
11604 * sysdeps/i386/i686/stack-aliasing.h: New file.
11605 * sysdeps/i386/i686/nptl/Makefile: File removed.
11606 * sysdeps/x86_64/stack-aliasing.h: New file.
11607 * sysdeps/x86_64/nptl/Makefile
11608 (CFLAGS-pthread_create.c): Variable removed.
11610 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11611 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11613 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11614 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11617 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11619 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11620 (__ASSUME_SIGFRAME_V2): Remove macro.
11621 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11622 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11623 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11624 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11625 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11626 Declare as function. Remove conditional macro definitions.
11627 (__default_rt_sa_restorer): Likewise.
11628 (__default_sa_restorer_v1): Remove declaration.
11629 (__default_sa_restorer_v2): Likewise.
11630 (__default_rt_sa_restorer_v1): Likewise.
11631 (__default_rt_sa_restorer_v2): Likewise.
11632 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11633 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11634 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11636 2014-06-20 Roland McGrath <roland@hack.frob.com>
11638 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11639 (libpthread-routines): Add sysdep.
11640 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11641 * sysdeps/unix/sysv/linux/sparc/Versions
11642 (libpthread: GLIBC_2.3.3): New version set.
11643 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11644 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11645 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11646 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11647 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11648 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11650 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11651 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11652 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11653 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11654 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11655 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11656 * sysdeps/sparc/nptl/sem_init.c: ... here.
11657 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11658 * sysdeps/sparc/nptl/sem_post.c: ... here.
11659 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11660 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11661 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11662 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11663 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11664 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11665 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11666 (libpthread-routines): Add cpu_relax.
11667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11669 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11670 (librt: GLIBC_2.3.3): New version set.
11671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11672 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11673 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11674 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11677 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11680 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11682 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11684 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11686 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11688 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11691 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11699 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11703 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11707 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11711 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11714 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11720 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11725 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11727 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11729 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11731 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11733 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11734 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11735 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11736 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11737 * nscd/nscd.c: Likewise.
11738 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11739 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11740 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11741 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11743 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11744 <kernel-features.h>.
11745 (init_mq_netlink): Remove conditional have_sock_cloexec
11746 definitions. Remove code conditional on have_sock_cloexec < 0.
11747 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11748 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11749 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11750 <kernel-features.h>.
11751 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11752 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11754 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11757 Add tests for memset_chk and memset.
11759 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11762 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11765 * elf/tst-dl-iter-static.c: New file.
11766 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11768 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11771 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/unix/sysv/linux/kernel-features.h
11774 (__ASSUME_F_GETOWN_EX): Remove macro.
11775 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11776 <kernel-features.h>.
11777 (miss_F_GETOWN_EX): Remove variable or macro.
11778 (do_fcntl): Do not check miss_F_GETOWN_EX.
11779 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11784 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11785 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11787 * sysdeps/unix/sysv/linux/kernel-features.h
11788 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11789 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11790 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11791 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11793 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11796 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11797 Fix calculation of the symbol's value.
11798 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11799 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11800 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11801 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11802 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11803 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11804 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11805 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11806 (modules-names): Add `tst-armtlsdescmod',
11807 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11808 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11809 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11810 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11811 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11812 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11813 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11814 ($(objpfx)tst-armtlsdescloc): New dependency.
11815 ($(objpfx)tst-armtlsdescextnow): Likewise.
11816 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11817 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11818 TLS scheme support.
11819 * sysdeps/arm/configure: Regenerate.
11821 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11823 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11824 (__atfct_seterrno_2): Likewise.
11825 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11826 <kernel-features.h>.
11827 (__ASSUME_ATFCTS): Do not undefine and redefine.
11828 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11829 (__have_atfcts): Remove conditional definition.
11830 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11831 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11832 unreachable if [__ASSUME_ATFCTS].
11833 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11834 not undefine and redefine.
11835 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11836 <kernel-features.h>.
11837 (faccessat) [__NR_faccessat]: Make code unconditional.
11838 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11839 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11840 <kernel-features.h>.
11841 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11842 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11843 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11844 <kernel-features.h>.
11845 (fchownat) [__NR_fchownat]: Make code unconditional.
11846 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11847 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11848 <kernel-features.h>.
11849 (futimesat) [__NR_futimesat]: Make code unconditional.
11850 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11851 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11852 <kernel-features.h>.
11853 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11854 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11855 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11856 <kernel-features.h>.
11857 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11858 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11859 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11860 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11861 <kernel-features.h>.
11862 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11863 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11864 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11865 <kernel-features.h>.
11866 (linkat) [__NR_linkat]: Make code unconditional.
11867 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11868 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11869 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11870 <kernel-features.h>.
11871 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11872 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11873 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11874 <kernel-features.h>.
11875 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11876 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11877 * sysdeps/unix/sysv/linux/openat.c: Do not include
11878 <kernel-features.h>.
11879 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11880 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11881 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11882 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11883 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11884 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11885 <kernel-features.h>.
11886 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11887 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11888 result of INLINE_SYSCALL directly, not via int variable.
11889 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11890 <kernel-features.h>.
11891 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11892 (renameat) [__NR_renameat]: Make code unconditional.
11893 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11895 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11896 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11897 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11898 (__ASSUME_ATFCTS): Do not undefine and redefine.
11899 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11900 <kernel-features.h>.
11901 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11902 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11903 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11904 <kernel-features.h>.
11905 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11906 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11907 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11908 (__ASSUME_ATFCTS): Do not undefine and redefine.
11909 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11910 <kernel-features.h>.
11911 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11912 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11913 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11914 <kernel-features.h>.
11915 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11916 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11918 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11920 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11922 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11925 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11926 constructed tree before returning error.
11927 * posix/bug-regexp36.c: Expand test case.
11929 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11932 * math/libm-test.inc (scalbln_test_date):
11933 Add errno expectations.
11934 * math/w_scalblnf.c: New File.
11935 Add wrapper which checks for setting errno to ERANGE.
11936 Add weak_alias for corresponding scalbln function.
11937 * math/w_scalbln.c: Likewise.
11938 * math/w_scalblnl.c: Likewise.
11939 * math/Makefile (libm-calls): Add w_scalbln.
11940 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11941 Remove weak_alias for corresponding scalbln function.
11942 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11944 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11945 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11946 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11947 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11948 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11949 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11950 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11951 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11952 Remove long_double_symbol for scalblnl function in libm, libc.
11953 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11954 Add wrapper which checks for setting errno to ERANGE.
11955 Add long_double_symbol for scalblnl function in libm, libc.
11956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11957 Remove long_double_symbol for scalblnl in libm.
11958 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11959 Add wrapper which checks for setting errno to ERANGE.
11960 Add long_double_symbol for scalblnl function in libm.
11961 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11962 Do not use wrapper because of own implementation.
11964 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11966 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11967 3 bytes for __pad1 for x32.
11968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11970 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11971 H.J. Lu <hongjiu.lu@intel.com>
11973 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11974 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11975 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11976 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11977 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11979 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11982 * posix/regcomp.c (parse_expression): Deallocate partially
11983 constructed tree before returning error.
11984 * posix/Makefile.c (tests): Add bug-regex36.
11985 (generated): Add bug-regex36.mtrace.
11986 (tests-special): Add $(objpfx)bug-regex36-mem.out
11987 (bug-regex36-ENV): New variable.
11988 ($(objpfx)bug-regex36-mem.out): New rule.
11989 * posix/bug-regex36.c: New file.
11991 2014-06-19 Will Newton <will.newton@linaro.org>
11993 * malloc/malloc.c (systrim): If extra is zero then return
11996 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11998 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12000 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12002 * sysdeps/aarch64/strchr.S: New file.
12004 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12007 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12008 from arguments -2 or below.
12009 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12010 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12012 2014-06-18 Andreas Schwab <schwab@suse.de>
12015 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12016 of a bracket expr not to run off the end of the string.
12017 * posix/Makefile (tests): Add tst-fnmatch3.
12018 * posix/tst-fnmatch3.c: New file.
12020 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12022 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12023 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12024 [$(cross-compiling) = no]: Likewise.
12025 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12026 [$(cross-compiling) = no]: Likewise.
12028 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12031 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12032 double, adjusted for any remainder from the high double.
12033 * math/libm-test.inc (nearbyint): Add tests.
12036 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12038 * nptl/sysdeps/powerpc/Makefile: Moved ...
12039 * sysdeps/powerpc/nptl/Makefile: ... here.
12040 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12041 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12042 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12043 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12044 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12045 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12046 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12047 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12048 * nptl/sysdeps/powerpc/tls.h: Moved ...
12049 * sysdeps/powerpc/nptl/tls.h: ... here.
12051 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12054 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12055 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12056 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12057 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12058 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12059 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12060 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12061 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12062 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12064 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12066 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12068 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12070 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12073 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12076 2014-06-16 Florian Weimer <fweimer@redhat.com>
12079 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12080 non-executed part of the test.
12082 2014-06-16 Andreas Schwab <schwab@suse.de>
12084 * string/bits/string2.h (strdup, strndup): Update feature guard.
12086 2014-06-14 David S. Miller <davem@davemloft.net>
12088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12090 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12092 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12093 that was previously under [RESET_PID].
12094 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12096 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12097 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12098 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12099 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12100 (__libc_vfork): New strong alias.
12101 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12103 2014-06-14 Andi Kleen <ak@linux.intel.com>
12105 * sysdeps/generic/elide.h: New file.
12107 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12109 * Makefile (installed-headers): Adjust path of pthread.h header.
12111 2014-06-13 Roland McGrath <roland@hack.frob.com>
12113 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12114 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12115 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12116 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12118 * nptl/sysdeps/s390/Makefile: Moved ...
12119 * sysdeps/s390/nptl/Makefile: ... here.
12120 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12121 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12122 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12123 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12124 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12125 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12126 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12127 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12128 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12129 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12130 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12131 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12132 * nptl/sysdeps/s390/tls.h: Moved ...
12133 * sysdeps/s390/nptl/tls.h: ... here.
12135 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12136 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12138 2014-06-13 David S. Miller <davem@davemloft.net>
12140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12143 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12147 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12148 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12149 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12150 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12151 Remove RESET_PID cpp guards.
12152 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12153 Remove RESET_PID cpp guards.
12154 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12156 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12158 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12161 2014-06-13 Andi Kleen <ak@linux.intel.com>
12163 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12164 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12165 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12166 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12167 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12168 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12171 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12172 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12173 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12174 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12175 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12176 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12177 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12178 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12179 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12180 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12181 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12184 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12185 (pthread_rwlock_rdlock): Add elision.
12186 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12187 (pthread_rwlock_wrlock): Add elision.
12188 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12189 (pthread_rwlock_trywrlock): Add elision.
12190 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12191 (pthread_rwlock_tryrdlock): Add elision.
12192 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12193 (pthread_rwlock_tryrdlock): Add elision unlock.
12194 * nptl/sysdeps/pthread/pthread.h:
12195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12196 (PTHREAD_RWLOCK_INITIALIZER,
12197 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12198 Handle new elision field.
12199 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12200 * sysdeps/arm/nptl/bits/pthreadtypes.h
12201 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12202 * sysdeps/sh/nptl/bits/pthreadtypes.h
12203 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12204 * sysdeps/tile/nptl/bits/pthreadtypes.h
12205 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12206 * sysdeps/a/nptl/bits/pthreadtypes.h
12207 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12208 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12210 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12211 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12212 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12213 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12214 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12216 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12218 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12219 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12220 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12222 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12224 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12225 (elision_init): Set try_xbegin to zero when no RTM.
12226 * sysdeps/x86/nptl/bits/pthreadtypes.h
12227 (pthread_rwlock_t): Change __pad1 to __rwelision.
12228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12230 2014-06-13 Andi Kleen <ak@linux.intel.com>
12232 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12233 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12234 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12235 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12237 2014-06-13 Meador Inge <meadori@codesourcery.com>
12240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12241 that the cached result has been set before returning it.
12243 2014-06-12 Roland McGrath <roland@hack.frob.com>
12245 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12246 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12247 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12248 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12249 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12250 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12252 * nptl/sysdeps/sparc/Makefile: Moved ...
12253 * sysdeps/sparc/nptl/Makefile: ... here.
12254 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12255 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12256 * nptl/sysdeps/sparc/tls.h: Moved ...
12257 * sysdeps/sparc/nptl/tls.h: ... here.
12258 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12259 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12260 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12261 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12262 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12263 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12264 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12265 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12266 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12267 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12268 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12269 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12270 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12271 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12272 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12273 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12274 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12277 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12278 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12280 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12281 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12283 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12284 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12287 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12289 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12290 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12292 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12293 (struct list_links): Type removed.
12294 (struct thread_node, struct timer_node): Replace struct list_links
12295 with struct list_head.
12296 (list_unlink_ip): Likewise.
12297 * sysdeps/pthread/timer_routines.c
12298 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12299 (list_append, list_insbefore): Likewise.
12300 (list_init): Function removed.
12301 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12302 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12303 * sysdeps/pthread/Makefile: ... here, new file.
12305 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12306 * sysdeps/nptl/Implies: ... here.
12307 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12308 * nptl/sysdeps/pthread/list.h: Moved ...
12309 * include/list.h: ... here.
12310 * nptl/sysdeps/pthread/createthread.c: Moved ...
12311 * nptl/createthread.c: ... here.
12312 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12313 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12314 * nptl/pt-longjmp.c: ... here.
12315 * nptl/sysdeps/pthread/Makefile: Moved ...
12316 * sysdeps/nptl/Makefile: ... here.
12317 * nptl/sysdeps/pthread/Subdirs: Moved ...
12318 * sysdeps/nptl/Subdirs: ... here.
12319 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12320 * sysdeps/nptl/aio_misc.h: ... here.
12321 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12322 * sysdeps/nptl/bits/libc-lock.h: ... here.
12323 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12324 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12325 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12326 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12327 * nptl/sysdeps/pthread/configure: Moved ...
12328 * sysdeps/nptl/configure: ... here.
12329 * nptl/sysdeps/pthread/configure.ac: Moved ...
12330 * sysdeps/nptl/configure.ac: ... here.
12331 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12332 * sysdeps/nptl/gai_misc.h: ... here.
12333 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12334 * sysdeps/nptl/librt-cancellation.c: ... here.
12335 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12336 * sysdeps/nptl/malloc-machine.h: ... here.
12337 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12338 * sysdeps/nptl/pthread-functions.h: ... here.
12339 * nptl/sysdeps/pthread/pthread.h: Moved ...
12340 * sysdeps/nptl/pthread.h: ... here.
12341 * nptl/sysdeps/pthread/setxid.h: Moved ...
12342 * sysdeps/nptl/setxid.h: ... here.
12343 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12344 * sysdeps/nptl/sigfillset.c: ... here.
12345 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12346 * sysdeps/nptl/tcb-offsets.h: ... here.
12347 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12348 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12349 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12350 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12351 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12352 * sysdeps/pthread/allocalim.h: ... here.
12353 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12354 * sysdeps/pthread/bits/sigthread.h: ... here.
12355 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12356 * sysdeps/pthread/flockfile.c: ... here.
12357 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12358 * sysdeps/pthread/ftrylockfile.c: ... here.
12359 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12360 * sysdeps/pthread/funlockfile.c: ... here.
12361 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12362 * sysdeps/pthread/posix-timer.h: ... here.
12363 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12364 * sysdeps/pthread/timer_create.c: ... here.
12365 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12366 * sysdeps/pthread/timer_delete.c: ... here.
12367 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12368 * sysdeps/pthread/timer_getoverr.c: ... here.
12369 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12370 * sysdeps/pthread/timer_gettime.c: ... here.
12371 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12372 * sysdeps/pthread/timer_routines.c: ... here.
12373 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12374 * sysdeps/pthread/timer_settime.c: ... here.
12375 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12376 * sysdeps/pthread/tst-timer.c: ... here.
12377 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12378 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12380 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12381 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12383 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12384 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12385 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12386 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12387 Update #include target.
12388 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12389 * sysdeps/i386/i686/nptl/Makefile: ... here.
12390 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12391 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12392 Update #include target.
12393 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12394 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12395 * nptl/sysdeps/i386/Makefile: Moved ...
12396 * sysdeps/i386/nptl/Makefile: ... here.
12397 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12398 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12399 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12400 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12401 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12402 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12403 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12404 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12405 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12406 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12407 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12408 * nptl/sysdeps/i386/tls.h: Moved ...
12409 * sysdeps/i386/nptl/tls.h: ... here.
12411 * sysdeps/sh/Makefile [$(subdir) = csu]
12412 (gen-as-const-headers): Add tcb-offsets.sym.
12413 * nptl/sysdeps/sh/Makefile: File removed.
12414 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12415 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12416 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12417 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12418 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12419 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12420 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12421 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12422 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12423 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12424 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12425 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12426 * nptl/sysdeps/sh/tls.h: Moved ...
12427 * sysdeps/sh/nptl/tls.h: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12429 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12431 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12433 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12435 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12437 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12438 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12439 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12440 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12441 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12442 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12443 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12445 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12446 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12447 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12448 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12449 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12450 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12451 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12454 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12457 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12461 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12463 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12465 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12467 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12469 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12471 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12473 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12474 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12475 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12477 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12479 * posix/spawn_faction_addopen.c: Include string.h.
12481 2014-06-11 Roland McGrath <roland@hack.frob.com>
12483 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12484 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12485 * nptl/sysdeps/x86_64/Makefile: Moved ...
12486 * sysdeps/x86_64/nptl/Makefile: ... here.
12487 * nptl/sysdeps/x86_64/configure: Moved ...
12488 * sysdeps/x86_64/nptl/configure: ... here.
12489 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12490 * sysdeps/x86_64/nptl/configure.ac: ... here.
12491 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12492 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12493 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12494 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12495 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12496 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12497 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12498 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12499 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12500 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12501 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12502 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12503 * nptl/sysdeps/x86_64/tls.h: Moved ...
12504 * sysdeps/x86_64/nptl/tls.h: ... here.
12505 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12506 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12507 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12508 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12510 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12512 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12516 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12518 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12520 [POSIX] (off_t): Likewise.
12521 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12522 [POSIX] (S_ISBLK): Require macro.
12523 [POSIX] (S_ISCHR): Likewise.
12524 [POSIX] (S_ISDIR): Likewise.
12525 [POSIX] (S_ISFIFO): Likewise.
12526 [POSIX] (S_ISREG): Likewise.
12527 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12529 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12531 [POSIX] (time_t): Likewise.
12532 [POSIX] (timer_t): Likewise.
12534 2014-06-11 Florian Weimer <fweimer@redhat.com>
12537 * posix/spawn_int.h (struct __spawn_action): Make the path string
12538 non-const to support deallocation.
12539 * posix/spawn_faction_addopen.c
12540 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12541 * posix/spawn_faction_destroy.c
12542 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12543 path in all spawn_do_open actions.
12544 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12545 posix_spawn_file_actions_addopen.
12547 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12549 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12550 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12551 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12552 conditional code always true.
12553 (__libc_vfork): New alias.
12555 2014-06-11 Roland McGrath <roland@hack.frob.com>
12557 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12558 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12560 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12562 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12563 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12565 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12566 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12568 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12569 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12571 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12573 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12574 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12575 multiarch strcmp for PPC64.
12576 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12577 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12579 multiarch optimizations.
12580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12581 (__libc_ifunc_impl_list): Likewise.
12583 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12585 * benchtests/scripts/validate_benchout.py: New script.
12586 * benchtests/Makefile (bench-func): Call it.
12587 * benchtests/scripts/benchout.schema.json: New file.
12589 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12591 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12592 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12593 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12594 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12595 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12596 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12597 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12598 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12599 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12600 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12601 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12602 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12603 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12604 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12605 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12606 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12711 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12713 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12714 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12716 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12718 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12719 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12720 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12721 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12723 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12724 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12725 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12726 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12727 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12729 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12732 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12735 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12736 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12737 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12740 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12742 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12743 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12744 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12745 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12746 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12748 2014-06-10 Wilco <wdijkstr@arm.com>
12750 * math/test-fenv-return.c: New file.
12751 * math/Makefile: Add new test test-fenv-return.
12753 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12756 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12757 when x - 1 is zero.
12758 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12759 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12760 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12761 0.0L for an argument of 1.0L.
12762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12764 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12765 value when x - 1 is zero.
12766 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12767 * sysdeps/i386/fpu/libm-test-ulps: Update.
12768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12770 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12773 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12775 2014-06-09 Roland McGrath <roland@hack.frob.com>
12777 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12778 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12780 2014-06-09 Roland McGrath <roland@hack.frob.com>
12782 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12783 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12785 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12786 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12788 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12789 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12791 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12792 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12794 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12795 if not already defined.
12796 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12797 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12798 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12799 (TLS_INIT_TP): Use it.
12800 (TLS_DEFINE_INIT_TP): New macro.
12801 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12803 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12805 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12807 [POSIX] (IXANY): Likewise.
12808 [POSIX] (OLCUC): Likewise.
12809 [POSIX || POSIX2008] (CBAUD): Do not allow.
12810 [POSIX || POSIX2008] (DEFECHO): Likewise.
12811 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12812 [POSIX || POSIX2008] (ECHOKE): Likewise.
12813 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12814 [POSIX || POSIX2008] (EXTA): Likewise.
12815 [POSIX || POSIX2008] (EXTB): Likewise.
12816 [POSIX || POSIX2008] (FLUSHO): Likewise.
12817 [POSIX || POSIX2008] (LOBLK): Likewise.
12818 [POSIX || POSIX2008] (PENDIN): Likewise.
12819 [POSIX || POSIX2008] (SWTCH): Likewise.
12820 [POSIX || POSIX2008] (VDISCARD): Likewise.
12821 [POSIX || POSIX2008] (VDSUSP): Likewise.
12822 [POSIX || POSIX2008] (VLNEXT): Likewise.
12823 [POSIX || POSIX2008] (VREPRINT): Likewise.
12824 [POSIX || POSIX2008] (VSTATUS): Likewise.
12825 [POSIX || POSIX2008] (VWERASE): Likewise.
12826 (B*): Change to B[0123456789]*.
12827 * conform/data/time.h-data [POSIX || UNIX98]
12828 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12829 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12830 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12831 [POSIX] (tm_*): Do not allow.
12833 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12835 * Makefile (install): Don't set LANGUAGE.
12836 * Makefile.in (install): Likewise.
12837 * assert/Makefile (test-assert-ENV): Remove variable.
12838 (test-assert-perr-ENV): Likewise.
12839 * elf/Makefile (neededtest4-ENV): Likewise.
12840 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12841 [$(cross-compiling) = no]: Don't set LANGUAGE.
12842 * io/ftwtest-sh (LANG): Remove variable.
12843 * libio/Makefile (tst-widetext-ENV): Likewise.
12844 * manual/install.texi (Running make install): Don't refer to
12845 environment settings for make install.
12846 * INSTALL: Regenerated.
12847 * nptl/tst-tls6.sh: Don't set LANG.
12848 * posix/globtest.sh (LANG): Remove variable.
12849 * string/Makefile (tester-ENV): Likewise.
12850 (inl-tester-ENV): Likewise.
12851 (noinl-tester-ENV): Likewise.
12852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12853 [$(cross-compiling) = no]: Don't set LANGUAGE.
12854 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12855 without explicit environment settings.
12857 2014-06-06 Roland McGrath <roland@hack.frob.com>
12859 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12860 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12861 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12862 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12864 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12866 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12867 other files in the crypt directory.
12868 * crypt/crypt.c: Remove duplicate includes.
12869 * crypt/crypt-entry.c: Likewise.
12870 * crypt/crypt_util.c: Likewise.
12872 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12874 * Makeconfig (run-program-env): New variable.
12875 (run-program-prefix-before-env): Likewise.
12876 (run-program-prefix-after-env): Likewise.
12877 (run-program-prefix): Define in terms of new variables.
12878 (built-program-cmd-before-env): New variable.
12879 (built-program-cmd-after-env): Likewise.
12880 (built-program-cmd): Define in terms of new variables.
12881 (test-program-prefix-before-env): New variable.
12882 (test-program-prefix-after-env): Likewise.
12883 (test-program-prefix): Define in terms of new variables.
12884 (test-program-cmd-before-env): New variable.
12885 (test-program-cmd-after-env): Likewise.
12886 (test-program-cmd): Define in terms of new variables.
12887 * Rules (make-test-out): Use $(run-program-env).
12888 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12889 (help): Do not mention environment variables. Mention
12890 --timeoutfactor option.
12891 (timeoutfactor): New variable.
12892 (blacklist_exports): Remove function.
12893 (exports): Remove variable.
12894 (command): Do not include ${exports}.
12895 * manual/install.texi (Configuring and compiling): Do not mention
12896 test wrappers preserving environment variables. Mention that last
12897 assignment to a variable must take precedence.
12898 * INSTALL: Regenerated.
12899 * benchtests/Makefile (run-bench): Use $(run-program-env).
12900 * catgets/Makefile ($(objpfx)test1.cat): Use
12901 $(built-program-cmd-before-env), $(run-program-env) and
12902 $(built-program-cmd-after-env).
12903 ($(objpfx)test2.cat): Do not specify environment variables
12905 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12906 $(run-program-env) and $(built-program-cmd-after-env).
12907 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12908 $(run-program-env) and $(test-program-cmd-after-env).
12909 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12911 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12912 run_program_env and test_program_cmd_after_env arguments.
12913 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12914 * elf/tst-pathopt.sh: Use run_program_env argument.
12915 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12916 $(test-wrapper-env) and $(run-program-env).
12917 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12918 run_program_env arguments.
12919 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12920 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12921 $(test-program-prefix-before-env), $(run-program-env) and
12922 $(test-program-prefix-after-env).
12923 ($(objpfx)tst-gettext2.out): Likewise.
12924 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12925 run_program_env and test_program_prefix_after_env arguments.
12926 * intl/tst-gettext2.sh: Likewise.
12927 * intl/tst-gettext4.sh: Do not set environment variables
12929 * intl/tst-gettext6.sh: Likewise.
12930 * intl/tst-translit.sh: Likewise.
12931 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12932 $(test-program-prefix-before-env), $(run-program-env) and
12933 $(test-program-prefix-after-env).
12934 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12935 run_program_env and test_program_prefix_after_env arguments.
12936 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12937 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12938 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12939 explicitly with each use of ${test_wrapper_env}.
12940 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12941 $(test-program-prefix-before-env), $(run-program-env) and
12942 $(test-program-prefix-after-env).
12943 * posix/tst-getconf.sh: Do not set environment variables
12945 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12946 run_program_env and test_program_prefix_after_env arguments.
12947 * stdio-common/tst-printf.sh: Do not set environment variables
12949 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12950 $(test-program-prefix-before-env), $(run-program-env) and
12951 $(test-program-prefix-after-env).
12952 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12953 run_program_env and test_program_prefix_after_env arguments.
12954 Split $test calls into $test_pre and $test.
12955 * timezone/Makefile (build-testdata): Use
12956 $(built-program-cmd-before-env), $(run-program-env) and
12957 $(built-program-cmd-after-env).
12959 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12961 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12962 strlen for non SHARED builds.
12964 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12966 * nptl/allocatestack.c (check_list): Inlined function...
12967 (__reclaim_stacks): ... here.
12969 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12972 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12975 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12977 * Rules (make-test-out): Include
12978 LOCPATH=$(common-objpfx)localedata in default environment.
12979 * debug/Makefile (tst-chk1-ENV): Remove variable.
12980 (tst-chk2-ENV): Likewise.
12981 (tst-chk3-ENV): Likewise.
12982 (tst-chk4-ENV): Likewise.
12983 (tst-chk5-ENV): Likewise.
12984 (tst-chk6-ENV): Likewise.
12985 (tst-lfschk1-ENV): Likewise.
12986 (tst-lfschk2-ENV): Likewise.
12987 (tst-lfschk3-ENV): Likewise.
12988 (tst-lfschk4-ENV): Likewise.
12989 (tst-lfschk5-ENV): Likewise.
12990 (tst-lfschk6-ENV): Likewise.
12991 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12992 (tst-iconv7-ENV): Likewise.
12993 * intl/Makefile (LOCPATH-ENV): Likewise.
12994 (tst-codeset-ENV): Likewise.
12995 (tst-gettext3-ENV): Likewise.
12996 (tst-gettext5-ENV): Likewise.
12997 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12998 (tst-fopenloc-ENV): Likewise.
12999 (tst-fgetws-ENV): Remove variable.
13000 (tst-ungetwc1-ENV): Likewise.
13001 (tst-ungetwc2-ENV): Likewise.
13002 (bug-ungetwc2-ENV): Likewise.
13003 (tst-swscanf-ENV): Likewise.
13004 (bug-ftell-ENV): Likewise.
13005 (tst-fgetwc-ENV): Likewise.
13006 (tst-fseek-ENV): Likewise.
13007 (tst-ftell-partial-wide-ENV): Likewise.
13008 (tst-ftell-active-handler-ENV): Likewise.
13009 (tst-ftell-append-ENV): Likewise.
13010 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13011 (tst-regexloc-ENV): Likewise.
13012 (bug-regex1-ENV): Likewise.
13013 (tst-regex-ENV): Likewise.
13014 (tst-regex2-ENV): Likewise.
13015 (bug-regex5-ENV): Likewise.
13016 (bug-regex6-ENV): Likewise.
13017 (bug-regex17-ENV): Likewise.
13018 (bug-regex18-ENV): Likewise.
13019 (bug-regex19-ENV): Likewise.
13020 (bug-regex20-ENV): Likewise.
13021 (bug-regex22-ENV): Likewise.
13022 (bug-regex23-ENV): Likewise.
13023 (bug-regex25-ENV): Likewise.
13024 (bug-regex26-ENV): Likewise.
13025 (bug-regex30-ENV): Likewise.
13026 (bug-regex32-ENV): Likewise.
13027 (bug-regex33-ENV): Likewise.
13028 (bug-regex34-ENV): Likewise.
13029 (bug-regex35-ENV): Likewise.
13030 (tst-rxspencer-ENV): Likewise.
13031 (tst-rxspencer-no-utf8-ENV): Likewise.
13032 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13033 (tst-sscanf-ENV): Likewise.
13034 (tst-swprintf-ENV): Likewise.
13035 (tst-swscanf-ENV): Likewise.
13036 (test-vfprintf-ENV): Likewise.
13037 (scanf13-ENV): Likewise.
13038 (bug14-ENV): Likewise.
13039 (tst-grouping-ENV): Likewise.
13040 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13041 (tst-strtod3-ENV): Likewise.
13042 (tst-strtod4-ENV): Likewise.
13043 (tst-strtod5-ENV): Likewise.
13044 (testmb2-ENV): Likewise./
13045 * string/Makefile (tst-strxfrm-ENV): Likewise.
13046 (tst-strxfrm2-ENV): Likewise.
13047 (bug-strcoll1-ENV): Likewise.
13048 (test-strcasecmp-ENV): Likewise.
13049 (test-strncasecmp-ENV): Likewise.
13050 * time/Makefile (tst-strptime-ENV): Likewise.
13051 (tst-ftime_l-ENV): Likewise.
13052 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13053 (tst-mbrtowc-ENV): Likewise.
13054 (tst-wcrtomb-ENV): Likewise.
13055 (tst-mbrtowc2-ENV): Likewise.
13056 (tst-c16c32-1-ENV): Likewise.
13057 (tst-mbsnrtowcs-ENV): Likewise.
13059 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13061 * manual/resource.texi (How to get information about the memory
13062 subsystem?): Fix typo.
13063 Reported by Peon de la Parra Ivan <peon@keba.com>
13065 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13068 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13069 (pthread_spin_lock): Branch out of spin loop to proper location.
13070 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13071 (pthread_spin_lock): Likewise.
13073 * nptl/tst-spin4.c: New test.
13074 * nptl/Makefile (tests): Add tst-spin4.
13076 2014-06-03 Andreas Schwab <schwab@suse.de>
13079 * resolv/res_send.c (send_dg): Reload file descriptor after
13082 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13084 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13086 2014-06-03 Richard Henderson <rth@redhat.com>
13088 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13089 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13090 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13091 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13092 in the SAVE_PID block.
13093 (__libc_vfork): New alias.
13094 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13096 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13097 child in registers, not on the stack. Remove RESET_PID conditionals.
13098 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13100 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13102 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13104 2014-06-03 Wilco <wdijkstr@arm.com>
13106 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13107 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13108 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13109 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13110 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13113 2014-06-03 Wilco <wdijkstr@arm.com>
13115 * sysdeps/aarch64/fpu/math_private.h
13116 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13117 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13118 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13119 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13122 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13124 * crypt/crypt-private.h: Include ufc-crypt.h.
13125 (__b64_from_24bit): Declare extern.
13126 * crypt/crypt_util.c(__b64_from_24bit): New function.
13127 (b64t): New static const variable.
13128 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13129 (b64t): Remove variable.
13130 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13131 * crypt/sha256-crypt.c: Include crypt-private.h.
13132 (b64t): Remove variable.
13133 (__sha256_crypt_r): Remove b64_from_24bit and replace
13134 with __b64_from_24bit.
13135 * crypt/sha512-crypt.c: Likewise.
13137 2014-06-02 Roland McGrath <roland@hack.frob.com>
13139 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13140 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13141 Label the code __libc_vfork rather than __vfork.
13142 [!NOT_IN_libc] (vfork): Define as weak alias.
13143 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13144 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13145 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13147 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * malloc/malloc.c (malloc_info): Fix format specifier for
13152 2014-06-02 Wilco <wdijkstr@arm.com>
13154 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13157 2014-06-02 Wilco <wdijkstr@arm.com>
13160 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13161 Rewrite to reduce FPCR/FPSR accesses.
13163 2014-06-01 David S. Miller <davem@davemloft.net>
13165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13167 2014-05-31 David S. Miller <davem@davemloft.net>
13169 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13170 to occur in round to nearest mode when |x| >= 2.0
13172 2014-05-30 Richard Henderson <rth@twiddle.net>
13174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13175 (PSEUDO_RET_NOERRNO): Remove.
13176 (ret): Don't redefine.
13177 (ret_NOERRNO): Define in terms of ret.
13178 (ret_ERRVAL): Likewise.
13180 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13181 use of PSEUDO_RET; perform the error check directly.
13183 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13185 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13188 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13190 * malloc/malloc (malloc_info): Fix formatting.
13192 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13193 Roland McGrath <roland@hack.frob.com>
13195 * malloc/malloc (malloc_info): Also print mmapped statistics.
13197 2014-05-30 Roland McGrath <roland@hack.frob.com>
13199 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13200 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13202 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13204 * malloc/malloc.c (malloc_info): Inline mi_arena.
13206 2014-05-29 Richard Henderson <rth@twiddle.net>
13208 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13209 Remove comma before expanding ASM_ARGS_##nr.
13210 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13211 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13213 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13214 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13215 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13216 (ASM_ARGS_1): Add leading comma.
13218 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13219 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13220 to __errno_location.
13221 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13222 Remove the expected plt for __errno_location.
13224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13225 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13228 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13229 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13230 it and break it down.
13231 (DOCARGS_0, DOCARGS_1): Do nothing.
13232 (DOCARGS_2): Update to store into the new stack frame.
13233 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13234 (UNDOCARGS_1): Update to restore from the new stack frame.
13235 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13236 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13238 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13239 (SINGLE_THREAD_P): New parameter for result regno.
13240 (PSEUDO): Update to match; use cbz instead of beq.
13242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13243 Use ENTRY to define the _nocancel entry point. Share the syscall
13244 and syscall error check paths with the cancel path.
13247 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13248 whitespace; tabs before and after asm mnemonics.
13250 2014-05-29 Eric Wong <normalperson@yhbt.net>
13253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13254 Call fstat64 or stat64 internally, depending on arguments passed.
13255 Replace stat buffer argument with file descriptor argument.
13256 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13257 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13258 Pass fd to __internal_statvfs instead of calling fstat64.
13259 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13260 Pass fd to __internal_statvfs64 instead of calling fstat64.
13261 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13262 Pass -1 to __internal_statvfs instead of calling stat64.
13263 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13264 Pass -1 to __internal_statvfs64 instead of calling stat64.
13266 2014-05-28 Roland McGrath <roland@hack.frob.com>
13268 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13269 that was previously under [RESET_PID].
13270 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13272 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13273 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13275 2014-05-27 Roland McGrath <roland@hack.frob.com>
13277 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13279 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13280 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13282 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13284 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13286 2014-05-27 Andreas Schwab <schwab@suse.de>
13288 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13290 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13291 * elf/rtld.c (init_tls, dl_main): Likewise.
13292 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13293 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13294 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13295 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13296 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13297 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13298 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13299 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13300 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13301 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13302 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13303 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13304 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13305 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13306 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13307 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13308 * sysdeps/generic/tls.h: Update description.
13310 2014-05-27 Will Newton <will.newton@linaro.org>
13313 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13314 and restore r2 rather than just restoring.
13316 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13319 * libio/tst-ftell-append.c: New test case.
13320 * libio/Makefile (tests): Add test case.
13321 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13323 * libio/wfileops.c (do_ftell_wide): Likewise.
13325 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13329 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13333 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13334 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13336 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13337 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13338 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13345 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13346 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13348 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13351 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13354 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13356 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13358 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13360 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13362 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13363 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13365 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13367 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13370 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13388 conditional [RESET_PID].
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13397 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13398 (__libc_vfork): New strong alias.
13399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13401 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13406 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13407 (__libc_vfork): New strong alias.
13408 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13413 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13415 * malloc/malloc.c (mi_arena): New function.
13416 (malloc_info): Remove nested function mi_arena. Call non-nosted
13419 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13421 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13423 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13424 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13425 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13426 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13427 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13428 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13429 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13431 2014-05-26 Andreas Schwab <schwab@suse.de>
13434 * locale/programs/repertoire.c (repertoire_read): Add slash
13435 between I18NPATH element and file name.
13436 * locale/programs/locfile.c (locfile_read): Likewise.
13438 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13440 * nptl/pthread_mutexattr_settype.c
13441 (__pthread_mutexattr_settype):
13442 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13444 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13446 * nptl/tst-mutex5 (do_test):
13447 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13449 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13451 * benchtests/README: Document 'init' directive.
13452 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13454 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13455 (parse_file): Recognize 'init' directive.
13457 2014-05-26 Kyle McMartin <kyle@redhat.com>
13460 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13461 alignment of struct pthread.
13463 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13466 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13467 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13468 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13469 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13471 2014-05-25 Richard Henderson <rth@twiddle.net>
13473 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13474 (SINGLE_THREAD_P_PIC): Remove.
13475 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13476 (SINGLE_THREAD_P_PIC): Remove.
13478 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13479 branch to syscall error ...
13480 (PSEUDO): ... here.
13481 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13482 from __local_syscall_error to .Lsyscall_error.
13483 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13484 (SYSCALL_ERROR): Update label name.
13486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13487 Do not use DOARGS/UNDOARGS.
13488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13489 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13490 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13491 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13492 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13497 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13498 define if !NOT_IN_libc.
13499 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13500 define with non-default symbol versions.
13502 2014-05-23 Richard Henderson <rth@twiddle.net>
13504 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13505 (vfork, __vfork): Define via compat_symbol.
13507 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13508 [!HAVE_IFUNC] (vfork_compat): Remove.
13509 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13511 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13514 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13515 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13518 2014-05-23 Richard Henderson <rth@twiddle.net>
13520 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13521 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13522 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13523 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13525 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13526 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13527 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13528 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13529 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13530 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13531 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13532 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13533 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13534 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13535 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13536 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13537 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13538 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13539 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13540 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13541 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13542 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13543 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13544 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13545 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13546 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13548 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13549 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13550 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13551 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13552 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13553 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13554 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13555 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13556 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13557 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13558 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13559 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13560 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13561 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13562 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13563 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13564 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13565 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13566 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13567 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13568 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13569 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13570 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13571 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13572 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13573 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13574 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13575 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13576 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13577 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13578 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13579 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13580 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13582 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13583 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13584 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13585 before exiting on error.
13586 (__libc_vfork): New strong alias.
13587 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13588 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13590 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13591 that was previously under [RESET_PID].
13592 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13594 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13596 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13599 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13600 value when x - 1 is zero.
13601 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13602 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13603 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13604 0.0L for an argument of 1.0L.
13605 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13607 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13608 value when x - 1 is zero.
13609 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13610 * sysdeps/i386/fpu/libm-test-ulps: Update.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13613 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13615 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13616 alphasort and versionsort.
13618 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13620 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13622 [copysignf]: Likewise.
13624 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13626 * crypt/md5-crypt.c: Fix formatting.
13628 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13630 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13631 (b64_from_24bit): New function.
13633 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13636 libc_hidden_builtin_def to ifunc.
13637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13638 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13640 2014-05-21 Roland McGrath <roland@hack.frob.com>
13642 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13643 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13645 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13647 * nscd/Depend (linuxthreads): Remove.
13649 * resolv/Depend (linuxthreads): Remove.
13650 * rt/Depend (linuxthreads): Remove.
13652 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13653 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13654 $(common-objpfx)elf/.
13655 (link-libc-before-gnulib): Likewise.
13656 (elfobjdir): Remove variable.
13657 * Makefile (install): Use $(elf-objpfx) instead of
13658 $(common-objpfx)elf/.
13659 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13661 (link-libc-deps): Likewise.
13662 ($(common-objpfx)libc.so): Likewise.
13663 ($(common-objpfx)linkobj/libc.so): Likewise.
13664 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13665 instead of $(common-objpfx)elf/.
13666 (symbolic-link-list): Likewise.
13667 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13668 [$(cross-compiling) = no]: Likewise.
13669 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13671 (static-gnulib-arch): Likewise.
13672 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13673 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13674 $(common-objpfx)elf/.
13676 2014-05-21 Richard Henderson <rth@redhat.com>
13678 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13679 (SINGLE_THREAD_P): Use the correct width load. Fold
13680 into the ldr offset.
13682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13683 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13685 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13687 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13688 (libgcc_s_resume): Use __attribute_used__.
13689 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13692 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13694 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13695 optimization when used with float constants.
13697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13699 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13702 * locale/nl_langinfo_l.c: Make direct reference to every
13703 _nl_current_CATEGORY symbol.
13704 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13705 (tests-static): Add tst-langinfo-static.
13706 (tests-special): Add tst-langinfo-static.out.
13707 ($(objpfx)tst-langinfo.out): Redirect output.
13708 ($(objpfx)tst-langinfo-static.out): New.
13709 * localedata/tst-langinfo.sh: Send output to stdout.
13710 * localedata/tst-langinfo-static.c: New file.
13713 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13714 when the shift amount is modulo the limb size.
13716 2014-05-20 Richard Henderson <rth@redhat.com>
13719 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13720 Change type of sa_flags from unsigned int to int.
13723 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13725 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13727 2014-05-20 Will Newton <will.newton@linaro.org>
13729 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13730 Test the return value of the system call in the nocancel case.
13732 2014-05-20 Will Newton <will.newton@linaro.org>
13733 Yvan Roux <yvan.roux@linaro.org>
13735 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13736 #include of asm/ptrace.h.
13737 (PTRACE_GET_THREAD_AREA): Remove #undef.
13738 (PTRACE_GETHBPREGS): Likewise.
13739 (PTRACE_SETHBPREGS): Likewise.
13740 (struct user_regs_struct): New structure.
13741 (struct user_fpsimd_struct): New structure.
13742 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13743 #include of asm/ptrace.h and second #include of sys/user.h.
13744 (PTRACE_GET_THREAD_AREA): Remove #undef.
13745 (PTRACE_GETHBPREGS): Likewise.
13746 (PTRACE_SETHBPREGS): Likewise.
13747 (ELF_NGREG): Use new struct user_regs_struct.
13748 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13750 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13755 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13759 membar to avoid block loads/stores to overlap previous stores.
13761 2014-05-17 Richard Henderson <rth@redhat.com>
13763 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13764 Create the __##syscall_name##_nocancel entry point.
13765 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13766 Remove; let the sysdep-cancel.h code create it.
13768 2014-05-17 David S. Miller <davem@davemloft.net>
13770 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13771 Protect with __USE_GNU.
13772 (TIOCSET_TEMPT): Likewise.
13773 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13774 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13775 these are already provided in bits/ioctl-types.h
13777 2014-05-16 Roland McGrath <roland@hack.frob.com>
13779 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13780 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13782 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13783 Use wait4 regardless of [__NR_waitpid].
13785 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13788 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13789 (_FP_NANSIGN_Q): Set the quiet bit.
13791 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13793 * benchtests/Makefile
13794 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13795 not $(common-objpfx)math/libm.so.
13796 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13797 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13798 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13799 $(common-objpfx)dlfcn/libdl.so.
13800 ($(objpfx)tst-audit8): Depend on $(libm), not
13801 $(common-objpfx)math/libm.so.
13802 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13803 not $(common-objpfx)dlfcn/libdl.so.
13805 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13806 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13807 [$(build-shared) = yes].
13808 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13809 $(common-objpfx)nptl/libpthread.so.
13810 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13811 $(common-objpfx)math/libm.so$(libm.so-version) or
13812 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13813 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13814 $(common-objpfx)dlfcn/libdl.so.
13815 * setjmp/Makefile (link-libm): Remove variable.
13816 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13817 * stdio-common/Makefile (link-libm): Remove variable.
13818 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13819 * stdlib/Makefile (link-libm): Remove variable.
13820 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13821 ($(objpfx)tst-strtod-round): Likewise.
13822 ($(objpfx)tst-tininess): Likewise.
13823 ($(objpfx)tst-strtod-underflow): Likewise.
13824 ($(objpfx)tst-strtod6): Likewise.
13825 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13826 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13827 $(common-objpfx)dlfcn/libdl.so.
13829 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13831 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13832 BSD terminal modes definitions.
13834 2014-05-16 Roland McGrath <roland@hack.frob.com>
13836 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13837 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13839 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13840 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13841 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13842 Don't do #include_next.
13843 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13844 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13845 Don't do #include_next.
13846 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13847 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13848 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13849 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13851 2014-05-16 Allan McRae <allan@archlinux.org>
13853 * po/sv.po: Update Swedish translation from translation project.
13855 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13858 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13862 errno if the TIOCGPTN ioctl fails with an error different than
13864 * login/tst-ptsname.c: New file.
13865 * login/Makefile (tests): Add tst-ptsname.
13868 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13871 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13875 herrno to return EAI_AGAIN.
13877 2014-05-14 Roland McGrath <roland@hack.frob.com>
13879 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13880 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13881 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13882 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13883 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13884 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13885 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13888 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13889 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13894 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13896 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13897 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13898 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13904 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13905 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13907 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13908 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13910 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13912 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13915 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13917 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13919 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13921 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13923 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13925 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13927 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13929 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13931 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13933 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13935 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13937 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13939 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13941 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13944 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13946 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13948 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13950 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13952 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13954 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13956 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13958 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13960 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13962 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13965 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13967 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13969 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13970 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13971 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13972 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13973 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13975 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13976 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13977 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13978 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13979 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13980 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13981 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13982 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13983 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13985 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13986 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13987 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13988 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13989 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13990 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13991 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13993 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13994 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13995 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13997 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13998 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13999 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14001 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14002 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14004 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14005 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14006 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14007 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14008 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14011 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14012 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14014 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14015 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14017 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14018 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14020 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14021 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14022 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14025 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14026 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14027 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14029 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14031 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14034 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14035 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14037 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14039 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14040 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14041 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14042 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14043 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14049 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14050 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14051 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14052 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14053 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14057 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14059 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14060 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14062 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14063 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14065 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14066 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14067 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14068 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14070 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14071 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14072 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14073 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14074 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14075 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14076 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14079 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14080 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14082 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14084 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14085 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14086 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14087 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14088 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14090 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14094 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14095 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14096 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14097 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14098 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14099 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14100 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14101 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14102 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14103 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14106 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14108 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14109 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14111 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14114 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14115 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14116 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14117 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14118 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14119 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14121 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14122 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14123 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14124 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14125 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14126 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14127 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14130 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14131 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14133 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14135 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14136 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14137 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14138 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14139 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14141 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14145 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14147 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14148 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14149 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14150 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14151 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14152 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14153 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14154 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14155 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14157 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14158 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14160 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14161 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14163 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14164 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14165 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14166 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14167 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14168 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14169 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14170 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14171 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14172 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14173 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14174 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14175 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14176 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14177 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14178 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14179 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14180 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14182 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14184 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14185 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14187 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14188 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14189 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14190 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14191 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14192 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14194 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14196 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14197 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14199 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14201 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14203 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14205 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14206 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14207 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14208 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14209 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14210 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14211 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14212 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14213 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14214 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14215 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14217 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14218 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14219 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14220 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14221 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14223 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14224 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14225 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14226 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14227 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14228 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14229 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14230 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14231 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14232 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14237 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14238 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14239 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14240 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14241 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14242 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14243 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14244 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14245 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14246 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14247 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14248 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14249 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14250 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14280 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14285 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14288 that was previously under [RESET_PID].
14289 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14290 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14291 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14293 * sysdeps/i386/nptl/Implies: New file.
14294 * sysdeps/x86_64/nptl/Implies: New file.
14295 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14296 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14297 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14298 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14300 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14301 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14302 (__libc_vfork): New strong alias.
14303 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14304 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14306 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14307 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14308 (__libc_vfork): New strong alias.
14309 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14310 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14312 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14313 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14314 (__libc_vfork): New strong alias.
14315 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14316 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14317 * nptl/pt-vfork.c: New file.
14318 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14319 (libpthread: GLIBC_2.20): New version set (empty).
14321 2014-05-14 Will Newton <will.newton@linaro.org>
14323 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14326 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14329 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14330 arguments with exponent 65 or above.
14331 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14332 arguments 0x1p113L or above.
14333 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14334 to arguments 0x1p107L or above.
14335 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14336 positive arguments with exponent 65 or above.
14337 * math/auto-libm-test-in: Add more tests of log1p.
14338 * math/auto-libm-test-out: Regenerated.
14341 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14342 non-finite arguments is +0.
14343 * math/s_cacosf.c (__cacosf): Likewise.
14344 * math/s_cacosl.c (__cacosl): Likewise.
14345 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14346 * sysdeps/i386/fpu/libm-test-ulps: Update.
14347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14350 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14352 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14353 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14355 for explicit high bit of mantissa when testing for argument equal
14357 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14358 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14362 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14363 (__erf): Scale by 16 instead of 8 in potentially underflowing
14364 case. Ensure exception if result actually underflows.
14365 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14366 (__erff): Scale by 16 instead of 8 in potentially underflowing
14367 case. Ensure exception if result actually underflows.
14368 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14369 (efx8): Remove variable.
14370 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14371 case. Ensure exception if result actually underflows.
14372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14373 (efx8): Remove variable.
14374 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14375 case. Ensure exception if result actually underflows.
14376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14377 (efx8): Remove variable.
14378 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14379 case. Ensure exception if result actually underflows.
14380 * math/auto-libm-test-in: Add more tests of erf.
14381 * math/auto-libm-test-out: Regenerated.
14383 2014-05-14 Andreas Schwab <schwab@suse.de>
14385 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14386 Remove code conditionalized on USE___THREAD.
14388 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14389 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14392 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14395 Define unconditionally.
14396 (__ASSUME_O_CLOEXEC): Likewise.
14397 (__ASSUME_SOCK_CLOEXEC): Likewise.
14398 (__ASSUME_IN_NONBLOCK): Likewise.
14399 (__ASSUME_PIPE2): Likewise.
14400 (__ASSUME_EVENTFD2): Likewise.
14401 (__ASSUME_SIGNALFD4): Likewise.
14402 (__ASSUME_DUP3): Likewise.
14403 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14404 (__ASSUME_DUP3): Do not define.
14405 (__ASSUME_EVENTFD2): Likewise.
14406 (__ASSUME_IN_NONBLOCK): Likewise.
14407 (__ASSUME_O_CLOEXEC): Likewise.
14408 (__ASSUME_PIPE2): Likewise.
14409 (__ASSUME_SIGNALFD4): Likewise.
14410 (__ASSUME_SOCK_CLOEXEC): Likewise.
14411 (__ASSUME_UTIMES): Undefine.
14412 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14413 (__ASSUME_UTIMES): Do not define.
14414 (__ASSUME_O_CLOEXEC): Likewise.
14415 (__ASSUME_SOCK_CLOEXEC): Likewise.
14416 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14417 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14419 (__ASSUME_PIPE2): Likewise.
14420 (__ASSUME_EVENTFD2): Likewise.
14421 (__ASSUME_SIGNALFD4): Likewise.
14422 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14423 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14425 (__ASSUME_EVENTFD2): Likewise.
14426 (__ASSUME_SIGNALFD4): Likewise.
14427 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14428 (__ASSUME_32BITUIDS): Likewise.
14429 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14430 (__ASSUME_IPC64): Likewise.
14431 (__ASSUME_ST_INO_64_BIT): Likewise.
14432 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14433 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14434 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14435 (__ASSUME_UTIMES): Do not define.
14436 (__ASSUME_PSELECT): Likewise.
14437 (__ASSUME_PPOLL): Likewise.
14438 (__ASSUME_O_CLOEXEC): Likewise.
14439 (__ASSUME_SOCK_CLOEXEC): Likewise.
14440 (__ASSUME_IN_NONBLOCK): Likewise.
14441 (__ASSUME_PIPE2): Likewise.
14442 (__ASSUME_EVENTFD2): Likewise.
14443 (__ASSUME_SIGNALFD4): Likewise.
14444 (__ASSUME_DUP3): Likewise.
14445 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14446 (__ASSUME_UTIMES): Likewise.
14447 (__ASSUME_O_CLOEXEC): Likewise.
14448 (__ASSUME_SOCK_CLOEXEC): Likewise.
14449 (__ASSUME_IN_NONBLOCK): Likewise.
14450 (__ASSUME_PIPE2): Likewise.
14451 (__ASSUME_EVENTFD2): Likewise.
14452 (__ASSUME_SIGNALFD4): Likewise.
14453 (__ASSUME_DUP3): Likewise.
14454 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14455 (__ASSUME_UTIMES): Likewise.
14456 (__ASSUME_O_CLOEXEC): Likewise.
14457 (__ASSUME_SOCK_CLOEXEC): Likewise.
14458 (__ASSUME_IN_NONBLOCK): Likewise.
14459 (__ASSUME_PIPE2): Likewise.
14460 (__ASSUME_EVENTFD2): Likewise.
14461 (__ASSUME_SIGNALFD4): Likewise.
14462 (__ASSUME_DUP3): Likewise.
14463 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14465 (__ASSUME_UTIMES): Likewise.
14466 (__ASSUME_EVENTFD2): Likewise.
14467 (__ASSUME_SIGNALFD4): Likewise.
14468 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14469 (__ASSUME_O_CLOEXEC): Likewise.
14470 (__ASSUME_SOCK_CLOEXEC): Likewise.
14471 (__ASSUME_IN_NONBLOCK): Likewise.
14472 (__ASSUME_PIPE2): Likewise.
14473 (__ASSUME_EVENTFD2): Likewise.
14474 (__ASSUME_SIGNALFD4): Likewise.
14475 (__ASSUME_DUP3): Likewise.
14476 (__ASSUME_UTIMES): Undefine.
14478 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14479 feclearexcept. Remove symbol versioning code.
14480 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14481 symbol versioning code.
14482 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14483 symbol versioning code.
14484 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14485 feupdateenv. Remove symbol versioning code.
14486 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14487 fegetexceptflag. Remove symbol versioning code.
14488 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14489 fesetexceptflag. Remove symbol versioning code.
14490 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14491 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14492 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14493 (__posix_fadvise64_l32): Remove prototype.
14494 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14497 2014-05-13 Roland McGrath <roland@hack.frob.com>
14499 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14500 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14501 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14502 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14504 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14506 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14507 current working directory
14509 2014-05-13 Roland McGrath <roland@hack.frob.com>
14511 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14512 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14513 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14514 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14515 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14516 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14517 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14518 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14519 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14520 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14521 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14522 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14523 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14524 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14525 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14526 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14527 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14528 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14529 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14530 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14531 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14532 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14533 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14534 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14535 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14536 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14537 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14538 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14539 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14540 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14541 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14542 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14543 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14544 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14545 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14546 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14547 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14548 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14549 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14550 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14551 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14552 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14554 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14555 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14557 * sysdeps/unix/sysv/linux/arm/Makefile
14558 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14559 Add rt-aeabi_unwind_cpp_pr1.
14560 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14561 Add nptl-aeabi_unwind_cpp_pr1.
14562 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14563 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14564 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14565 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14566 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14567 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14569 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14570 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14571 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14572 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14574 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14575 Deconditionalize the code that was previously under [RESET_PID].
14576 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14578 * sysdeps/generic/exit-thread.h: New file.
14579 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14580 * include/unistd.h (__exit_thread): Remove declaration.
14581 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14582 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14583 * csu/libc-start.c: Include <exit-thread.h>.
14584 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14585 * nptl/pthread_create.c: Include <exit-thread.h>.
14586 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14587 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14588 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14589 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14590 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14591 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14592 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14593 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14594 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14595 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14596 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14597 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14598 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14599 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14600 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14601 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14602 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14604 2014-05-13 Andreas Schwab <schwab@suse.de>
14606 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14608 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14610 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14611 (__ASSUME_UTIMES): Do not condition on kernel version.
14612 (__ASSUME_PSELECT): Define unconditionally.
14613 (__ASSUME_PPOLL): Likewise.
14614 (__ASSUME_ATFCTS): Likewise.
14615 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14616 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14617 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14618 (__ASSUME_UTIMENSAT): Define unconditionally.
14619 (__ASSUME_PRIVATE_FUTEX): Likewise.
14620 (__ASSUME_FALLOCATE): Likewise.
14621 (__ASSUME_O_CLOEXEC): Likewise.
14622 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14623 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14624 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14625 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14626 (__ASSUME_IN_NONBLOCK): Likewise.
14627 (__ASSUME_PIPE2): Likewise.
14628 (__ASSUME_EVENTFD2): Likewise.
14629 (__ASSUME_SIGNALFD4): Likewise.
14630 (__ASSUME_DUP3): Likewise.
14631 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14632 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14633 (__ASSUME_AT_RANDOM): Likewise.
14634 (__ASSUME_PREADV): Likewise.
14635 (__ASSUME_PWRITEV): Likewise.
14636 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14637 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14638 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14639 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14640 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14641 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14642 (__ASSUME_O_CLOEXEC): Define unconditionally.
14643 (__ASSUME_PSELECT): Do not undefine conditionally.
14644 (__ASSUME_PPOLL): Likewise.
14645 (__ASSUME_ATFCTS): Likewise.
14646 (__ASSUME_SET_ROBUST_LIST): Likewise.
14647 (__ASSUME_UTIMENSAT): Likewise.
14648 (__ASSUME_FDATASYNC): Define unconditionally.
14649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14650 (__ASSUME_SIGFRAME_V2): Likewise.
14651 )__ASSUME_EVENTFD2): Likewise.
14652 (__ASSUME_SIGNALFD4): Likewise.
14653 (__ASSUME_PSELECT): Do not undefine conditionally.
14654 (__ASSUME_PPOLL): Likewise.
14655 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14656 (__ASSUME_PSELECT): Define unconditionally.
14657 (__ASSUME_PPOLL): Likewise.
14658 (__ASSUME_O_CLOEXEC): Likewise.
14659 (__ASSUME_SOCK_CLOEXEC): Likewise.
14660 (__ASSUME_IN_NONBLOCK): Likewise.
14661 (__ASSUME_PIPE2): Likewise.
14662 (__ASSUME_EVENTFD2): Likewise.
14663 (__ASSUME_SIGNALFD4): Likewise.
14664 (__ASSUME_DUP3): Likewise.
14665 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14666 (__ASSUME_O_CLOEXEC): Likewise.
14667 (__ASSUME_SOCK_CLOEXEC): Likewise.
14668 (__ASSUME_IN_NONBLOCK): Likewise.
14669 (__ASSUME_PIPE2): Likewise.
14670 (__ASSUME_EVENTFD2): Likewise.
14671 (__ASSUME_SIGNALFD4): Likewise.
14672 (__ASSUME_DUP3): Likewise.
14673 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14674 (__ASSUME_EVENTFD2): Likewise.
14675 (__ASSUME_SIGNALFD4): Likewise.
14676 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14678 2014-05-12 Andreas Schwab <schwab@suse.de>
14681 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14682 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14683 than maximum RPC packet size.
14684 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14685 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14686 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14687 (_nss_nis_getservbyport_r): Likewise.
14689 2014-05-12 Will Newton <will.newton@linaro.org>
14691 * malloc/Makefile (tests): Add tst-mallopt.
14692 * malloc/tst-mallopt.c: New file.
14694 2014-05-09 Roland McGrath <roland@hack.frob.com>
14696 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14697 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14699 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14702 (tst-tlsmod6.so): Likewise.
14704 2014-05-09 Roland McGrath <roland@hack.frob.com>
14706 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14708 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14711 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14712 and <dl-procinfo.h>.
14713 (__fegetenv): Save SSE state in envp->__eip if supported.
14714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14715 envp->__eip if supported.
14716 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14717 and <dl-procinfo.h>.
14718 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14719 __data_offset and __data_selector in environment to 0. Set SSE
14720 state if supported.
14721 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14723 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14725 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14727 2014-05-09 Will Newton <will.newton@linaro.org>
14729 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14730 and libc_relro_required for ARM.
14731 * sysdeps/arm/preconfigure: Regenerate.
14733 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14734 Stefan Liebler <stli@linux.vnet.ibm.com>
14736 * config.make.in (enable-lock-elision): New Makefile variable.
14737 * configure.ac: Likewise.
14738 * configure: Regenerate.
14739 * sysdeps/s390/configure.ac:
14740 Add check for gcc transactions support.
14741 * sysdeps/s390/configure: Regenerate.
14742 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14743 Build elision files if enabled.
14744 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14745 Add lock elision support for s390.
14746 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14747 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14748 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14749 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14750 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14751 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14752 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14754 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14756 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14758 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14760 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14761 (__lll_timedlock_elision, __lll_lock_elision)
14762 (__lll_unlock_elision, __lll_trylock_elision)
14763 (lll_timedlock_elision, lll_lock_elision)
14764 (lll_unlock_elision, lll_trylock_elision): Add.
14765 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14766 (pthread_mutex_t): Add lock elision support for s390.
14768 2014-05-14 Wilco <wdijkstr@arm.com>
14770 * sysdeps/arm/fclrexcpt.c: Cleanup.
14771 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14772 * sysdeps/arm/feenablxcpt.c: Cleanup.
14773 * sysdeps/arm/fegetenv.c: Cleanup.
14774 * sysdeps/arm/fegetexcept.c: Cleanup.
14775 * sysdeps/arm/fegetround.c: Cleanup.
14776 * sysdeps/arm/feholdexcpt.c: Cleanup.
14777 * sysdeps/arm/fesetenv.c: Cleanup.
14778 * sysdeps/arm/fesetround.c: Cleanup.
14779 * sysdeps/arm/feupdateenv.c: Cleanup.
14780 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14781 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14782 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14783 * sysdeps/arm/ftestexcept.c: Cleanup.
14784 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14785 * sysdeps/arm/setfpucw.c: Cleanup.
14787 2014-05-09 Will Newton <will.newton@linaro.org>
14789 * sysdeps/arm/armv7/strcmp.S: New file.
14790 * NEWS: Mention addition of ARMv7 optimized strcmp.
14792 2014-05-08 Roland McGrath <roland@hack.frob.com>
14794 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14795 look for %.ac rather than %.in.
14797 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14798 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14799 * sysdeps/mach/hurd/configure: Regenerated.
14800 * sysdeps/unix/sysv/linux/configure: Regenerated.
14802 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14804 2014-05-07 Steve Ellcey <sellcey@mips.com>
14807 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14811 2014-05-07 Andreas Schwab <schwab@suse.de>
14813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14814 when skipping over non-matching result from nscd.
14816 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14819 * nptl/sockperf.c (client): Check socket return value.
14822 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14823 nscd security class.
14825 2014-05-06 Roland McGrath <roland@hack.frob.com>
14827 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14828 * sysdeps/arm/unwind.h: ... here.
14830 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14833 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14836 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14838 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14839 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14840 multiarch strncpy for PPC64.
14841 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14842 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14844 multiarch optimizations.
14845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14846 (__libc_ifunc_impl_list): Likewise.
14847 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14848 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14849 multiarch stpncpy for PPC64.
14850 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14851 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14853 2014-05-06 Andreas Schwab <schwab@suse.de>
14856 * gmon/mcount.c (_MCOUNT_DECL): Use
14857 atomic_compare_and_exchange_bool_acq instead of
14858 catomic_compare_and_exchange_bool_acq.
14860 2014-05-05 Roland McGrath <roland@hack.frob.com>
14862 * elf/Makefile (others, install-bin): Remove pldd.
14863 (pldd-modules): Variable removed.
14864 ($(objpfx)pldd): Target removed.
14865 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14866 (others, install-bin): Append pldd here.
14867 ($(objpfx)pldd): New target.
14869 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14870 to 0, so the first #if test emitted later doesn't see it undefined.
14871 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14872 * sysdeps/gnu/errlist.c: Regenerated.
14874 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14876 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14877 [libc_hidden_builtin_def]: Define to empty value.
14878 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14879 [libc_hidden_builtin_def]: Likewise.
14880 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14881 [libc_hidden_builtin_def]: Likewise.
14882 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14883 [libc_hidden_builtin_def]: Likewise.
14884 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14885 __redirect_memcpy and define ifunc as default hidden symbol.
14886 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14887 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14889 2014-05-04 Adam Conrad <adconrad@0c3.net>
14891 * locale/iso-4217.def: Reintroduce XDR currency.
14893 2014-05-04 Allan McRae <allan@archlinux.org>
14895 * po/eo.po: Update Esperanto translation from translation project.
14897 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14899 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14900 and FEATURE_INDEX_MAX to 1.
14901 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14903 2014-05-01 Steve Ellcey <sellcey@mips.com>
14905 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14906 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14907 * iconvdata/big5.c (ONE_DIRECTION): Define.
14908 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14909 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14910 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14911 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14912 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14913 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14914 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14915 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14916 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14917 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14918 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14919 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14920 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14921 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14922 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14923 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14924 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14925 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14926 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14927 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14928 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14929 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14930 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14931 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14932 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14933 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14934 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14935 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14936 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14937 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14938 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14939 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14940 * iconvdata/johab.c (ONE_DIRECTION): Define.
14941 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14942 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14943 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14944 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14945 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14946 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14947 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14948 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14949 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14950 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14952 2014-05-01 Roland McGrath <roland@hack.frob.com>
14954 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14955 (_IO_JUMPS_OFFSET): Define to 0.
14957 * nptl/sysdeps/pthread/bits/libc-lock.h
14958 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14959 (__libc_lock_define_initialized_recursive): Always define using
14960 initializer. Modern compilers treat uninitialized (implicit zero) and
14961 explicit zero initializers the same (i.e. put the datum in bss).
14963 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14965 * nscd/nscd-client.h: Include <string.h>.
14967 2014-05-01 David S. Miller <davem@davemloft.net>
14970 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14971 multiple zero bytes exist at the end of a string.
14972 Reported by Aurelien Jarno <aurelien@aurel32.net>
14974 * string/test-strcmp.c (check): Add explicit test for situations where
14975 there are multiple zero bytes after the first.
14977 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14980 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14981 when compiling wprintf.
14982 * stdio-common/tstdiomisc.c (t3): New function.
14985 2014-05-01 Steve Ellcey <sellcey@mips.com>
14987 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14988 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14989 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14990 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14992 2014-05-01 Steve Ellcey <sellcey@mips.com>
14994 * stdlib/longlong.h: Updated from GCC.
14996 2014-05-01 Will Newton <will.newton@linaro.org>
14997 Bernard Ogden <bernie.ogden@linaro.org>
14999 * NEWS: Update fixed bug list.
15002 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15004 2014-04-30 David S. Miller <davem@davemloft.net>
15006 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15007 (libc_feholdexcept_setround_sparc_ctx): New function.
15008 (libc_fesetenv_sparc_ctx): Likewise.
15009 (libc_feupdateenv_sparc_ctx): Likewise.
15010 (libc_feholdsetround_sparc_ctx): Likewise.
15011 (libc_feholdexcept_setround_ctx): Define.
15012 (libc_feholdexcept_setroundf_ctx): Likewise.
15013 (libc_feholdexcept_setroundl_ctx): Likewise.
15014 (libc_fesetenv_ctx): Likewise.
15015 (libc_fesetenvf_ctx): Likewise.
15016 (libc_fesetenvl_ctx): Likewise.
15017 (libc_feupdateenv_ctx): Likewise.
15018 (libc_feupdateenvf_ctx): Likewise.
15019 (libc_feupdateenvl_ctx): Likewise.
15020 (libc_feresetround_ctx): Likewise.
15021 (libc_feresetroundf_ctx): Likewise.
15022 (libc_feresetroundl_ctx): Likewise.
15023 (libc_feholdsetround_ctx): Likewise.
15024 (libc_feholdsetroundf_ctx): Likewise.
15025 (libc_feholdsetroundl_ctx): Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15028 with __USE_GNU instead of XOPEN cpp guards.
15030 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15033 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15034 with XOPEN cpp guards.
15036 2014-04-30 Julian Brown <julian@codesourcery.com>
15039 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15042 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15045 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15047 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15048 * sysdeps/unix/sysv/linux/configure: Regenerated.
15049 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15050 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15051 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15052 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15053 * README: Update reference to required Linux kernel version.
15054 * manual/install.texi (Linux): Update reference to required Linux
15055 kernel headers version.
15056 * INSTALL: Regenerated.
15058 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15060 [POSIX] (limits.h): Likewise.
15061 [POSIX] (math.h): Likewise.
15062 [POSIX] (sys/wait.h): Likewise.
15063 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15065 [POSIX] (stddef.h): Do not allow header inclusion.
15067 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15069 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15071 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15073 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15074 Return immediately after lll_futex_wake.
15076 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15079 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15081 (datahead_init_pos): Call datahead_init_common early.
15082 (datahead_init_neg): Likewise.
15084 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15085 datahead_init_neg): New functions.
15086 * nscd/aicache.c (addhstaiX): Use them.
15087 * nscd/grpcache.c (cache_addgr): Likewise.
15088 * nscd/hstcache.c (cache_addhst): Likewise.
15089 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15090 * nscd/netgroupcache.c (do_notfound): Likewise.
15091 (addgetnetgrentX): Likewise.
15092 (addinnetgrX): Likewise.
15093 * nscd/pwdcache.c (cache_addpw): Likewise.
15094 * nscd/servicescache.c (cache_addserv): Likewise.
15096 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15097 Atsushi Onoe <atsushi@onoe.org>
15102 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15103 one response is valid.
15104 * resolv/res_send.c (send_dg): Check for validity of other
15105 response if the current response is a referral.
15107 2014-04-29 Steve Ellcey <sellcey@mips.com>
15109 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15111 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15114 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15115 Always divide by positive zero when computing -Inf result.
15116 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15117 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15119 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15122 FPSCR if value do not change.
15123 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15124 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15125 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15126 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15127 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15128 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15131 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15133 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15134 * sysdeps/unix/sysv/linux/hppa: Move directory from
15135 ports/systeps/unix/sysv/linux/hppa.
15136 * README: Update listing for hppa-*-linux-gnu.
15138 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15141 * manual/stdio.texi (Hook functions): Fix types of stream hook
15144 * socket/sys/socket.h: Fix typo in comment.
15146 2014-04-28 Wilco <wdijkstr@arm.com>
15148 * sysdeps/arm/fenv_private.h: New file.
15149 * sysdeps/arm/math_private.h: New file.
15150 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15152 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15154 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15156 (La_x86_64_retval): Likewise.
15158 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15160 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15161 fpsr if value didn't change.
15162 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15163 to fpcr if value didn't change.
15164 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15165 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15166 fpsr or fpcr if value didn't change.
15167 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15168 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15169 fpcr if value didn't change.
15170 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15171 to fpsr if value didn't change.
15173 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15175 * nptl/tst-sem3.c: Use test-skeleton.c
15176 (main): Rename to do_test. Use return instead of
15178 * nptl/tst-sem4.c: Use test-skeleton.c
15179 (main): Rename to do_test.
15181 2014-04-22 David S. Miller <davem@davemloft.net>
15183 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15184 (struct sigaction): New struct member __glibc_reserved0, change
15185 type of sa_flags to int.
15187 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15189 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15190 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15192 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15194 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15195 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15197 2014-04-22 Will Newton <will.newton@linaro.org>
15198 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15200 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15201 (__longjmp): Add longjmp and longjmp_target SystemTap
15203 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15204 (__sigsetjmp): Add setjmp SystemTap probe.
15206 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15208 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15209 match manual order.
15211 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15213 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15215 * sysdeps/powerpc/fpu/fenv_private.h
15216 (libc_feholdexcept_setroundl_ctx): Define to
15217 libc_feholdexcept_setround_ppc_ctx.
15218 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15219 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15220 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15221 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15223 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15225 * sysdeps/aarch64/math-tests.h: New file.
15227 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15229 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15232 Check and set bit_AVX2_Usable.
15233 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15235 (bit_AVX2): Likewise.
15236 (index_AVX2_Usable): Likewise.
15237 (CPUID_AVX2): Likewise.
15238 (HAS_AVX2): Likewise.
15240 2014-04-17 Will Newton <will.newton@linaro.org>
15242 * manual/setjmp.texi (System V contexts): Add note that
15243 calling setcontext on a context created by a call to a
15244 signal handler is undefined. Update text to note that
15245 setcontext from a signal handler is possible but not
15249 * stdlib/tst-setcontext.c: Include signal.h.
15250 (main): Check that the signal stack before and
15251 after swapcontext is the same.
15253 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15254 Re-implement to restore registers in user code and avoid
15255 rt_sigreturn system call.
15257 2014-04-17 Wilco <wdijkstr@arm.com>
15259 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15260 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15261 * math/test-fenv.c: Skip exception trap tests on targets which only
15262 support non-stop mode.
15264 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15265 Wilco Dijkstra <wilco.dijkstra@arm.com>
15267 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15268 (libc_feholdsetround_aarch64_ctx)
15269 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15270 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15271 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15272 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15273 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15274 (libc_feresetround_noexl_ctx): Define.
15276 2014-04-16 Richard Henderson <rth@redhat.com>
15278 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15280 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15283 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15284 const from the non-libc, non-ldso copy.
15286 * sysdeps/alpha/libm-test-ulps: Regenerate.
15288 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15289 Wilco Dijkstra <wilco.dijkstra@arm.com>
15291 * sysdeps/aarch64/fpu/math_private.h: New file.
15293 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15295 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15297 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15300 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15301 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15303 Intel MPX bound registers before _dl_profile_fixup.
15304 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15305 registers after _dl_profile_fixup. Save and restore bound
15306 registers bnd0/bnd1 when calling _dl_call_pltexit.
15307 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15308 (LR_BND_OFFSET): Likewise.
15309 (LRV_BND0_OFFSET): Likewise.
15310 (LRV_BND1_OFFSET): Likewise.
15312 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15314 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15316 * sysdeps/mach/hurd/i386/tls.h: ... here.
15317 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15318 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15321 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15323 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15325 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15327 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15329 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15332 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15333 * sysdeps/s390/configure: Regenerate.
15336 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15337 Set round-to-nearest internally to reduce error accumulation.
15339 2014-04-16 Alan Modra <amodra@gmail.com>
15343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15344 * math/libm-test.inc (frexp_test_data): Add tests.
15345 * NEWS: Update fixed bug list.
15347 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15349 * benchtests/Makefile: Depend on libraries in build directory.
15350 (bench-math): Separate out math tests.
15351 (bench-pthread): Separate out pthread tests.
15352 (bench): Include math and pthread tests.
15354 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15357 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15358 _dl_debug_initialize.
15360 * configure.ac: Remove SELinux header check.
15361 * configure: Regenerate.
15362 * nscd/selinux.c (perms): Array of const char* to permission names.
15363 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15364 default policy. Call string_to_security_class and string_to_av_perm to
15365 translate strings. Enforce default policy and call avs_has_perm with
15366 results of translated strings.
15368 2014-04-13 David S. Miller <davem@davemloft.net>
15370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15372 2014-04-12 Allan McRae <allan@archlinux.org>
15375 * manual/string.texi (Collation Functions): Fix qsort argument
15377 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15379 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15381 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15382 Make the test a no-op if there are no exceptions defined.
15384 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15386 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15387 enable-hardcoded-path-in-tests
15389 2014-04-11 Will Newton <will.newton@linaro.org>
15391 * benchtests/Makefile (extra-objs): Add json-lib.o.
15392 (bench-func): Tidy up JSON output.
15393 * benchtests/bench-skeleton.c: Include json-lib.h.
15394 (main): Use JSON library functions to do output of
15396 * benchtests/bench-timing-type.c (main): Output the
15397 timing type simply, leaving formatting to the user.
15398 * benchtests/json-lib.c: New file.
15399 * benchtests/json-lib.h: Likewise.
15401 2014-04-11 Torvald Riegel <triegel@redhat.com>
15404 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15405 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15406 memory barriers. Add comments.
15407 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15408 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15409 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15410 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15411 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15412 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15414 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15416 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15417 * sysdeps/s390/s390-64/configure.ac: ... this ...
15418 * sysdeps/s390/configure.ac: ... to here.
15419 * sysdeps/s390/s390-32/configure: Delete file.
15420 * sysdeps/s390/s390-64/configure: Delete file.
15421 * sysdeps/s390/configure: Regenerate.
15423 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15425 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15427 2014-04-11 Will Newton <will.newton@linaro.org>
15429 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15430 to zero if it is not defined elsewhere. (mtrim): Test
15431 the value of MALLOC_DEBUG with #if rather than #ifdef.
15433 2014-04-10 Torvald Riegel <triegel@redhat.com>
15435 * benchtests/pthread_once-inputs: New file.
15436 * benchtests/pthread_once-source.c: New file.
15437 * benchtests/README: Update documentation.
15439 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15440 H.J. Lu <hongjiu.lu@intel.com>
15443 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15444 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15445 * sysdeps/x86_64/configure: Regenerated.
15446 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15448 (REGISTER_SAVE_RAX): Likewise.
15449 (REGISTER_SAVE_RCX): Likewise.
15450 (REGISTER_SAVE_RDX): Likewise.
15451 (REGISTER_SAVE_RSI): Likewise.
15452 (REGISTER_SAVE_RDI): Likewise.
15453 (REGISTER_SAVE_R8): Likewise.
15454 (REGISTER_SAVE_R9): Likewise.
15455 (REGISTER_SAVE_BND0): Likewise.
15456 (REGISTER_SAVE_BND1): Likewise.
15457 (REGISTER_SAVE_BND2): Likewise.
15458 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15459 bound registers when calling _dl_fixup.
15461 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15463 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15464 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15466 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15467 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15468 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15469 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15470 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15471 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15472 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15474 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15477 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15478 pathconf(_PC_NAME_MAX).
15480 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15482 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15483 Remove macro usage.
15484 (__PTHREAD_SPINS): Move definition to ...
15485 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15486 (__PTHREAD_SPINS): ... here.
15487 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15488 (__PTHREAD_SPIN): Likewise.
15489 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15490 (__PTHREAD_SPIN): Likewise.
15491 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15492 (__PTHREAD_SPIN): Likewise.
15493 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15494 (__PTHREAD_SPIN): Likewise.
15495 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15496 (__PTHREAD_SPIN): Likewise.
15497 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15498 (__PTHREAD_SPIN): Likewise.
15499 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15500 (__PTHREAD_SPIN): Likewise.
15501 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15502 (__PTHREAD_SPIN): Likewise.
15503 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15504 (__PTHREAD_SPIN): Likewise.
15505 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15506 (__PTHREAD_SPIN): Likewise.
15507 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15508 (__PTHREAD_SPIN): Likewise.
15509 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15510 (__PTHREAD_SPIN): Likewise.
15512 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15513 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15514 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15515 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15517 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15518 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15519 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15520 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15521 correct imply path.
15522 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15523 strlen symbol for non multi-arch builds.
15524 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15525 missing hidden_def and weak_alias.
15527 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15529 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15531 2014-04-07 Will Newton <will.newton@linaro.org>
15533 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15534 and contents. [!_LIBC] Remove #ifndef and contents.
15535 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15536 * string/memccpy.c (__memccpy): Use ANSI prototype.
15537 * string/memfrob.c (memfrob): Likewise.
15538 * string/strcoll.c (STRCOLL): Likewise.
15539 * string/strlen.c (strlen): Likewise.
15540 * string/strtok.c (STRTOK): Likewise.
15541 * string/strcat.c: Remove unused #include of memcopy.h.
15542 (strcat): Use ANSI prototype.
15543 * string/strchr.c: Remove unused #include of memcopy.h.
15544 (strchr): Use ANSI prototype.
15545 * string/strcmp.c: Remove unused #include of memcopy.h.
15546 (strcmp): Use ANSI prototype.
15547 * string/strcpy.c: Remove unused #include of memcopy.h.
15548 (strcpy): Use ANSI prototype.
15550 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15552 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15553 * config.make.in (config-extra-cppflags): Set it from
15554 libc_extra_cppflags.
15555 * configure.ac (libc_extra_cflags): Make it accumulate over
15556 configure fragments.
15557 (libc_extra_cppflags): New flag.
15558 * configure. Regenerate.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15560 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15561 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15565 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15566 result for FE_DOWNWARD rounding mode.
15567 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15571 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15573 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15574 in function argument name.
15576 2014-04-03 David Svoboda <svoboda@cert.org>
15579 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15582 2014-04-03 Roland McGrath <roland@hack.frob.com>
15584 * elf/dl-unmap-segments.h: New file.
15585 * sysdeps/generic/ldsodefs.h
15586 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15587 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15588 * elf/dl-fptr.c: Likewise.
15589 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15590 * sysdeps/aarch64/tlsdesc.c: Likewise.
15591 * sysdeps/arm/tlsdesc.c: Likewise.
15592 * sysdeps/i386/tlsdesc.c: Likewise.
15593 * sysdeps/tile/dl-runtime.c: Likewise.
15594 * sysdeps/x86_64/tlsdesc.c: Likewise.
15595 * elf/dl-load.h: New file.
15596 * elf/dl-load.c: Include it.
15597 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15598 Macros moved to dl-load.h.
15599 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15600 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15601 Use _dl_unmap_segments in place of __munmap.
15602 Break out segment-mapping loop into ...
15603 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15605 2014-04-03 Will Newton <will.newton@linaro.org>
15607 * elf/dl-lookup.c (do_lookup_x): Remove comment
15608 referring to nested function and move variable
15609 declarations down to before first use.
15611 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15615 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15617 * math/s_catanf.c (__catanf): Likewise.
15618 * math/s_catanh.c (__catanh): Likewise.
15619 * math/s_catanhf.c (__catanhf): Likewise.
15620 * math/s_catanhl.c (__catanhl): Likewise.
15621 * math/s_catanl.c (__catanl): Likewise.
15622 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15623 by positive zero when computing -Inf result.
15624 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15625 (catanh_test): Likewise.
15626 * sysdeps/i386/fpu/libm-test-ulps: Update.
15627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15630 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15631 instead of using underflowing value in computing result.
15632 * math/s_clog10.c (__clog10): Likewise.
15633 * math/s_clog10f.c (__clog10f): Likewise.
15634 * math/s_clog10l.c (__clog10l): Likewise.
15635 * math/s_clogf.c (__clogf): Likewise.
15636 * math/s_clogl.c (__clogl): Likewise.
15637 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15638 (clog10_test): Likewise.
15639 * sysdeps/i386/fpu/libm-test-ulps: Update.
15640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15642 2014-04-02 Alan Modra <amodra@gmail.com>
15645 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15646 output when value is near a power of two. Use int64_t for lx and
15647 remove casts. Use decimal rather than hex exponent constants.
15648 Don't use long double multiplication when double will suffice.
15649 * math/libm-test.inc (nextafter_test_data): Add tests.
15650 * NEWS: Add 16739 and 16786 to bug list.
15652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15654 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15656 2014-04-01 Will Newton <will.newton@linaro.org>
15658 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15659 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15661 2014-04-01 Florian Weimer <fweimer@redhat.com>
15664 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15665 * nptl/tst-setuid2.c: New file.
15666 * nptl/Makefile (xtests): Add tst-setuid2.
15668 2014-04-01 Alan Modra <amodra@gmail.com>
15671 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15673 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15677 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15678 set errno as appropriate.
15679 * math/w_scalbf.c (__scalbf): Likewise.
15680 * math/w_scalbl.c (__scalbl): Likewise.
15681 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15682 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15683 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15684 Add more NaN tests.
15687 * math/w_atan2.c: Include <errno.h>.
15688 (__atan2): Set errno for result underflowing to zero.
15689 * math/w_atan2f.c: Include <errno.h>.
15690 (__atan2f): Set errno for result underflowing to zero.
15691 * math/w_atan2l.c: Include <errno.h>.
15692 (__atan2l): Set errno for result underflowing to zero.
15693 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15695 * math/auto-libm-test-out: Regenerated.
15697 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15699 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15700 Encode instruction correctly in little endian.
15701 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15705 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15707 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15710 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15713 * sysdeps/unix/sysv/linux/kernel-features.h
15714 [__sparc__ && !__arch64__ && !__sparc_v9__]
15715 (__ASSUME_SET_ROBUST_LIST): Do not define.
15716 [__sparc__ && !__arch64__ && !__sparc_v9__]
15717 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15718 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15721 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15722 (__ASSUME_REQUEUE_PI): Likewise.
15723 (__ASSUME_SET_ROBUST_LIST): Likewise.
15724 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15725 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15727 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15728 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15730 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15734 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15735 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15737 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15738 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15744 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15746 2014-03-31 Will Newton <will.newton@linaro.org>
15748 * benchtests/Makefile (bench): Add ffs and ffsll to list
15750 * benchtests/ffs-inputs: New file.
15751 * benchtests/ffsll-inputs: Likewise.
15753 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15756 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15757 too large before casting to int.
15758 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15759 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15760 * math/libm-test.inc (scalb_test_data): Add more tests.
15762 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15764 * benchtests/Makefile (DETAILED_OPT): New make option.
15765 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15767 * benchtests/bench-skeleton.c: Include stdbool.h.
15768 (main): Store and print timings per input.
15769 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15770 member to each argument value.
15771 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15772 (_print_arg_data): Initialize per-input timing to 0.
15774 * benchtests/Makefile (timing-type): New binary.
15775 (bench-clean): Also remove bench-timing-type.
15776 (bench): New target for timing-type.
15777 (bench-func): Print output in JSON format.
15778 * benchtests/bench-skeleton.c (main): Print output in JSON
15780 * benchtests/bench-timing-type.c: New file.
15781 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15782 (TIMING_PRINT_STATS): Remove.
15783 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15786 * benchtests/bench-modf.c: Remove.
15787 * benchtests/modf-inputs: New inputs file.
15789 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15792 * math/s_clog10.c (M_PI_LOG10E): New macro.
15793 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15794 imaginary parts are 0.
15795 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15796 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15797 imaginary parts are 0.
15798 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15799 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15800 imaginary parts are 0.
15801 * math/libm-test.inc (clog10_test_data): Update expected results
15802 for when real and imaginary parts are 0.
15804 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15806 * elf/dl-load.c: Finish conversion of __builtin_expect into
15807 __glibc_{un}likely.
15809 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15813 1+x for argument with exponent below -67.
15814 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15816 * math/auto-libm-test-in: Add more tests of exp.
15817 * math/auto-libm-test-out: Regenerated.
15819 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15822 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15823 (nscd_getnetgrent): Use it.
15826 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15829 2014-03-27 Andi Kleen <ak@linux.intel.com>
15831 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15832 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15833 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15834 (lll_robust_unlock): Remove out of line section. Use cfi
15836 (LLL_STUB_UNWIND_INFO*): Remove.
15837 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15838 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15839 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15840 (lll_robust_unlock): Remove out of line section. Use cfi
15842 (LLL_STUB_UNWIND_INFO*): Remove.
15844 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15847 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15850 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15852 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15854 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15857 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15859 * math/test-fenv-preserve.c: New file.
15860 * math/Makefile (tests): Add test-fenv-preserve.
15862 2014-03-26 Will Newton <will.newton@linaro.org>
15864 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15866 2014-03-25 Roland McGrath <roland@hack.frob.com>
15868 * scripts/versionlist.awk: Partition the version sets and emit all
15869 GLIBC_* (sorted) before all others (sorted).
15871 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15873 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15874 GLIBC_2.2.5 version.
15876 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15878 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15881 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15886 2014-03-25 Andreas Schwab <schwab@suse.de>
15888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15889 label to be used after in6ailist is initialized.
15891 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15893 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15894 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15896 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15900 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15902 (fp_formats): Update initializers.
15903 (init_fp_formats): Initialize new field.
15904 (output_for_one_input_case): Allow underflow for results up to
15906 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15907 * math/auto-libm-test-in: Don't mark some underflows from asin and
15909 * math/auto-libm-test-out: Regenerated.
15910 * sysdeps/i386/fpu/libm-test-ulps: Update.
15911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15913 2014-03-25 Andreas Schwab <schwab@suse.de>
15915 * libio/Makefile (tst-ftell-partial-wide-ENV)
15916 (tst-ftell-active-handler-ENV): Define.
15918 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15920 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15922 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15924 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15926 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15928 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15929 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15930 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15932 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15935 * elf/dl-load.c (open_verify): Add mode parameter.
15936 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15937 (open_path): Change from boolean 'secure' to complete flag 'mode'
15938 (_dl_map_object): Adjust.
15939 * elf/Makefile (tests): Add tst-dlopen-aout.
15940 * elf/tst-dlopen-aout.c: New test.
15942 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15945 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15946 (struct stat): Rename member pad0 to __glibc_reserved0.
15949 * sysdeps/s390/s390-32/bits/wordsize.h
15950 (__WORDSIZE32_SIZE_ULONG): New define.
15951 * sysdeps/s390/s390-64/bits/wordsize.h
15952 (__WORDSIZE32_SIZE_ULONG): Likewise.
15953 * sysdeps/generic/stdint.h (SIZE_MAX):
15954 Define as UL if __WORDSIZE32_SIZE_ULONG.
15957 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15958 (__glibc_reserved0): New variable.
15959 (sa_flags): Change type to int.
15961 * posix/Makefile (before-compile): Use += before-compile instead
15964 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15965 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15967 2014-03-20 Andreas Schwab <schwab@suse.de>
15970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15971 non-matching result from nscd.
15973 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15975 * scripts/bench.py: Moved to ...
15976 * benchtests/scripts/bench.py: ... here.
15977 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15979 2014-03-24 Andreas Schwab <schwab@suse.de>
15982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15983 alloca_account and account alloca use for struct in6ailist.
15985 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15988 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15989 rounding mode to recompute results that overflow to infinity or
15991 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15993 * math/auto-libm-test-out: Regenerated.
15994 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15995 (ccosh_test): Likewise.
15996 (csin_test_data): Use plus_oflow.
15997 (csin_test): Use ALL_RM_TEST.
15998 (csinh_test_data): Use plus_oflow.
15999 (csinh_test): Use ALL_RM_TEST.
16000 * sysdeps/i386/fpu/libm-test-ulps: Update.
16001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16003 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16005 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16006 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16007 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16010 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16011 when x - 1 is zero.
16012 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16013 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16014 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16015 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16017 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16018 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16020 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16021 * sysdeps/i386/fpu/libm-test-ulps: Update.
16022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16024 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16026 * scripts/bench.pl: Remove file.
16027 * scripts/bench.py: New benchmark script.
16028 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16029 * benchtests/README: Mention python dependency.
16030 * scripts/pylintrc: New file.
16031 * scripts/pylint: New file.
16033 * bits/mathdef.h: Use #ifdef instead of #if.
16034 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16035 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16036 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16037 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16038 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16039 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16041 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16042 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16044 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16046 and strpbrk-ppc64 objects.
16047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16048 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16049 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16050 multiarch strpbrk for POWER7.
16051 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16052 multiarch strpbrk for PPC64.
16053 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16055 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16056 strpbrk for POWER7.
16058 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16060 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16061 (atan_test): Likewise.
16062 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16063 (atanh_test): Use ALL_RM_TEST.
16064 (atan2_test_data): Likewise.
16065 (cabs_test): Likewise.
16066 (cacosh_test): Likewise.
16067 (carg_test): Likewise.
16068 (casin_test): Likewise.
16069 (casinh_test): Likewise.
16070 (cbrt_test): Likewise.
16071 (csqrt_test): Likewise.
16072 (erf_test): Likewise.
16073 (erfc_test): Likewise.
16074 (pow10_test): Likewise.
16075 (exp2_test): Likewise.
16076 (hypot_test): Likewise.
16077 (j0_test): Likewise.
16078 (j1_test): Likewise.
16079 (lgamma_test): Likewise.
16080 (gamma_test): Likewise.
16081 (sincos_test): Likewise.
16082 (tanh_test): Likewise.
16083 (y0_test): Likewise.
16084 (y1_test): Likewise.
16085 * sysdeps/i386/fpu/libm-test-ulps: Update.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16088 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16090 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16092 and strcspn-ppc64 objects.
16093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16094 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16095 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16096 multiarch strcspn for POWER7.
16097 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16098 multiarch strcspn for PPC64.
16099 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16101 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16102 strcspn for POWER7.
16104 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16106 * math/gen-libm-test.pl (generate_testfile): Expect only function
16107 name as argument to AUTO_TESTS_* and pass results for all rounding
16108 modes to parse_args.
16109 (parse_auto_input): Separate inputs of automatic tests from
16110 outputs before storing in %auto_tests.
16111 * math/libm-test.inc (acos_test_data): Update call to
16113 (acos_test): Use ALL_RM_TEST.
16114 (acos_tonearest_test_data): Remove.
16115 (acos_test_tonearest): Likewise.
16116 (acos_towardzero_test_data): Likewise.
16117 (acos_test_towardzero): Likewise.
16118 (acos_downward_test_data): Likewise.
16119 (acos_test_downward): Likewise.
16120 (acos_upward_test_data): Likewise.
16121 (acos_test_upward): Likewise.
16122 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16123 (asin_test_data): Likewise.
16124 (asin_test): Use ALL_RM_TEST.
16125 (asin_tonearest_test_data): Remove.
16126 (asin_test_tonearest): Likewise.
16127 (asin_towardzero_test_data): Likewise.
16128 (asin_test_towardzero): Likewise.
16129 (asin_downward_test_data): Likewise.
16130 (asin_test_downward): Likewise.
16131 (asin_upward_test_data): Likewise.
16132 (asin_test_upward): Likewise.
16133 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16134 (atan_test_data): Likewise.
16135 (atanh_test_data): Likewise.
16136 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16137 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16138 (carg_test_data): Likewise.
16139 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16140 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16141 (ccosh_test_data): Likewise.
16142 (cexp_test_data): Likewise.
16143 (clog_test_data): Likewise.
16144 (clog10_test_data): Likewise.
16145 (cos_test_data): Update call to AUTO_TESTS_f_f.
16146 (cos_test): Use ALL_RM_TEST.
16147 (cos_tonearest_test_data): Remove.
16148 (cos_test_tonearest): Likewise.
16149 (cos_towardzero_test_data): Likewise.
16150 (cos_test_towardzero): Likewise.
16151 (cos_downward_test_data): Likewise.
16152 (cos_test_downward): Likewise.
16153 (cos_upward_test_data): Likewise.
16154 (cos_test_upward): Likewise.
16155 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16156 (cosh_test): Use ALL_RM_TEST.
16157 (cosh_tonearest_test_data): Remove.
16158 (cosh_test_tonearest): Likewise.
16159 (cosh_towardzero_test_data): Likewise.
16160 (cosh_test_towardzero): Likewise.
16161 (cosh_downward_test_data): Likewise.
16162 (cosh_test_downward): Likewise.
16163 (cosh_upward_test_data): Likewise.
16164 (cosh_test_upward): Likewise.
16165 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16166 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16167 (ctan_test_data): Likewise.
16168 (ctan_test): Use ALL_RM_TEST.
16169 (ctan_tonearest_test_data): Remove.
16170 (ctan_test_tonearest): Likewise.
16171 (ctan_towardzero_test_data): Likewise.
16172 (ctan_test_towardzero): Likewise.
16173 (ctan_downward_test_data): Likewise.
16174 (ctan_test_downward): Likewise.
16175 (ctan_upward_test_data): Likewise.
16176 (ctan_test_upward): Likewise.
16177 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16178 (ctanh_test): Use ALL_RM_TEST.
16179 (ctanh_tonearest_test_data): Remove.
16180 (ctanh_test_tonearest): Likewise.
16181 (ctanh_towardzero_test_data): Likewise.
16182 (ctanh_test_towardzero): Likewise.
16183 (ctanh_downward_test_data): Likewise.
16184 (ctanh_test_downward): Likewise.
16185 (ctanh_upward_test_data): Likewise.
16186 (ctanh_test_upward): Likewise.
16187 (erf_test_data): Update call to AUTO_TESTS_f_f.
16188 (erfc_test_data): Likewise.
16189 (exp_test_data): Likewise.
16190 (exp_test): Use ALL_RM_TEST.
16191 (exp_tonearest_test_data): Remove.
16192 (exp_test_tonearest): Likewise.
16193 (exp_towardzero_test_data): Likewise.
16194 (exp_test_towardzero): Likewise.
16195 (exp_downward_test_data): Likewise.
16196 (exp_test_downward): Likewise.
16197 (exp_upward_test_data): Likewise.
16198 (exp_test_upward): Likewise.
16199 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16200 (exp10_test): Use ALL_RM_TEST.
16201 (exp10_tonearest_test_data): Remove.
16202 (exp10_test_tonearest): Likewise.
16203 (exp10_towardzero_test_data): Likewise.
16204 (exp10_test_towardzero): Likewise.
16205 (exp10_downward_test_data): Likewise.
16206 (exp10_test_downward): Likewise.
16207 (exp10_upward_test_data): Likewise.
16208 (exp10_test_upward): Likewise.
16209 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16210 (expm1_test_data): Likewise.
16211 (expm1_test): Use ALL_RM_TEST.
16212 (expm1_tonearest_test_data): Remove.
16213 (expm1_test_tonearest): Likewise.
16214 (expm1_towardzero_test_data): Likewise.
16215 (expm1_test_towardzero): Likewise.
16216 (expm1_downward_test_data): Likewise.
16217 (expm1_test_downward): Likewise.
16218 (expm1_upward_test_data): Likewise.
16219 (expm1_test_upward): Likewise.
16220 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16221 (fma_test): Use ALL_RM_TEST.
16222 (fma_towardzero_test_data): Remove.
16223 (fma_test_towardzero): Likewise.
16224 (fma_downward_test_data): Likewise.
16225 (fma_test_downward): Likewise.
16226 (fma_upward_test_data): Likewise.
16227 (fma_test_upward): Likewise.
16228 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16229 (j0_test_data): Update call to AUTO_TESTS_f_f.
16230 (j1_test_data): Likewise.
16231 (jn_test_data): Update call to AUTO_TESTS_if_f.
16232 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16233 (log_test_data): Update call to AUTO_TESTS_f_f.
16234 (log10_test_data): Likewise.
16235 (log1p_test_data): Likewise.
16236 (log2_test_data): Likewise.
16237 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16238 (pow_tonearest_test_data): Likewise.
16239 (sin_test_data): Update call to AUTO_TESTS_f_f.
16240 (sin_test): Use ALL_RM_TEST.
16241 (sin_tonearest_test_data): Remove.
16242 (sin_test_tonearest): Likewise.
16243 (sin_towardzero_test_data): Likewise.
16244 (sin_test_towardzero): Likewise.
16245 (sin_downward_test_data): Likewise.
16246 (sin_test_downward): Likewise.
16247 (sin_upward_test_data): Likewise.
16248 (sin_test_upward): Likewise.
16249 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16250 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16251 (sinh_test): Use ALL_RM_TEST.
16252 (sinh_tonearest_test_data): Remove.
16253 (sinh_test_tonearest): Likewise.
16254 (sinh_towardzero_test_data): Likewise.
16255 (sinh_test_towardzero): Likewise.
16256 (sinh_downward_test_data): Likewise.
16257 (sinh_test_downward): Likewise.
16258 (sinh_upward_test_data): Likewise.
16259 (sinh_test_upward): Likewise.
16260 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16261 (sqrt_test): Use ALL_RM_TEST.
16262 (sqrt_tonearest_test_data): Remove.
16263 (sqrt_test_tonearest): Likewise.
16264 (sqrt_towardzero_test_data): Likewise.
16265 (sqrt_test_towardzero): Likewise.
16266 (sqrt_downward_test_data): Likewise.
16267 (sqrt_test_downward): Likewise.
16268 (sqrt_upward_test_data): Likewise.
16269 (sqrt_test_upward): Likewise.
16270 (tan_test_data): Update call to AUTO_TESTS_f_f.
16271 (tan_test): Use ALL_RM_TEST.
16272 (tan_tonearest_test_data): Remove.
16273 (tan_test_tonearest): Likewise.
16274 (tan_towardzero_test_data): Likewise.
16275 (tan_test_towardzero): Likewise.
16276 (tan_downward_test_data): Likewise.
16277 (tan_test_downward): Likewise.
16278 (tan_upward_test_data): Likewise.
16279 (tan_test_upward): Likewise.
16280 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16281 (tgamma_test_data): Likewise.
16282 (y0_test_data): Likewise.
16283 (y1_test_data): Likewise.
16284 (yn_test_data): Update call to AUTO_TESTS_if_f.
16285 (main): Do not call removed functions.
16287 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16289 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16290 (ldexp_test_data): Remove.
16291 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16293 (scalb_test): Use ALL_RM_TEST.
16295 2014-03-19 Andreas Schwab <schwab@suse.de>
16297 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16299 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16303 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16304 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16305 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16306 (__ASSUME_PREADV): Undefine.
16307 (__ASSUME_PWRITEV): Likewise.
16309 2014-03-18 Roland McGrath <roland@hack.frob.com>
16311 * bits/mman-linux.h: Add comment about non-Linux use.
16312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16313 bits/mman-linux.h resting place.
16315 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16316 * bits/mman-linux.h: ... here.
16318 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16320 * conform/conformtest.pl: Add standard definition when calling C
16321 preprocessor on data files.
16322 (checknamespace): Remove unused variable.
16324 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16326 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16327 minus_oflow, plus_uflow and minus_uflow in expected results.
16328 * math/libm-test.inc (scalbn_test_data): Add more tests of
16329 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16331 (scalbn_test): Use ALL_RM_TEST.
16332 (scalbln_test_data): Add more tests of negative arguments. Use
16333 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16334 (scalbln_test): Use ALL_RM_TEST.
16336 2014-03-18 Roland McGrath <roland@hack.frob.com>
16338 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16340 2014-03-18 Will Newton <will.newton@linaro.org>
16342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16343 inaccurate comment.
16345 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16347 * Makerules [!subdir] (check-abi): Exit with error status if a
16350 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16352 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16353 for rint. Include results for all rounding modes.
16354 (nearbyint_test): Use ALL_RM_TEST.
16355 (rint_test_data): Include all tests used for nearbyint.
16357 2014-03-17 Will Newton <will.newton@linaro.org>
16359 * nptl/sysdeps/pthread/pthread.h: Revert previous
16362 * sysdeps/generic/ldsodefs.h: Revert previous
16365 * libio/genops.c: Revert previous change.
16366 * libio/libioP.h: Likewise.
16367 * stdio-common/vfprintf.c: Likewise.
16369 * sysdeps/generic/math_private.h: Revert previous
16372 * sysdeps/generic/math_private.h: Check whether
16373 HAVE_RM_CTX is defined with #ifdef rather
16376 * argp/argp-fmtstream.h: Check whether
16377 __STRICT_ANSI__ is defined with #ifdef rather
16379 * argp/argp.h: Likewise.
16381 * libio/genops.c: Check whether
16382 _IO_JUMPS_OFFSET is defined with #ifdef rather
16384 * libio/libioP.h: Likewise.
16385 * stdio-common/vfprintf.c: Likewise.
16387 * sysdeps/generic/ldsodefs.h: Check whether
16388 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16391 * nptl/sysdeps/pthread/pthread.h: Check
16392 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16395 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16397 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16399 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16403 * libio/fileops.c (_IO_file_open): Seek to end of file but
16404 don't cache the offset.
16405 (get_file_offset): Remove function.
16406 (do_ftell): Use cached offset when available.
16407 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16408 don't cache the offset.
16409 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16411 (do_one_test): Call it.
16412 (do_ftell_test): Fix up expected old offset for a+ mode.
16413 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16416 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16417 up test status with function return status.
16418 (do_write_test): Likewise.
16419 (do_append_test): Likewise.
16421 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16422 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16425 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16427 * math/gen-libm-test.pl (parse_args): Handle results specified for
16428 each rounding mode separately.
16429 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16430 tests and results from lrint_tonearest_test_data,
16431 lrint_towardzero_test_data, lrint_downward_test_data and
16432 lrint_upward_test_data.
16433 (lrint_test): Use ALL_RM_TEST.
16434 (lrint_tonearest_test_data): Remove.
16435 (lrint_test_tonearest): Likewise.
16436 (lrint_towardzero_test_data): Likewise.
16437 (lrint_test_towardzero): Likewise.
16438 (lrint_downward_test_data): Likewise.
16439 (lrint_test_downward): Likewise.
16440 (lrint_upward_test_data): Likewise.
16441 (lrint_test_upward): Likewise.
16442 (llrint_test_data): Merge in per-rounding-mode tests and results
16443 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16444 llrint_downward_test_data and llrint_upward_test_data.
16445 (llrint_test): Use ALL_RM_TEST.
16446 (llrint_tonearest_test_data): Remove.
16447 (llrint_test_tonearest): Likewise.
16448 (llrint_towardzero_test_data): Likewise.
16449 (llrint_test_towardzero): Likewise.
16450 (llrint_downward_test_data): Likewise.
16451 (llrint_test_downward): Likewise.
16452 (llrint_upward_test_data): Likewise.
16453 (llrint_test_upward): Likewise.
16454 (rint_test_data): Merge in per-rounding-mode tests and results
16455 from rint_tonearest_test_data, rint_towardzero_test_data,
16456 rint_downward_test_data and rint_upward_test_data. Add
16457 per-rounding-mode results for tests not in those arrays.
16458 (rint_test): Use ALL_RM_TEST.
16459 (rint_tonearest_test_data): Remove.
16460 (rint_test_tonearest): Likewise.
16461 (rint_towardzero_test_data): Likewise.
16462 (rint_test_towardzero): Likewise.
16463 (rint_downward_test_data): Likewise.
16464 (rint_test_downward): Likewise.
16465 (rint_upward_test_data): Likewise.
16466 (rint_test_upward): Likewise.
16467 (main): Don't call removed functions.
16469 2014-03-14 Roland McGrath <roland@hack.frob.com>
16471 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16472 "Compiled on ..." crapola. It is anti-useful.
16474 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16476 * scripts/evaluate-test.sh: Handle fourth argument to determine
16477 whether test run should stop on failure.
16478 * Makeconfig (stop-on-test-failure): New variable.
16479 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16480 $(stop-on-test-failure).
16481 * Makefile (tests): Give a summary of results from testing and
16482 exit with failure status if they include an ERROR or FAIL.
16483 (xtests): Likewise.
16484 * manual/install.texi (Configuring and compiling): Mention
16485 stop-on-test-failure=y.
16486 * INSTALL: Regenerated.
16488 2014-03-14 Roland McGrath <roland@hack.frob.com>
16490 * scripts/versionlist.awk: New file.
16491 * Makerules [$(build-shared) = yes]
16492 (postclean-generated): Add Versions.def, not Versions.def.v and
16494 ($(common-objpfx)Versions.def.v.i): Target removed.
16495 ($(common-objpfx)Versions.def): New target.
16496 ($(common-objpfx)Versions.all): Depend on that rather that
16497 $(common-objpfx)Versions.def.v.
16498 * Versions.def: File removed.
16500 * Makeconfig (+gccwarn): Add -Wundef.
16501 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16502 a dl-sysdep.h breaking its contract.
16503 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16504 * include/stackinfo.h: New file.
16505 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16506 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16507 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16508 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16509 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16510 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16511 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16512 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16513 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16514 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16515 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16516 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16517 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16518 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16519 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16521 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16524 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16526 * math/libm-test.inc (round_test_data): Add more tests.
16529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16531 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16534 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16536 * math/libm-test.inc (ceil_test_data): Add more tests.
16538 * math/libm-test.inc (trunc_test_data): Add more tests related to
16541 2014-03-14 Roland McGrath <roland@hack.frob.com>
16543 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16544 with #if rather than #ifdef.
16545 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16547 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16549 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16550 first. Disable AVX-512 GCC support if assembler doesn't support
16552 * sysdeps/x86_64/configure: Regenerated.
16554 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16556 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16557 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16558 (__old_pthread_attr_setstack): Likewise.
16559 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16560 [!_STACK_GROWS_DOWN]: Likewise.
16562 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16564 * config.make.in (have-bash2): Delete.
16565 * configure.ac (libc_cv_have_bash2): Delete.
16566 * configure: Regenerate.
16567 * elf/Makefile (common-ldd-rewrite): Rename to ...
16568 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16569 (sh-ldd-rewrite): Delete.
16570 (bash-ldd-rewrite): Delete.
16571 (have-bash2): Delete checks.
16572 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16575 * config.make.in (have-ksh): Delete.
16577 * configure.ac (libc_cv_have_ksh): Delete.
16578 * configure: Regenerate.
16580 * elf/Makefile: Delete $(have-ksh) check.
16581 ($(objpfx)sotruss): Change KSH to BASH.
16582 * elf/sotruss.ksh: Rename to ...
16583 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16584 function style to match POSIX. Drop ksh vim mode setting.
16586 * manual/time.texi (Specifying the Time Zone with TZ): Change
16587 Tuesday to Thursday.
16589 * debug/tst-longjmp_chk2.c: Update header comment.
16590 (stackoverflow_handler): Add comment. Call assert on pass value.
16592 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16595 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16596 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16597 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16598 (La_x86_64_vector): Add zmm.
16599 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16600 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16601 ($(objpfx)tst-audit10): New target.
16602 ($(objpfx)tst-audit10.out): Likewise.
16603 (tst-audit10-ENV): New.
16604 (AVX512-CFLAGS): Likewise.
16605 (CFLAGS-tst-audit10.c): Likewise.
16606 (CFLAGS-tst-auditmod10a.c): Likewise.
16607 (CFLAGS-tst-auditmod10b.c): Likewise.
16608 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16609 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16610 * sysdeps/x86_64/configure: Regenerated.
16611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16612 AVX-512 zmm register support.
16613 (_dl_x86_64_save_sse): Likewise.
16614 (_dl_x86_64_restore_sse): Likewise.
16615 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16616 size vector registers.
16617 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16618 (ZMM_SIZE): Likewise.
16619 * sysdeps/x86_64/tst-audit10.c: New file.
16620 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16621 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16623 2014-03-13 Roland McGrath <roland@hack.frob.com>
16625 * configure.ac (HAVE_EHDR_START): New check.
16626 * configure: Regenerated.
16627 * config.h.in (HAVE_EHDR_START): New #undef.
16628 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16629 assuming the lowest-addressed segment maps the start of the file.
16631 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16633 * INSTALL: Regenerated.
16635 2014-03-13 Will Newton <will.newton@linaro.org>
16637 * manual/setjmp.texi (System V contexts): Improve
16638 clarity and grammar of documentation.
16640 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16643 * elf/Makefile (tests): Add tst-pie2.
16644 (tests-pie): Add tst-pie2.
16645 * elf/tst-pie2.c: New file.
16646 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16648 * elf/rtld.c (map_doit): Load executable as lt_executable.
16649 (dl_main): Likewise.
16651 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16655 (__ASSUME_PSELECT): Undefine.
16657 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16661 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16663 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16664 selector for static builds.
16666 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16669 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16672 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16674 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16675 IFUNC selector for static builds.
16677 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16679 * sysdeps/mips/math_private.h [__mips_hard_float]
16680 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16681 libc_feresetround_mips_ctx.
16682 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16683 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16684 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16687 * math/s_nextafter.c (__nextafter): Do not return value from
16688 overflowing computation.
16689 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16690 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16693 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16695 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16696 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16698 2014-03-11 Roland McGrath <roland@hack.frob.com>
16700 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16701 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16702 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16703 the new mov targetting sp.
16705 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16708 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16709 Define it for static builds as well.
16710 (NO_BZERO_IMPL): Likewise.
16712 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16714 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16715 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16716 multiarch strspn for PPC64.
16717 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16718 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16720 (__libc_ifunc_impl_list): Likewise.
16721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16722 multiarch optimizations
16723 * string/strspn.c (strspn): Using macro to redefine symbol name.
16725 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16726 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16728 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16729 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16730 multiarch strncat for PPC64.
16731 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16732 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16734 (__libc_ifunc_impl_list): Likewise.
16735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16736 multiarch optimizations
16738 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16741 * nscd/nscd.service: Make service type forking.
16743 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16745 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16746 sign in non default rounding modes.
16747 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16749 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16751 * math/libm-test.inc (ALL_RM_TEST): New macro.
16752 (ceil_test): Use ALL_RM_TEST.
16753 (cimag_test): Likewise.
16754 (conj_test): Likewise.
16755 (copysign_test): Likewise.
16756 (cproj_test): Likewise.
16757 (creal_test): Likewise.
16758 (fabs_test): Likewise.
16759 (floor_test): Likewise.
16760 (fmax_test): Likewise.
16761 (fmin_test): Likewise.
16762 (fmod_test): Likewise.
16763 (fpclassify_test): Likewise.
16764 (frexp_test): Likewise.
16765 (ilogb_test): Likewise.
16766 (isfinite_test): Likewise.
16767 (finite_test): Likewise.
16768 (isgreater_test): Likewise.
16769 (isgreaterequal_test): Likewise.
16770 (isinf_test): Likewise.
16771 (isless_test): Likewise.
16772 (islessequal_test): Likewise.
16773 (islessgreater_test): Likewise.
16774 (isnan_test): Likewise.
16775 (isnormal_test): Likewise.
16776 (issignaling_test): Likewise.
16777 (isunordered_test): Likewise.
16778 (logb_test): Likewise.
16779 (logb_downward_test_data): Remove.
16780 (logb_test_downward): Likewise.
16781 (lround_test): Use ALL_RM_TEST.
16782 (llround_test): Likewise.
16783 (modf_test): Likewise.
16784 (nexttoward_test): Likewise.
16785 (remainder_test): Likewise.
16786 (drem_test): Likewise.
16787 (remainder_tonearest_test_data): Likewise.
16788 (remainder_test_tonearest): Likewise.
16789 (drem_test_tonearest): Likewise.
16790 (remainder_towardzero_test_data): Likewise.
16791 (remainder_test_towardzero): Likewise.
16792 (drem_test_towardzero): Likewise.
16793 (remainder_downward_test_data): Likewise.
16794 (remainder_test_downward): Likewise.
16795 (drem_test_downward): Likewise.
16796 (remainder_upward_test_data): Likewise.
16797 (remainder_test_upward): Likewise.
16798 (drem_test_upward): Likewise.
16799 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16800 (round_test): Use ALL_RM_TEST.
16801 (signbit_test): Likewise.
16802 (trunc_test): Likewise.
16803 (significand_test): Likewise.
16804 (main): Don't call removed functions.
16806 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16809 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16810 || __USE_XOPEN2K8].
16811 (ILL_ILLOPN): Likewise.
16812 (ILL_ILLADR): Likewise.
16813 (ILL_ILLTRP): Likewise.
16814 (ILL_PRVOPC): Likewise.
16815 (ILL_PRVREG): Likewise.
16816 (ILL_COPROC): Likewise.
16817 (ILL_BADSTK): Likewise.
16818 (FPE_INTDIV): Likewise.
16819 (FPE_INTOVF): Likewise.
16820 (FPE_FLTDIV): Likewise.
16821 (FPE_FLTOVF): Likewise.
16822 (FPE_FLTUND): Likewise.
16823 (FPE_FLTRES): Likewise.
16824 (FPE_FLTINV): Likewise.
16825 (FPE_FLTSUB): Likewise.
16826 (SEGV_MAPERR): Likewise.
16827 (SEGV_ACCERR): Likewise.
16828 (BUS_ADRALN): Likewise.
16829 (BUS_ADRERR): Likewise.
16830 (BUS_OBJERR): Likewise.
16831 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16832 (TRAP_TRACE): Likewise.
16833 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16835 (CLD_KILLED): Likewise.
16836 (CLD_DUMPED): Likewise.
16837 (CLD_TRAPPED): Likewise.
16838 (CLD_STOPPED): Likewise.
16839 (CLD_CONTINUED): Likewise.
16840 (POLL_IN): Likewise.
16841 (POLL_OUT): Likewise.
16842 (POLL_MSG): Likewise.
16843 (POLL_ERR): Likewise.
16844 (POLL_PRI): Likewise.
16845 (POLL_HUP): Likewise.
16846 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16848 (ILL_ILLOPN): Likewise.
16849 (ILL_ILLADR): Likewise.
16850 (ILL_ILLTRP): Likewise.
16851 (ILL_PRVOPC): Likewise.
16852 (ILL_PRVREG): Likewise.
16853 (ILL_COPROC): Likewise.
16854 (ILL_BADSTK): Likewise.
16855 (FPE_INTDIV): Likewise.
16856 (FPE_INTOVF): Likewise.
16857 (FPE_FLTDIV): Likewise.
16858 (FPE_FLTOVF): Likewise.
16859 (FPE_FLTUND): Likewise.
16860 (FPE_FLTRES): Likewise.
16861 (FPE_FLTINV): Likewise.
16862 (FPE_FLTSUB): Likewise.
16863 (SEGV_MAPERR): Likewise.
16864 (SEGV_ACCERR): Likewise.
16865 (BUS_ADRALN): Likewise.
16866 (BUS_ADRERR): Likewise.
16867 (BUS_OBJERR): Likewise.
16868 (BUS_MCEERR_AR): Likewise.
16869 (BUS_MCEERR_AO): Likewise.
16870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16871 (TRAP_TRACE): Likewise.
16872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16874 (CLD_KILLED): Likewise.
16875 (CLD_DUMPED): Likewise.
16876 (CLD_TRAPPED): Likewise.
16877 (CLD_STOPPED): Likewise.
16878 (CLD_CONTINUED): Likewise.
16879 (POLL_IN): Likewise.
16880 (POLL_OUT): Likewise.
16881 (POLL_MSG): Likewise.
16882 (POLL_ERR): Likewise.
16883 (POLL_PRI): Likewise.
16884 (POLL_HUP): Likewise.
16885 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16886 (ILL_ILLOPN): Likewise.
16887 (ILL_ILLADR): Likewise.
16888 (ILL_ILLTRP): Likewise.
16889 (ILL_PRVOPC): Likewise.
16890 (ILL_PRVREG): Likewise.
16891 (ILL_COPROC): Likewise.
16892 (ILL_BADSTK): Likewise.
16893 (FPE_INTDIV): Likewise.
16894 (FPE_INTOVF): Likewise.
16895 (FPE_FLTDIV): Likewise.
16896 (FPE_FLTOVF): Likewise.
16897 (FPE_FLTUND): Likewise.
16898 (FPE_FLTRES): Likewise.
16899 (FPE_FLTINV): Likewise.
16900 (FPE_FLTSUB): Likewise.
16901 (SEGV_MAPERR): Likewise.
16902 (SEGV_ACCERR): Likewise.
16903 (BUS_ADRALN): Likewise.
16904 (BUS_ADRERR): Likewise.
16905 (BUS_OBJERR): Likewise.
16906 (BUS_MCEERR_AR): Likewise.
16907 (BUS_MCEERR_AO): Likewise.
16908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16909 (TRAP_TRACE): Likewise.
16910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16912 (CLD_KILLED): Likewise.
16913 (CLD_DUMPED): Likewise.
16914 (CLD_TRAPPED): Likewise.
16915 (CLD_STOPPED): Likewise.
16916 (CLD_CONTINUED): Likewise.
16917 (POLL_IN): Likewise.
16918 (POLL_OUT): Likewise.
16919 (POLL_MSG): Likewise.
16920 (POLL_ERR): Likewise.
16921 (POLL_PRI): Likewise.
16922 (POLL_HUP): Likewise.
16923 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16925 (ILL_ILLOPN): Likewise.
16926 (ILL_ILLADR): Likewise.
16927 (ILL_ILLTRP): Likewise.
16928 (ILL_PRVOPC): Likewise.
16929 (ILL_PRVREG): Likewise.
16930 (ILL_COPROC): Likewise.
16931 (ILL_BADSTK): Likewise.
16932 (ILL_BADIADDR): Likewise.
16933 (ILL_BREAK): Likewise.
16934 (FPE_INTDIV): Likewise.
16935 (FPE_INTOVF): Likewise.
16936 (FPE_FLTDIV): Likewise.
16937 (FPE_FLTOVF): Likewise.
16938 (FPE_FLTUND): Likewise.
16939 (FPE_FLTRES): Likewise.
16940 (FPE_FLTINV): Likewise.
16941 (FPE_FLTSUB): Likewise.
16942 (FPE_DECOVF): Likewise.
16943 (FPE_DECDIV): Likewise.
16944 (FPE_DECERR): Likewise.
16945 (FPE_INVASC): Likewise.
16946 (FPE_INVDEC): Likewise.
16947 (SEGV_MAPERR): Likewise.
16948 (SEGV_ACCERR): Likewise.
16949 (SEGV_PSTKOVF): Likewise.
16950 (BUS_ADRALN): Likewise.
16951 (BUS_ADRERR): Likewise.
16952 (BUS_OBJERR): Likewise.
16953 (BUS_MCEERR_AR): Likewise.
16954 (BUS_MCEERR_AO): Likewise.
16955 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16956 (TRAP_TRACE): Likewise.
16957 (TRAP_BRANCH): Likewise.
16958 (TRAP_HWBKPT): Likewise.
16959 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16961 (CLD_KILLED): Likewise.
16962 (CLD_DUMPED): Likewise.
16963 (CLD_TRAPPED): Likewise.
16964 (CLD_STOPPED): Likewise.
16965 (CLD_CONTINUED): Likewise.
16966 (POLL_IN): Likewise.
16967 (POLL_OUT): Likewise.
16968 (POLL_MSG): Likewise.
16969 (POLL_ERR): Likewise.
16970 (POLL_PRI): Likewise.
16971 (POLL_HUP): Likewise.
16972 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16973 (ILL_ILLOPN): Likewise.
16974 (ILL_ILLADR): Likewise.
16975 (ILL_ILLTRP): Likewise.
16976 (ILL_PRVOPC): Likewise.
16977 (ILL_PRVREG): Likewise.
16978 (ILL_COPROC): Likewise.
16979 (ILL_BADSTK): Likewise.
16980 (FPE_INTDIV): Likewise.
16981 (FPE_INTOVF): Likewise.
16982 (FPE_FLTDIV): Likewise.
16983 (FPE_FLTOVF): Likewise.
16984 (FPE_FLTUND): Likewise.
16985 (FPE_FLTRES): Likewise.
16986 (FPE_FLTINV): Likewise.
16987 (FPE_FLTSUB): Likewise.
16988 (SEGV_MAPERR): Likewise.
16989 (SEGV_ACCERR): Likewise.
16990 (BUS_ADRALN): Likewise.
16991 (BUS_ADRERR): Likewise.
16992 (BUS_OBJERR): Likewise.
16993 (BUS_MCEERR_AR): Likewise.
16994 (BUS_MCEERR_AO): Likewise.
16995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16996 (TRAP_TRACE): Likewise.
16997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16999 (CLD_KILLED): Likewise.
17000 (CLD_DUMPED): Likewise.
17001 (CLD_TRAPPED): Likewise.
17002 (CLD_STOPPED): Likewise.
17003 (CLD_CONTINUED): Likewise.
17004 (POLL_IN): Likewise.
17005 (POLL_OUT): Likewise.
17006 (POLL_MSG): Likewise.
17007 (POLL_ERR): Likewise.
17008 (POLL_PRI): Likewise.
17009 (POLL_HUP): Likewise.
17010 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17011 (ILL_ILLOPN): Likewise.
17012 (ILL_ILLADR): Likewise.
17013 (ILL_ILLTRP): Likewise.
17014 (ILL_PRVOPC): Likewise.
17015 (ILL_PRVREG): Likewise.
17016 (ILL_COPROC): Likewise.
17017 (ILL_BADSTK): Likewise.
17018 (FPE_INTDIV): Likewise.
17019 (FPE_INTOVF): Likewise.
17020 (FPE_FLTDIV): Likewise.
17021 (FPE_FLTOVF): Likewise.
17022 (FPE_FLTUND): Likewise.
17023 (FPE_FLTRES): Likewise.
17024 (FPE_FLTINV): Likewise.
17025 (FPE_FLTSUB): Likewise.
17026 (SEGV_MAPERR): Likewise.
17027 (SEGV_ACCERR): Likewise.
17028 (BUS_ADRALN): Likewise.
17029 (BUS_ADRERR): Likewise.
17030 (BUS_OBJERR): Likewise.
17031 (BUS_MCEERR_AR): Likewise.
17032 (BUS_MCEERR_AO): Likewise.
17033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17034 (TRAP_TRACE): Likewise.
17035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17037 (CLD_KILLED): Likewise.
17038 (CLD_DUMPED): Likewise.
17039 (CLD_TRAPPED): Likewise.
17040 (CLD_STOPPED): Likewise.
17041 (CLD_CONTINUED): Likewise.
17042 (POLL_IN): Likewise.
17043 (POLL_OUT): Likewise.
17044 (POLL_MSG): Likewise.
17045 (POLL_ERR): Likewise.
17046 (POLL_PRI): Likewise.
17047 (POLL_HUP): Likewise.
17048 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17049 (ILL_ILLOPN): Likewise.
17050 (ILL_ILLADR): Likewise.
17051 (ILL_ILLTRP): Likewise.
17052 (ILL_PRVOPC): Likewise.
17053 (ILL_PRVREG): Likewise.
17054 (ILL_COPROC): Likewise.
17055 (ILL_BADSTK): Likewise.
17056 (FPE_INTDIV): Likewise.
17057 (FPE_INTOVF): Likewise.
17058 (FPE_FLTDIV): Likewise.
17059 (FPE_FLTOVF): Likewise.
17060 (FPE_FLTUND): Likewise.
17061 (FPE_FLTRES): Likewise.
17062 (FPE_FLTINV): Likewise.
17063 (FPE_FLTSUB): Likewise.
17064 (SEGV_MAPERR): Likewise.
17065 (SEGV_ACCERR): Likewise.
17066 (BUS_ADRALN): Likewise.
17067 (BUS_ADRERR): Likewise.
17068 (BUS_OBJERR): Likewise.
17069 (BUS_MCEERR_AR): Likewise.
17070 (BUS_MCEERR_AO): Likewise.
17071 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17072 (TRAP_TRACE): Likewise.
17073 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17075 (CLD_KILLED): Likewise.
17076 (CLD_DUMPED): Likewise.
17077 (CLD_TRAPPED): Likewise.
17078 (CLD_STOPPED): Likewise.
17079 (CLD_CONTINUED): Likewise.
17080 (POLL_IN): Likewise.
17081 (POLL_OUT): Likewise.
17082 (POLL_MSG): Likewise.
17083 (POLL_ERR): Likewise.
17084 (POLL_PRI): Likewise.
17085 (POLL_HUP): Likewise.
17086 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17087 (ILL_ILLOPN): Likewise.
17088 (ILL_ILLADR): Likewise.
17089 (ILL_ILLTRP): Likewise.
17090 (ILL_PRVOPC): Likewise.
17091 (ILL_PRVREG): Likewise.
17092 (ILL_COPROC): Likewise.
17093 (ILL_BADSTK): Likewise.
17094 (ILL_DBLFLT): Likewise.
17095 (ILL_HARDWALL): Likewise.
17096 (FPE_INTDIV): Likewise.
17097 (FPE_INTOVF): Likewise.
17098 (FPE_FLTDIV): Likewise.
17099 (FPE_FLTOVF): Likewise.
17100 (FPE_FLTUND): Likewise.
17101 (FPE_FLTRES): Likewise.
17102 (FPE_FLTINV): Likewise.
17103 (FPE_FLTSUB): Likewise.
17104 (SEGV_MAPERR): Likewise.
17105 (SEGV_ACCERR): Likewise.
17106 (BUS_ADRALN): Likewise.
17107 (BUS_ADRERR): Likewise.
17108 (BUS_OBJERR): Likewise.
17109 (BUS_MCEERR_AR): Likewise.
17110 (BUS_MCEERR_AO): Likewise.
17111 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17112 (TRAP_TRACE): Likewise.
17113 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17115 (CLD_KILLED): Likewise.
17116 (CLD_DUMPED): Likewise.
17117 (CLD_TRAPPED): Likewise.
17118 (CLD_STOPPED): Likewise.
17119 (CLD_CONTINUED): Likewise.
17120 (POLL_IN): Likewise.
17121 (POLL_OUT): Likewise.
17122 (POLL_MSG): Likewise.
17123 (POLL_ERR): Likewise.
17124 (POLL_PRI): Likewise.
17125 (POLL_HUP): Likewise.
17126 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17127 (ILL_ILLOPN): Likewise.
17128 (ILL_ILLADR): Likewise.
17129 (ILL_ILLTRP): Likewise.
17130 (ILL_PRVOPC): Likewise.
17131 (ILL_PRVREG): Likewise.
17132 (ILL_COPROC): Likewise.
17133 (ILL_BADSTK): Likewise.
17134 (FPE_INTDIV): Likewise.
17135 (FPE_INTOVF): Likewise.
17136 (FPE_FLTDIV): Likewise.
17137 (FPE_FLTOVF): Likewise.
17138 (FPE_FLTUND): Likewise.
17139 (FPE_FLTRES): Likewise.
17140 (FPE_FLTINV): Likewise.
17141 (FPE_FLTSUB): Likewise.
17142 (SEGV_MAPERR): Likewise.
17143 (SEGV_ACCERR): Likewise.
17144 (BUS_ADRALN): Likewise.
17145 (BUS_ADRERR): Likewise.
17146 (BUS_OBJERR): Likewise.
17147 (BUS_MCEERR_AR): Likewise.
17148 (BUS_MCEERR_AO): Likewise.
17149 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17150 (TRAP_TRACE): Likewise.
17151 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17153 (CLD_KILLED): Likewise.
17154 (CLD_DUMPED): Likewise.
17155 (CLD_TRAPPED): Likewise.
17156 (CLD_STOPPED): Likewise.
17157 (CLD_CONTINUED): Likewise.
17158 (POLL_IN): Likewise.
17159 (POLL_OUT): Likewise.
17160 (POLL_MSG): Likewise.
17161 (POLL_ERR): Likewise.
17162 (POLL_PRI): Likewise.
17163 (POLL_HUP): Likewise.
17164 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17165 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17168 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17169 before #include of <time.h>.
17170 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17171 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17172 (test-xfail-UNIX98/sched.h/conform): Likewise.
17174 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17176 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17177 error absence of trapping exception support.
17178 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17180 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17182 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17183 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17184 * timezone/Makefile (testdata): Move definition above include of
17186 (test-zones): New variable.
17187 (tests-special): Add zone files.
17188 (build-testdata): Use $(evaluate-test).
17190 * elf/Makefile (tests-special): Rename tests to end with .out.
17191 ($(objpfx)noload-mem): Likewise.
17192 ($(objpfx)tst-leaks1-mem): Likewise.
17193 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17194 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17195 $(objpfx)test-iconvconfig.out.
17196 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17197 set -e inside subshell and redirect output to file.
17198 * iconvdata/Makefile (generated): Rename tests to end with .out.
17200 (tests-special): Rename tests to end with .out.
17201 ($(objpfx)mtrace-tst-loading): Likewise.
17202 * intl/Makefile (generated): Likewise.
17203 (tests-special): Likewise.
17204 ($(objpfx)mtrace-tst-gettext): Likewise.
17205 * misc/Makefile (generated): Likewise.
17206 (tests-special): Likewise.
17207 ($(objpfx)tst-error1-mem): Likewise.
17208 * nptl/Makefile (tests-special): Likewise.
17209 ($(objpfx)tst-stack3-mem): Likewise.
17210 (generated): Likewise.
17211 * posix/Makefile (generated): Likewise.
17212 (tests-special): Likewise.
17213 (xtests-special): Likewise.
17214 ($(objpfx)tst-fnmatch-mem): Likewise.
17215 ($(objpfx)bug-regex2-mem): Likewise.
17216 ($(objpfx)bug-regex14-mem): Likewise.
17217 ($(objpfx)bug-regex21-mem): Likewise.
17218 ($(objpfx)bug-regex31-mem): Likewise.
17219 ($(objpfx)tst-vfork3-mem): Likewise.
17220 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17221 ($(objpfx)tst-pcre-mem): Likewise.
17222 ($(objpfx)tst-boost-mem): Likewise.
17223 ($(objpfx)bug-ga2-mem): Likewise.
17224 ($(objpfx)bug-glob2-mem): Likewise.
17225 * resolv/Makefile (generate): Likewise.
17226 (tests-special): Likewise.
17227 (xtests-special): Likewise.
17228 (generated): Likewise.
17229 ($(objpfx)mtrace-tst-leaks): Likewise.
17230 ($(objpfx)mtrace-tst-leaks2): Likewise.
17232 * scripts/merge-test-results.sh: New file.
17233 * Makefile (tests-special-notdir): New variable.
17234 (tests): Run merge-test-results.sh.
17235 (xtests): Likewise.
17236 * Rules (tests-special-notdir): New variable.
17237 (xtests-special-notdir): Likewise.
17238 (tests): Run merge-test-results.sh
17239 (xtests): Likewise.
17241 * Makeconfig (test-xfail-name): New variable.
17242 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17243 compute variable name for expected failures.
17244 * conform/Makefile (conformtest-headers-data): New variable.
17245 (conformtest-standards): Likewise.
17246 (conformtest-headers-ISO): Likewise.
17247 (conformtest-headers-ISO99): Likewise.
17248 (conformtest-headers-ISO11): Likewise.
17249 (conformtest-headers-POSIX): Likewise.
17250 (conformtest-headers-XPG3): Likewise.
17251 (conformtest-headers-XPG4): Likewise.
17252 (conformtest-headers-UNIX98): Likewise.
17253 (conformtest-headers-XOPEN2K): Likewise.
17254 (conformtest-headers-POSIX2008): Likewise.
17255 (conformtest-headers-XOPEN2K8): Likewise.
17256 (conformtest-header-list-base): Likewise.
17257 (conformtest-header-list-tests): Likewise.
17258 (conformtest-header-base): Likewise.
17259 (conformtest-header-tests): Likewise.
17260 (tests-special): Add $(conformtest-header-list-tests). If
17261 [$(fast-check) && !$(cross-compiling)], add
17262 $(conformtest-header-tests) instead of
17263 $(objpfx)run-conformtest.out.
17264 (generated): Add $(conformtest-header-list-base). If
17265 [$(fast-check) && !$(cross-compiling)], add
17266 $(conformtest-header-base). Remove previous setting.
17267 ($(conformtest-header-list-tests)): New target.
17268 (test-xfail-run-conformtest): Remove variable.
17269 ($(objpfx)run-conformtest.out): Remove target.
17270 (test-xfail-ISO11/complex.h/conform): New variable.
17271 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17272 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17273 (test-xfail-XPG3/varargs.h/conform): Likewise.
17274 (test-xfail-XPG4/varargs.h/conform): Likewise.
17275 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17276 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17277 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17278 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17279 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17280 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17281 (test-xfail-XPG3/ftw.h/conform): Likewise.
17282 (test-xfail-XPG3/grp.h/conform): Likewise.
17283 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17284 (test-xfail-XPG3/limits.h/conform): Likewise.
17285 (test-xfail-XPG3/pwd.h/conform): Likewise.
17286 (test-xfail-XPG3/search.h/conform): Likewise.
17287 (test-xfail-XPG3/signal.h/conform): Likewise.
17288 (test-xfail-XPG3/stdio.h/conform): Likewise.
17289 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17290 (test-xfail-XPG3/string.h/conform): Likewise.
17291 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17292 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17293 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17294 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17295 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17296 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17297 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17298 (test-xfail-XPG3/termios.h/conform): Likewise.
17299 (test-xfail-XPG3/time.h/conform): Likewise.
17300 (test-xfail-XPG3/unistd.h/conform): Likewise.
17301 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17302 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17303 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17304 (test-xfail-XPG4/netdb.h/conform): Likewise.
17305 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17306 (test-xfail-XPG4/signal.h/conform): Likewise.
17307 (test-xfail-XPG4/stdio.h/conform): Likewise.
17308 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17309 (test-xfail-XPG4/stropts.h/conform): Likewise.
17310 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17311 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17312 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17313 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17314 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17315 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17316 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17317 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17318 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17319 (test-xfail-XPG4/termios.h/conform): Likewise.
17320 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17321 (test-xfail-XPG4/unistd.h/conform): Likewise.
17322 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17323 (test-xfail-POSIX/sched.h/conform): Likewise.
17324 (test-xfail-POSIX/signal.h/conform): Likewise.
17325 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17326 (test-xfail-POSIX/tar.h/conform): Likewise.
17327 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17328 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17329 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17330 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17331 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17332 (test-xfail-UNIX98/sched.h/conform): Likewise.
17333 (test-xfail-UNIX98/signal.h/conform): Likewise.
17334 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17335 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17336 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17337 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17338 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17339 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17340 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17341 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17342 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17343 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17344 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17345 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17346 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17347 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17348 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17349 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17350 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17351 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17352 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17353 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17354 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17355 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17356 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17357 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17358 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17359 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17360 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17361 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17362 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17363 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17364 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17365 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17366 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17367 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17368 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17369 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17370 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17371 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17372 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17373 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17374 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17375 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17376 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17377 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17378 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17379 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17380 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17381 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17382 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17383 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17384 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17385 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17386 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17387 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17388 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17389 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17390 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17391 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17392 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17393 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17394 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17395 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17396 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17397 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17398 (conformtest-cc-flags): Likewise.
17399 ($(conformtest-header-tests): New target.
17400 * conform/check-header-lists.sh: New file.
17401 * conform/run-conformtest.sh: Remove.
17403 * conform/conformtest.pl: Allow ' and \ in values given for
17405 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17407 [POSIX] (sys/types.h): Likewise.
17408 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17410 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17412 * conform/data/signal.h-data (SIGIO): Remove expectation.
17413 [XPG3] (SIGBUS): Do not expect.
17414 [POSIX || XPG3] (SIGPOLL): Likewise.
17415 [POSIX || XPG3] (SIGPROF): Likewise.
17416 [POSIX || XPG3] (SIGSYS): Likewise.
17417 [XPG3] (SIGTRAP): Likewise.
17418 [POSIX || XPG3] (SIGURG): Likewise.
17419 [POSIX || XPG3] (SIGVTALRM): Likewise.
17420 [POSIX || XPG3] (SIGXCPU): Likewise.
17421 [POSIX || XPG3] (SIGXFSZ): Likewise.
17422 [POSIX] (SA_SIGINFO): Expect.
17423 [XPG3] (siginfo_t): Do not expect type or contents.
17424 [POSIX] (si_pid): Do not expect element.
17425 [POSIX] (si_uid): Likewise.
17426 [POSIX] (si_addr): Likewise.
17427 [POSIX] (si_status): Likewise.
17428 [POSIX] (si_band): Likewise.
17429 [XPG4] (si_value): Likewise.
17430 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17431 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17432 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17433 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17434 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17435 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17436 [POSIX || XPG3] (ILL_COPROC): Likewise.
17437 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17438 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17439 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17440 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17441 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17442 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17443 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17444 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17445 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17446 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17447 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17448 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17449 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17450 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17451 [POSIX || XPG3] (CLD_EXITED): Likewise.
17452 [POSIX || XPG3] (CLD_KILLED): Likewise.
17453 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17454 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17455 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17456 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17457 [POSIX || XPG3] (POLL_IN): Likewise.
17458 [POSIX || XPG3] (POLL_OUT): Likewise.
17459 [POSIX || XPG3] (POLL_MSG): Likewise.
17460 [POSIX || XPG3] (POLL_ERR): Likewise.
17461 [POSIX || XPG3] (POLL_PRI): Likewise.
17462 [POSIX || XPG3] (POLL_HUP): Likewise.
17463 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17464 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17465 (SIG*): Do not allow.
17466 [XPG3] (si_*): Likewise.
17467 [XPG3] (SI_*): Likewise.
17468 [XPG3 || XPG4] (sigev_*): Likewise.
17469 [XPG3 || XPG4] (SIGEV_*): Likewise.
17470 [XPG3 || XPG4] (sival_*): Likewise.
17471 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17472 [POSIX || XPG3] (BUS_*): Likewise.
17473 [POSIX || XPG3] (CLD_*): Likewise.
17474 [POSIX || XPG3] (FPE_*): Likewise.
17475 [POSIX || XPG3] (ILL_*): Likewise.
17476 [POSIX || XPG3] (POLL_*): Likewise.
17477 [POSIX || XPG3] (SEGV_*): Likewise.
17478 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17479 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17480 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17481 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17482 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17483 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17484 Specify type and value.
17485 (TVERSLEN): Likewise.
17486 (REGTYPE): Likewise.
17487 (AREGTYPE): Likewise.
17488 (LNKTYPE): Likewise.
17489 (SYMTYPE): Likewise.
17490 (CHRTYPE): Likewise.
17491 (BLKTYPE): Likewise.
17492 (DIRTYPE): Likewise.
17493 (FIFOTYPE): Likewise.
17494 (CONTTYPE): Likewise.
17498 (TUREAD): Likewise.
17499 (TUWRITE): Likewise.
17500 (TUEXEC): Likewise.
17501 (TGREAD): Likewise.
17502 (TGWRITE): Likewise.
17503 (TGEXEC): Likewise.
17504 (TOREAD): Likewise.
17505 (TOWRITE): Likewise.
17506 (TOEXEC): Likewise.
17507 [POSIX] (TSVTX): Expect constant.
17509 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17511 * Makefile (tests): Change dependencies to ....
17512 (tests-special): ... additions to this variable.
17513 (tests): Depend on $(tests-special).
17514 * Makerules (check-abi-list): New variable.
17515 (check-abi): Depend on $(check-abi-list).
17516 [$(subdir) = elf] (tests-special): Add
17517 $(objpfx)check-abi-libc.out.
17518 [$(build-shared) = yes && subdir] (tests-special): Add
17520 [$(build-shared) = yes && subdir] (tests): Do not depend on
17522 * Rules (tests): Depend on $(tests-special).
17523 (xtests): Depend on $(xtests-special).
17524 * catgets/Makefile (tests): Change dependencies to ....
17525 (tests-special): ... additions to this variable.
17526 * conform/Makefile (tests): Change dependencies to ....
17527 (tests-special): ... additions to this variable.
17528 * elf/Makefile (tests): Change dependencies to ....
17529 (tests-special): ... additions to this variable.
17530 * grp/Makefile (tests): Change dependencies to ....
17531 (tests-special): ... additions to this variable.
17532 * iconv/Makefile (xtests): Change dependencies to ....
17533 (xtests-special): ... additions to this variable.
17534 * iconvdata/Makefile (tests): Change dependencies to ....
17535 (tests-special): ... additions to this variable.
17536 * intl/Makefile (tests): Change dependencies to ....
17537 (tests-special): ... additions to this variable. Also add
17538 $(objpfx)tst-gettext.out.
17539 * io/Makefile (tests): Change dependencies to ....
17540 (tests-special): ... additions to this variable.
17541 * libio/Makefile (tests): Change dependencies to ....
17542 (tests-special): ... additions to this variable.
17543 * malloc/Makefile (tests): Change dependencies to ....
17544 (tests-special): ... additions to this variable.
17545 * misc/Makefile (tests): Change dependencies to ....
17546 (tests-special): ... additions to this variable.
17547 * nptl/Makefile (tests): Change dependencies to ....
17548 (tests-special): ... additions to this variable.
17549 * nptl_db/Makefile (tests): Change dependencies to ....
17550 (tests-special): ... additions to this variable.
17551 * posix/Makefile (tests): Change dependencies to ....
17552 (tests-special): ... additions to this variable.
17553 (xtests): Change dependencies to ....
17554 (xtests-special): ... additions to this variable.
17555 * resolv/Makefile (tests): Change dependencies to ....
17556 (tests-special): ... additions to this variable.
17557 (xtests): Change dependencies to ....
17558 (xtests-special): ... additions to this variable.
17559 * stdio-common/Makefile (tests): Change dependencies to ....
17560 (tests-special): ... additions to this variable.
17561 (do-tst-unbputc): Remove target.
17562 (do-tst-printf): Likewise.
17563 * stdlib/Makefile (tests): Change dependencies to ....
17564 (tests-special): ... additions to this variable.
17565 * string/Makefile (tests): Change dependencies to ....
17566 (tests-special): ... additions to this variable.
17567 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17568 (tests-special): ... additions to this variable.
17570 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17572 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17574 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17575 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17577 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17578 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17579 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17580 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17581 * conform/data/libgen.h-data [XPG3]: Likewise.
17582 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17583 * conform/data/ndbm.h-data [XPG3]: Likewise.
17584 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17585 * conform/data/netdb.h-data [XPG3]: Likewise.
17586 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17587 * conform/data/poll.h-data [XPG3]: Likewise.
17588 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17589 * conform/data/strings.h-data [XPG3]: Likewise.
17590 * conform/data/stropts.h-data [XPG3]: Likewise.
17591 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17592 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17593 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17595 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17596 * conform/data/sys/time.h-data [XPG3]: Likewise.
17597 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17598 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17599 * conform/data/sys/un.h-data [XPG3]: Likewise.
17600 * conform/data/syslog.h-data [XPG3]: Likewise.
17601 * conform/data/ucontext.h-data [XPG3]: Likewise.
17602 * conform/data/utmpx.h-data [XPG3]: Likewise.
17603 * conform/data/varargs.h-data [UNIX98]: Enable file.
17605 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17607 * math/libm-test.inc (struct test_f_f_data): Move expected results
17608 into structure for each rounding mode.
17609 (struct test_ff_f_data): Likewise.
17610 (struct test_ff_f_data_nexttoward): Likewise.
17611 (struct test_fi_f_data): Likewise.
17612 (struct test_fl_f_data): Likewise.
17613 (struct test_if_f_data): Likewise.
17614 (struct test_fff_f_data): Likewise.
17615 (struct test_c_f_data): Likewise.
17616 (struct test_f_f1_data): Likewise.
17617 (struct test_fF_f1_data): Likewise.
17618 (struct test_ffI_f1_data): Likewise.
17619 (struct test_c_c_data): Likewise.
17620 (struct test_cc_c_data): Likewise.
17621 (struct test_f_i_data): Likewise.
17622 (struct test_ff_i_data): Likewise.
17623 (struct test_f_l_data): Likewise.
17624 (struct test_f_L_data): Likewise.
17625 (struct test_fFF_11_data): Likewise.
17627 (RM_FE_DOWNWARD): Likewise.
17628 (RM_FE_TONEAREST): Likewise.
17629 (RM_FE_TOWARDZERO): Likewise.
17630 (RM_FE_UPWARD): Likewise.
17631 (RUN_TEST_LOOP_f_f): Update references to expected results.
17632 (RUN_TEST_LOOP_2_f): Likewise.
17633 (RUN_TEST_LOOP_fff_f): Likewise.
17634 (RUN_TEST_LOOP_c_f): Likewise.
17635 (RUN_TEST_LOOP_f_f1): Likewise.
17636 (RUN_TEST_LOOP_fF_f1): Likewise.
17637 (RUN_TEST_LOOP_fI_f1): Likewise.
17638 (RUN_TEST_LOOP_ffI_f1): Likewise.
17639 (RUN_TEST_LOOP_c_c): Likewise.
17640 (RUN_TEST_LOOP_cc_c): Likewise.
17641 (RUN_TEST_LOOP_f_i): Likewise.
17642 (RUN_TEST_LOOP_f_i_tg): Likewise.
17643 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17644 (RUN_TEST_LOOP_f_b): Likewise.
17645 (RUN_TEST_LOOP_f_b_tg): Likewise.
17646 (RUN_TEST_LOOP_f_l): Likewise.
17647 (RUN_TEST_LOOP_f_L): Likewise.
17648 (RUN_TEST_LOOP_fFF_11): Likewise.
17649 * math/gen-libm-test.pl (parse_args): Output four copies of
17650 expected results for each test.
17652 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17653 (__ASSUME_UTIMES): Remove.
17654 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17655 (__ASSUME_UTIMES): Likewise.
17657 * math/gen-auto-libm-tests.c: Update comment on output format.
17658 (output_for_one_input_case): Generate before-rounding and
17659 after-rounding information as conditions on output flags not
17660 floating-point format.
17661 * math/auto-libm-test-out: Regenerated.
17662 * math/gen-libm-test.pl (cond_value): New function.
17663 (or_cond_value): Use cond_value.
17664 (generate_testfile): Handle conditional exceptions.
17666 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17668 * math/libm-test.inc (max_valid_error): New variable.
17669 (init_max_error): Take new argument specifying whether function
17670 results are exactly determined. Set max_valid_error and bound
17671 other variables for errors based on this argument.
17672 (set_max_error): Do not record results above max_valid_error.
17673 (check_float_internal): Only accept errors of up to 0.5ulps if
17674 also at most max_valid_error.
17675 (START): Take new argument EXACT and pass it to init_max_error.
17676 (acos_test): Update call to START.
17677 (acos_test_tonearest): Likewise.
17678 (acos_test_towardzero): Likewise.
17679 (acos_test_downward): Likewise.
17680 (acos_test_upward): Likewise.
17681 (acosh_test): Likewise.
17682 (asin_test): Likewise.
17683 (asin_test_tonearest): Likewise.
17684 (asin_test_towardzero): Likewise.
17685 (asin_test_downward): Likewise.
17686 (asin_test_upward): Likewise.
17687 (asinh_test): Likewise.
17688 (atan_test): Likewise.
17689 (atanh_test): Likewise.
17690 (atan2_test): Likewise.
17691 (cabs_test): Likewise.
17692 (cacos_test): Likewise.
17693 (cacosh_test): Likewise.
17694 (carg_test): Likewise.
17695 (casin_test): Likewise.
17696 (casinh_test): Likewise.
17697 (catan_test): Likewise.
17698 (catanh_test): Likewise.
17699 (cbrt_test): Likewise.
17700 (ccos_test): Likewise.
17701 (ccosh_test): Likewise.
17702 (ceil_test): Likewise.
17703 (cexp_test): Likewise.
17704 (cimag_test): Likewise.
17705 (clog_test): Likewise.
17706 (clog10_test): Likewise.
17707 (conj_test): Likewise.
17708 (copysign_test): Likewise.
17709 (cos_test): Likewise.
17710 (cos_test_tonearest): Likewise.
17711 (cos_test_towardzero): Likewise.
17712 (cos_test_downward): Likewise.
17713 (cos_test_upward): Likewise.
17714 (cosh_test): Likewise.
17715 (cosh_test_tonearest): Likewise.
17716 (cosh_test_towardzero): Likewise.
17717 (cosh_test_downward): Likewise.
17718 (cosh_test_upward): Likewise.
17719 (cpow_test): Likewise.
17720 (cproj_test): Likewise.
17721 (creal_test): Likewise.
17722 (csin_test): Likewise.
17723 (csinh_test): Likewise.
17724 (csqrt_test): Likewise.
17725 (ctan_test): Likewise.
17726 (ctan_test_tonearest): Likewise.
17727 (ctan_test_towardzero): Likewise.
17728 (ctan_test_downward): Likewise.
17729 (ctan_test_upward): Likewise.
17730 (ctanh_test): Likewise.
17731 (ctanh_test_tonearest): Likewise.
17732 (ctanh_test_towardzero): Likewise.
17733 (ctanh_test_downward): Likewise.
17734 (ctanh_test_upward): Likewise.
17735 (erf_test): Likewise.
17736 (erfc_test): Likewise.
17737 (exp_test): Likewise.
17738 (exp_test_tonearest): Likewise.
17739 (exp_test_towardzero): Likewise.
17740 (exp_test_downward): Likewise.
17741 (exp_test_upward): Likewise.
17742 (exp10_test): Likewise.
17743 (exp10_test_tonearest): Likewise.
17744 (exp10_test_towardzero): Likewise.
17745 (exp10_test_downward): Likewise.
17746 (exp10_test_upward): Likewise.
17747 (pow10_test): Likewise.
17748 (exp2_test): Likewise.
17749 (expm1_test): Likewise.
17750 (expm1_test_tonearest): Likewise.
17751 (expm1_test_towardzero): Likewise.
17752 (expm1_test_downward): Likewise.
17753 (expm1_test_upward): Likewise.
17754 (fabs_test): Likewise.
17755 (fdim_test): Likewise.
17756 (floor_test): Likewise.
17757 (fma_test): Likewise.
17758 (fma_test_towardzero): Likewise.
17759 (fma_test_downward): Likewise.
17760 (fma_test_upward): Likewise.
17761 (fmax_test): Likewise.
17762 (fmin_test): Likewise.
17763 (fmod_test): Likewise.
17764 (fpclassify_test): Likewise.
17765 (frexp_test): Likewise.
17766 (hypot_test): Likewise.
17767 (ilogb_test): Likewise.
17768 (isfinite_test): Likewise.
17769 (finite_test): Likewise.
17770 (isgreater_test): Likewise.
17771 (isgreaterequal_test): Likewise.
17772 (isinf_test): Likewise.
17773 (isless_test): Likewise.
17774 (islessequal_test): Likewise.
17775 (islessgreater_test): Likewise.
17776 (isnan_test): Likewise.
17777 (isnormal_test): Likewise.
17778 (issignaling_test): Likewise.
17779 (isunordered_test): Likewise.
17780 (j0_test): Likewise.
17781 (j1_test): Likewise.
17782 (jn_test): Likewise.
17783 (ldexp_test): Likewise.
17784 (lgamma_test): Likewise.
17785 (gamma_test): Likewise.
17786 (lrint_test): Likewise.
17787 (lrint_test_tonearest): Likewise.
17788 (lrint_test_towardzero): Likewise.
17789 (lrint_test_downward): Likewise.
17790 (lrint_test_upward): Likewise.
17791 (llrint_test): Likewise.
17792 (llrint_test_tonearest): Likewise.
17793 (llrint_test_towardzero): Likewise.
17794 (llrint_test_downward): Likewise.
17795 (llrint_test_upward): Likewise.
17796 (log_test): Likewise.
17797 (log10_test): Likewise.
17798 (log1p_test): Likewise.
17799 (log2_test): Likewise.
17800 (logb_test): Likewise.
17801 (logb_test_downward): Likewise.
17802 (lround_test): Likewise.
17803 (llround_test): Likewise.
17804 (modf_test): Likewise.
17805 (nearbyint_test): Likewise.
17806 (nextafter_test): Likewise.
17807 (nexttoward_test): Likewise.
17808 (pow_test): Likewise.
17809 (pow_test_tonearest): Likewise.
17810 (pow_test_towardzero): Likewise.
17811 (pow_test_downward): Likewise.
17812 (pow_test_upward): Likewise.
17813 (remainder_test): Likewise.
17814 (drem_test): Likewise.
17815 (remainder_test_tonearest): Likewise.
17816 (drem_test_tonearest): Likewise.
17817 (remainder_test_towardzero): Likewise.
17818 (drem_test_towardzero): Likewise.
17819 (remainder_test_downward): Likewise.
17820 (drem_test_downward): Likewise.
17821 (remainder_test_upward): Likewise.
17822 (drem_test_upward): Likewise.
17823 (remquo_test): Likewise.
17824 (rint_test): Likewise.
17825 (rint_test_tonearest): Likewise.
17826 (rint_test_towardzero): Likewise.
17827 (rint_test_downward): Likewise.
17828 (rint_test_upward): Likewise.
17829 (round_test): Likewise.
17830 (scalb_test): Likewise.
17831 (scalbn_test): Likewise.
17832 (scalbln_test): Likewise.
17833 (signbit_test): Likewise.
17834 (sin_test): Likewise.
17835 (sin_test_tonearest): Likewise.
17836 (sin_test_towardzero): Likewise.
17837 (sin_test_downward): Likewise.
17838 (sin_test_upward): Likewise.
17839 (sincos_test): Likewise.
17840 (sinh_test): Likewise.
17841 (sinh_test_tonearest): Likewise.
17842 (sinh_test_towardzero): Likewise.
17843 (sinh_test_downward): Likewise.
17844 (sinh_test_upward): Likewise.
17845 (sqrt_test): Likewise.
17846 (sqrt_test_tonearest): Likewise.
17847 (sqrt_test_towardzero): Likewise.
17848 (sqrt_test_downward): Likewise.
17849 (sqrt_test_upward): Likewise.
17850 (tan_test): Likewise.
17851 (tan_test_tonearest): Likewise.
17852 (tan_test_towardzero): Likewise.
17853 (tan_test_downward): Likewise.
17854 (tan_test_upward): Likewise.
17855 (tanh_test): Likewise.
17856 (tgamma_test): Likewise.
17857 (trunc_test): Likewise.
17858 (y0_test): Likewise.
17859 (y1_test): Likewise.
17860 (yn_test): Likewise.
17861 (significand_test): Likewise.
17863 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17864 individual tests in comment.
17865 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17866 (prev_max_error): New variable.
17867 (prev_real_max_error): Likewise.
17868 (prev_imag_max_error): Likewise.
17869 (compare_ulp_data): Don't refer to test names in comment.
17870 (find_test_ulps): Remove function.
17871 (find_function_ulps): Likewise.
17872 (find_complex_function_ulps): Likewise.
17873 (init_max_error): Take function name as argument. Look up ulps
17875 (print_ulps): Remove function.
17876 (print_max_error): Use prev_max_error instead of calling
17877 find_function_ulps.
17878 (print_complex_max_error): Use prev_real_max_error and
17879 prev_imag_max_error instead of calling find_complex_function_ulps.
17880 (check_float_internal): Take max_ulp parameter instead of calling
17881 find_test_ulps. Don't call print_ulps.
17882 (check_float): Update call to check_float_internal.
17883 (check_complex): Update calls to check_float_internal.
17884 (START): Pass argument to init_max_error.
17885 * math/gen-libm-test.pl (%results): Don't include "kind"
17887 (parse_ulps): Don't handle ulps of individual tests.
17888 (print_ulps_file): Likewise.
17889 (output_ulps): Likewise.
17890 * math/README.libm-test: Update.
17891 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17893 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17894 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17895 * sysdeps/arm/libm-test-ulps: Likewise.
17896 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17897 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17898 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17899 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17900 * sysdeps/microblaze/libm-test-ulps: Likewise.
17901 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17902 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17903 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17904 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17905 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17906 * sysdeps/sh/libm-test-ulps: Likewise.
17907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17908 * sysdeps/tile/libm-test-ulps: Likewise.
17909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17911 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17913 * math/libm-test.inc (print_complex_max_error): Check separately
17914 whether real and imaginary errors are within allowed range and
17915 pass 0 to print_complex_function_ulps instead of value within
17918 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17920 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17922 (get_handles_fopen): Likewise.
17923 (do_write_test): Likewise.
17925 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17927 * libio/fileops.c (do_ftell): Use cached offset when
17929 * libio/iofwide.c (do_ftell_wide): Likewise.
17930 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17932 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17935 * libio/libioP.h (get_file_offset): New function.
17936 * libio/fileops.c (get_file_offset): Likewise.
17937 (do_ftell): Likewise.
17938 (_IO_new_file_seekoff): Split out ftell logic.
17939 * libio/wfileops.c (do_ftell_wide): Likewise.
17940 (_IO_wfile_seekoff): Split out ftell logic.
17941 * libio/tst-ftell-active-handler.c: New test case.
17942 * libio/Makefile (tests): Add it.
17944 2014-03-03 Roland McGrath <roland@hack.frob.com>
17946 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17947 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17949 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17952 * nscd/connections.c (nscd_init): Call do_exit.
17953 (start_threads): Call do_exit and notify_parent.
17954 (begin_drop_privileges): Call do_exit.
17955 (finish_drop_privileges): Likewise.
17956 * nscd/selinux.c (preserve_capabilities): Likewise.
17957 (install_real_capabilities): Likewise.
17958 (nscd_selinux_enabled): Likewise.
17959 (avc_create_thread): Likewise.
17960 (avc_alloc_lock): Likewise.
17961 (nscd_avc_init): Likewise.
17962 * nscd/nscd.c (parent_fd): New static variable.
17963 (main): Create a pipe between parent and child processes.
17964 Skip closing parent_fd.
17965 (monitor_child): New function.
17966 (do_exit): Likewise.
17967 (notify_parent): Likewise.
17968 * nscd/nscd.h (notify_parent): Likewise.
17969 (do_exit): Likewise.
17971 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17973 * malloc/malloc.c (__libc_calloc): Revert last change.
17975 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17979 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17981 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17985 (__libc_ifunc_impl_list): Likewise.
17986 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17987 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17988 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17989 * string/strrchr.c: Define STRRCHR.
17991 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17993 * benchtest/bench-strtok.c (simple_strtok): Delete.
17994 (strtok_string): Use as benchmark.
17995 * string/strtok (STRTOK): New macro.
17997 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17999 * manual/threads.texi: Add header and standard comments to all
18002 * elf/dl-lookup.c (check_match): New function.
18003 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18004 (do_lookup_x): Remove nested function check_match. Use non-nested
18005 function check_match.
18007 2014-02-28 Roland McGrath <roland@hack.frob.com>
18009 * csu/Makefile (generated, before-compile): Use += rather than =.
18010 * catgets/Makefile (generated, generated-dirs): Likewise.
18011 * debug/Makefile (generated): Likewise.
18012 * dlfcn/Makefile (generated): Likewise.
18013 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18014 * iconvdata/Makefile (before-compile, generated): Likewise.
18015 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18016 * libio/Makefile (generated): Likewise.
18017 * malloc/Makefile (generated): Likewise.
18018 * manual/Makefile (generated, generated-dirs): Likewise.
18019 * misc/Makefile (generated): Likewise.
18020 * posix/Makefile (generated): Likewise.
18021 * resolv/Makefile (generated): Likewise.
18022 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18023 * timezone/Makefile (generated, generated-dirs): Likewise.
18025 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18027 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18030 power8 implementation.
18031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18032 file: POWER8 llround ifunc implementation.
18033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18034 (__lllround): Add POWER8 implementation.
18035 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18036 POWER8 llround implementation.
18038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18039 power8 implementation.
18040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18041 file: POWER8 llrint ifunc implementation.
18042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18043 Add POWER8 implementation.
18044 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18045 POWER8 llrint implementation.
18047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18048 power8 implementation.
18049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18050 file: POWER8 finite ifunc implementation.
18051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18052 Add POWER8 implementation.
18053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18055 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18056 POWER8 finite implementation.
18057 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18060 power8 implementation.
18061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18062 file: POWER8 isinf ifunc implementation.
18063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18064 POWER8 implementation.
18065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18068 isinf implementation.
18069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18071 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18072 (INIT_ARCH): Add hwcap2 initialization.
18073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18074 power8 implementation.
18075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18076 file: POWER8 isnan ifunc implementation.
18077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18078 POWER8 implementation.
18079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18081 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18082 isnan implementation.
18083 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18085 2014-02-27 Joey Ye <joey.ye@arm.com>
18087 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18088 (_FP_NANFRAC_Q): Set to zero.
18090 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18093 * math/auto-libm-test-in: New test inputs.
18094 * math/auto-libm-test-out: Regenerate.
18095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18098 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18100 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18102 * scripts/evaluate-test.sh: Take new argument indicating whether
18103 failure is expected.
18104 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18105 indicating whether failure is expected.
18106 * conform/Makefile (test-xfail-run-conformtest): New variable.
18107 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18109 * posix/Makefile (test-xfail-annexc): New variable.
18110 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18112 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18114 * argp/Makefile: Include Makeconfig immediately after defining
18116 * assert/Makefile: Likewise.
18117 * benchtests/Makefile: Likewise.
18118 * catgets/Makefile: Likewise.
18119 * conform/Makefile: Likewise.
18120 * crypt/Makefile: Likewise.
18121 * csu/Makefile: Likewise.
18122 (all): Remove target.
18123 * ctype/Makefile: Include Makeconfig immediately after defining
18125 * debug/Makefile: Likewise.
18126 * dirent/Makefile: Likewise.
18127 * dlfcn/Makefile: Likewise.
18128 * gmon/Makefile: Likewise.
18129 * gnulib/Makefile: Likewise.
18130 * grp/Makefile: Likewise.
18131 * gshadow/Makefile: Likewise.
18132 * hesiod/Makefile: Likewise.
18133 * hurd/Makefile: Likewise.
18134 (all): Remove target.
18135 * iconvdata/Makefile: Include Makeconfig immediately after
18137 * inet/Makefile: Likewise.
18138 * intl/Makefile: Likewise.
18139 * io/Makefile: Likewise.
18140 * libio/Makefile: Likewise.
18141 (all): Remove target.
18142 * locale/Makefile: Include Makeconfig immediately after defining
18144 * login/Makefile: Likewise.
18145 * mach/Makefile: Likewise.
18146 (all): Remove target.
18147 * malloc/Makefile: Include Makeconfig immediately after defining
18149 (all): Remove target.
18150 * manual/Makefile: Include Makeconfig immediately after defining
18152 * math/Makefile: Likewise.
18153 * misc/Makefile: Likewise.
18154 * nis/Makefile: Likewise.
18155 * nss/Makefile: Likewise.
18156 * po/Makefile: Likewise.
18157 (all): Remove target.
18158 * posix/Makefile: Include Makeconfig immediately after defining
18160 * pwd/Makefile: Likewise.
18161 * resolv/Makefile: Likewise.
18162 * resource/Makefile: Likewise.
18163 * rt/Makefile: Likewise.
18164 * setjmp/Makefile: Likewise.
18165 * shadow/Makefile: Likewise.
18166 * signal/Makefile: Likewise.
18167 * socket/Makefile: Likewise.
18168 * soft-fp/Makefile: Likewise.
18169 * stdio-common/Makefile: Likewise.
18170 * stdlib/Makefile: Likewise.
18171 * streams/Makefile: Likewise.
18172 * string/Makefile: Likewise.
18173 * sunrpc/Makefile: Likewise.
18174 (all): Remove target.
18175 * sysvipc/Makefile: Include Makeconfig immediately after defining
18177 * termios/Makefile: Likewise.
18178 * time/Makefile: Likewise.
18179 * timezone/Makefile: Likewise.
18180 (all): Remove target.
18181 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18183 * wctype/Makefile: Likewise.
18185 2014-02-26 Steve Ellcey <sellcey@mips.com>
18187 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18188 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18189 (libc_feholdexcept_setround_mips): Ditto.
18190 (libc_feholdsetround): New.
18191 (libc_feholdsetroundf): New.
18192 (libc_feholdsetroundl): New.
18193 (libc_feupdateenv_test_mips): New.
18194 (libc_feupdateenv_test): New.
18195 (libc_feupdateenv_testf): New.
18196 (libc_feupdateenv_testl): New.
18197 (libc_feresetround): New.
18198 (libc_feresetroundf): New.
18199 (libc_feresetroundl): New.
18200 (libc_fetestexcept_mips): New.
18201 (libc_fetestexcept): New.
18202 (libc_fetestexceptf): New.
18203 (libc_fetestexceptl): New.
18204 (HAVE_RM_CTX): New.
18205 (libc_feholdexcept_setround_mips_ctx): New.
18206 (libc_feholdexcept_setround_ctx): New.
18207 (libc_feholdexcept_setroundf_ctx): New.
18208 (libc_feholdexcept_setroundl_ctx): New.
18209 (libc_fesetenv_mips_ctx): New.
18210 (libc_fesetenv_ctx): New.
18211 (libc_fesetenv_ctxf): New.
18212 (libc_fesetenv_ctxl): New.
18213 (libc_feupdateenv_mips_ctx): New.
18214 (libc_feupdateenv_ctx): New.
18215 (libc_feupdateenvf_ctx): New.
18216 (libc_feupdateenvl_ctx): New.
18217 (libc_feholdsetround_mips_ctx): New.
18218 (libc_feholdsetround_ctx): New.
18219 (libc_feholdsetroundf_ctx): New.
18220 (libc_feholdsetroundl_ctx): New.
18221 (libc_feresetround_mips_ctx): New.
18222 (libc_feresetround_ctx): New.
18223 (libc_feresetroundf_ctx): New.
18224 (libc_feresetroundl_ctx): New.
18226 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18228 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18230 * manual/ipc.texi: New file.
18231 * manual/Makefile (chapters): Add ipc.
18232 * manual/job.texi: Add "Inter-Process Communication" to next.
18233 * manual/process.texi: Add "Inter-Process Communication" to prev.
18235 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18239 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18241 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18243 * manual/arith.texi: Fix spaces after sentences.
18244 * manual/charset.texi: Likewise.
18245 * manual/errno.texi: Likewise.
18246 * manual/install.texi: Likewise.
18247 * manual/llio.texi: Likewise.
18248 * manual/locale.texi: Likewise.
18249 * manual/maint.texi: Likewise.
18250 * manual/math.texi: Likewise.
18251 * manual/memory.texi: Likewise.
18252 * manual/message.texi: Likewise.
18253 * manual/probes.texi: Likewise.
18254 * manual/resource.texi: Likewise.
18255 * manual/signal.texi: Likewise.
18256 * manual/socket.texi: Likewise.
18257 * manual/stdio.texi: Likewise.
18258 * manual/string.texi: Likewise.
18259 * manual/time.texi: Likewise.
18260 * manual/users.texi: Likewise.
18262 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18265 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18266 _DEFAULT_SOURCE is defined.
18268 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18269 Carlos O'Donell <carlos@redhat.com>
18272 * elf/dl-tls.c (_dl_count_modids): New function.
18273 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18274 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18275 audit library and increment generation counter.
18276 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18277 * elf/tst-audit9.c: New file.
18278 * elf/tst-auditmod9a.c: New file.
18279 * elf/tst-auditmod9b.c: New file.
18280 * elf/Makefile: Add rules to build and run tst-audit9.
18282 2014-02-25 Florian Weimer <fweimer@redhat.com>
18285 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18287 2014-02-25 Will Newton <will.newton@linaro.org>
18289 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18290 (__longjmp): Restore sp and lr before restoring callee
18291 saved registers. Add longjmp and longjmp_target
18292 SystemTap probe point.
18293 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18294 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18295 Define to zero to match jmpbuf layout.
18296 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18297 (__sigsetjmp): Save sp and lr before saving callee
18298 saved registers. Add setjmp SystemTap probe point.
18300 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18304 2014-02-24 Andreas Schwab <schwab@suse.de>
18307 * elf/pldd.c (wait_for_ptrace_stop): New function.
18308 (main): Call it after attaching.
18310 2014-02-22 Roland McGrath <roland@hack.frob.com>
18312 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18313 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18314 Versions files is now verboten.
18315 * hurd/Versions (libc: GLIBC_2.0):
18316 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18317 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18318 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18319 * mach/Versions: Likewise.
18321 * csu/Versions: Remove unused %include.
18322 * resolv/Versions: Likewise.
18324 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18326 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18327 ($(objpfx)check-local-headers.out): Likewise.
18328 ($(objpfx)begin-end-check.out): Likewise.
18329 * Makerules (check-abi-%.out): Likewise.
18330 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18331 ($(objpfx)test2.cat): Likewise.
18332 ($(objpfx)de/libc.cat): Likewise.
18333 ($(objpfx)test-gencat.out): Likewise.
18334 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18335 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18336 ($(objpfx)noload-mem): Likewise.
18337 ($(objpfx)tst-pathopt.out): Likewise.
18338 ($(objpfx)tst-rtld-load-self.out): Likewise.
18339 ($(objpfx)tst-array1-cmp.out): Likewise.
18340 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18341 ($(objpfx)tst-array2-cmp.out): Likewise.
18342 ($(objpfx)tst-array3-cmp.out): Likewise.
18343 ($(objpfx)tst-array4-cmp.out): Likewise.
18344 ($(objpfx)tst-array5-cmp.out): Likewise.
18345 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18346 ($(objpfx)check-textrel.out): Likewise.
18347 ($(objpfx)check-execstack.out): Likewise.
18348 ($(objpfx)check-localplt.out): Likewise.
18349 ($(objpfx)order2-cmp.out): Likewise.
18350 ($(objpfx)tst-leaks1-mem): Likewise.
18351 ($(objpfx)tst-leaks1-static-mem): Likewise.
18352 ($(objpfx)tst-initorder-cmp.out): Likewise.
18353 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18354 ($(objpfx)tst-unused-dep.out): Likewise.
18355 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18356 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18357 * iconv/Makefile (test-iconvconfig): Likewise.
18358 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18359 ($(objpfx)iconv-test.out): Likewise.
18360 ($(objpfx)tst-tables.out): Likewise.
18361 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18362 ($(objpfx)tst-gettext.out): Likewise.
18363 ($(objpfx)tst-translit.out): Likewise.
18364 ($(objpfx)tst-gettext2.out): Likewise.
18365 ($(objpfx)tst-gettext4.out): Likewise.
18366 ($(objpfx)tst-gettext6.out): Likewise.
18367 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18368 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18369 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18370 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18371 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18372 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18373 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18374 ($(objpfx)wordexp-tst.out): Likewise.
18375 ($(objpfx)annexc.out): Likewise.
18376 ($(objpfx)tst-fnmatch-mem): Likewise.
18377 ($(objpfx)bug-regex2-mem): Likewise.
18378 ($(objpfx)bug-regex14-mem): Likewise.
18379 ($(objpfx)bug-regex21-mem): Likewise.
18380 ($(objpfx)bug-regex31-mem): Likewise.
18381 ($(objpfx)tst-vfork3-mem): Likewise.
18382 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18383 ($(objpfx)tst-pcre-mem): Likewise.
18384 ($(objpfx)tst-boost-mem): Likewise.
18385 ($(objpfx)tst-getconf.out): Likewise.
18386 ($(objpfx)bug-ga2-mem): Likewise.
18387 ($(objpfx)bug-glob2-mem): Likewise.
18388 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18389 ($(objpfx)mtrace-tst-leaks2): Likewise.
18390 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18391 ($(objpfx)tst-printf.out): Likewise.
18392 ($(objpfx)tst-setvbuf1.out): Likewise.
18393 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18394 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18395 ($(objpfx)tst-fmtmsg.out): Likewise.
18396 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18397 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18399 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18400 * bits/sigaction.h [__USE_MISC]: Likewise.
18401 * bits/waitstatus.h: Update #endif comments.
18402 * ctype/ctype.h: Likewise.
18403 * dirent/dirent.h: Likewise.
18404 [__USE_MISC]: Remove redundant conditionals.
18405 * grp/grp.h: Update #endif comments.
18406 [__USE_GNU]: Remove redundant conditionals.
18407 [__USE_MISC]: Likewise.
18408 * inet/netinet/in.h [__USE_GNU]: Likewise.
18409 * io/sys/stat.h [__USE_MISC]: Likewise.
18410 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18411 * libio/bits/stdio.h: Update #endif comments.
18412 [__USE_MISC]: Remove redundant conditionals.
18413 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18414 * libio/stdio.h: Update #endif comments.
18415 [__USE_MISC]: Remove redundant conditionals.
18416 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18417 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18418 * math/math.h: Update #else and #endif comments.
18419 [__USE_MISC]: Remove redundant conditionals.
18420 * misc/sys/uio.h: Update #endif comments.
18421 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18422 * posix/glob.h [__USE_MISC]: Likewise.
18423 * posix/sys/types.h: Update #endif comments.
18424 [__USE_MISC]: Remove redundant conditionals.
18425 * posix/sys/wait.h: Update #endif comments.
18426 [__USE_MISC]: Remove redundant conditionals.
18427 * posix/unistd.h: Update #endif comments.
18428 [__USE_MISC]: Remove redundant conditionals.
18429 * pwd/pwd.h [__USE_GNU]: Likewise.
18430 [__USE_MISC]: Likewise.
18431 * resolv/netdb.h [__USE_GNU]: Likewise.
18432 * signal/signal.h: Update #endif comments.
18433 [__USE_MISC]: Remove redundant conditionals.
18434 * stdlib/stdlib.h: Update #else and #endif comments.
18435 [__USE_MISC]: Remove redundant conditionals.
18436 [__USE_GNU]: Likewise.
18437 * string/bits/string2.h [__USE_MISC]: Likewise.
18438 * string/string.h: Update #endif comments.
18439 [__USE_MISC]: Remove redundant conditionals.
18440 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18442 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18443 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18444 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18446 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18450 [__USE_MISC]: Remove redundant conditionals.
18451 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18452 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18453 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18454 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18455 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18457 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18458 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18460 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18461 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18463 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18465 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18466 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18468 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18470 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18471 * sysdeps/x86/bits/string.h: Update #endif comments.
18472 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18474 * time/sys/time.h: Update #endif comments.
18475 * time/time.h: Likewise.
18476 [__USE_MISC]: Remove redundant conditionals.
18478 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18481 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18483 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18485 * Versions.def (librt): Add GLIBC_2.17.
18487 2014-02-21 Adam Conrad <adconrad@0c3.net>
18489 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18490 synonym for _SYS_AUXV_H to allow direct inclusion.
18491 * sysdeps/sparc/bits/hwcap.h: Likewise.
18492 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18493 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18494 * sysdeps/sparc/sysdep.h: Likewise.
18496 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18498 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18500 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18502 * benchtests/bench-strrchr.c: Print length instead of position.
18504 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18507 * sysdeps/unix/sysv/linux/kernel-features.h
18508 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18509 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18510 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18511 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18513 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18514 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18515 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18516 (__ASSUME_SENDMMSG): Define instead of using previous
18517 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18518 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18519 (__ASSUME_SENDMMSG_SYSCALL): Define.
18520 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18521 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18523 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18524 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18526 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18527 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18529 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18530 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18531 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18532 [__ASSUME_SENDMMSG]: Change conditionals to
18533 [__ASSUME_SENDMMSG_SOCKETCALL].
18534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18535 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18537 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18538 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18540 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18541 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18542 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18543 [!__ASSUME_SENDMMSG]: Change conditional to
18544 [!__ASSUME_SENDMMSG_SOCKETCALL].
18545 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18546 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18550 * sysdeps/unix/sysv/linux/kernel-features.h
18551 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18552 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18553 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18554 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18555 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18556 [__i386__ || __sparc__]
18557 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18558 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18559 (__ASSUME_RECVMMSG): Define instead of using previous
18560 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18561 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18562 (__ASSUME_RECVMMSG_SYSCALL): Define.
18563 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18566 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18569 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18570 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18572 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18573 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18574 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18575 [__ASSUME_RECVMMSG]: Change condition to
18576 [__ASSUME_RECVMMSG_SOCKETCALL].
18577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18578 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18580 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18581 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18584 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18585 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18586 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18587 [!__ASSUME_RECVMMSG]: Change condition to
18588 [!__ASSUME_RECVMMSG_SOCKETCALL].
18589 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18590 (__ASSUME_RECVMMSG_SYSCALL): Define.
18593 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18594 __powerpc__ || __s390__ || __sh__ || __sparc__]
18595 (__ASSUME_SOCKETCALL): Define.
18596 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18597 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18598 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18599 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18600 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18601 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18602 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18603 (__ASSUME_ACCEPT4): Define instead of using previous
18604 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18605 __powerpc__ || __sparc__ || __s390__)] condition.
18606 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18607 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18608 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18609 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18610 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18611 [!__ASSUME_ACCEPT4]: Change condition to
18612 [!__ASSUME_ACCEPT4_SOCKETCALL].
18613 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18614 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18615 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18616 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18617 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18618 __ASSUME_ACCEPT4_SYSCALL.
18619 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18620 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18622 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18623 __ASSUME_ACCEPT4_SYSCALL.
18624 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18625 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18626 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18627 [__ASSUME_ACCEPT4]: Change condition to
18628 [__ASSUME_ACCEPT4_SOCKETCALL].
18629 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18630 (__ASSUME_SOCKETCALL): Define.
18631 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18633 (__ASSUME_SOCKETCALL): Define.
18634 (__ASSUME_ACCEPT4): Remove.
18635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18637 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18638 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18640 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18641 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18643 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18645 (HWCAP_ARM_LPAE): Likewise.
18646 (HWCAP_ARM_EVTSTRM): Likewise.
18647 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18648 Add vpfd32, lpae and evtstrm.
18649 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18652 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18654 * math/auto-libm-test-in: Add tests of clog10.
18655 * math/auto-libm-test-out: Regenerated.
18656 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18657 * sysdeps/i386/fpu/libm-test-ulps: Update.
18658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660 2014-02-18 Andreas Schwab <schwab@suse.de>
18663 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18664 Store non-zero if the second buffer was newly allocated.
18665 (send_dg): Likewise.
18666 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18667 to send_vc and send_dg.
18668 (res_nsend): Pass NULL for ansp2_malloced.
18669 * resolv/res_query.c (__libc_res_nquery): Add parameter
18670 answerp2_malloced and pass it down to __libc_res_nsend.
18671 (res_nquery): Pass additional NULL to __libc_res_nquery.
18672 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18673 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18674 second answer buffer if answerp2_malloced was set.
18675 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18676 (__libc_res_nquerydomain): Add parameter
18677 answerp2_malloced and pass it down to __libc_res_nquery.
18678 (res_nquerydomain): Pass additional NULL to
18679 __libc_res_nquerydomain.
18680 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18681 additional NULL to __libc_res_nsend and __libc_res_nquery.
18682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18683 additional NULL to __libc_res_nsearch.
18684 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18685 parameter of __libc_res_nsearch to check for separately allocated
18687 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18689 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18690 additional NULL to __libc_res_nquery.
18691 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18692 __libc_res_nsearch.
18693 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18694 * include/resolv.h: Update prototypes of __libc_res_nquery,
18695 __libc_res_nsearch, __libc_res_nsend.
18697 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18699 * math/auto-libm-test-in: Add tests of fma.
18700 * math/auto-libm-test-out: Regenerated.
18701 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18702 (fma_towardzero_test_data): Likewise.
18703 (fma_downward_test_data): Likewise.
18704 (fma_upward_test_data): Likewise.
18705 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18707 (rounding_modes): Add values for new field.
18708 (func_calc_method): Add value mpfr_fff_f.
18709 (func_calc_desc): Add mpfr_fff_f union field.
18710 (test_function): Add field exact_args.
18711 (FUNC): Add macro argument EXACT_ARGS.
18712 (FUNC_mpfr_f_f): Update call to FUNC.
18713 (FUNC_mpfr_f_f): Likewise.
18714 (FUNC_mpfr_ff_f): Likewise.
18715 (FUNC_mpfr_if_f): Likewise.
18716 (FUNC_mpc_c_f): Likewise.
18717 (FUNC_mpc_c_c): Likewise.
18718 (test_functions): Add fma. Update calls to FUNC.
18719 (handle_input_arg): Add argument exact_args.
18720 (add_test): Update call to handle_input_arg.
18721 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18722 (output_for_one_input_case): Update call to calc_generic_results.
18723 Recalculate exact zero results in each rounding mode.
18725 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18726 non-negative before setting low bit.
18727 * math/auto-libm-test-in: Mark one asin test possibly having
18728 spurious underflow.
18729 * math/auto-libm-test-out: Regenerated.
18730 * sysdeps/i386/fpu/libm-test-ulps: Update.
18731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18733 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18735 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18736 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18737 ports/sysdeps/unix/sysv/linux/microblaze.
18738 * README: Add missing listing for microblaze*-*-linux-gnu.
18740 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18742 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18745 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18747 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18748 * sysdeps/unix/sysv/linux/ia64: Move directory from
18749 ports/sysdeps/unix/sysv/linux/ia64.
18750 * README: Update listing for ia64-*-linux-gnu.
18752 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18753 Joseph Myers <joseph@codesourcery.com>
18755 * Makeconfig (test-name): New variable.
18756 (evaluate-test): Likewise.
18757 * Makerules (do-test-clean): Remove .test-result files.
18758 (common-mostlyclean): Likewise.
18759 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18760 * scripts/evaluate-test.sh: New file.
18762 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18764 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18765 separate $(objpfx)tst-fopenloc-cmp.out and
18766 $(objpfx)tst-fopenloc-mem.out targets.
18767 (tests): Update dependencies.
18768 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18769 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18770 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18771 (tst-rxspencer-no-utf8-ARGS): New variable.
18772 (tst-rxspencer-no-utf8-ENV): Likewise.
18773 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18774 instead of $(objpfx)tst-rxspencer-mem.
18775 ($(objpfx)tst-rxspencer-mem): Change target to
18776 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18777 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18778 * posix/tst-rxspencer-no-utf8.c: New file.
18780 * elf/Makefile ($(objpfx)order.out): Remove rule.
18781 [$(run-built-tests) = yes] (tests): Depend on
18782 $(objpfx)order-cmp.out.
18783 ($(objpfx)order-cmp.out): New rule.
18784 [$(run-built-tests) = yes] (tests): Depend on
18785 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18786 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18787 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18788 $(objpfx)tst-array5-static-cmp.out.
18789 ($(objpfx)tst-array1.out): Remove rule.
18790 ($(objpfx)tst-array1-cmp.out): New rule.
18791 ($(objpfx)tst-array1-static.out): Remove rule.
18792 ($(objpfx)tst-array1-static-cmp.out): New rule.
18793 ($(objpfx)tst-array2.out): Remove rule.
18794 ($(objpfx)tst-array2-cmp.out): New rule.
18795 ($(objpfx)tst-array3.out): Remove rule.
18796 ($(objpfx)tst-array3-cmp.out): New rule.
18797 ($(objpfx)tst-array4.out): Remove rule.
18798 ($(objpfx)tst-array4-cmp.out): New rule.
18799 ($(objpfx)tst-array5.out): Remove rule.
18800 ($(objpfx)tst-array5-cmp.out): New rule.
18801 ($(objpfx)tst-array5-static.out): Remove rule.
18802 ($(objpfx)tst-array5-static-cmp.out): New rule.
18803 [$(run-built-tests) = yes] (tests): Depend on
18804 $(objpfx)order2-cmp.out.
18805 ($(objpfx)order2.out): Remove rule.
18806 ($(objpfx)order2-cmp.out): New rule.
18807 ($(objpfx)tst-initorder.out): Remove rule.
18808 [$(run-built-tests) = yes] (tests): Depend on
18809 $(objpfx)tst-initorder-cmp.out.
18810 ($(objpfx)tst-initorder-cmp.out): New rule.
18811 ($(objpfx)tst-initorder2.out): Remove rule.
18812 [$(run-built-tests) = yes] (tests): Depend on
18813 $(objpfx)tst-initorder2-cmp.out.
18814 ($(objpfx)tst-initorder2-cmp.out): New rule.
18815 [$(run-built-tests) = yes] (tests): Depend on
18816 $(objpfx)tst-unused-dep-cmp.out.
18817 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18818 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18819 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18820 on $(objpfx)tst-setvbuf1-cmp.out.
18821 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18822 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18823 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18824 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18825 ($(objpfx)tst-svc.out): Remove rule.
18826 ($(objpfx)tst-svc-cmp.out): New rule.
18828 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18830 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18831 * ctype/ctype.h [__USE_MISC]: Likewise.
18832 * dirent/dirent.h [__USE_MISC]: Likewise.
18833 * grp/grp.h [__USE_MISC]: Likewise.
18834 * io/fcntl.h [__USE_MISC]: Likewise.
18835 * io/sys/stat.h [__USE_MISC]: Likewise.
18836 * libio/stdio.h [__USE_MISC]: Likewise.
18837 * posix/unistd.h [__USE_MISC]: Likewise.
18838 * pwd/pwd.h [__USE_MISC]: Likewise.
18839 * stdlib.h [__USE_MISC]: Likewise.
18840 * string/bits/string2.h [__USE_MISC]: Likewise.
18841 * string/string.h [__USE_MISC]: Likewise.
18842 * time/time.h [__USE_MISC]: Likewise.
18844 2014-02-13 Andreas Schwab <schwab@suse.de>
18847 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18848 second answer buffer if it was separately allocated.
18850 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18852 * sysdeps/mips/math-tests.h: Include <features.h>.
18853 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18854 (ROUNDING_TESTS_long_double): Do not define.
18855 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18856 (EXCEPTION_TESTS_long_double): Likewise.
18857 * sysdeps/mips/mips64/libm-test-ulps: Update.
18859 * include/features.h (__USE_BSD): Remove macro definitions.
18860 (__USE_SVID): Likewise.
18861 (_BSD_SOURCE): Likewise.
18862 (_SVID_SOURCE): Likewise.
18863 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18864 from definition of _DEFAULT_SOURCE.
18865 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18867 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18868 * bits/mman.h [__USE_BSD]: Likewise.
18869 * bits/termios.h [__USE_BSD]: Likewise.
18870 * bits/waitstatus.h [__USE_BSD]: Likewise.
18871 * ctype/ctype.h [__USE_SVID]: Likewise.
18872 * dirent/dirent.h [__USE_BSD]: Likewise.
18873 * grp/grp.h [__USE_SVID]: Likewise.
18874 [__USE_BSD]: Likewise.
18875 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18876 * io/fcntl.h [__USE_BSD]: Likewise.
18877 * io/ftw.h [__USE_BSD]: Likewise.
18878 * io/sys/stat.h [__USE_BSD]: Likewise.
18879 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18880 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18881 * libio/stdio.h [__USE_SVID]: Likewise.
18882 [__USE_BSD]: Likewise.
18883 * math/math.h [__USE_SVID]: Likewise.
18884 [__USE_BSD]: Likewise.
18885 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18886 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18887 * misc/search.h [__USE_SVID]: Likewise.
18888 * misc/sys/mman.h [__USE_BSD]: Likewise.
18889 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18890 * misc/sys/uio.h [__USE_BSD]: Likewise.
18891 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18892 * posix/glob.h [__USE_BSD]: Likewise.
18893 * posix/regex.h [__USE_BSD]: Likewise.
18894 * posix/sys/types.h [__USE_BSD]: Likewise.
18895 [__USE_SVID]: Likewise.
18896 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18897 * posix/sys/wait.h [__USE_BSD]: Likewise.
18898 [__USE_SVID]: Likewise.
18899 * posix/unistd.h [__USE_BSD]: Likewise.
18900 [__USE_SVID]: Likewise.
18901 * pwd/pwd.h [__USE_SVID]: Likewise.
18902 * resolv/netdb.h [__USE_BSD]: Likewise.
18903 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18904 * signal/signal.h [__USE_BSD]: Likewise.
18905 [__USE_SVID]: Likewise.
18906 * socket/sys/socket.h [__USE_BSD]: Likewise.
18907 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18908 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18909 [__USE_SVID]: Likewise.
18910 * string/bits/string2.h [__USE_BSD]: Likewise.
18911 [__USE_SVID]: Likewise.
18912 * string/bits/string3.h [__USE_BSD]: Likewise.
18913 * string/endian.h [__USE_BSD]: Likewise.
18914 * string/string.h [__USE_SVID]: Likewise.
18915 [__USE_BSD]: Likewise.
18916 * string/strings.h [__USE_BSD]: Likewise.
18917 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18918 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18919 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18920 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18921 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18922 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18926 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18927 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18929 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18930 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18932 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18934 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18935 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18936 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18938 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18940 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18941 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18942 * termios/termios.h [__USE_BSD]: Likewise.
18943 * time/sys/time.h [__USE_BSD]: Likewise.
18944 * time/time.h [__USE_BSD]: Likewise.
18945 [__USE_SVID]: Likewise.
18947 * Makefile (subdir_targets): Remove subdir_lint.out.
18949 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18950 (do-tst-printf): Likewise.
18951 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18952 $(objpfx)tst-printf.out.
18954 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18956 * Makerules (check-abi-%): Change target to
18957 $(objpfx)check-abi-%.out.
18958 (check-abi target): Update dependencies.
18959 (check-abi-pattern variable): Redirect output of diff to $@.
18960 (check-abi variable): Likewise.
18961 * elf/Makefile (check-abi): Update dependencies.
18963 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18965 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18966 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18968 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18969 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18970 value has largest subnormal exponent.
18971 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18972 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18973 * sysdeps/aarch64/soft-fp/sfp-machine.h
18974 (_FP_TININESS_AFTER_ROUNDING): New macro.
18975 * sysdeps/alpha/soft-fp/sfp-machine.h
18976 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18977 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18979 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18980 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18981 * sysdeps/mips/soft-fp/sfp-machine.h
18982 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18983 * sysdeps/powerpc/soft-fp/sfp-machine.h
18984 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18985 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18987 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18988 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18989 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18990 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18991 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18994 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18997 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19000 2014-02-12 Richard Henderson <rth@redhat.com>
19002 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19003 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19004 * sysdeps/unix/sysv/linux/alpha: Move directory from
19005 ports/sysdeps/unix/sysv/linux/alpha.
19006 * README: Update listing for alpha-*-linux-gnu.
19008 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19010 * include/features.h: Update comment documenting feature test
19012 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19014 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19015 (_SVID_SOURCE): Likewise.
19016 (_DEFAULT_SOURCE): Update description of default features.
19017 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19019 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19020 (S_ISVTX): Likewise.
19021 * manual/math.texi (Mathematical Constants): Likewise.
19022 * manual/signal.texi (Interrupted Primitives): Likewise.
19023 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19024 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19025 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19026 Don't refer to _SVID_SOURCE in warning text.
19028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19030 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19032 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19033 * sysdeps/mips/dl-lookup.c: Remove.
19034 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19036 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19039 * math/auto-libm-test-in: Add testcase for expl.
19040 * math/auto-libm-test-out: Regenerate.
19041 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19042 calculation of unsafe.
19043 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19045 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19047 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19048 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19049 ports/sysdeps/unix/sysv/linux/aarch64.
19050 * README: Update listing for aarch64*-*-linux-gnu.
19052 2014-02-11 Will Newton <will.newton@linaro.org>
19054 * manual/probes.texi (Mathematical Function Probes): Use
19055 "triggered" instead of "hit".
19057 * manual/probes.texi (Internal Probes): Add documentation
19058 of setjmp, longjmp and longjmp_target probes.
19060 * include/stap-probe.h: Add comment about probe argument
19063 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19064 definition. (tr_where, tr_freehook, tr_mallochook,
19065 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19067 2014-02-11 David S. Miller <davem@davemloft.net>
19069 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19070 processing int_tests.
19072 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19074 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19075 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19076 * sysdeps/unix/sysv/linux/mips: Move directory from
19077 ports/sysdeps/unix/sysv/linux/mips.
19078 * README: Update listing for mips-*-linux-gnu and
19079 mips64-*-linux-gnu.
19081 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19083 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19084 * sysdeps/unix/sysv/linux/m68k: Move directory from
19085 ports/sysdeps/unix/sysv/linux/m68k.
19086 * README: Update listing for m68k-*-linux-gnu.
19088 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19090 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19091 * sysdeps/unix/sysv/linux/generic: Move directory from
19092 ports/sysdeps/unix/sysv/linux/generic.
19093 * sysdeps/unix/sysv/linux/tile: Move directory from
19094 ports/sysdeps/unix/sysv/linux/tile.
19095 * README: Update listing for tile*-*-linux-gnu.
19097 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19099 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19101 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19102 * catgets/open_catalog.c (__open_catalog): Likewise.
19103 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19104 * debug/confstr_chk.c: Likewise.
19105 * debug/fread_chk.c (__fread_chk): Likewise.
19106 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19107 * debug/getgroups_chk.c: Likewise.
19108 * debug/mbsnrtowcs_chk.c: Likewise.
19109 * debug/mbsrtowcs_chk.c: Likewise.
19110 * debug/mbstowcs_chk.c: Likewise.
19111 * debug/memcpy_chk.c: Likewise.
19112 * debug/memmove_chk.c: Likewise.
19113 * debug/mempcpy_chk.c: Likewise.
19114 * debug/memset_chk.c: Likewise.
19115 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19116 * debug/strcat_chk.c (__strcat_chk): Likewise.
19117 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19118 * debug/strncat_chk.c (__strncat_chk): Likewise.
19119 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19120 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19121 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19122 * debug/wcpncpy_chk.c: Likewise.
19123 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19124 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19125 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19126 * debug/wcsncpy_chk.c: Likewise.
19127 * debug/wcsnrtombs_chk.c: Likewise.
19128 * debug/wcsrtombs_chk.c: Likewise.
19129 * debug/wcstombs_chk.c: Likewise.
19130 * debug/wmemcpy_chk.c: Likewise.
19131 * debug/wmemmove_chk.c: Likewise.
19132 * debug/wmempcpy_chk.c: Likewise.
19133 * debug/wmemset_chk.c: Likewise.
19134 * dirent/scandirat.c (SCANDIRAT): Likewise.
19135 * dlfcn/dladdr1.c (dladdr1): Likewise.
19136 * dlfcn/dladdr.c (dladdr): Likewise.
19137 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19138 * dlfcn/dlerror.c (__dlerror): Likewise.
19139 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19140 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19141 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19142 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19143 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19144 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19145 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19146 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19148 * elf/dl-conflict.c: Likewise.
19149 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19150 * elf/dl-dst.h: Likewise.
19151 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19152 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19153 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19154 * elf/dl-init.c (call_init, _dl_init): Likewise.
19155 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19156 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19157 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19159 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19161 * elf/dl-minimal.c (__libc_memalign): Likewise.
19162 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19163 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19164 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19165 * elf/dl-sym.c (do_sym): Likewise.
19166 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19167 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19168 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19169 * elf/dl-writev.h (_dl_writev): Likewise.
19170 * elf/ldconfig.c (search_dir): Likewise.
19171 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19172 (dl_main): Likewise.
19173 * elf/setup-vdso.h (setup_vdso): Likewise.
19174 * grp/compat-initgroups.c (compat_call): Likewise.
19175 * grp/fgetgrent.c (fgetgrent): Likewise.
19176 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19177 * grp/putgrent.c (putgrent): Likewise.
19178 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19180 * hurd/hurdinit.c: Likewise.
19181 * iconvdata/8bit-gap.c (struct): Likewise.
19182 * iconvdata/ansi_x3.110.c : Likewise.
19183 * iconvdata/big5.c : Likewise.
19184 * iconvdata/big5hkscs.c : Likewise.
19185 * iconvdata/cp1255.c: Likewise.
19186 * iconvdata/cp1258.c : Likewise.
19187 * iconvdata/cp932.c : Likewise.
19188 * iconvdata/euc-cn.c: Likewise.
19189 * iconvdata/euc-jisx0213.c : Likewise.
19190 * iconvdata/euc-jp.c: Likewise.
19191 * iconvdata/euc-jp-ms.c : Likewise.
19192 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19193 * iconvdata/gb18030.c : Likewise.
19194 * iconvdata/gbbig5.c (const): Likewise.
19195 * iconvdata/gbgbk.c: Likewise.
19196 * iconvdata/gbk.c : Likewise.
19197 * iconvdata/ibm1364.c : Likewise.
19198 * iconvdata/ibm930.c : Likewise.
19199 * iconvdata/ibm932.c: Likewise.
19200 * iconvdata/ibm933.c : Likewise.
19201 * iconvdata/ibm935.c : Likewise.
19202 * iconvdata/ibm937.c : Likewise.
19203 * iconvdata/ibm939.c : Likewise.
19204 * iconvdata/ibm943.c: Likewise.
19205 * iconvdata/iso_11548-1.c: Likewise.
19206 * iconvdata/iso-2022-cn.c : Likewise.
19207 * iconvdata/iso-2022-cn-ext.c : Likewise.
19208 * iconvdata/iso-2022-jp-3.c: Likewise.
19209 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19210 * iconvdata/iso-2022-kr.c : Likewise.
19211 * iconvdata/iso646.c (gconv_end): Likewise.
19212 * iconvdata/iso_6937-2.c : Likewise.
19213 * iconvdata/iso_6937.c : Likewise.
19214 * iconvdata/iso8859-1.c: Likewise.
19215 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19216 * iconvdata/shift_jisx0213.c : Likewise.
19217 * iconvdata/sjis.c : Likewise.
19218 * iconvdata/t.61.c : Likewise.
19219 * iconvdata/tcvn5712-1.c : Likewise.
19220 * iconvdata/tscii.c: Likewise.
19221 * iconvdata/uhc.c : Likewise.
19222 * iconvdata/unicode.c (gconv_end): Likewise.
19223 * iconvdata/utf-16.c (gconv_end): Likewise.
19224 * iconvdata/utf-32.c (gconv_end): Likewise.
19225 * iconvdata/utf-7.c (base64): Likewise.
19226 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19227 * iconv/gconv_close.c (__gconv_close): Likewise.
19228 * iconv/gconv_open.c (__gconv_open): Likewise.
19229 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19230 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19231 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19232 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19233 (ucs4le_internal_loop_single): Likewise.
19234 * iconv/iconv.c (iconv): Likewise.
19235 * iconv/iconv_close.c: Likewise.
19236 * iconv/loop.c (SINGLE): Likewise.
19237 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19238 * include/atomic.h: Likewise.
19239 * inet/inet6_option.c (option_alloc): Likewise.
19240 * intl/bindtextdom.c (set_binding_values): Likewise.
19241 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19242 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19243 * intl/localealias.c (read_alias_file): Likewise.
19244 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19245 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19246 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19247 * libio/fmemopen.c (fmemopen): Likewise.
19248 * libio/iofgets.c (_IO_fgets): Likewise.
19249 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19250 * libio/iofgetws.c (fgetws): Likewise.
19251 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19252 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19253 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19254 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19255 * locale/findlocale.c (_nl_find_locale): Likewise.
19256 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19257 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19259 * locale/setlocale.c (setlocale): Likewise.
19260 * login/programs/pt_chown.c (main): Likewise.
19261 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19262 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19263 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19264 (mmap, mmap64, mremap, munmap): Likewise.
19265 * math/e_exp2l.c: Likewise.
19266 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19267 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19268 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19269 * math/s_catan.c (__catan): Likewise.
19270 * math/s_catanf.c (__catanf): Likewise.
19271 * math/s_catanh.c (__catanh): Likewise.
19272 * math/s_catanhf.c (__catanhf): Likewise.
19273 * math/s_catanhl.c (__catanhl): Likewise.
19274 * math/s_catanl.c (__catanl): Likewise.
19275 * math/s_ccosh.c (__ccosh): Likewise.
19276 * math/s_ccoshf.c (__ccoshf): Likewise.
19277 * math/s_ccoshl.c (__ccoshl): Likewise.
19278 * math/s_cexp.c (__cexp): Likewise.
19279 * math/s_cexpf.c (__cexpf): Likewise.
19280 * math/s_cexpl.c (__cexpl): Likewise.
19281 * math/s_clog10.c (__clog10): Likewise.
19282 * math/s_clog10f.c (__clog10f): Likewise.
19283 * math/s_clog10l.c (__clog10l): Likewise.
19284 * math/s_clog.c (__clog): Likewise.
19285 * math/s_clogf.c (__clogf): Likewise.
19286 * math/s_clogl.c (__clogl): Likewise.
19287 * math/s_csin.c (__csin): Likewise.
19288 * math/s_csinf.c (__csinf): Likewise.
19289 * math/s_csinh.c (__csinh): Likewise.
19290 * math/s_csinhf.c (__csinhf): Likewise.
19291 * math/s_csinhl.c (__csinhl): Likewise.
19292 * math/s_csinl.c (__csinl): Likewise.
19293 * math/s_csqrt.c (__csqrt): Likewise.
19294 * math/s_csqrtf.c (__csqrtf): Likewise.
19295 * math/s_csqrtl.c (__csqrtl): Likewise.
19296 * math/s_ctan.c (__ctan): Likewise.
19297 * math/s_ctanf.c (__ctanf): Likewise.
19298 * math/s_ctanh.c (__ctanh): Likewise.
19299 * math/s_ctanhf.c (__ctanhf): Likewise.
19300 * math/s_ctanhl.c (__ctanhl): Likewise.
19301 * math/s_ctanl.c (__ctanl): Likewise.
19302 * math/w_pow.c: Likewise.
19303 * math/w_powf.c: Likewise.
19304 * math/w_powl.c: Likewise.
19305 * math/w_scalb.c (sysv_scalb): Likewise.
19306 * math/w_scalbf.c (sysv_scalbf): Likewise.
19307 * math/w_scalbl.c (sysv_scalbl): Likewise.
19308 * misc/error.c (error_tail): Likewise.
19309 * misc/pselect.c (__pselect): Likewise.
19310 * nis/nis_callback.c (__nis_create_callback): Likewise.
19311 * nis/nis_call.c (__nisfind_server): Likewise.
19312 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19313 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19314 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19315 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19316 * nis/nis_lookup.c (nis_lookup): Likewise.
19317 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19318 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19319 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19320 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19321 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19322 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19323 * nis/nss_compat/compat-initgroups.c (add_group)
19324 (internal_getgrent_r): Likewise.
19325 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19326 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19327 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19328 (internal_getspnam_r): Likewise.
19329 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19330 (_nss_nis_getaliasbyname_r): Likewise.
19331 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19332 (_nss_nis_getntohost_r): Likewise.
19333 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19334 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19335 (_nss_nis_getgrgid_r): Likewise.
19336 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19337 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19338 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19339 (_nss_nis_gethostbyname4_r): Likewise.
19340 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19341 (initgroups_netid): Likewise.
19342 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19343 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19344 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19345 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19346 (_nss_nis_getprotobynumber_r): Likewise.
19347 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19348 (_nss_nis_getsecretkey): Likewise.
19349 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19350 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19351 (_nss_nis_getpwuid_r): Likewise.
19352 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19353 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19354 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19355 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19356 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19357 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19358 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19360 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19361 (_nss_nisplus_getntohost_r): Likewise.
19362 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19363 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19364 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19365 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19367 * nis/nss_nisplus/nisplus-initgroups.c
19368 (_nss_nisplus_initgroups_dyn): Likewise.
19369 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19370 (_nss_nisplus_getnetbyaddr_r): Likewise.
19371 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19372 (_nss_nisplus_getprotobynumber_r): Likewise.
19373 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19374 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19375 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19377 * nis/nss_nisplus/nisplus-service.c
19378 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19379 (_nss_nisplus_getservbyport_r): Likewise.
19380 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19381 (_nss_nisplus_getspnam_r): Likewise.
19382 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19384 * nscd/aicache.c (addhstaiX): Likewise.
19385 * nscd/cache.c (cache_search, prune_cache): Likewise.
19386 * nscd/connections.c (register_traced_file, send_ro_fd)
19387 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19388 (main_loop_epoll): Likewise.
19389 * nscd/grpcache.c (addgrbyX): Likewise.
19390 * nscd/hstcache.c (addhstbyX): Likewise.
19391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19392 * nscd/mem.c (gc, mempool_alloc): Likewise.
19393 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19394 (addinnetgrX): Likewise.
19395 * nscd/nscd-client.h (__nscd_acquire_maplock)
19396 (__nscd_drop_map_ref): Likewise.
19397 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19398 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19401 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19403 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19404 (__nscd_get_map_ref): Likewise.
19405 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19406 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19408 * nscd/pwdcache.c (addpwbyX): Likewise.
19409 * nscd/selinux.c (preserve_capabilities): Likewise.
19410 * nscd/servicescache.c (addservbyX): Likewise.
19411 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19412 * posix/fnmatch.c (fnmatch): Likewise.
19413 * posix/getopt.c (_getopt_internal_r): Likewise.
19414 * posix/glob.c (glob, glob_in_dir): Likewise.
19415 * posix/wordexp.c (exec_comm_child): Likewise.
19416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19417 (getanswer_r, gaih_getanswer_slice): Likewise.
19418 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19419 * resolv/res_init.c: Likewise.
19420 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19421 * resolv/res_query.c (__libc_res_nquery): Likewise.
19422 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19424 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19425 * stdio-common/perror.c (perror): Likewise.
19426 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19427 * stdio-common/tmpnam.c (tmpnam): Likewise.
19428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19429 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19430 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19432 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19433 * stdlib/putenv.c (putenv): Likewise.
19434 * stdlib/setenv.c (__add_to_environ): Likewise.
19435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19436 * stdlib/strtol_l.c (INTERNAL): Likewise.
19437 * string/memmem.c (memmem): Likewise.
19438 * string/strerror.c (strerror): Likewise.
19439 * string/strnlen.c (__strnlen): Likewise.
19440 * string/test-memmem.c (simple_memmem): Likewise.
19441 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19442 * sunrpc/pm_getport.c (__get_socket): Likewise.
19443 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19444 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19445 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19446 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19448 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19449 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19450 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19452 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19453 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19455 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19457 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19458 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19459 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19460 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19461 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19463 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19465 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19466 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19467 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19468 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19472 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19475 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19477 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19478 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19479 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19480 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19499 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19501 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19502 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19503 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19504 * sysdeps/posix/sleep.c: Likewise.
19505 * sysdeps/posix/tempname.c: Likewise.
19506 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19509 * sysdeps/powerpc/powerpc32/dl-machine.h
19510 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19511 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19513 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19514 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19516 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19518 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19520 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19521 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19522 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19523 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19524 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19525 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19527 (elf_machine_lazy_rel): Likewise.
19528 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19530 (elf_machine_lazy_rel): Likewise.
19531 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19532 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19533 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19534 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19535 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19536 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19537 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19540 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19541 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19542 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19543 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19544 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19545 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19546 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19547 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19548 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19549 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19550 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19552 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19553 (__posix_fallocate64_l64): Likewise.
19554 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19555 (posix_fallocate): Likewise.
19556 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19559 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19560 (getifaddrs_internal): Likewise.
19561 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19562 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19563 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19564 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19565 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19566 (__posix_fallocate64_l64): Likewise.
19567 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19569 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19571 (__get_clockfreq): Likewise.
19572 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19573 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19574 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19577 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19578 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19579 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19581 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19582 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19583 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19584 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19586 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19587 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19589 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19590 (posix_fallocate): Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19592 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19593 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19594 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19595 (elf_machine_rela, elf_machine_rela_relative)
19596 (elf_machine_lazy_rel): Likewise.
19597 * time/asctime.c (asctime_internal): Likewise.
19598 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19599 * time/tzset.c (__tzset_parse_tz): Likewise.
19600 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19601 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19602 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19603 * wcsmbs/wcsmbsload.h: Likewise.
19606 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19608 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19609 (arena_get2): Remove THREAD_STATS conditionals.
19610 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19611 (__malloc_stats, int): Likewise.
19613 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19615 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19616 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19618 * manual/setjmp.texi: Fix typos/grammar errors.
19620 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19621 Only return early when n is <= 0. Delete unused return statement.
19623 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19624 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19625 * debug/tst-longjmp_chk3.c: New file.
19627 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19628 (test_main): Replace code with set_fortify_handler call.
19629 * debug/test-strcpy_chk.c: Likewise.
19630 * debug/tst-chk1.c: Likewise.
19631 * debug/tst-longjmp_chk.c: Likewise.
19632 * test-skeleton.c: Include fcntl.h & paths.h
19633 (set_fortify_handler): Define.
19635 * debug/tst-longjmp_chk.c: Add header comment and include
19636 ../test-skeleton.c.
19637 (do_test): Mark static.
19638 (TEST_FUNCTION): Define.
19640 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19641 (IP_PMTUDISC_INTERFACE): Likewise.
19642 (IP_MULTICAST_IF): Likewise.
19643 (IP_MULTICAST_TTL): Likewise.
19644 (IP_MULTICAST_LOOP): Likewise.
19645 (IP_ADD_MEMBERSHIP): Likewise.
19646 (IP_DROP_MEMBERSHIP): Likewise.
19647 (IP_UNBLOCK_SOURCE): Likewise.
19648 (IP_BLOCK_SOURCE): Likewise.
19649 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19650 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19651 (IP_MSFILTER): Likewise.
19652 (MCAST_JOIN_GROUP): Likewise.
19653 (MCAST_BLOCK_SOURCE): Likewise.
19654 (MCAST_UNBLOCK_SOURCE): Likewise.
19655 (MCAST_LEAVE_GROUP): Likewise.
19656 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19657 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19658 (MCAST_MSFILTER): Likewise.
19659 (IP_MULTICAST_ALL): Likewise.
19660 (IP_UNICAST_IF): Likewise.
19662 * timezone/Makefile: Delete $(have-ksh) check.
19663 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19664 * timezone/tzselect.ksh: Add +x mode bits.
19666 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19667 (ANON_INODE_FS_MAGIC): Likewise.
19668 (BDEVFS_MAGIC): Likewise.
19669 (BINFMTFS_MAGIC): Likewise.
19670 (BTRFS_TEST_MAGIC): Likewise.
19671 (CRAMFS_MAGIC_WEND): Likewise.
19672 (DEBUGFS_MAGIC): Likewise.
19673 (ECRYPTFS_SUPER_MAGIC): Likewise.
19674 (EXT3_SUPER_MAGIC): Likewise.
19675 (EXT4_SUPER_MAGIC): Likewise.
19676 (FUTEXFS_SUPER_MAGIC): Likewise.
19677 (HOSTFS_SUPER_MAGIC): Likewise.
19678 (HUGETLBFS_MAGIC): Likewise.
19679 (MINIX3_SUPER_MAGIC): Likewise.
19680 (MTD_INODE_FS_MAGIC): Likewise.
19681 (NILFS_SUPER_MAGIC): Likewise.
19682 (OPENPROM_SUPER_MAGIC): Likewise.
19683 (PIPEFS_MAGIC): Likewise.
19684 (PSTOREFS_MAGIC): Likewise.
19685 (QNX6_SUPER_MAGIC): Likewise.
19686 (RAMFS_MAGIC): Likewise.
19687 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19688 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19689 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19690 (SECURITYFS_MAGIC): Likewise.
19691 (SELINUX_MAGIC): Likewise.
19692 (SMACK_MAGIC): Likewise.
19693 (SOCKFS_MAGIC): Likewise.
19694 (SQUASHFS_MAGIC): Likewise.
19695 (STACK_END_MAGIC): Likewise.
19696 (TMPFS_MAGIC): Likewise.
19697 (USBDEVICE_SUPER_MAGIC): Likewise.
19698 (V9FS_MAGIC): Likewise.
19699 (XENFS_SUPER_MAGIC): Likewise.
19700 (CRAMFS_MAGIC): Fix typo in comment.
19701 (EXT2_SUPER_MAGIC): Update comment.
19702 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19704 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19706 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19707 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19708 * sysdeps/unix/sysv/linux/arm: Move directory from
19709 ports/sysdeps/unix/sysv/linux/arm.
19710 * README: Update listing for arm-*-linux-gnueabi.
19712 * README: Remove mention of am33.
19714 2014-02-07 Roland McGrath <roland@hack.frob.com>
19716 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19717 than the comma operator, to avoid "rhs of comma has no effect"
19719 (__sigfillset, __sigandset, __sigorset): Likewise.
19720 * include/signal.h (__sigemptyset): Likewise.
19721 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19723 2014-02-07 Allan McRae <allan@archlinux.org>
19725 * version.h (RELEASE): Set to "development".
19726 (VERSION): Set to "2.19.90"
19727 * NEWS: Add 2.20 section.
19729 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19732 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19734 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19736 * manual/contrib.texi: Update entry for Carlos O'Donell,
19737 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19739 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19741 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19743 * sysdeps/unix/sysv/linux/kernel-features.h
19744 [__LINUX_KERNEL_VERSION >= 0x020621]
19745 (__ASSUME_PROC_PID_TASK_COMM): Define.
19747 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19750 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19751 conversion when destination buffer does not have enough space.
19752 * libio/tst-ftell-partial-wide.c: New test case.
19753 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19755 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19756 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19757 Leonard and Allan McRae.
19759 2014-02-04 David S. Miller <davem@davemloft.net>
19761 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19764 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19793 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19795 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19796 * shlib-versions: Likewise.
19798 2014-02-04 Roland McGrath <roland@hack.frob.com>
19799 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19802 (abilist-pattern): New variable, set to %-le.abilist.
19804 * Makerules (abilist-pattern): New variable.
19805 (vpath): Use $(abilist-pattern) in place of %.abilist.
19806 (check-abi-% pattern rule): Likewise.
19807 (check-abi, update-abi): Likewise.
19809 2014-02-04 Eric Wong <normalperson@yhbt.net>
19811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19813 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19815 * manual/startup.texi: Add next, previous, and top entries for
19816 the `Program Arguments' and `Environment Variables' nodes.
19818 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19820 * manual/macros.texi: Add comments before MTASC-safety macros.
19822 * manual/users.texi: Document MTASC-safety properties.
19824 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19825 (pthread_getspecific, pthread_setspecific): Format with
19826 @deftypefun, and add @safety note.
19827 * manual/signal.texi: Move comments that analyze the above
19828 functions to their home place.
19830 2014-02-03 Allan McRae <allan@archlinux.org>
19832 * po/sl.po: Update Slovenian translation from translation project.
19834 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19836 * manual/time.texi (timegm): Add missing blank after @c.
19837 Reported by Joseph Myers <joseph@codesourcery.com>.
19839 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19841 * manual/check-safety.sh: New.
19842 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19844 * manual/terminal.texi: Document MTASC-safety properties.
19846 * manual/filesys.texi: Document MTASC-safety properties.
19848 * manual/errno.texi: Document MTASC-safety properties.
19850 * manual/intro.texi: Document safety identifiers and
19853 * manual/string.texi (wcstok): Fix prototype.
19854 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19856 * manual/time.texi: Document MTASC-safety properties.
19858 * manual/string.texi: Document MTASC-safety properties.
19860 * manual/threads.texi: Document MTASC-safety properties.
19862 * manual/stdio.texi: Document MTASC-safety properties.
19864 * manual/syslog.texi: Document MTASC-safety properties.
19866 * manual/sysinfo.texi: Document MTASC-safety properties.
19868 * manual/startup.texi: Document MTASC-safety properties.
19870 * manual/socket.texi: Document MTASC-safety properties.
19872 * manual/signal.texi: Document MTASC-safety properties.
19874 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19876 * manual/setjmp.texi: Document MTASC-safety properties.
19878 * manual/search.texi: Document MTASC-safety properties.
19880 * manual/resource.texi: Document MTASC-safety properties.
19882 * manual/process.texi: Document MTASC-safety properties.
19884 * manual/platform.texi: Document MTASC-safety properties.
19886 * manual/pipe.texi: Document MTASC-safety properties.
19888 * manual/pattern.texi: Document MTASC-safety properties.
19890 * manual/message.texi: Document MTASC-safety properties.
19893 * manual/memory.texi: Document MTASC-safety properties.
19895 * manual/math.texi: Document MTASC-safety properties.
19897 * manual/locale.texi: Document MTASC-safety properties.
19899 * manual/llio.texi: Document MTASC-safety properties.
19901 * manual/libdl.texi: New.
19903 * manual/lang.texi: Document MTASC-safety properties.
19905 * manual/job.texi: Document MTASC-safety properties.
19907 * manual/getopt.texi: Document MTASC-safety properties.
19909 * manual/ctype.texi: Document MTASC-safety properties.
19911 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19914 * csu/libc-tls.c (static_map): Remove variable.
19915 (__libc_setup_tls): Use main executable's link map for TLS data.
19916 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19917 casing for LM_ID_BASE and GL(dl_nns).
19918 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19919 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19920 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19921 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19922 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19924 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19927 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19929 * manual/debug.texi: Document MTASC-safety properties.
19931 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19934 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19935 of __x86_64__ when disabling x87 inline functions.
19937 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19939 * manual/charset.texi: Document MTASC-safety properties.
19941 * manual/crypt.texi: Document MTASC-safety properties.
19943 * manual/conf.texi: Document MTASC-safety properties.
19945 * manual/arith.texi: Document MTASC-safety properties.
19947 * manual/argp.texi: Document MTASC-safety properties.
19949 * manual/macros.texi: Introduce macros to document multi
19950 thread, asynchronous signal and asynchronous cancellation
19952 * manual/intro.texi: Introduce the properties themselves.
19954 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19956 * sysdeps/sh/sh4/Makefile: New file.
19958 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19960 * math/gen-libm-test.pl ($srcdir): New variable.
19961 ($auto_input): Use it.
19963 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19966 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19967 access beyond array bounds when parsing netgroups file.
19969 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19970 the old buffer before realloc.
19972 2014-01-27 Allan McRae <allan@archlinux.org>
19974 * po/fr.po: Update French translation from translation project.
19976 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19978 * sysdeps/sh/libm-test-ulps: Regenerate.
19980 2014-01-24 David S. Miller <davem@davemloft.net>
19982 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19984 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19986 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19987 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19989 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19992 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19993 string pointers after reallocation.
19995 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19997 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19998 __SH4A__ instead of __SH_FPU_ANY__.
20000 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20002 * sysdeps/sh/fpu_control.h: New file.
20003 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20004 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20005 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20006 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20007 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20008 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20009 * sysdeps/sh/sys/ucontext.h: Remove.
20010 * sysdeps/sh/sys: Remove directory.
20012 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20014 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20015 s390/sys/ucontext.h.
20016 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20017 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20019 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20022 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20024 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20028 Adjust the vDSO correctly for internal calls.
20029 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20031 2014-01-20 Allan McRae <allan@archlinux.org>
20033 * po/ca.po: Update Catalan translation from translation project.
20035 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20037 * sysdeps/s390/sotruss-lib.c: New file.
20039 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20043 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20044 local calls issues by not having a PLT stub required for IFUNC calls.
20045 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20047 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20049 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20050 * math/test-fpucw-static.c: Likewise.
20052 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20055 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20057 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20059 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20060 implementation for powerpc.
20062 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20065 * sysdeps/posix/system.c (__libc_system): Do not enable
20066 asynchronous cancellation.
20068 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20071 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20072 handling only for numbers special also in the IEEE case.
20074 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20076 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20078 2014-01-11 Allan McRae <allan@archlinux.org>
20080 * po/bg.po: Update Bulgarian translation from translation project.
20082 * po/de.po: Update German translation from translation project.
20084 2014-01-10 Roland McGrath <roland@hack.frob.com>
20086 * sysdeps/generic/gcc-compat.h: New file.
20088 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20090 * benchtests/asin-inputs: Correct slow inputs.
20091 * benchtests/acos-inputs: Likewise.
20093 2014-01-10 Allan McRae <allan@archlinux.org>
20095 * po:sv.po: Update Swedish translation from translation project.
20097 * po/vi.po: Update Vietnamese translation from translation project.
20099 * po/eo.po: Update Esperanto translation from translation project.
20101 * po/cs.po: Update Czech translation from translation project.
20103 * po/nl.po: Update Dutch translation from translation project.
20105 * po/pl.po: Update Polish translation from translation project.
20107 * po/ru.po: Update Russian translation from translation project.
20109 * po/uk.po: Update Ukrainian translation from translation project.
20111 2014-01-08 Brooks Moses <bmoses@google.com>
20113 * elf/dl-load.c: Fix comment typo.
20115 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20117 * po/header.pot: Rename to...
20118 * po/pot.header: ... this.
20119 * po/Makefile: Use pot.header.
20121 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20122 Maxim Kuvyrkov <maxim@kugelworks.com>
20125 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20126 SRC and DEST against LEN.
20128 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20131 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20133 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20135 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20139 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20142 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20143 for large positive arguments.
20145 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20147 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20149 * math/auto-libm-test-in: Mark various tests with
20150 xfail-rounding:ldbl-128ibm.
20151 * math/auto-libm-test-out: Regenerated.
20154 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20155 Increase overflow threshold.
20157 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20160 * stdio-common/vfprintf.c: Check for integer overflow.
20162 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20164 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20165 the first argument and return value of __tls_get_addr_internal.
20167 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20169 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20170 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20172 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20174 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20175 * sysdeps/s390/rtld-global-offsets.sym: New file.
20176 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20178 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20182 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20183 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20189 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20190 halfs of GPRs for high_gprs contexts.
20191 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20192 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20194 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20198 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20199 for high GPRs (uc_high_gprs) and for future extensions
20201 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20202 for future extensions (__reserved).
20203 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20205 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20206 SC_HIGHGPRS offset definition.
20207 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20208 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20210 * Versions.def: Add GLIBC_2.19 for libpthread.
20211 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20212 siglongjmp for libpthread with GLIBC_2.19 symver.
20213 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20214 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20215 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20216 * sysdeps/s390/__longjmp.c: New file.
20217 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20218 * sysdeps/s390/longjmp.c: New file.
20219 * sysdeps/s390/setjmp.S: New file.
20220 * sysdeps/s390/sigjmp.S: New file.
20221 * sysdeps/s390/v1-longjmp.c: New file.
20222 * sysdeps/s390/v1-setjmp.h: New file.
20223 * sysdeps/s390/v1-sigjmp.c: New file.
20224 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20225 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20226 GLIBC_2.19 version.
20227 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20228 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20229 versioned symbols for ____longjmp_chk.
20230 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20240 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20241 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20242 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20243 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20244 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20245 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20246 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20247 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20248 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20249 * sysdeps/s390/rtld-__longjmp.c: New file.
20250 * sysdeps/s390/rtld-setjmp.S: New file.
20252 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20256 Return -__logl (x) for small positive arguments without evaluating
20259 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20261 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20263 (__ptrace_peeksiginfo_args): ... this.
20264 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20265 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20266 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20268 2014-01-06 Allan McRae <allan@archlinux.org>
20270 * inet/netinet/in.h: Fix typo in comment.
20272 2014-01-05 Andreas Jaeger <aj@suse.de>
20274 * sysdeps/i386/fpu/libm-test-ulps: Update.
20276 2014-01-05 Allan McRae <allan@archlinux.org>
20278 * po/libc.pot: Regenerated.
20280 * malloc/memusagestat.c: Fix gettext call formatting.
20282 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20284 * nscd/nscd.c: Improve usage() output.
20286 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20288 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20289 * sysdeps/unix/sysv/linux/configure: Regenerated.
20290 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20291 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20293 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20296 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20297 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20299 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20302 extra tokens at end of #undef directive.
20303 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20304 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20305 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20307 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20309 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20311 * math/auto-libm-test-in: Mark various tests with
20312 xfail-rounding:ldbl-128ibm.
20313 * math/auto-libm-test-out: Regenerated.
20315 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20319 numbers with subnormal high part when calculating exponent.
20322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20328 (__ieee754_acoshl): Use __log1pl not __log1p.
20330 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20332 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20333 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20334 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20335 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20336 (reused_arena, arena_get2): Convert to GNU style.
20337 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20338 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20339 (memalign_check, __malloc_set_state): Likewise.
20340 * malloc/mallocbug.c (main): Likewise.
20341 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20342 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20343 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20344 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20345 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20346 (__posix_memalign, malloc_info): Likewise.
20347 * malloc/malloc.h: Likewise.
20348 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20349 (mallochook, memalignhook, reallochook, mabort): Likewise.
20350 * malloc/mcheck.h: Likewise.
20351 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20352 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20353 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20354 * malloc/morecore.c (__default_morecore): Likewise.
20355 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20356 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20357 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20358 (print_and_abort): Likewise.
20359 * malloc/obstack.h: Likewise.
20360 * malloc/set-freeres.c (__libc_freeres): Likewise.
20361 * malloc/tst-mallocstate.c (main): Likewise.
20362 * malloc/tst-mtrace.c (main): Likewise.
20363 * malloc/tst-realloc.c (do_test): Likewise.
20365 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20368 * nscd/netgroupcache.c (do_notfound): New function.
20369 (addgetnetgrentX): Use it.
20372 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20373 NSS_STATUS_NOTFOUND.
20375 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20377 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2014-01-01 Allan McRae <allan@archlinux.org>
20382 * scripts/update-copyrights: Update configure input file suffix.
20384 * NEWS: Update copyright year.
20385 * catgets/gencat.c: Likewise.
20386 * csu/version.c: Likewise.
20387 * debug/catchsegv.sh: Likewise.
20388 * debug/pcprofiledump.c: Likewise.
20389 * debug/xtrace.sh: Likewise.
20390 * elf/ldconfig.c: Likewise.
20391 * elf/ldd.bash.in: Likewise.
20392 * elf/pldd.c: Likewise.
20393 * elf/sotruss.ksh: Likewise.
20394 * elf/sprof.c: Likewise.
20395 * iconv/iconv_prog.c: Likewise.
20396 * iconv/iconvconfig.c: Likewise.
20397 * locale/programs/locale.c: Likewise.
20398 * locale/programs/localedef.c: Likewise.
20399 * login/programs/pt_chown.c: Likewise.
20400 * malloc/memusage.sh: Likewise.
20401 * malloc/memusagestat.c: Likewise.
20402 * malloc/mtrace.pl: Likewise.
20403 * manual/libc.texinfo: Likewise.
20404 * nscd/nscd.c: Likewise.
20405 * nss/getent.c: Likewise.
20406 * nss/makedb.c: Likewise.
20407 * posix/getconf.c: Likewise.
20408 * scripts/test-installation.pl: Likewise.
20410 * All files with FSF copyright notices: Update copyright dates
20411 using scripts/update-copyrights.
20412 * intl/plural.c: Regenerated.
20413 * locale/programs/charmap-kw.h: Likewise.
20414 * locale/programs/locfile-kw.h: Likewise.
20416 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20418 * sysdeps/unix/sysv/linux/configure: Regenerated.
20419 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20420 the linux/fanotify.h header.
20421 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20422 HAVE_LINUX_FANOTIFY_H is defined.
20424 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20426 * benchtests/cos-inputs: New inputs.
20427 * benchtests/sin-inputs: Likewise.
20429 * benchtests/atan-inputs: New inputs. Fix name of multiple
20430 precision fallback inputs.
20432 * benchtests/atanh-inputs: New inputs.
20433 * benchtests/tanh-inputs: Likewise.
20435 * benchtests/acosh-inputs: New inputs.
20436 * benchtests/asinh-inputs: Likewise.
20438 * benchtests/cosh-inputs: New inputs.
20439 * benchtests/sinh-inputs: Likewise.
20441 * benchtests/acos-inputs: Add more inputs.
20442 * benchtests/asin-inputs: Likewise.
20444 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20447 * manual/arith.texi: Fix spelling.
20448 * manual/charset.texi: Likewise.
20449 * manual/errno.texi: Likewise.
20450 * manual/filesys.texi: Likewise.
20451 * manual/lang.texi: Likewise.
20452 * manual/llio.texi: Likewise.
20453 * manual/locale.texi: Likewise.
20454 * manual/message.texi: Likewise.
20455 * manual/resource.texi: Likewise.
20456 * manual/search.texi: Likewise.
20457 * manual/setjmp.texi: Likewise.
20458 * manual/stdio.texi: Likewise.
20459 * manual/string.texi: Likewise.
20460 * manual/sysinfo.texi: Likewise.
20461 * manual/time.texi: Likewise.
20463 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20465 * po/sl.po: New file.
20467 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20469 * .gitignore: Add core/.gdbinit/.gdb_history.
20471 2013-12-27 Allan McRae <allan@archlinux.org>
20474 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20475 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20477 2013-12-24 Brooks Moses <bmoses@google.com>
20479 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20480 all compilers that claim C++98 compliance, not just GCC.
20481 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20484 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20486 * NEWS: Restore accidentally deleted bug-fix entries.
20488 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20489 Ondřej Bílka <neleai@seznam.cz>
20492 * malloc/malloc.c (_int_free): Perform sanity check only if we
20495 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20498 * manual/stdio.texi (String Input Conversions): Clarify that character
20499 classes are not supported.
20501 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20505 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20508 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20509 Calculate results for small negative arguments directly rather
20510 than using reflection formula with special underflow handling.
20512 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20513 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20514 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20515 (fchflags): Likewise.
20516 (revoke): Likewise.
20517 (setlogin): Likewise.
20518 (sigaltstack): Likewise.
20520 (sigblock): Remove.
20521 (sigsetmask): Likewise.
20523 (waitpid): Likewise.
20524 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20525 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20527 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20528 * sysdeps/unix/bsd/Makefile: ... here.
20529 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20530 * sysdeps/unix/bsd/Versions: ... here.
20531 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20532 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20533 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20534 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20535 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20536 * sysdeps/unix/bsd/sigblock.c: ... here.
20537 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20538 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20539 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20540 * sysdeps/unix/bsd/sigvec.c: ... here.
20541 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20542 * sysdeps/unix/bsd/tcdrain.c: ... here.
20543 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20544 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20545 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20546 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20547 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20548 * sysdeps/unix/bsd/wait.c: ... here.
20549 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20550 * sysdeps/unix/bsd/wait3.c: ... here.
20551 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20552 * sysdeps/unix/bsd/waitpid.c: ... here.
20554 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20558 round-to-nearest for [!USE_AS_EXPM1L].
20559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20560 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20561 more tests of exp and exp10. Expect some exp10 tests to miss
20562 exceptions or fail in directed rounding modes.
20563 * math/auto-libm-test-out: Regenerated.
20564 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20565 (exp10_test_tonearest): New function.
20566 (exp10_towardzero_test_data): New array.
20567 (exp10_test_towardzero): New function.
20568 (exp10_downward_test_data): New array.
20569 (exp10_test_downward): New function.
20570 (exp10_upward_test_data): New array.
20571 (exp10_test_upward): New function.
20572 (main): Call the new functions.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20576 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20578 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20579 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20580 * math/auto-libm-test-out: Regenerated.
20581 * math/libm-test.inc (acosh_test_data): Add more tests.
20582 (atanh_test_data): Likewise.
20583 (ceil_test_data): Likewise.
20584 (copysign_test_data): Likewise.
20585 * sysdeps/i386/fpu/libm-test-ulps: Update.
20586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20588 * timezone/checktab.awk: Update from tzcode 2013i.
20589 * timezone/private.h: Likewise.
20590 * timezone/scheck.c: Likewise.
20591 * timezone/tzfile.h: Likewise.
20592 * timezone/tzselect.ksh: Likewise.
20593 * timezone/zdump.c: Likewise.
20594 * timezone/zic.c: Likewise.
20596 * math/auto-libm-test-in: Add tests of cpow.
20597 * math/auto-libm-test-out: Regenerated.
20598 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20599 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20601 (func_calc_desc): Add mpc_cc_c union field.
20602 (test_functions): Add cpow.
20603 (special_fill_2pi): New function.
20604 (special_real_inputs): Add 2pi.
20605 (calc_generic_results): Handle mpc_cc_c.
20606 * sysdeps/i386/fpu/libm-test-ulps: Update.
20607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20609 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20610 csqrt, ctan and ctanh.
20611 * math/auto-libm-test-out: Regenerated.
20612 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20613 (TEST_COND_x86): Likewise.
20614 (ccos_test_data): Use AUTO_TESTS_c_c.
20615 (ccosh_test_data): Likewise.
20616 (cexp_test_data): Likewise.
20617 (clog_test_data): Likewise.
20618 (csqrt_test_data): Likewise.
20619 (ctan_test_data): Likewise.
20620 (ctan_tonearest_test_data): Likewise.
20621 (ctan_towardzero_test_data): Likewise.
20622 (ctan_downward_test_data): Likewise.
20623 (ctan_upward_test_data): Likewise.
20624 (ctanh_test_data): Likewise.
20625 (ctanh_tonearest_test_data): Likewise.
20626 (ctanh_towardzero_test_data): Likewise.
20627 (ctanh_downward_test_data): Likewise.
20628 (ctanh_upward_test_data): Likewise.
20629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20631 (func_calc_desc): Add mpc_c_c union field.
20632 (FUNC_mpc_c_c): New macro.
20633 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20634 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20636 (special_fill_min_subnorm_p120): New function.
20637 (special_real_inputs): Add min_subnorm_p120.
20638 (calc_generic_results): Handle mpc_c_c.
20639 * sysdeps/i386/fpu/libm-test-ulps: Update.
20640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20642 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20644 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20645 (do_sin_slow): New functions.
20646 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20647 (cslow2, csloww1, csloww2): Use the new functions.
20649 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20650 Use M to change sign of result instead of X. Assume X is
20652 (csloww1): Likewise.
20656 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20657 arguments A and DA.
20661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20663 (sloww1): Don't adjust sign of DX.
20664 (csloww1): Likewise.
20665 (sloww2): Use X directly and don't adjust sign of DX.
20666 (csloww2): Likewise.
20668 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20670 * math/auto-libm-test-in: Add tests of cabs and carg.
20671 * math/auto-libm-test-out: Regenerated.
20672 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20673 (carg_test_data): Likewise.
20674 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20676 (func_calc_desc): Add mpc_c_f union field.
20677 (test_functions): Add cabs and carg.
20678 (calc_generic_results): Handle mpc_c_f.
20680 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20681 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20682 as a macro and a compat symbol.
20683 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20684 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20685 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20686 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20687 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20688 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20690 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20692 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20694 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20696 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20698 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20700 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20701 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20704 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20708 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20710 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20711 trailing whitespace removed.
20712 * scripts/config.guess: Update to version 2013-11-29.
20713 * scripts/config.sub: Update to version 2013-10-01.
20715 * math/auto-libm-test-in: Add tests of sincos.
20716 * math/auto-libm-test-out: Regenerated.
20717 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20718 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20720 (func_calc_desc): Add mpfr_f_11 union field.
20721 (test_functions): Add sincos.
20722 (calc_generic_results): Handle mpfr_f_11.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20726 2013-12-19 Andreas Schwab <schwab@suse.de>
20728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20732 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20734 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20736 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20737 * sysdeps/i386/fpu/libm-test-ulps: Update.
20738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20742 round-to-nearest mode when using frndint.
20743 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20744 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20745 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20747 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20749 * math/auto-libm-test-out: Regenerated.
20750 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20751 (TEST_COND_x86): Likewise.
20752 (expm1_tonearest_test_data): New array.
20753 (expm1_test_tonearest): New function.
20754 (expm1_towardzero_test_data): New array.
20755 (expm1_test_towardzero): New function.
20756 (expm1_downward_test_data): New array.
20757 (expm1_test_downward): New function.
20758 (expm1_upward_test_data): New array.
20759 (expm1_test_upward): New function.
20760 (main): Run the new test functions.
20761 * sysdeps/i386/fpu/libm-test-ulps: Update.
20762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20764 * include/features.h: Update comment documenting feature test
20765 macros. Mention _DEFAULT_SOURCE in comment.
20766 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20767 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20768 _BSD_SOURCE and _SVID_SOURCE.
20769 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20770 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20771 !_SVID_SOURCE]: Likewise.
20772 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20773 (__USE_POSIX_IMPLICITLY): Define.
20774 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20775 (_POSIX_SOURCE): Undefine and redefine.
20776 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20777 (_POSIX_C_SOURCE): Likewise.
20778 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20779 (Feature Test Macros): Update documentation of default features.
20781 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20783 * benchtests/Makefile: Add bench-strtok.
20784 * benchtests/bench-strtok.c: New file: strtok benchtest.
20786 2013-12-19 Allan McRae <allan@archlinux.org>
20788 * manual/install.texi: Suppress menu for plain text output.
20789 * INSTALL: Regenerated.
20791 2013-12-18 Brooks Moses <bmoses@google.com>
20794 * misc/getauxval.c: Include errno.h.
20795 (__getauxval): Set errno to ENOENT if the requested type is not
20797 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20798 don't declare with __attribute_const__.
20799 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20800 * manual/startup.texi: Document that getauxval sets errno.
20802 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20804 * math/auto-libm-test-in: Add tests of jn and yn.
20805 * math/auto-libm-test-out: Regenerated.
20806 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20807 (yn_test_data): Likewise.
20808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20810 (func_calc_desc): Add mpfr_if_f union field.
20811 (FUNC_mpfr_if_f): New macro.
20812 (test_functions): Add jn and yn.
20813 (calc_generic_results): Assert type of second input for
20814 mpfr_ff_f. Handle mpfr_if_f.
20815 (output_for_one_input_case): Disable all checking for arguments
20816 fitting floating-point types in case of an integer argument.
20817 * sysdeps/i386/fpu/libm-test-ulps: Update.
20818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20821 Don't expect fegetround reference in libm.so.
20823 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20825 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20826 $(config-cflags-nofma).
20828 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20830 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20831 * math/auto-libm-test-out: Regenerated.
20834 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20835 to determine exponent and adjust argument to have exponent of -1.
20836 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20838 * math/auto-libm-test-out: Regenerated.
20839 * sysdeps/i386/fpu/libm-test-ulps: Update.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20842 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20844 * manual/probes.texi: Remove cases when per-thread arenas are
20847 2013-12-18 Andreas Schwab <schwab@suse.de>
20849 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20850 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20851 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20852 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20853 * sysdeps/i386/i686/multiarch/Makefile: Update.
20854 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20856 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20858 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20859 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20861 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20864 Support TZ transition times < 00:00:00.
20865 This is needed for version-3 tz-format files; it supports time
20866 stamps past 2037 for America/Godthab (the only entry in the tz
20867 database for which this change is relevant).
20868 * manual/time.texi (TZ Variable): Document transition times
20869 from -167:59:59 through -00:00:01.
20870 * time/tzset.c (tz_rule): Time of day is now signed.
20871 (__tzset_parse_tz): Parse negative time of day.
20873 Document TZ transition times >= 25:00:00.
20874 * manual/time.texi (TZ Variable): Document transition times from
20875 25:00:00 through 167:59:59. These are already supported, and this
20876 support will help with version-3 tz-format files.
20878 * manual/time.texi (TZ Variable): Modernize North America example
20879 to reflect current (i.e., 2007-and-later) daylight saving rules.
20881 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20883 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20885 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20886 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20889 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20890 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20891 * sysdeps/unix/bsd/clock.c: Likewise.
20892 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20893 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20894 * sysdeps/unix/bsd/init-posix.c: Likewise.
20895 * sysdeps/unix/bsd/poll.c: Likewise.
20896 * sysdeps/unix/bsd/ptsname.c: Likewise.
20897 * sysdeps/unix/bsd/seekdir.c: Likewise.
20898 * sysdeps/unix/bsd/setegid.c: Likewise.
20899 * sysdeps/unix/bsd/seteuid.c: Likewise.
20900 * sysdeps/unix/bsd/setgid.c: Likewise.
20901 * sysdeps/unix/bsd/setrgid.c: Likewise.
20902 * sysdeps/unix/bsd/setruid.c: Likewise.
20903 * sysdeps/unix/bsd/setsid.c: Likewise.
20904 * sysdeps/unix/bsd/setuid.c: Likewise.
20905 * sysdeps/unix/bsd/sigaction.c: Likewise.
20906 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20907 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20908 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20909 * sysdeps/unix/bsd/telldir.c: Likewise.
20910 * sysdeps/unix/bsd/times.c: Likewise.
20911 * sysdeps/unix/bsd/usleep.c: Likewise.
20913 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20914 ($(objpfx)libbsd-compat.a): Remove rule.
20916 * include/features.h (__FAVOR_BSD): Do not define.
20917 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20918 features conflicting with POSIX.
20919 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20920 (_BSD_SOURCE): Remove description of not being a subset of other
20921 feature test macros.
20922 * manual/job.texi (getpgrp): Do not document BSD version.
20923 (getpgid): Do not document by reference to BSD getpgrp.
20924 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20925 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20926 * signal/signal.h [__FAVOR_BSD]: Likewise.
20927 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20928 instead of making contents conditional on [__FAVOR_BSD].
20929 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20931 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20935 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20938 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20939 values below 2**-450, not 2**-500.
20940 * math/auto-libm-test-in: Don't allow spurious underflow from
20942 * math/auto-libm-test-out: Regenerated.
20946 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20947 values of ha and hb and sort them after adjusting subnormal
20949 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20951 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20952 values of ea and eb and sort them after adjusting subnormal
20954 * math/auto-libm-test-in: Do not expect some hypot tests of
20955 subnormals to fail. Add more hypot tests.
20956 * math/auto-libm-test-out: Regenerated.
20958 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20961 * sysdeps/sh/s_fma.c: New file.
20962 * sysdeps/sh/s_fmaf.c: New file.
20963 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20965 * sysdeps/sh/Implies: Add sh/soft-fp.
20967 2013-12-16 Roland McGrath <roland@hack.frob.com>
20969 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20970 level of indirection to members `objname', `errstring', `malloced'.
20971 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20972 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20973 it as the __longjmp argument (just pass 1 instead).
20974 (_dl_catch_error): Initialize C with argument pointers and address of
20975 volatile local ERRCODE rather than copying values out of C at return.
20977 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20979 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20980 * math/auto-libm-test-out: Regenerated.
20981 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20982 (hypot_test_data): Likewise.
20983 (pow_test_data): Likewise.
20984 (pow_tonearest_test_data): Likewise.
20985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20987 (func_calc_desc): Add mpfr_ff_f union field.
20988 (FUNC_mpfr_ff_f): New macro.
20989 (test_functions): Add atan2, hypot and pow.
20990 (special_fill_min): New function.
20991 (special_fill_minus_min): Likewise.
20992 (special_fill_min_subnorm): Likewise.
20993 (special_fill_minus_min_subnorm): Likewise.
20994 (special_real_inputs): Add min, -min, min_subnorm and
20996 (calc_generic_results): Handle mpfr_ff_f.
20997 * sysdeps/i386/fpu/libm-test-ulps: Update.
20998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21000 2013-12-16 Will Newton <will.newton@linaro.org>
21002 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21003 (Aligned Memory Blocks): Add documentation for aligned_alloc
21004 and suggest it as an alternative to posix_memalign.
21005 (Hooks for Malloc): Document __memalign_hook is also called
21006 for aligned_alloc. (Summary of Malloc): Add summary for
21007 aligned alloc. Document __memalign_hook is also called
21010 2013-12-16 Will Newton <will.newton@linaro.org>
21012 * manual/memory.texi (Malloc Examples): Clarify default
21013 alignment documentation. Suggest posix_memalign rather
21014 than memalign or valloc.
21015 (Aligned Memory Blocks): Remove suggestion to use memalign
21016 or valloc. Remove obsolete comment about BSD.
21017 Document memalign errno values and mark the function obsolete.
21018 Document posix_memalign returned error codes. Mark valloc
21019 as obsolete. (Hooks for Malloc): __memalign_hook is also
21020 called for posix_memalign and valloc.
21021 (Summary of Malloc): Add posix_memalign to function summary.
21022 __memalign_hook is also called for posix_memalign and valloc.
21024 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21026 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21030 (sloww): Use mynumber union. Expand ternary operator into
21031 if-else statements.
21032 (cslow): use mynumber union.
21034 2013-12-16 Allan McRae <allan@archlinux.org>
21036 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21037 * configure: Regenerated.
21039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21042 * configure.ac: Added --enable-maintainer-mode. Check for
21043 autoconf when enabled.
21044 * configure: Regenerated.
21046 * nscd/nscd.service: New file.
21047 * nscd/nscd.tmpfiles: New file.
21049 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21052 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21053 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21054 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21055 (strstr): Add __strstr_sse2_unaligned ifunc.
21056 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21057 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21058 (strcasestr): Remove __strcasestr_sse42 ifunc.
21059 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21063 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21065 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21066 * sysdeps/sh/bits/fenv.h: ... here.
21067 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21069 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21071 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21074 hypotf multiarch implementations.
21075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21078 multiarch hypot for PPC64.
21079 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21080 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21081 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21082 multiarch hypotf for PPC64.
21084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21085 modff multiarch implementations.
21086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21089 multiarch modf for PPC64.
21090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21093 multiarch modff for PPC64.
21095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21096 and logl multiarch implementations.
21097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21100 multiarch logb for PPC64.
21101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21104 multiarch logb for PPC64.
21105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21108 multiarch logb for PPC64.
21110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21111 isinff multiarch implementation.
21112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21116 multiarch isinf for PPC64.
21117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21120 multiarch isinff for PPC64.
21122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21123 finitef multiarch implementation.
21124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21128 multiarch finite for PPC64.
21129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21132 multiarch finitef for PPC64.
21134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21135 lrint multiarch implementation.
21136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21140 multiarch llrint for PPC64.
21141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21142 multiarch lrint for PPC64.
21144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21145 copysignf multiarch implementation.
21146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21151 multiarch copysign for PPC64.
21152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21153 multiarch copysignf for PPC64.
21155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21156 multiarch implementation.
21157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21165 multiarch llround for PPC64.
21166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21167 multiarch trunc for PPC64.
21168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21169 multiarch truncf for PPC64.
21171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21172 multiarch implementation.
21173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21181 multiarch llround for PPC64.
21182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21183 multiarch round for PPC64.
21184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21185 multiarch roundf for PPC64.
21187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21188 multiarch implementation.
21189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21197 multiarch llround for PPC64.
21198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21199 multiarch floor for PPC64.
21200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21201 multiarch floorf for PPC64.
21203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21204 multiarch implementation.
21205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21213 multiarch llround for PPC64.
21214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21215 multiarch ceil for PPC64.
21216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21217 multiarch ceilf for PPC64.
21219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21220 multiarch implementation.
21221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21228 multiarch llround for PPC64.
21229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21230 multiarch lround for PPC64.
21232 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21233 multiarch implementation.
21234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21241 multiarch isnan for PPC64.
21242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21243 multiarch isnanf for PPC64.
21245 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21246 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21247 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21248 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21249 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21252 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21258 multiarch implementations.
21259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21260 (__libc_ifunc_impl_list): Likewise.
21261 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21262 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21263 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21264 multiarch stpcpy for PPC64.
21266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21267 multiarch implementations.
21268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21269 (__libc_ifunc_impl_list): Likewise.
21270 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21271 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21272 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21273 multiarch strcpy for PPC64.
21275 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21276 redefine function name.
21277 (_wordcopy_fwd_dest_aligned): Likewise.
21278 (_wordcopy_bwd_aligned): Likewise.
21279 (_wordcopy_bwd_dest_aligned): Likewise.
21280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21281 multiarch implementations.
21282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21283 (__libc_ifunc_impl_list): Likewise.
21284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21287 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21288 multiarch wcscpy for PPC64.
21290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21291 multiarch implementations.
21292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21293 (__libc_ifunc_impl_list): Likewise.
21294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21297 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21298 multiarch wcscpy for PPC64.
21300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21301 multiarch implementations.
21302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21303 (__libc_ifunc_impl_list): Likewise.
21304 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21305 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21306 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21308 multiarch wcsrchr for PPC64.
21310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21311 multiarch implementations.
21312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21313 (__libc_ifunc_impl_list): Likewise.
21314 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21315 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21316 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21317 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21318 multiarch wcschr for PPC64.
21320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21321 multiarch implementations.
21322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21323 (__libc_ifunc_impl_list): Likewise.
21324 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21325 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21326 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21327 multiarch strchrnul for PPC64.
21329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21332 (__libc_ifunc_impl_list): Likewise.
21333 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21334 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21335 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21336 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21342 (__libc_ifunc_impl_list): Likewise.
21343 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21345 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21346 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21350 multiarch implementations.
21351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21352 (__libc_ifunc_impl_list): Likewise.
21353 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21354 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21355 strncasecmp for PPC64.
21356 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21357 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21358 multiarch strncasecmp_l for PPC64.
21360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21361 multiarch implementations.
21362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21363 (__libc_ifunc_impl_list): Likewise.
21364 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21365 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21366 multiarch strcasecmp for PPC64.
21367 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21369 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21370 multiarch strcasecmp_l for PPC64.
21372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21375 (__libc_ifunc_impl_list): Likewise.
21376 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21377 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21378 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21384 (__libc_ifunc_impl_list): Likewise.
21385 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21386 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21387 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21393 (__libc_ifunc_impl_list): Likewise.
21394 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21395 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21396 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21397 rawmemrchr for PPC64.
21399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21402 (__libc_ifunc_impl_list): Likewise.
21403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21404 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21405 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21411 (__libc_ifunc_impl_list): Likewise.
21412 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21413 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21414 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21417 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21420 (__libc_ifunc_impl_list): Likewise.
21421 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21422 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21423 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21426 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21427 avoid cretion of __bzero symbol.
21428 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21430 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21432 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21435 multiarch implementations.
21436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21437 (__libc_ifunc_impl_list): Likewise.
21438 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21439 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21440 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21441 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21443 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21444 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21445 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21446 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21447 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21449 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21451 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21455 (__libc_ifunc_impl_list): Likewise.
21456 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21457 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21458 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21459 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21463 multiarch for POWER/PPC64.
21464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21465 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21467 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21468 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21469 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21471 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21472 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21475 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21476 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21477 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21478 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21479 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21480 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21481 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21482 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21483 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21484 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21485 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21486 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21487 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21488 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21489 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21498 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21502 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21504 * benchtests/Makefile (bench): Add exp2 and log2.
21505 (LDLIBS-bench-exp2): Add -lm.
21506 (LDLIBS-bench-log2): Likewise.
21507 * benchtests/exp2-inputs: New inputs file.
21508 * benchtests/log2-inputs: New inputs file.
21509 * benchtests/log-inputs: Add new inputs.
21510 * benchtests/tan-inputs: Likewise.
21512 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21514 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21516 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21517 (csloww2): ... from here.
21519 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21520 instead of structures.
21521 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21522 (POLYNOMIAL): Likewise.
21523 (TAYLOR_SLOW): Likewise.
21529 (sloww1); Likewise.
21530 (sloww2): Likewise.
21531 (bsloww1): Likewise.
21532 (bsloww2): Likewise.
21533 (cslow2): Likewise.
21534 (csloww): Likewise.
21535 (csloww1): Likewise.
21536 (csloww2): Likewise.
21538 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21540 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21541 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21542 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21543 * malloc/hooks.c (realloc_check): Likewise.
21545 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21546 * malloc/arena.c: Remove PER_THREAD conditional.
21547 [!PER_THREAD]: Remove code.
21548 (ptmalloc_unlock_all2): Likewise.
21549 (ptmalloc_init): Likewise.
21550 (_int_new_arena): Likewise.
21551 (arena_get2): Likewise.
21552 * malloc/hooks.c (__malloc_get_state): Likewise.
21553 (__malloc_set_state): Likewise.
21554 * malloc/malloc.c: Likewise.
21555 (struct malloc_state): Likewise.
21556 (struct malloc_par): Likewise.
21557 (__libc_realloc): Likewise.
21558 (__libc_mallopt): Likewise.
21560 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21562 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21564 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21566 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21567 macro to a function. Check for zero perturb_byte.
21568 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21570 * malloc/malloc.c: (force_reg): Remove.
21571 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21572 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21573 force_reg by atomic_forced_read.
21574 * malloc/arena.c (ptmalloc_init): Likewise.
21575 * malloc/hooks.c (top_check): Likewise.
21577 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21581 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21585 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21587 * math/auto-libm-test-in: Add tests of lgamma.
21588 * math/auto-libm-test-out: Regenerated.
21589 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21590 (M_LOG_2_SQRT_PIl): Likewise.
21591 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21592 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21594 (func_calc_desc): Add mpfr_f_f1 union field.
21595 (ARGS1): New macro.
21603 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21604 (test_functions): Add lgamma.
21605 (calc_generic_results): Handle mpfr_f_f1.
21606 * sysdeps/i386/fpu/libm-test-ulps: Update.
21607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21609 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21611 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21612 __mpn_add_n for PowerPC64/POWER7.
21613 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21614 __mpn_sub_n for PowerPC64/POWER7.
21616 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21617 __mpn_addmul_1 for PowerPC64.
21618 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21619 __mpn_submul_1 for PowerPC64.
21620 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21622 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21625 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21628 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21632 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21634 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21635 add multiarch folders.
21636 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21637 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21638 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21639 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21640 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21641 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21642 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21643 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21644 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21645 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21646 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21655 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21661 multiarch __ieee754_hypot for PowerPC32.
21662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21667 multiarch __ieee754_hypotf for PowerPC32.
21669 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21670 long_double_symbol only if __logbl is defined.
21671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21672 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21674 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21675 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21676 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21677 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21678 path for implementation.
21679 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21680 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21682 logb, and logbl multiarch implementations for PowerPC32.
21683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21688 multiarch logb for PowerPC32.
21689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21694 multiarch logbf for PowerPC32.
21695 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21699 multiarch logbl implementation for PowerPC32.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21702 and modff multiarch implementations.
21703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21708 multiarch modf for PowerPC32.
21709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21714 multiarch modff for PowerPC32.
21716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21717 and lrintf multiarch implementations.
21718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21723 multiarch lrint for PowerPC32.
21724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21725 file: multiarch lrintf for PowerPC32.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21728 and lroundf multiarch implementations.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21736 multiarch lround for PowerPC32.
21737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21738 file: multiarch lroundf for PowerPC32.
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21741 copysign and copysignf multiarch implementations.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21747 file: multiarch copysign for PowerPC32.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21749 file: multiarch copysignf for PowerPC32.
21751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21752 and truncf multiarch implementations.
21753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21758 multiarch trunc for PowerPC32.
21759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21764 multiarch truncf for PowerPC32.
21766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21767 and roundf multiarch implementations.
21768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21773 multiarch round for PowerPC32.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21779 multiarch roundf for PowerPC32.
21781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21782 and floorf multiarch implementations.
21783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21788 multiarch floor for PowerPC32.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21794 multiarch floorf for PowerPC32.
21796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21797 and ceilf multiarch implementations.
21798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21803 multiarch ceil for PowerPC32.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21809 multiarch ceilf for PowerPC32.
21811 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21813 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21814 FINITEF is defined.
21815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21816 and finitef multiarch implementations.
21817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21822 multiarch finite for PowerPC32.
21823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21826 file: multiarch finitef for PowerPC32.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21829 and isinff multiarch implementations.
21830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21835 multiarch isinf for PowerPC32.
21836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21839 multiarch isinff for PowerPC32.
21841 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21842 alias when __isnan is defined.
21843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21844 and isnanf multiarch implementations.
21845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21854 multiarch isnan for PowerPC32.
21855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21860 multiarch isnanf for PowerPC32.
21862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21863 and sqrtf multiarch implementations.
21864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21869 multiarch sqrt for PowerPC32.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21875 multiarch sqrtf for PowerPC32.
21877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21878 and llroundf multiarch implementations.
21879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21886 file: multiarch llround for PowerPC32.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21888 file: multiarch llroundf for PowerPC32.
21890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21891 multiarch PowerPC32 fpu implementations.
21892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21897 multiarch llrint for PowerPC32.
21898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21913 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21914 multiarch wordcopy for PPC32.
21915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21918 (__libc_ifunc_impl_list): Likewise.
21919 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21920 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21922 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21923 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21924 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21926 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21934 multiarch wcscpy for PPC32.
21935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21938 (__libc_ifunc_impl_list): Likewise.
21939 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21940 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21941 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21942 sysdeps/powerpc/power6/wcscpy.c.
21944 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21952 multiarch wcsrchr for PPC32.
21953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21956 (__libc_ifunc_impl_list): Likewise.
21957 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21958 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21959 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21960 sysdeps/powerpc/power6/wcsrchr.c.
21962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21968 multiarch wcschr for PPc32.
21969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21972 (__libc_ifunc_impl_list): Likewise.
21973 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21974 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21975 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21976 sysdeps/powerpc/power6/wcschr.c.
21978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21979 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21981 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21982 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21983 file: multiarch strchr for PPC32.
21984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21987 (__libc_ifunc_impl_list): Likewise.
21989 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21991 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21995 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21996 multiarch strchrnul for PPC32.
21997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22000 (__libc_ifunc_impl_list): Likewise.
22002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22005 multiarch strncasecmp for PPC32.
22006 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22008 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22009 multiarch strncasecmp_l for PPC32.
22010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22011 strncasecmp multiarch objects.
22012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22013 (__libc_ifunc_impl_list): Likewise.
22015 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22017 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22018 multiarch strncasecmp for PPC32.
22019 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22021 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22022 multiarch strcasecmp_l for PPC32.
22023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22026 (__libc_ifunc_impl_list): Likewise.
22028 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22030 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22033 multiarch strncmp for PPC32.
22034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22037 (__libc_ifunc_impl_list): Likewise.
22039 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22040 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22042 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22043 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22047 (__libc_ifunc_impl_list): Likewise.
22049 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22051 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22053 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22057 (__libc_ifunc_impl_list): Likewise.
22059 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22061 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22063 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22064 multiarch rawmemchr for PPC32.
22065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22068 (__libc_ifunc_impl_list): Likewise.
22070 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22072 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22074 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22075 file: memrchr multiarch for PPC32.
22076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22079 (__libc_ifunc_impl_list): Likewise.
22081 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22082 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22084 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22086 multiarch memchr for PPC32.
22087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22090 (__libc_ifunc_impl_list): Likewise.
22092 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22095 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22097 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22098 file: multiarch mempcpy for PPC32.
22099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22102 (__libc_ifunc_impl_list): Likewise.
22104 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22105 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22106 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22107 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22108 multiarch bzero for PPC32.
22109 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22111 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22113 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22114 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22115 file: multiarch memset for PPC32.
22116 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22118 memset multiarch objects.
22119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22120 (__libc_ifunc_impl_list): Likewise.
22122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22125 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22127 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22128 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22130 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22131 (__libc_ifunc_impl_list): Likewise.
22133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22141 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22142 multiarch memcpy for PPC32.
22143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22146 (__libc_ifunc_impl_list): Likewise.
22148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22149 support multiarch for POWER/PPC32.
22150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22152 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22154 Implies file to make multiarch folder appers before the fpu and
22155 default folder for power4 configuration.
22157 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22159 * scripts/bench.pl: Append volatile keyword to type.
22161 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22163 * sysdeps/sh/sotruss-lib.c: New file.
22164 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22166 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22170 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22173 * math/w_tgamma.c: Include <errno.h>.
22174 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22175 * math/w_tgammaf.c: Include <errno.h>.
22176 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22177 * math/w_tgammal.c: Include <errno.h>.
22178 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22179 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22180 underflow. Add more tgamma tests.
22181 * math/auto-libm-test-out: Regenerated.
22182 * sysdeps/i386/fpu/libm-test-ulps: Update.
22183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22185 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22186 sin, sinh, tan, tanh, tgamma, y0 and y1.
22187 * math/auto-libm-test-out: Regenerated.
22188 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22189 (TEST_COND_x86): Likewise.
22190 (M_E2l): Remove macro.
22192 (M_2_SQRT_PIl): Likewise.
22193 (M_SQRT_PIl): Likewise.
22194 (M_1_DIV_El): Likewise.
22195 (log_test_data): Use AUTO_TESTS_f_f.
22196 (log10_test_data): Likewise.
22197 (log1p_test_data): Likewise.
22198 (log2_test_data): Likewise.
22199 (sin_test_data): Likewise.
22200 (sin_tonearest_test_data): Likewise.
22201 (sin_towardzero_test_data): Likewise.
22202 (sin_downward_test_data): Likewise.
22203 (sin_upward_test_data): Likewise.
22204 (sinh_test_data): Likewise.
22205 (sinh_tonearest_test_data): Likewise.
22206 (sinh_towardzero_test_data): Likewise.
22207 (sinh_downward_test_data): Likewise.
22208 (sinh_upward_test_data): Likewise.
22209 (tan_test_data): Likewise.
22210 (tan_tonearest_test_data): Likewise.
22211 (tan_towardzero_test_data): Likewise.
22212 (tan_downward_test_data): Likewise.
22213 (tan_upward_test_data): Likewise.
22214 (tanh_test_data): Likewise.
22215 (tgamma_test_data): Likewise.
22216 (y0_test_data): Likewise.
22217 (y1_test_data): Likewise.
22218 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22219 (special_real_inputs): Add pi/4.
22220 * sysdeps/i386/fpu/libm-test-ulps: Update.
22221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22225 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22226 "longjmp_target" static probes.
22227 (__longjmp): Rename to __longjmp_symbol.
22228 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22229 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22230 on which longjmp to generate.
22231 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22232 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22234 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22235 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22236 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22237 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22238 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22239 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22241 __longjmp_symbol based on which __longjmp to generate.
22242 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22244 (setjmp): Rename to setjmp_symbol.
22245 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22246 (_setjmp): Rename to _setjmp_symbol.
22247 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22248 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22249 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22250 which setjmp to generate.
22251 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22252 "longjmp_target" static probes.
22254 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22256 * benchtests/README: Add note about output arguments.
22257 * benchtests/bench-sincos.c: Remove file.
22258 * benchtests/sincos-inputs: New file.
22259 * scripts/bench.pl: Identify output arguments and define
22260 static variables for them.
22262 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22265 * Makefile (INSTALL): Add install-plain.texi as the primary
22267 * manual/install-plain.texi: New file.
22268 * manual/install.texi: Include node directive only for
22269 non-plaintext output.
22271 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22273 * stdlib/longlong.h: Update from GCC.
22277 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22278 * math/w_j0f.c (y0f): Likewise.
22279 * math/w_j0l.c (__y0l): Likewise.
22280 * math/w_j1.c (y1): Likewise.
22281 * math/w_j1f.c (y1f): Likewise.
22282 * math/w_j1l.c (__y1l): Likewise
22283 * math/w_jn.c (yn): Likewise.
22284 * math/w_jnf.c (ynf): Likewise.
22285 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22286 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22287 value for Bessel function domain errors outside _SVID_ mode.
22288 Adjust sign of return value for yn (negative integer, 0).
22289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22290 by zero in return for negative x and set sign appropriately for
22292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22294 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22295 expectations in error cases.
22296 (y1_test_data): Likewise.
22297 (yn_test_data): Likewise.
22298 * sysdeps/i386/fpu/libm-test-ulps: Update.
22299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22301 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22303 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22304 "64" to "64-v1". Add "64-v2".
22305 (abi-64-options): Rename to ...
22306 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22307 (abi-64-condition): Rename to ...
22308 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22309 (abi-64-ld-soname): Rename to ...
22310 (abi-64-v1-ld-soname): ... this.
22311 (abi-64-v2-options): Define.
22312 (abi-64-v2-condition): Likewise.
22313 (abi-64-v2-ld-soname): Likewise.
22314 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22315 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22320 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22321 Alan Modra <amodra@gmail.com>
22323 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22324 New versions for use with the ELFv2 ABI.
22325 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22326 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22328 (struct La_ppc64v2_retval): Likewise.
22329 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22330 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22331 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22332 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22333 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22334 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22335 Do not save or restore CR.
22336 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22337 (_dl_profile_resolve): Do no save or restore CR. Support extended
22338 return values for ELFv2 ABI. Fix location of FPR return registers.
22339 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22340 updated values for _CALL_ELF == 2.
22341 (La_regs, La_retval, int_retval): Likewise.
22343 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22345 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22346 (FRAME_MIN_SIZE_PARM): Likewise.
22347 (FRAME_BACKCHAIN): Likewise.
22348 (FRAME_CR_SAVE): Likewise.
22349 (FRAME_LR_SAVE): Likewise.
22350 (FRAME_TOC_SAVE): Likewise.
22351 (FRAME_PARM_SAVE): Likewise.
22352 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22353 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22354 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22355 (call_mcount_parm_offset): New macro.
22356 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22357 (PROF): Use symbolic stack frame offsets.
22358 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22359 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22360 Redefine in terms of FRAME_MIN_SIZE.
22361 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22362 (_dl_profile_resolve): Likewise. Update comment.
22363 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22364 symbols stack frame offsets.
22365 (__sigsetjmp): Likewise.
22366 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22367 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22368 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22369 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22372 (FRAME_BACKCHAIN): Remove.
22373 (FRAME_CR_SAVE): Likewise.
22374 (FRAME_LR_SAVE): Likewise.
22375 (FRAME_COMPILER_DW): Likewise.
22376 (FRAME_LINKER_DW): Likewise.
22377 (FRAME_TOC_SAVE): Likewise.
22378 (FRAME_PARM_SAVE): Likewise.
22379 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22380 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22381 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22383 (CHECK_SP): Use symbolic stack frame offsets.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22385 zone" instead of caller's parameter save area for temp storage.
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22387 Likewise. Also, use symbolic stack frame offsets.
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22389 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22390 our own stack frame instead of the caller's.
22391 (__socket): Use symbolic stack frame offsets.
22393 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22394 Alan Modra <amodra@gmail.com>
22396 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22398 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22399 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22400 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22402 (elf_machine_fixup_plt): Call it.
22403 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22405 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22406 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22407 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22408 r2 before calling target.
22410 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22411 Alan Modra <amodra@gmail.com>
22413 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22414 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22415 versions of macros to support ELFv2 ABI.
22416 (LOCALENTRY): New macro.
22417 (ENTRY, EALIGN): Use it.
22418 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22419 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22420 fall through into ENTRY entry point.
22421 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22422 Only define if _CALL_ELF != 2.
22424 (elf_machine_matches_host): Verify ABI version matches.
22425 (RTLD_START): Use LOCALENTRY.
22426 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22427 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22428 (PLT_ENTRY_WORDS): New macro.
22429 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22430 (elf_machine_runtime_setup): Support ELFv2 ABI.
22431 (elf_machine_fixup_plt): Likewise.
22432 (elf_machine_plt_conflict): Likewise.
22433 (resolve_ifunc): Likewise.
22434 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22435 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22438 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22440 (makecontext): Support ELFv2 ABI.
22441 * elf/elf.h (EF_PPC64_ABI): Define.
22443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22445 * sysdeps/powerpc/powerpc64/sysdep.h
22446 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22447 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22448 (ENTRY) [ASSEMBLER]: ... but instead here ...
22449 (EALIGN) [ASSEMBLER]: ... and here.
22450 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22451 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22452 (ENTRY_2) [!ASSEMBLER]: Use it.
22453 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22454 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22455 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22456 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22457 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22459 Use PPC64_LOAD_FUNCPTR.
22461 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22463 2013-12-04 Alan Modra <amodra@gmail.com>
22465 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22466 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22467 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22468 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22471 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22472 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22473 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22474 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22475 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22477 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22480 (__makecontext): Fix incorrect CFI when backtracing out of
22481 context created via makecontext.
22482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22483 (__setcontext): Fix incorrect CFI during switch to new context.
22484 (__novec_setcontext): Likewise.
22486 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22489 * time/strptime_l.c (__strptime_internal): Allow modifiers
22491 * time/tst-strptime.c (day_tests): Add testcase.
22493 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 * scripts/bench.pl: Skip over blank lines.
22497 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22500 * manual/time.texi (Calendar Time): Clarify what timezone functions
22503 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22507 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22509 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22511 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22512 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22513 * debug/memset_chk.c (__memset_chk): Likewise.
22514 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22515 * debug/strncpy_chk.c: Likewise.
22517 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22521 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22522 (__ieee754_exp): For possibly underflowing results, check size of
22523 result and force underflow exception if required.
22524 * math/auto-libm-test-in: Add more tests of exp.
22525 * math/auto-libm-test-out: Regenerated.
22526 * sysdeps/i386/fpu/libm-test-ulps: Update.
22527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22530 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22531 * math/w_exp2f.c (__exp2f): Likewise.
22532 * math/w_exp2l.c (__exp2l): Likewise.
22533 * math/auto-libm-test-in: Do not allow missing errno on exp2
22535 * math/auto-libm-test-out: Regenerated.
22537 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22540 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22541 handle filename validation.
22542 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22545 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22548 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22549 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22550 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22552 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22553 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22554 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22557 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22558 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22559 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22560 Add more erfc tests.
22561 * math/auto-libm-test-out: Regenerated.
22562 * sysdeps/i386/fpu/libm-test-ulps: Update.
22563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22566 exp2, expm1, j0 and j1.
22567 * math/auto-libm-test-out: Regenerated.
22568 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22569 (erfc_test_data): Likewise.
22570 (exp_test_data): Likewise.
22571 (exp_tonearest_test_data): Likewise.
22572 (exp_towardzero_test_data): Likewise.
22573 (exp_downward_test_data): Likewise.
22574 (exp_upward_test_data): Likewise.
22575 (exp10_test_data): Likewise.
22576 (exp2_test_data): Likewise.
22577 (expm1_test_data): Likewise.
22578 (j0_test_data): Likewise.
22579 (j1_test_data): Likewise.
22580 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22581 (input_flag_type): Add flag_xfail_rounding.
22582 (input_flags): Add xfail-rounding.
22583 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22584 (output_for_one_input_case): Handle flag_xfail_rounding.
22585 * sysdeps/i386/fpu/libm-test-ulps: Update.
22586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22588 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22591 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22594 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22597 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22598 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22599 (STAP_PROBE0): New macro.
22600 (STAP_PROBE1): Likewise.
22601 (STAP_PROBE2): Likewise.
22602 (STAP_PROBE3): Likewise.
22603 (STAP_PROBE4): Likewise.
22605 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22607 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22609 2013-12-02 Steve Ellcey <sellcey@mips.com>
22611 * benchtests/Makefile (bench): Add sqrt.
22612 (LDLIBS-bench-sqrt): New.
22613 * benchtests/sqrt-input: New.
22615 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22617 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22618 (GAIH_EAI): Likewise.
22619 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22620 (gaih_inet): Likewise.
22621 (getaddrinfo): Don't use GAIH_EAI.
22623 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22624 (struct gaih): Remove definition.
22626 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22628 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22629 Use HERRNOP directly.
22631 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22635 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22637 * math/gen-auto-libm-tests.c (test_functions): Add more
22638 single-argument functions.
22639 (special_fill_pi_2): New function.
22640 (special_fill_minus_pi_2): Likewise.
22641 (special_fill_pi_6): Likewise.
22642 (special_fill_minus_pi_6): Likewise.
22643 (special_fill_pi_3): Likewise.
22644 (special_fill_2pi_3): Likewise.
22645 (special_fill_e): Likewise.
22646 (special_fill_1_e): Likewise.
22647 (special_fill_e_minus_1): Likewise.
22648 (special_real_inputs): Add more special inputs.
22649 (output_for_one_input_case): Do not require ERANGE on underflow to
22650 zero if round-to-nearest result does not underflow to zero, unless
22651 exact results required.
22652 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22653 atan, atanh, cbrt, cos and cosh.
22654 * math/auto-libm-test-out: Regenerated.
22655 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22656 (acos_tonearest_test_data): Likewise.
22657 (acos_towardzero_test_data): Likewise.
22658 (acos_downward_test_data): Likewise.
22659 (acos_upward_test_data): Likewise.
22660 (acosh_test_data): Likewise.
22661 (asin_test_data): Likewise.
22662 (asin_tonearest_test_data): Likewise.
22663 (asin_towardzero_test_data): Likewise.
22664 (asin_upward_test_data): Likewise.
22665 (asinh_test_data): Likewise.
22666 (atan_test_data): Likewise.
22667 (atanh_test_data): Likewise.
22668 (cbrt_test_data): Likewise.
22669 (cos_test_data): Likewise.
22670 (cos_tonearest_test_data): Likewise.
22671 (cos_towardzero_test_data): Likewise.
22672 (cos_downward_test_data): Likewise.
22673 (cos_upward_test_data): Likewise.
22674 (cosh_test_data): Likewise.
22675 (cosh_tonearest_test_data): Likewise.
22676 (cosh_towardzero_test_data): Likewise.
22677 (cosh_downward_test_data): Likewise.
22678 (cosh_upward_test_data): Likewise.
22679 * sysdeps/i386/fpu/libm-test-ulps: Update.
22680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22682 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22685 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22686 * math/w_exp10f.c (__exp10f): Likewise.
22687 * math/w_exp10l.c (__exp10l): Likewise.
22688 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22689 errno settings in existing tests.
22692 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22693 precision control set to double precision.
22694 * sysdeps/i386/fpu/w_sqrt.c: New file.
22695 * math/auto-libm-test-in: Add more tests.
22696 * math/auto-libm-test-out: Update.
22698 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22699 (sqrt_test_tonearest): New function.
22700 (sqrt_towardzero_test_data): New variable.
22701 (sqrt_test_towardzero): New function.
22702 (sqrt_downward_test_data): New variable.
22703 (sqrt_test_downward): New function.
22704 (sqrt_upward_test_data): New variable.
22705 (sqrt_test_upward): New function.
22706 (main): Call the new functions.
22708 * math/gen-auto-libm-tests.c: New file.
22709 * math/auto-libm-test-in: Likewise.
22710 * math/auto-libm-test-out: New generated file.
22711 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22713 (%beautify): Add generated representations of zero.
22714 (top level): Set $auto_input and call parse_auto_input.
22715 (beautify): Remove trailing "f" from hex float constants.
22716 (parse_args): Handle XFAIL_TEST.
22717 (convert_condition): New function.
22718 (or_value): Likewise.
22719 (or_cond_value): Likewise.
22720 (generate_testfile): Handle AUTO_TESTS_* lines.
22721 (parse_auto_input): New function.
22722 * math/libm-test.inc (XFAIL_TEST): New macro.
22723 (ERRNO_UNCHANGED): Update value.
22724 (ERRNO_EDOM): Likewise.
22725 (ERRNO_ERANGE): Likewise.
22726 (IGNORE_RESULT): Likewise.
22727 (TEST_COND_flt_32): New macro.
22728 (TEST_COND_dbl_64): Likewise.
22729 (TEST_COND_ldbl_96_intel): Likewise.
22730 (TEST_COND_ldbl_96_m68k): Likewise.
22731 (TEST_COND_ldbl_128): Likewise.
22732 (TEST_COND_ldbl_128ibm): Likewise.
22733 (TEST_COND_long32): Likewise.
22734 (TEST_COND_long64): Likewise.
22735 (TEST_COND_before_rounding): Likewise.
22736 (TEST_COND_after_rounding): Likewise.
22737 (enable_test): Handle XFAIL_TEST flag.
22738 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22739 with finite results.
22740 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22741 auto-libm-test-out.
22743 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22744 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22747 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22748 __tls_get_addr_internal instead of __tls_get_offset in order to
22749 avoid GOT pointer dependency. Make rtld export
22750 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22751 __tls_get_addr since we are a __tls_get_offset platform.
22752 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22753 GOT pointer being set up before.
22754 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22756 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22758 * manual/math.texi (Errors in Math Functions): Document accuracy
22762 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22763 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22779 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22780 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22781 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22782 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22783 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22787 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22789 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22790 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22791 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22792 atomic-feupdateenv and flt-rounds.
22793 * sysdeps/powerpc/nofpu/Versions (libc): Add
22794 __atomic_feholdexcept, __atomic_feclearexcept,
22795 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22796 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22797 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22798 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22799 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22804 * manual/arith.texi (FP Exceptions): Document that exceptions may
22805 not be raised when matherr is used.
22806 (Math Error Reporting): Document overflow in directed rounding
22807 modes. Document that errno may not be set when finite values are
22808 returned on overflow. Document intent to set errno on underflow
22809 only for underflow to zero.
22812 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22813 round-to-nearest then adjust result for other rounding modes.
22814 * include/fenv.h (fegetround): Use libm_hidden_proto.
22815 * math/fegetround.c (fegetround): Use libm_hidden_def.
22816 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22817 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22818 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22819 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22821 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22822 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22823 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22824 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22826 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22829 * nss/Versions (libnss_files): Add
22830 _nss_files_gethostbyname3_r.
22831 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22833 (HOST_DB_LOOKUP): Remove macro.
22834 (_nss_files_gethostbyname_r): Implement function without the
22835 HOST_DB_LOOKUP macro.
22836 (_nss_files_gethostbyname2_r): Likewise.
22838 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22840 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22842 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22844 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22845 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22848 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22850 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22851 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22852 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22853 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22854 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22855 __fe_nomask_env_priv and attribute_hidden.
22856 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22857 (libc_feupdateenv_test_ppc): Likewise.
22858 (libc_feresetround_ppc): Likewise.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22860 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22861 compat_symbol macro.
22862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22863 (__fe_nomask_env): Likewise.
22864 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22866 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22868 * string/Makefile: Remove ifunc tests.
22869 * string/test-string.h: Define TEST_IFUNC.
22870 * string/test-bcopy-ifunc.c: Remove.
22871 * string/test-bzero-ifunc.c: Likewise.
22872 * string/test-memccpy-ifunc.c: Likewise.
22873 * string/test-memchr-ifunc.c: Likewise.
22874 * string/test-memcmp-ifunc.c: Likewise.
22875 * string/test-memcpy-ifunc.c: Likewise.
22876 * string/test-memmem-ifunc.c: Likewise.
22877 * string/test-memmove-ifunc.c: Likewise.
22878 * string/test-mempcpy-ifunc.c: Likewise.
22879 * string/test-memrchr-ifunc.c: Likewise.
22880 * string/test-memset-ifunc.c: Likewise.
22881 * string/test-rawmemchr-ifunc.c: Likewise.
22882 * string/test-stpcpy-ifunc.c: Likewise.
22883 * string/test-stpncpy-ifunc.c: Likewise.
22884 * string/test-strcasecmp-ifunc.c: Likewise.
22885 * string/test-strcasestr-ifunc.c: Likewise.
22886 * string/test-strcat-ifunc.c: Likewise.
22887 * string/test-strchr-ifunc.c: Likewise.
22888 * string/test-strchrnul-ifunc.c: Likewise.
22889 * string/test-strcmp-ifunc.c: Likewise.
22890 * string/test-strcpy-ifunc.c: Likewise.
22891 * string/test-strcspn-ifunc.c: Likewise.
22892 * string/test-strlen-ifunc.c: Likewise.
22893 * string/test-strncasecmp-ifunc.c: Likewise.
22894 * string/test-strncat-ifunc.c: Likewise.
22895 * string/test-strncmp-ifunc.c: Likewise.
22896 * string/test-strncpy-ifunc.c: Likewise.
22897 * string/test-strnlen-ifunc.c: Likewise.
22898 * string/test-strpbrk-ifunc.c: Likewise.
22899 * string/test-strrchr-ifunc.c: Likewise.
22900 * string/test-strspn-ifunc.c: Likewise.
22901 * string/test-strstr-ifunc.c: Likewise.
22903 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22905 * benchtests/Makefile: Remove ifunc tests.
22906 * benchtests/bench-string.h: Define TEST_IFUNC.
22907 * benchtests/bench-bcopy-ifunc.c: Remove.
22908 * benchtests/bench-bzero-ifunc.c: Likewise.
22909 * benchtests/bench-memccpy-ifunc.c: Likewise.
22910 * benchtests/bench-memchr-ifunc.c: Likewise.
22911 * benchtests/bench-memcmp-ifunc.c: Likewise.
22912 * benchtests/bench-memcpy-ifunc.c: Likewise.
22913 * benchtests/bench-memmem-ifunc.c: Likewise.
22914 * benchtests/bench-memmove-ifunc.c: Likewise.
22915 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22916 * benchtests/bench-memrchr-ifunc.c: Likewise.
22917 * benchtests/bench-memset-ifunc.c: Likewise.
22918 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22919 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22920 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22921 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22922 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22923 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22924 * benchtests/bench-strcat-ifunc.c: Likewise.
22925 * benchtests/bench-strchr-ifunc.c: Likewise.
22926 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22927 * benchtests/bench-strcmp-ifunc.c: Likewise.
22928 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22929 * benchtests/bench-strcpy-ifunc.c: Likewise.
22930 * benchtests/bench-strcspn-ifunc.c: Likewise.
22931 * benchtests/bench-strlen-ifunc.c: Likewise.
22932 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22933 * benchtests/bench-strncat-ifunc.c: Likewise.
22934 * benchtests/bench-strncmp-ifunc.c: Likewise.
22935 * benchtests/bench-strncpy-ifunc.c: Likewise.
22936 * benchtests/bench-strnlen-ifunc.c: Likewise.
22937 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22938 * benchtests/bench-strrchr-ifunc.c: Likewise.
22939 * benchtests/bench-strsep-ifunc.c: Likewise.
22940 * benchtests/bench-strspn-ifunc.c: Likewise.
22941 * benchtests/bench-strstr-ifunc.c: Likewise.
22943 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22945 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22947 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22949 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22950 * rt/aio.h: Likewise.
22951 * sysdeps/gnu/bits/utmp.h: Likewise.
22952 * sysdeps/gnu/bits/utmpx.h: Likewise.
22953 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22954 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22955 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22956 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22957 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22958 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22959 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22960 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22961 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22962 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22963 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22964 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22965 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22967 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22968 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22969 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22970 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22971 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22972 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22973 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22974 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22975 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22976 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22977 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22979 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22980 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22981 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22982 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22983 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22984 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22985 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22986 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22987 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22988 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22989 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22990 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22991 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22992 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22993 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22994 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22996 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22999 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23000 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23002 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23004 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23008 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23010 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23011 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23012 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23013 (__fesetround): Remove define.
23014 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23015 rounding and exceptions handling.
23016 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23017 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23018 (__fe_nomask_env): Likewise.
23019 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23020 __fegetround instead of fegetround.
23021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23024 2013-11-21 Roland McGrath <roland@hack.frob.com>
23026 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23029 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23031 2013-11-21 Meador Inge <meadori@codesourcery.com>
23034 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23035 (encrypt_r): Likewise.
23036 * malloc/obstack.h (obstack_free): Likewise.
23037 * posix/unistd.h (encrypt): Likewise.
23039 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23041 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23042 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23043 DL_CALL_DT_FINI() that call the functions directly.
23044 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23045 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23046 * elf/dl-fini.c: Likewise.
23048 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23050 * malloc/hooks.c (memalign_check): Add alignment rounding.
23051 * malloc/malloc.c (_mid_memalign): New function.
23052 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23053 Implement by calling _mid_memalign.
23054 * manual/probes.texi (Memory Allocation Probes): Remove
23055 memory_valloc_retry and memory_pvalloc_retry.
23057 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23059 * locale/programs/locarchive.c (open_archive): Add const
23060 qualifier to ARCHIVEFNAME and copy default fname to
23064 * libio/tst-widetext.input: Rename Oriya to Odia.
23065 * locale/iso-639.def: Likewise.
23067 * manual/probes.texi (Mathematical Function Probes): Add
23068 documentation for sin, cos, asin and acos probes.
23069 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23070 (__sin32): Add slowasin probe.
23071 (__cos32): Add slowacos probe.
23072 (__mpsin): Add slowsin probe.
23073 (__mpcos): Add slowcos probe.
23075 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23078 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23079 thread-local __sim_exceptions_thread and global
23080 __sim_exceptions_global.
23081 (__sim_disabled_exceptions): Change to thread-local
23082 __sim_disabled_exceptions_thread and global
23083 __sim_disabled_exceptions_global.
23084 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23085 and global __sim_round_mode_global.
23086 (__simulate_exceptions): Use thread-local floating-point state and
23087 set global state from it as needed.
23088 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23089 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23090 __sim_round_mode_thread.
23091 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23092 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23093 and global __sim_exceptions_global.
23094 (__sim_disabled_exceptions): Change to thread-local
23095 __sim_disabled_exceptions_thread and global
23096 __sim_disabled_exceptions_global.
23097 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23098 and global __sim_round_mode_global.
23099 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23100 (SIM_SET_GLOBAL): Likewise.
23101 * sysdeps/powerpc/soft-fp/sfp-machine.h
23102 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23103 __sim_round_mode_thread.
23104 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23105 __sim_disabled_exceptions_thread.
23106 (__sim_exceptions): Change to __sim_exceptions_thread.
23107 (__sim_disabled_exceptions): Change to
23108 __sim_disabled_exceptions_thread.
23109 (__sim_round_mode): Change to __sim_round_mode_thread.
23110 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23111 thread-local floating-point state and set global state from it as
23113 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23114 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23115 (__sim_disabled_exceptions): Remove extern declaration.
23116 (feenableexcept): Use thread-local floating-point state and set
23117 global state from it as needed.
23118 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23119 extern declaration.
23120 (__sim_disabled_exceptions): Likewise.
23121 (__sim_round_mode): Likewise.
23122 (__fegetenv): Use thread-local floating-point state.
23123 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23124 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23125 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23126 floating-point state and set global state from it as needed.
23127 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23128 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23129 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23131 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23132 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23134 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23135 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23136 Use __sim_round_mode_thread.
23137 * math/test-fenv-tls.c: New file.
23138 * math/Makefile (tests): Add test-fenv-tls.
23139 ($(objpfx)test-fenv-tls): Depend on
23140 $(common-objpfx)nptl/libpthread.so.
23142 2013-11-19 Andreas Schwab <schwab@suse.de>
23144 * locale/programs/locale.c (show_info): Decode wordarray elements.
23145 * locale/categories.def (LC_MONETARY): Add element for
23146 _NL_MONETARY_CRNCYSTR.
23147 * locale/C-monetary.c (conversion_rate): New variable.
23148 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23151 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23153 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23154 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23156 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23158 * elf/Makefile (tst-auxv): New test.
23159 * elf/tst-auxv.c: New
23160 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23162 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23164 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23165 (hidden_proto): Caller changed.
23166 (hidden_tls_proto): New macro.
23167 (libc_hidden_tls_proto): Likewise.
23168 (rtld_hidden_tls_proto): Likewise.
23169 (libm_hidden_tls_proto): Likewise.
23170 (libresolv_hidden_tls_proto): Likewise.
23171 (librt_hidden_tls_proto): Likewise.
23172 (libdl_hidden_tls_proto): Likewise.
23173 (libnss_files_hidden_tls_proto): Likewise.
23174 (libnsl_hidden_tls_proto): Likewise.
23175 (libnss_nisplus_hidden_tls_proto): Likewise.
23176 (libutil_hidden_tls_proto): Likewise.
23178 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23181 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23182 (decompose_rpath): Defer expansion to fillin_rpath.
23183 (_dl_init_paths): Pass linkmap to fillin_rpath.
23185 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23187 * benchtests/Makefile: Add strsep.
23188 * benchtests/bench-strsep.c: New file: strsep benchtest.
23189 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23191 2013-11-18 Andreas Schwab <schwab@suse.de>
23193 * locale/programs/locale.c (show_info) [case byte]: Check for
23194 '\377' instead of '\177'.
23195 * locale/C-monetary.c (not_available): Always use "\377".
23196 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23197 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23198 detect unavailable sign_posn locale elements.
23199 * locale/localeconv.c (__localeconv): For grouping and
23200 mon_grouping handle "\177" and "\377" like no grouping.
23201 (INT_ELEM): New macro. Use it to set all numeric members.
23202 * locale/programs/ld-monetary.c (monetary_read)
23203 <tok_mon_grouping>: Normalize single -1 to the empty string.
23204 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23207 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23210 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23211 when we match (nil).
23212 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23214 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23216 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23217 (NO_TEST_INLINE): Update value.
23218 (ERRNO_UNCHANGED): Likewise.
23219 (ERRNO_EDOM): Likewise.
23220 (ERRNO_ERANGE): Likewise.
23221 (IGNORE_RESULT): Likewise.
23222 (check_float_internal): Check signs of NaN results if
23223 TEST_NAN_SIGN used.
23224 (check_complex): Pass TEST_NAN_SIGN flag through to second
23225 check_float_internal call.
23226 (copysign_test_data): Add tests with quiet NaNs as second
23227 argument. Use TEST_NAN_SIGN.
23228 (fabs_test_data): Add test of negative quiet NaN argument. Use
23230 (signbit_test_data): Add tests of quiet NaN argument.
23231 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23233 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23235 (parse_args): Handle function results specified as IGNORE.
23236 * math/libm-test.inc (IGNORE_RESULT): New macro.
23237 (check_float_internal): Do not check numerical result if flag
23239 (check_complex): Pass through IGNORE_RESULT to second
23240 check_float_internal call.
23241 (check_int): Do not check numerical result if flag IGNORE_RESULT
23243 (check_long): Likewise.
23244 (check_bool): Likewise.
23245 (check_longlong): Likewise.
23246 (lrint_test_data): Add tests of infinite and NaN arguments.
23247 (lrint_tonearest_test_data): Likewise.
23248 (lrint_towardzero_test_data): Likewise.
23249 (lrint_downward_test_data): Likewise.
23250 (lrint_upward_test_data): Likewise.
23251 (llrint_test_data): Likewise.
23252 (llrint_tonearest_test_data): Likewise.
23253 (llrint_towardzero_test_data): Likewise.
23254 (llrint_downward_test_data): Likewise.
23255 (llrint_upward_test_data): Likewise.
23256 (lround_test_data): Likewise.
23257 (llround_test_data): Likewise.
23259 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23260 (ERRNO_UNCHANGED): Update value.
23261 (ERRNO_EDOM): Likewise.
23262 (ERRNO_ERANGE): Likewise.
23263 (NO_TEST_INLINE_FLOAT): New macro.
23264 (NO_TEST_INLINE_DOUBLE): Likewise.
23265 (enable_test): New function.
23266 (RUN_TEST_f_f): Check enable_test before running test.
23267 (RUN_TEST_2_f): Likewise.
23268 (RUN_TEST_fff_f): Likewise.
23269 (RUN_TEST_c_f): Likewise.
23270 (RUN_TEST_f_f1): Likewise.
23271 (RUN_TEST_fF_f1): Likewise.
23272 (RUN_TEST_fI_f1): Likewise.
23273 (RUN_TEST_ffI_f1): Likewise.
23274 (RUN_TEST_c_c): Likewise.
23275 (RUN_TEST_cc_c): Likewise.
23276 (RUN_TEST_f_i): Likewise.
23277 (RUN_TEST_f_i_tg): Likewise.
23278 (RUN_TEST_ff_i_tg): Likewise.
23279 (RUN_TEST_f_b): Likewise.
23280 (RUN_TEST_f_b_tg): Likewise.
23281 (RUN_TEST_f_l): Likewise.
23282 (RUN_TEST_f_L): Likewise.
23283 (RUN_TEST_fFF_11): Likewise.
23284 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23286 (cosh_test_data): Likewise.
23287 (exp_test_data): Likewise.
23288 (expm1_test_data): Likewise.
23289 (hypot_test_data): Likewise.
23290 (pow_test_data): Likewise.
23291 (sinh_test_data): Likewise.
23292 (tanh_test_data): Likewise.
23293 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23296 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23297 tests with quiet NaN input and output.
23298 (acosh_test_data): Likewise.
23299 (asin_test_data): Likewise.
23300 (asinh_test_data): Likewise.
23301 (atan_test_data): Likewise.
23302 (atanh_test_data): Likewise.
23303 (atan2_test_data): Likewise.
23304 (cbrt_test_data): Likewise.
23305 (cos_test_data): Likewise.
23306 (cosh_test_data): Likewise.
23307 (erf_test_data): Likewise.
23308 (erfc_test_data): Likewise.
23309 (exp_test_data): Likewise.
23310 (exp10_test_data): Likewise.
23311 (exp2_test_data): Likewise.
23312 (expm1_test_data): Likewise.
23313 (hypot_test_data): Likewise.
23314 (j0_test_data): Likewise.
23315 (j1_test_data): Likewise.
23316 (jn_test_data): Likewise.
23317 (lgamma_test_data): Likewise.
23318 (log_test_data): Likewise.
23319 (log10_test_data): Likewise.
23320 (log1p_test_data): Likewise.
23321 (log2_test_data): Likewise.
23322 (pow_test_data): Likewise.
23323 (scalb_test_data): Likewise.
23324 (sin_test_data): Likewise.
23325 (sincos_test_data): Likewise.
23326 (sinh_test_data): Likewise.
23327 (tan_test_data): Likewise.
23328 (tanh_test_data): Likewise.
23329 (tgamma_test_data): Likewise.
23330 (y0_test_data): Likewise.
23331 (y1_test_data): Likewise.
23332 (yn_test_data): Likewise.
23335 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23336 argument being NaN and avoid computations with second argument in
23338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23339 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23340 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23342 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23344 * locale/iso-639.def: Add Chitwani Tharu (the).
23346 2013-11-14 Andreas Schwab <schwab@suse.de>
23348 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23349 word instead of empty string.
23351 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23354 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23356 (__fe_nomask_env): Likewise.
23358 2013-11-13 Steve Ellcey <sellcey@mips.com>
23360 * benchtests/bench-timing.h: Include time.h.
23362 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23365 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23367 * sysdeps/unix/sysv/linux/configure: Regenerated.
23369 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23372 * stdlib/strtod_l.c (round_and_return): Do not consider
23373 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23374 exponent one less than half the least subnormal exponent.
23375 * stdlib/test-strtod-round-data: Add more tests.
23376 * stdlib/tst-strtod-round.c (tests): Regenerated.
23378 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23381 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23382 (__fe_mask_env): Likewise.
23383 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23384 libm_hidden_proto and add function prototype.
23385 (__fe_mask_env): Add function prototype.
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23387 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23389 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23391 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23393 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23395 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23396 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23398 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23400 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23401 of htab_find_slot().
23403 2013-11-11 David S. Miller <davem@davemloft.net>
23406 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23407 symbol in the non-vis3 case in static builds.
23408 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23409 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23410 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23411 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23413 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23416 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23419 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23421 * benchtests/Makefile: Add bench-strtod.
23422 * benchtests/bench-strtod.c: New file: strtod benchtest
23424 2013-11-11 Andreas Schwab <schwab@suse.de>
23427 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23428 terminating NUL in key length.
23430 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23433 Add artificial ODP entry for vDSO symbol for PPC64.
23434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23435 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23437 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23440 * nss/getent.c (services_keys): Recognize services starting with digit.
23442 2013-11-06 David S. Miller <davem@davemloft.net>
23445 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23446 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23448 2013-11-06 Will Newton <will.newton@linaro.org>
23450 * manual/memory.texi (Malloc Examples): Remove register
23451 keyword from examples.
23453 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23455 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23457 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23460 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23461 depending on [__GCC_IEC_559 > 0].
23462 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23463 depending on [__GCC_IEC_559_COMPLEX > 0].
23465 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23467 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23470 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23472 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23474 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23477 * malloc/malloc (malloc_info): Do not handle first bin as
23480 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23482 * locale/iso-639.def: Add Central Nahuatl (nhn).
23484 2013-11-01 Bruno Haible <bruno@clisp.org>
23487 * manual/math.texi (BSD Random): Specify range upper bound as
23490 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23492 * locale/iso-639.def: Add Meadow Mari (mhr).
23494 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23496 [BZ #14752], [BZ #15763]
23497 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23499 * rt/tst_shm.c: Add test for escaping directory.
23501 2013-10-31 Andreas Schwab <schwab@suse.de>
23504 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23505 followed by 'x' as part of digit sequence.
23506 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23508 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23511 * configure.ac: allow GNU Make 4.0 and greater.
23512 * configure: Regenerated.
23514 2013-10-30 Will Newton <will.newton@linaro.org>
23517 * malloc/hooks.c (memalign_check): Limit alignment to the
23518 maximum representable power of two.
23519 * malloc/malloc.c (__libc_memalign): Likewise.
23520 * malloc/tst-memalign.c (do_test): Add test for very
23521 large alignment values.
23522 * malloc/tst-posix_memalign.c (do_test): Likewise.
23524 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23527 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23528 (munmap_chunk): Likewise.
23529 (mremap_chunk): Likewise.
23531 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23534 * stdlib/div.c (div): Remove obsolete code.
23535 * stdlib/ldiv.c (ldiv): Likewise.
23536 * stdlib/lldiv.c (lldiv): Likewise.
23538 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23541 * nss/nss_files/files-XXX.c (get_contents_ret): New
23543 (get_contents): New function.
23544 (internal_getent): Use it. Expand size of LINEBUFLEN.
23546 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23548 * configure.in: Moved to ...
23549 * configure.ac: ... here. Change reference to configure.in
23551 * sysdeps/arm/preconfigure.ac: ... here.
23552 configure.in to configure.ac.
23553 * sysdeps/gnu/configure.in: Moved to ...
23554 * sysdeps/gnu/configure.ac: ... here.
23555 * sysdeps/i386/configure.in: Moved to ...
23556 * sysdeps/i386/configure.ac: ... here.
23557 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23558 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23559 * sysdeps/mach/configure.in: Moved to ...
23560 * sysdeps/mach/configure.ac: ... here.
23561 * sysdeps/mach/hurd/configure.in: Moved to ...
23562 * sysdeps/mach/hurd/configure.ac: ... here.
23563 * sysdeps/powerpc/configure.in: Moved to ...
23564 * sysdeps/powerpc/configure.ac: ... here.
23565 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23566 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23567 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23568 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23569 * sysdeps/s390/s390-32/configure.in: Moved to ...
23570 * sysdeps/s390/s390-32/configure.ac: ... here.
23571 * sysdeps/s390/s390-64/configure.in: Moved to ...
23572 * sysdeps/s390/s390-64/configure.ac: ... here.
23573 * sysdeps/sh/configure.in: Moved to ...
23574 * sysdeps/sh/configure.ac: ... here.
23575 * sysdeps/sparc/configure.in: Moved to ...
23576 * sysdeps/sparc/configure.ac: ... here.
23577 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23578 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23579 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23580 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23581 * sysdeps/x86_64/configure.in: Moved to ...
23582 * sysdeps/x86_64/configure.ac: ... here.
23583 * sysdeps/x86_64/preconfigure.in: Moved to ...
23584 * sysdeps/x86_64/preconfigure.ac: ... here.
23585 * aclocal.m4: Change reference to configure.in to configure.ac.
23586 * config.h.in: Likewise.
23587 * manual/install.texi: Likewise.
23588 * manual/maint.texi: Likewise.
23589 * Makefile: Likewise.
23590 * malloc/Makefile: Likewise.
23591 * nscd/Makefile: Likewise.
23592 * Makeconfig: Change reference to configure.in and
23593 preconfigure.in to configure.ac and preconfigure.ac
23595 * INSTALL: Regenerated.
23596 * configure: Likewise.
23597 * sysdeps/gnu/configure: Likewise.
23598 * sysdeps/i386/configure: Likewise.
23599 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23600 * sysdeps/mach/configure: Likewise.
23601 * sysdeps/mach/hurd/configure: Likewise.
23602 * sysdeps/powerpc/configure: Likewise.
23603 * sysdeps/powerpc/powerpc32/configure: Likewise.
23604 * sysdeps/powerpc/powerpc64/configure: Likewise.
23605 * sysdeps/s390/s390-32/configure: Likewise.
23606 * sysdeps/s390/s390-64/configure: Likewise.
23607 * sysdeps/sh/configure: Likewise.
23608 * sysdeps/sparc/configure: Likewise.
23609 * sysdeps/unix/sysv/linux/configure: Likewise.
23610 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23611 * sysdeps/x86_64/configure: Likewise.
23612 * sysdeps/x86_64/preconfigure: Likewise.
23614 2013-10-29 Andreas Schwab <schwab@suse.de>
23616 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23618 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23620 * benchtests/pow-inputs: Add new inputs.
23622 * benchtests/exp-inputs: Add new inputs.
23624 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23625 conditional check for return value.
23626 (__cos32): Likewise.
23628 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23630 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23631 to provide a boost for large inputs with word alignment.
23632 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23633 implementation based on optimized PPC64 strcpy.
23634 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23635 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23636 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23637 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23639 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23642 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23644 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23647 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23648 * time/tst-strptime.c (day_tests): Add testcase.
23650 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23653 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23655 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23658 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23659 MAP_FAILED on error.
23661 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23664 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23665 heap for large requests.
23667 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23670 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23671 result if the result has no associated interface.
23672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23673 interface for all 127.X.Y.Z addresses.
23675 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23677 * locale/iso-639.def: Add Ligurian (lij)
23679 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23682 * sunrpc/rpc_main.c: Document rpcgen -5.
23684 2013-10-19 Michael Stahl <mstahl@redhat.com>
23686 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23688 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23691 * posix/glob.c: Match only directories when trailing slash is present.
23692 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23693 (main): Add testcase.
23695 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23698 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23700 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23702 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23703 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23704 AUTH_DES and cindex for FIPS 140-2.
23705 (DES Encryption): Add cindex FIPS 46-3.
23707 * locale/locarchive.h (struct locarhandle): Add fname.
23708 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23709 if an optional argument was specified to --list-archive,
23711 * locale/programs/locarchive.c (show_archive_content): Take new
23712 argument fname and pass it via ah.fname to open_archive.
23713 * locale/programs/localedef.h: Update decl.
23714 (open_archive): If AH->fname is non-null, open that file
23715 rather than the default file name, and don't ignore ENOENT.
23716 (create_archive): Set AH.fname to NULL.
23717 (delete_locales_from_archive): Likewise.
23718 (add_locales_to_archive): Likewise.
23719 * locale/programs/locfile.c (write_all_categories): Likewise.
23721 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23722 Aldy Hernandez <aldyh@redhat.com>
23724 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23725 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23726 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23727 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23728 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23729 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23730 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23731 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23732 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23733 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23734 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23735 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23736 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23737 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23738 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23740 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23744 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23746 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23747 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23749 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23750 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23751 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23752 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23754 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23755 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23756 * sysdeps/powerpc/preconfigure: Likewise.
23757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23759 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23760 Replace contents of file by #include of <fenv_libc.h>.
23761 * sysdeps/powerpc/soft-fp/sfp-machine.h
23762 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23764 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23767 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23774 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23775 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23777 Allow copysignl PLT reference to be missing.
23779 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23780 Joseph Myers <joseph@codesourcery.com
23783 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23785 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23787 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23789 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23790 * elf/tst-tls1.c: Likewise.
23791 * elf/tst-tls10.h: Likewise.
23792 * elf/tst-tls14.c: Likewise.
23793 * elf/tst-tls2.c: Likewise.
23794 * elf/tst-tls3.c: Likewise.
23795 * elf/tst-tls4.c: Likewise.
23796 * elf/tst-tls5.c: Likewise.
23797 * elf/tst-tls6.c: Likewise.
23798 * elf/tst-tls7.c: Likewise.
23799 * elf/tst-tls8.c: Likewise.
23800 * elf/tst-tls9.c: Likewise.
23801 * elf/tst-tlsmod1.c: Likewise.
23802 * elf/tst-tlsmod13.c: Likewise.
23803 * elf/tst-tlsmod13a.c: Likewise.
23804 * elf/tst-tlsmod14a.c: Likewise.
23805 * elf/tst-tlsmod16a.c: Likewise.
23806 * elf/tst-tlsmod16b.c: Likewise.
23807 * elf/tst-tlsmod2.c: Likewise.
23808 * elf/tst-tlsmod3.c: Likewise.
23809 * elf/tst-tlsmod4.c: Likewise.
23810 * elf/tst-tlsmod5.c: Likewise.
23811 * elf/tst-tlsmod6.c: Likewise.
23813 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23816 * malloc/malloc.c: remove checks for statistics.
23818 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23821 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23822 * inet/tst-network.c: Add testcase.
23824 2013-10-17 Andreas Schwab <schwab@suse.de>
23827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23828 to determine canonical name.
23830 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23832 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23833 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23838 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23840 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23841 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23842 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23846 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23847 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23848 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23849 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23850 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23856 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23858 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23859 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23860 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23861 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23862 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23864 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23865 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23866 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23867 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23889 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23891 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23894 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23895 make result into a quiet NaN.
23897 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23899 * soft-fp/adddf3.c: Fix horizontal whitespace.
23900 * soft-fp/addsf3.c: Likewise.
23901 * soft-fp/addtf3.c: Likewise.
23902 * soft-fp/divdf3.c: Likewise.
23903 * soft-fp/divsf3.c: Likewise.
23904 * soft-fp/divtf3.c: Likewise.
23905 * soft-fp/double.h: Likewise.
23906 * soft-fp/eqdf2.c: Likewise.
23907 * soft-fp/eqsf2.c: Likewise.
23908 * soft-fp/eqtf2.c: Likewise.
23909 * soft-fp/extenddftf2.c: Likewise.
23910 * soft-fp/extended.h: Likewise.
23911 * soft-fp/extendsfdf2.c: Likewise.
23912 * soft-fp/extendsftf2.c: Likewise.
23913 * soft-fp/extendxftf2.c: Likewise.
23914 * soft-fp/fixdfdi.c: Likewise.
23915 * soft-fp/fixdfsi.c: Likewise.
23916 * soft-fp/fixdfti.c: Likewise.
23917 * soft-fp/fixsfdi.c: Likewise.
23918 * soft-fp/fixsfsi.c: Likewise.
23919 * soft-fp/fixsfti.c: Likewise.
23920 * soft-fp/fixtfdi.c: Likewise.
23921 * soft-fp/fixtfsi.c: Likewise.
23922 * soft-fp/fixtfti.c: Likewise.
23923 * soft-fp/fixunsdfdi.c: Likewise.
23924 * soft-fp/fixunsdfsi.c: Likewise.
23925 * soft-fp/fixunsdfti.c: Likewise.
23926 * soft-fp/fixunssfdi.c: Likewise.
23927 * soft-fp/fixunssfsi.c: Likewise.
23928 * soft-fp/fixunssfti.c: Likewise.
23929 * soft-fp/fixunstfdi.c: Likewise.
23930 * soft-fp/fixunstfsi.c: Likewise.
23931 * soft-fp/fixunstfti.c: Likewise.
23932 * soft-fp/floatdidf.c: Likewise.
23933 * soft-fp/floatdisf.c: Likewise.
23934 * soft-fp/floatditf.c: Likewise.
23935 * soft-fp/floatsidf.c: Likewise.
23936 * soft-fp/floatsisf.c: Likewise.
23937 * soft-fp/floatsitf.c: Likewise.
23938 * soft-fp/floattidf.c: Likewise.
23939 * soft-fp/floattisf.c: Likewise.
23940 * soft-fp/floattitf.c: Likewise.
23941 * soft-fp/floatundidf.c: Likewise.
23942 * soft-fp/floatundisf.c: Likewise.
23943 * soft-fp/floatunditf.c: Likewise.
23944 * soft-fp/floatunsidf.c: Likewise.
23945 * soft-fp/floatunsisf.c: Likewise.
23946 * soft-fp/floatunsitf.c: Likewise.
23947 * soft-fp/floatuntidf.c: Likewise.
23948 * soft-fp/floatuntisf.c: Likewise.
23949 * soft-fp/floatuntitf.c: Likewise.
23950 * soft-fp/fmadf4.c: Likewise.
23951 * soft-fp/fmasf4.c: Likewise.
23952 * soft-fp/fmatf4.c: Likewise.
23953 * soft-fp/gedf2.c: Likewise.
23954 * soft-fp/gesf2.c: Likewise.
23955 * soft-fp/getf2.c: Likewise.
23956 * soft-fp/ledf2.c: Likewise.
23957 * soft-fp/lesf2.c: Likewise.
23958 * soft-fp/letf2.c: Likewise.
23959 * soft-fp/muldf3.c: Likewise.
23960 * soft-fp/mulsf3.c: Likewise.
23961 * soft-fp/multf3.c: Likewise.
23962 * soft-fp/negdf2.c: Likewise.
23963 * soft-fp/negsf2.c: Likewise.
23964 * soft-fp/negtf2.c: Likewise.
23965 * soft-fp/op-1.h: Likewise.
23966 * soft-fp/op-2.h: Likewise.
23967 * soft-fp/op-4.h: Likewise.
23968 * soft-fp/op-8.h: Likewise.
23969 * soft-fp/op-common.h: Likewise.
23970 * soft-fp/quad.h: Likewise.
23971 * soft-fp/single.h: Likewise.
23972 * soft-fp/soft-fp.h: Likewise.
23973 * soft-fp/sqrtdf2.c: Likewise.
23974 * soft-fp/sqrtsf2.c: Likewise.
23975 * soft-fp/sqrttf2.c: Likewise.
23976 * soft-fp/subdf3.c: Likewise.
23977 * soft-fp/subsf3.c: Likewise.
23978 * soft-fp/subtf3.c: Likewise.
23979 * soft-fp/truncdfsf2.c: Likewise.
23980 * soft-fp/trunctfdf2.c: Likewise.
23981 * soft-fp/trunctfsf2.c: Likewise.
23982 * soft-fp/trunctfxf2.c: Likewise.
23983 * soft-fp/unorddf2.c: Likewise.
23984 * soft-fp/unordsf2.c: Likewise.
23985 * soft-fp/unordtf2.c: Likewise.
23987 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23989 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23990 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23992 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23994 * elf/dl-libc.c: Clear initfini list after freeing.
23996 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23998 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23999 * soft-fp/addsf3.c: Likewise.
24000 * soft-fp/addtf3.c: Likewise.
24001 * soft-fp/divdf3.c: Likewise.
24002 * soft-fp/divsf3.c: Likewise.
24003 * soft-fp/divtf3.c: Likewise.
24004 * soft-fp/double.h: Likewise.
24005 * soft-fp/eqdf2.c: Likewise.
24006 * soft-fp/eqsf2.c: Likewise.
24007 * soft-fp/eqtf2.c: Likewise.
24008 * soft-fp/extenddftf2.c: Likewise.
24009 * soft-fp/extended.h: Likewise.
24010 * soft-fp/extendsfdf2.c: Likewise.
24011 * soft-fp/extendsftf2.c: Likewise.
24012 * soft-fp/extendxftf2.c: Likewise.
24013 * soft-fp/fixdfdi.c: Likewise.
24014 * soft-fp/fixdfsi.c: Likewise.
24015 * soft-fp/fixdfti.c: Likewise.
24016 * soft-fp/fixsfdi.c: Likewise.
24017 * soft-fp/fixsfsi.c: Likewise.
24018 * soft-fp/fixsfti.c: Likewise.
24019 * soft-fp/fixtfdi.c: Likewise.
24020 * soft-fp/fixtfsi.c: Likewise.
24021 * soft-fp/fixtfti.c: Likewise.
24022 * soft-fp/fixunsdfdi.c: Likewise.
24023 * soft-fp/fixunsdfsi.c: Likewise.
24024 * soft-fp/fixunsdfti.c: Likewise.
24025 * soft-fp/fixunssfdi.c: Likewise.
24026 * soft-fp/fixunssfsi.c: Likewise.
24027 * soft-fp/fixunssfti.c: Likewise.
24028 * soft-fp/fixunstfdi.c: Likewise.
24029 * soft-fp/fixunstfsi.c: Likewise.
24030 * soft-fp/fixunstfti.c: Likewise.
24031 * soft-fp/floatdidf.c: Likewise.
24032 * soft-fp/floatdisf.c: Likewise.
24033 * soft-fp/floatditf.c: Likewise.
24034 * soft-fp/floatsidf.c: Likewise.
24035 * soft-fp/floatsisf.c: Likewise.
24036 * soft-fp/floatsitf.c: Likewise.
24037 * soft-fp/floattidf.c: Likewise.
24038 * soft-fp/floattisf.c: Likewise.
24039 * soft-fp/floattitf.c: Likewise.
24040 * soft-fp/floatundidf.c: Likewise.
24041 * soft-fp/floatundisf.c: Likewise.
24042 * soft-fp/floatunsidf.c: Likewise.
24043 * soft-fp/floatunsisf.c: Likewise.
24044 * soft-fp/floatuntidf.c: Likewise.
24045 * soft-fp/floatuntisf.c: Likewise.
24046 * soft-fp/floatuntitf.c: Likewise.
24047 * soft-fp/fmadf4.c: Likewise.
24048 * soft-fp/fmasf4.c: Likewise.
24049 * soft-fp/fmatf4.c: Likewise.
24050 * soft-fp/gedf2.c: Likewise.
24051 * soft-fp/gesf2.c: Likewise.
24052 * soft-fp/getf2.c: Likewise.
24053 * soft-fp/ledf2.c: Likewise.
24054 * soft-fp/lesf2.c: Likewise.
24055 * soft-fp/letf2.c: Likewise.
24056 * soft-fp/muldf3.c: Likewise.
24057 * soft-fp/mulsf3.c: Likewise.
24058 * soft-fp/multf3.c: Likewise.
24059 * soft-fp/negdf2.c: Likewise.
24060 * soft-fp/negsf2.c: Likewise.
24061 * soft-fp/negtf2.c: Likewise.
24062 * soft-fp/op-1.h: Likewise.
24063 * soft-fp/op-2.h: Likewise.
24064 * soft-fp/op-4.h: Likewise.
24065 * soft-fp/op-8.h: Likewise.
24066 * soft-fp/op-common.h: Likewise.
24067 * soft-fp/quad.h: Likewise.
24068 * soft-fp/single.h: Likewise.
24069 * soft-fp/soft-fp.h: Likewise.
24070 * soft-fp/sqrtdf2.c: Likewise.
24071 * soft-fp/sqrtsf2.c: Likewise.
24072 * soft-fp/sqrttf2.c: Likewise.
24073 * soft-fp/subdf3.c: Likewise.
24074 * soft-fp/subsf3.c: Likewise.
24075 * soft-fp/subtf3.c: Likewise.
24076 * soft-fp/truncdfsf2.c: Likewise.
24077 * soft-fp/trunctfdf2.c: Likewise.
24078 * soft-fp/trunctfsf2.c: Likewise.
24079 * soft-fp/trunctfxf2.c: Likewise.
24080 * soft-fp/unorddf2.c: Likewise.
24081 * soft-fp/unordsf2.c: Likewise.
24082 * soft-fp/unordtf2.c: Likewise.
24084 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24087 * misc/error.c (error_tail): Fix possible buffer overflow.
24089 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24092 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24095 2013-10-14 P. J. McDermott <pj@pehjota.net>
24098 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24099 testing pipefail option.
24101 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24103 * soft-fp/double.h: Indent preprocessor directives inside #if.
24104 * soft-fp/extended.h: Likewise.
24105 * soft-fp/op-2.h: Likewise.
24106 * soft-fp/op-4.h: Likewise.
24107 * soft-fp/op-common.h: Likewise.
24108 * soft-fp/quad.h: Likewise.
24109 * soft-fp/single.h: Likewise.
24110 * soft-fp/soft-fp.h: Likewise.
24112 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24114 * iconv/iconv_prog.c: Fix typos.
24115 * stdio-common/psiginfo-data.h: Likewise.
24117 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24120 * locale/setlocale.c: Fix typo.
24122 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24125 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24126 signaling NaN arguments.
24127 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24128 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24131 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24132 unordered operands.
24133 * soft-fp/gesf2.c (__gesf2): Likewise.
24134 * soft-fp/getf2.c (__getf2): Likewise.
24135 * soft-fp/ledf2.c (__ledf2): Likewise.
24136 * soft-fp/lesf2.c (__lesf2): Likewise.
24137 * soft-fp/letf2.c (__letf2): Likewise.
24139 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24140 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24141 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24142 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24143 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24144 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24145 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24146 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24147 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24148 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24149 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24150 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24151 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24152 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24153 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24154 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24155 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24156 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24157 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24158 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24159 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24160 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24161 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24162 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24163 * soft-fp/floattidf.c (__floattidf): Likewise.
24164 * soft-fp/floattisf.c (__floattisf): Likewise.
24165 * soft-fp/floattitf.c (__floattitf): Likewise.
24166 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24167 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24168 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24169 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24170 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24171 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24172 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24173 * soft-fp/gesf2.c (__gesf2): Likewise.
24174 * soft-fp/getf2.c (__getf2): Likewise.
24175 * soft-fp/ledf2.c (__ledf2): Likewise.
24176 * soft-fp/lesf2.c (__lesf2): Likewise.
24177 * soft-fp/letf2.c (__letf2): Likewise.
24179 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24180 Undefine and redefine.
24181 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24182 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24183 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24184 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24185 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24186 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24187 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24188 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24189 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24190 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24191 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24192 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24193 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24194 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24195 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24199 without decrementing exponent if mantissa >= that for the
24200 denominator, not >.
24201 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24202 denominator, not >. Decrement exponent in < case instead of
24203 incrementing in >= case.
24204 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24205 without decrementing exponent if mantissa >= that for the
24206 denominator, not >.
24208 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24209 computing saturated result for unsigned overflow.
24211 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24212 Jeff Law <law@redhat.com>
24214 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24215 (atan2Mp): Add systemtap probe marker.
24216 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24217 (__ieee754_log): Add systemtap probe marker.
24218 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24219 (atanMp): Add systemtap probe marker.
24220 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24221 (tanMp): Add systemtap probe marker.
24222 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24223 (__slowexp): Add systemtap probe marker.
24224 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24225 (__slowpow): Add systemtap probe marker.
24226 * manual/probes.texi: Document probes.
24228 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24231 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24233 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24235 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24236 written to buffer but not flushed.
24237 * libio/iofwrite_u.c: Likewise.
24238 * libio/iopadn.c: Return bytes returned even if EOF was
24240 * libio/iowpadn.c: Likewise.
24241 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24242 if _IO_padn does not write the whole buffer.
24243 [!COMPILE_WPRINTF] (PAD): Likewise.
24245 2013-10-10 David S. Miller <davem@davemloft.net>
24247 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24250 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24252 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24253 instead of FSF address.
24254 * soft-fp/fixdfti.c: Likewise.
24255 * soft-fp/fixsfti.c: Likewise.
24256 * soft-fp/fixtfti.c: Likewise.
24257 * soft-fp/fixunsdfti.c: Likewise.
24258 * soft-fp/fixunssfti.c: Likewise.
24259 * soft-fp/fixunstfti.c: Likewise.
24260 * soft-fp/floattidf.c: Likewise.
24261 * soft-fp/floattisf.c: Likewise.
24262 * soft-fp/floattitf.c: Likewise.
24263 * soft-fp/floatuntidf.c: Likewise.
24264 * soft-fp/floatuntisf.c: Likewise.
24265 * soft-fp/floatuntitf.c: Likewise.
24266 * soft-fp/trunctfxf2.c: Likewise.
24268 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24269 * soft-fp/fixdfti.c: Likewise.
24270 * soft-fp/fixsfti.c: Likewise.
24271 * soft-fp/fixtfti.c: Likewise.
24272 * soft-fp/fixunsdfti.c: Likewise.
24273 * soft-fp/fixunssfti.c: Likewise.
24274 * soft-fp/fixunstfti.c: Likewise.
24275 * soft-fp/floattidf.c: Likewise.
24276 * soft-fp/floattisf.c: Likewise.
24277 * soft-fp/floattitf.c: Likewise.
24278 * soft-fp/floatuntidf.c: Likewise.
24279 * soft-fp/floatuntisf.c: Likewise.
24280 * soft-fp/floatuntitf.c: Likewise.
24281 * soft-fp/trunctfxf2.c: Likewise.
24283 2013-10-10 David S. Miller <davem@davemloft.net>
24285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24287 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24289 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24290 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24291 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24292 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24293 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24294 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24295 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24297 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24298 for NaNs before doing comparisons on argument.
24299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24302 2013-10-10 Will Newton <will.newton@linaro.org>
24304 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24305 passed to _int_memalign does not overflow.
24307 2013-10-10 Torvald Riegel <triegel@redhat.com>
24309 * scripts/bench.pl: Add include-sources directive.
24310 * benchtests/README: Update documentation.
24312 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24314 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24315 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24316 instead of FP_INIT_ROUNDMODE.
24317 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24318 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24321 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24322 copy class of input value.
24323 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24324 not handle exceptions.
24325 * soft-fp/negsf2.c (__negsf2): Likewise.
24326 * soft-fp/negtf2.c (__negtf2): Likewise.
24327 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24329 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24331 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24332 semicolon. From Linux kernel.
24334 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24336 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24338 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24341 * manual/socket.texi: Added statement about buffer
24342 for gethostbyname2_r.
24344 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24346 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24347 Use .p2align directive instead, throughout.
24348 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24349 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24350 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24353 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24354 * sysdeps/x86_64/strchr.S: Likewise.
24355 * sysdeps/x86_64/strrchr.S: Likewise.
24357 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24359 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24361 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24363 * sysdeps/generic/math_private.h (__mpsin1): Remove
24365 (__mpcos1): Likewise.
24366 (__mpsin): New argument __range_reduce.
24367 (__mpcos): Likewise.
24368 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24369 (slow): Use __mpsin and __mpcos.
24373 (sloww1): Likewise.
24374 (sloww2): Likewise.
24375 (bsloww): Likewise.
24376 (bsloww1): Likewise.
24377 (bsloww2): Likewise.
24378 (cslow2): Likewise.
24379 (csloww): Likewise.
24380 (csloww1): Likewise.
24381 (csloww2): Likewise.
24382 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24383 range_reduce. Merge in __mpsin1.
24384 (__mpcos): Likewise.
24385 (__mpsin1): Remove.
24386 (__mpcos1): Likewise.
24388 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24390 * locale/loadlocale.c (_nl_intern_locale_data): Use
24392 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24393 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24394 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24395 obstack data is appropriately aligned.
24396 (obstack_int32_grow_fast): Likewise.
24397 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24398 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24399 (add_locale_uint32_array): Likewise.
24401 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24403 * benchtests/Makefile: Remove ARGLIST and RET variables.
24404 ($(objpfx)bench-%.c): Pass only function name to the script.
24405 * benchtests/README: Update documentation.
24406 * benchtests/acos-inputs: Add new directives.
24407 * benchtests/acosh-inputs: Likewise.
24408 * benchtests/asin-inputs: Likewise.
24409 * benchtests/asinh-inputs: Likewise.
24410 * benchtests/atan-inputs: Likewise.
24411 * benchtests/atanh-inputs: Likewise.
24412 * benchtests/cos-inputs: Likewise.
24413 * benchtests/cosh-inputs: Likewise.
24414 * benchtests/exp-inputs: Likewise.
24415 * benchtests/log-inputs: Likewise.
24416 * benchtests/pow-inputs: Likewise.
24417 * benchtests/rint-inputs: Likewise.
24418 * benchtests/sin-inputs: Likewise.
24419 * benchtests/sinh-inputs: Likewise.
24420 * benchtests/tan-inputs: Likewise.
24421 * benchtests/tanh-inputs: Likewise.
24422 * scripts/bench.pl: Add support for new directives.
24424 2013-10-07 Alan Modra <amodra@gmail.com>
24426 * README: Fix careless merge.
24428 2013-10-05 Alan Modra <amodra@gmail.com>
24430 * NEWS: Mention powerpc64le support and bugs fixed.
24431 * README: Both big-endian and little-endian powerpc64 supported.
24433 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24435 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24436 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24437 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24438 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24440 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24442 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24445 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24447 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24448 Move -mhard-float appending from
24449 ports/sysdeps/powerpc/powerpc32/Makefile.
24450 [$(with-fp) = yes] (ASFLAGS): Likewise.
24451 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24452 * sysdeps/powerpc/nofpu: Move directory from
24453 ports/sysdeps/powerpc/nofpu.
24454 * sysdeps/powerpc/soft-fp: Move directory from
24455 ports/sysdeps/powerpc/soft-fp.
24456 * sysdeps/powerpc/powerpc32/405: Move directory from
24457 ports/sysdeps/powerpc/powerpc32/405.
24458 * sysdeps/powerpc/powerpc32/440: Move directory from
24459 ports/sysdeps/powerpc/powerpc32/440.
24460 * sysdeps/powerpc/powerpc32/464: Move directory from
24461 ports/sysdeps/powerpc/powerpc32/464.
24462 * sysdeps/powerpc/powerpc32/476: Move directory from
24463 ports/sysdeps/powerpc/powerpc32/476.
24464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24465 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24467 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24473 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24474 * README: Update for powerpc-*-linux-gnu software floating point
24477 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24478 case to powerpc/powerpc32*.
24479 * sysdeps/unix/sysv/linux/configure: Regenerated.
24481 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24482 (_FPU_MASK_OM): Define as 0x04.
24483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24491 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24494 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24497 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24498 and setcontext_e500.
24500 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24502 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24504 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24506 * manual/threads.texi (Default Thread Attributes): Fix typo.
24508 2013-10-04 Will Newton <will.newton@linaro.org>
24510 * malloc/Makefile: Add tst-memalign.
24511 * malloc/tst-memalign.c: New file.
24513 * malloc/tst-posix_memalign.c: Add comments.
24514 (do_test): Add comments and call free on all potentially
24515 allocated pointers. Add space after cast.
24517 * malloc/tst-pvalloc.c: Add comments.
24518 (do_test): Add comments and call free on all potentially
24519 allocated pointers. Remove duplicate check for NULL pointer.
24520 Add space after cast.
24522 * malloc/tst-valloc.c: Add comments.
24523 (do_test): Add comments and call free on all potentially
24524 allocated pointers. Remove duplicate check for NULL pointer.
24525 Add space after cast.
24527 2013-10-04 Alan Modra <amodra@gmail.com>
24529 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24530 Use stdint types in rather than __attribute__((mode())).
24531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24533 2013-10-04 Alan Modra <amodra@gmail.com>
24535 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24536 Correct handling of unaligned relocs for little-endian.
24537 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24539 2013-10-04 Alan Modra <amodra@gmail.com>
24541 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24542 * configure: Regenerate.
24543 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24544 * shlib-versions: Likewise.
24546 2013-10-04 Alan Modra <amodra@gmail.com>
24548 * string/tester.c (test_memrchr): Increment reported test cycle.
24550 2013-10-04 Alan Modra <amodra@gmail.com>
24552 * string/test-memcpy.c (do_one_test): When reporting errors, print
24553 string address and don't overrun end of string.
24555 2013-10-04 Alan Modra <amodra@gmail.com>
24557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24558 insrdi. Make better use of reg selection to speed exit slightly.
24559 Schedule entry path a little better. Remove useless "are we done"
24560 checks on entry to main loop. Handle wrapping around zero address.
24561 Correct main loop count. Handle single left-over word from main
24562 loop inline rather than by using loop_small. Remove extra word
24563 case in loop_small caused by wrong loop count. Add little-endian
24565 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24568 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24570 support. Avoid rlwimi.
24571 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24573 2013-10-04 Alan Modra <amodra@gmail.com>
24575 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24576 insrdi. Formatting.
24577 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24580 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24581 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24582 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24584 2013-10-04 Alan Modra <amodra@gmail.com>
24586 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24587 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24588 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24589 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24590 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24591 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24595 use of regs. Use power7 mtocrf. Tidy function tails.
24597 2013-10-04 Alan Modra <amodra@gmail.com>
24599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24600 Formatting. Consistently use rXXX register defines or rN defines.
24601 Use early exit labels that avoid restoring unused non-volatile regs.
24602 Make cr field use more consistent with rWORDn compares. Rename
24603 regs used as shift registers for unaligned loop, using rN defines
24604 for short lifetime/multiple use regs.
24605 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24606 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24607 addi 1,1,64 to pop stack frame. Simplify return value code.
24608 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24610 2013-10-04 Alan Modra <amodra@gmail.com>
24612 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24613 support. Correct typos, formatting. Optimize tail. Use insrdi
24614 rather than rlwimi.
24615 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24617 little-endian support. Correct typos.
24618 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24619 rather than rlwimi.
24620 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24621 in loop and entry code to keep "and." results.
24622 (strchr): Add little-endian support. Comment. Move cntlzd
24624 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24626 2013-10-04 Alan Modra <amodra@gmail.com>
24628 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24629 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24630 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24633 2013-10-04 Alan Modra <amodra@gmail.com>
24635 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24636 (rTMP): Define as r11.
24637 (strcmp): Add little-endian support. Optimise tail.
24638 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24639 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24640 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24646 2013-10-04 Alan Modra <amodra@gmail.com>
24648 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24649 little-endian support. Remove unnecessary "are we done" tests.
24650 Handle "s" wrapping around zero and extremely large "size".
24651 Correct main loop count. Handle single left-over word from main
24652 loop inline rather than by using small_loop. Correct comments.
24653 Delete "zero" tail, use "end_max" instead.
24654 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24656 2013-10-04 Alan Modra <amodra@gmail.com>
24658 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24659 support. Don't branch over align.
24660 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24662 support. Rearrange tmp reg use to suit. Comment.
24663 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24665 2013-10-04 Alan Modra <amodra@gmail.com>
24667 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24669 2013-10-04 Alan Modra <amodra@gmail.com>
24671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24672 conditional form of branch and link when obtaining pc.
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24675 2013-10-04 Alan Modra <amodra@gmail.com>
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24682 2013-10-04 Alan Modra <amodra@gmail.com>
24684 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24685 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24687 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24688 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24689 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24690 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24691 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24693 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24695 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24696 Alistair Popple <alistair@ozlabs.au.ibm.com>
24697 Alan Modra <amodra@gmail.com>
24700 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24702 _dl_hwcap access for little-endian.
24703 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24704 destroy vmx regs when saving unaligned.
24705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24707 destroy vmx regs when saving unaligned.
24709 2013-10-04 Alan Modra <amodra@gmail.com>
24711 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24712 Don't use a union to pack hi/low value.
24714 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24716 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24718 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24720 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24721 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24722 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24724 2013-10-04 Alan Modra <amodra@gmail.com>
24726 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24727 constants to usual value for .cst8 section, and remove redundant
24729 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24730 constant for 0x1p52. Load little-endian words of double from
24731 correct stack offsets.
24733 2013-10-04 Alan Modra <amodra@gmail.com>
24735 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24736 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24737 words of double from correct stack offsets.
24738 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24739 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24740 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24741 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24742 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24743 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24744 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24745 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24746 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24747 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24749 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24750 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24751 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24752 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24754 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24756 2013-10-04 Alan Modra <amodra@gmail.com>
24758 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24759 64-bit int/double union.
24760 (_FPU_SETCW): Likewise.
24761 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24762 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24764 2013-10-04 Alan Modra <amodra@gmail.com>
24766 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24767 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24769 2013-10-04 Alan Modra <amodra@gmail.com>
24771 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24772 use vector int constants.
24773 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24775 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24777 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24778 array with long long.
24779 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24780 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24781 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24782 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24783 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24784 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24785 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24786 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24787 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24788 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24789 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24790 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24791 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24793 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24795 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24796 (__signbit): Likewise. Correct for little-endian.
24797 (__signbitl): Call __signbit.
24798 (lrint): Correct for little-endian.
24799 (lrintf): Call lrint.
24801 2013-10-04 Alan Modra <amodra@gmail.com>
24803 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24804 union 32-bit int array member with 64-bit int array.
24805 (t515, tm256): Double rather than long double.
24806 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24808 2013-10-04 Alan Modra <amodra@gmail.com>
24810 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24812 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24814 version of math_ldbl.h.
24816 2013-10-04 Alan Modra <amodra@gmail.com>
24818 [BZ #15734], [BZ #15735]
24819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24820 all uses of ieee875 long double macros and unions. Simplify test
24821 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24822 ldbl_extract_mantissa value for ix,iy exponents. Properly
24823 normalize after ldbl_extract_mantissa, and don't add hidden bit
24824 already handled. Don't treat low word of ieee854 mantissa like
24825 low word of IBM long double and mask off bit when testing for
24827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24828 all uses of ieee875 long double macros and unions. Simplify tests
24829 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24830 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24831 two1022, instead use their values. Recognise that tests for large
24832 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24833 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24834 Rewrite all uses of ieee875 long double macros and unions. Simplify
24835 test for 0.0L and nan. Correct negation.
24836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24837 ieee875 long double macros and unions. Correct output for large
24838 magnitude x. Correct absolute value calculation.
24839 (__erfcl): Likewise.
24840 * math/libm-test.inc: Add tests for errors discovered in IBM long
24841 double versions of fmodl, remainderl, erfl and erfcl.
24843 2013-10-04 Alan Modra <amodra@gmail.com>
24845 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24846 all uses of ieee854 long double macros and unions. Simplify tests
24847 for long doubles that are fully specified by the high double.
24848 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24850 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24851 Remove dead code too.
24852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24853 (__ieee754_ynl): Likewise.
24854 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24857 Remove dead code too.
24858 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24860 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24861 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24865 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24868 Comment on variable precision.
24869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24872 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24875 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24876 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24878 2013-10-04 Alan Modra <amodra@gmail.com>
24880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24881 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24882 all uses of ieee854 long double macros and unions.
24883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24885 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24886 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24888 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24891 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24892 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24894 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24896 Simplify sign and nan test too.
24897 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24898 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24899 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24900 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24902 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24903 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24906 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24907 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24908 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24909 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24912 2013-10-04 Alan Modra <amodra@gmail.com>
24914 * stdio-common/printf_size.c (__printf_size): Don't use
24915 union ieee854_long_double in fpnum union.
24916 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24917 signbit macro to retrieve sign from long double.
24918 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24919 retrieve sign from long double.
24920 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24921 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24922 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24923 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24924 * math/test-misc.c (main): Don't use union ieee854_long_double.
24926 2013-10-04 Alan Modra <amodra@gmail.com>
24929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24930 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24931 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24932 calculation. Remove unnecessary test for denormal exponent.
24933 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24934 Correct handling of denormals. Avoid undefined shift behaviour.
24935 Correct normalisation of low mantissa when low double is denormal.
24936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24937 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24938 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24939 Correct normalisation of low mantissa. Test for overflow of high
24940 mantissa and normalise.
24941 (ldbl_nearbyint): Use more readable constant for two52.
24942 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24943 (__mpn_construct_long_double): Fix test for overflow of high
24944 mantissa and correct normalisation. Avoid undefined shift.
24946 2013-10-04 Alan Modra <amodra@gmail.com>
24948 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24949 (union ibm_extended_long_double): Define as an array of ieee754_double.
24950 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24951 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24952 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24954 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24958 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24962 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24964 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24965 page size instead of calling getpagesize.
24967 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24968 (LOCFILE_ALIGN_MASK): Likewise.
24969 (LOCFILE_ALIGN_UP): Likewise.
24970 (LOCFILE_ALIGNED_P): Likewise.
24971 * locale/programs/ld-collate.c (collate_output): Use the new
24972 macros instead of __alignof__ (int32_t).
24973 * locale/weight.h (findidx): Likewise.
24975 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24978 * manual/string.texi: Fix strncat and wcsncat.
24980 2013-10-03 Brooks Moses <bmoses@google.com>
24983 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24984 * Makerules: ...here, and adjust associated comments.
24986 2013-10-02 Will Newton <will.newton@linaro.org>
24988 * malloc/Makefile: Add tst-pvalloc.
24989 * malloc/tst-pvalloc.c: New file.
24991 2013-10-02 Will Newton <will.newton@linaro.org>
24993 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24994 improve test coverage.
24996 2013-10-02 Will Newton <will.newton@linaro.org>
24998 * malloc/Makefile: Add tst-posix_memalign.
24999 * malloc/tst-posix_memalign.c: New file.
25001 2013-10-01 Eric Blake <eblake@redhat.com>
25003 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25004 Use __THROWNL rather than __THROW on static functions.
25006 2013-09-30 Petr Machata <pmachata@redhat.com>
25008 * elf/elf.h (R_AARCH64_ABS16): New macro.
25009 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25010 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25011 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25012 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25013 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25014 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25015 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25016 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25017 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25018 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25019 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25020 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25021 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25022 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25023 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25024 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25025 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25026 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25027 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25028 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25029 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25030 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25031 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25032 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25033 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25034 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25035 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25036 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25037 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25038 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25039 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25040 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25041 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25042 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25043 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25044 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25045 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25046 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25047 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25048 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25049 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25050 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25051 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25052 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25053 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25054 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25055 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25056 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25057 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25058 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25059 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25060 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25061 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25062 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25063 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25064 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25065 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25066 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25067 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25068 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25069 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25070 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25071 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25072 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25073 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25074 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25075 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25076 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25077 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25078 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25079 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25080 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25081 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25082 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25083 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25084 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25085 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25086 (R_AARCH64_TLSDESC_LDR): Likewise.
25087 (R_AARCH64_TLSDESC_ADD): Likewise.
25088 (R_AARCH64_TLSDESC_CALL): Likewise.
25090 2013-09-30 Andreas Schwab <schwab@suse.de>
25093 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25094 the nss database lookup.
25095 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25098 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25100 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25102 2013-09-28 P. J. McDermott <pj@pehjota.net>
25104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25105 ${Bash-specific parameter/pattern/string} parameter expansion.
25106 * sysdeps/unix/make-syscalls.sh: Likewise.
25108 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25110 * sysdeps/sh/stackguard-macros.h: New file.
25112 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25116 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25118 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25119 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25121 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25123 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25124 Fix thread ID register.
25126 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25128 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25129 [POSIX || UNIX98]: Require rather than permitting all symbols from
25131 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25132 element of struct sched_param.
25133 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25134 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25135 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25136 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25139 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25141 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25142 argument calculation.
25144 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25146 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25148 [POSIX] (pthread_attr_t): Do not require type.
25149 [POSIX] (pthread_cond_t): Likewise.
25150 [POSIX] (pthread_condattr_t): Likewise.
25151 [POSIX] (pthread_key_t): Likewise.
25152 [POSIX] (pthread_mutex_t): Likewise.
25153 [POSIX] (pthread_mutexattr_t): Likewise.
25154 [POSIX] (pthread_once_t): Likewise.
25155 [POSIX] (pthread_t): Likewise.
25156 [POSIX-based standards] (pthread_atfork): Expect function.
25158 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25159 Richard Sandiford <richard@codesourcery.com>
25161 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25162 (swap_endianness_p): New extern variable.
25163 (set_big_endian): New inline function.
25164 (maybe_swap_uint32): Likewise.
25165 (maybe_swap_uint32_array): Likewise.
25166 (maybe_swap_uint32_obstack): Likewise.
25167 * locale/programs/locfile.c: Include <stdbool.h>.
25168 (swap_endianness_p): New variable.
25169 (add_locale_uint32): Call maybe_swap_uint32.
25170 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25171 (write_locale_data): Call maybe_swap_uint32_array.
25172 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25174 (obstack_int32_grow_fast): Likewise.
25175 (output_weightwc): Call maybe_swap_uint32_obstack.
25176 (collate_output): Likewise.
25177 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25178 (OPT_LITTLE_ENDIAN): Likewise.
25179 (options): Add --little-endian and --big-endian options.
25180 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25181 * locale/programs/locarchive.c: Include "locfile.h".
25185 (create_archive): Use the new macros to access fields of
25186 structures directly mapped from or written to locale archives.
25187 (oldlocrecentcmp): Likewise.
25188 (enlarge_archive): Likewise.
25189 (insert_name): Likewise.
25190 (add_alias): Likewise.
25191 (add_locale): Likewise.
25192 (delete_locales_from_archive): Likewise.
25193 (show_archive_content): Likewise.
25194 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25197 2013-09-24 Roland McGrath <roland@hack.frob.com>
25199 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25200 http://www.gnu.org/doc/freemanuals.texi.
25201 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25203 2013-09-24 Will Newton <will.newton@linaro.org>
25205 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25208 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25210 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25213 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25215 * manual/threads.texi (POSIX Threads): Fix a typo.
25217 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25220 * string/tst-strcoll-overflow.c: New test case.
25221 * string/Makefile (xtests): Add tst-strcoll-overflow.
25222 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25223 cache if string sizes may cause integer overflow.
25226 * string/strcoll_l.c (coll_seq): New members rule, idx,
25227 save_idx and back_us.
25228 (get_next_seq_nocache): New function.
25229 (do_compare_nocache): New function.
25230 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25233 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25236 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25237 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25238 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25241 * elf/Makefile (tests): Add tst-ptrguard1.
25242 (tests-static): Add tst-ptrguard1-static.
25243 (tst-ptrguard1-ARGS): Define.
25244 (tst-ptrguard1-static-ARGS): Define.
25245 * elf/tst-ptrguard1.c: New file.
25246 * elf/tst-ptrguard1-static.c: New file.
25247 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25248 * sysdeps/i386/stackguard-macros.h: Likewise.
25249 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25250 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25251 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25252 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25253 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25254 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25256 2013-09-23 Hector Marco <hecmargi@upv.es>
25257 Ismael Ripoll <iripoll@disca.upv.es>
25258 Carlos O'Donell <carlos@redhat.com>
25261 * sysdeps/generic/stackguard-macros.h: Define
25262 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25263 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25264 Define __pointer_chk_guard_local.
25265 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25266 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25268 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25271 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25273 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25275 * include/string.h (__ffs): Declare as hidden.
25276 * string/ffs.c (__ffs): Define as hidden.
25277 * sysdeps/i386/ffs.c (__ffs): Likewise.
25278 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25279 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25280 * sysdeps/s390/ffs.c (__ffs): Likewise.
25281 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25283 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25285 * NEWS: Mention malloc probes.
25287 * malloc/arena.c (new_heap): New memory_heap_new probe.
25288 (grow_heap): New memory_heap_more probe.
25289 (shrink_heap): New memory_heap_less probe.
25290 (heap_trim): New memory_heap_free probe.
25291 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25292 (systrim): New memory_sbrk_less probe.
25293 * manual/probes.texi: Document them.
25295 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25296 * manual/probes.texi: Document it.
25298 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25299 (__libc_realloc): Add memory_realloc_retry probe.
25300 (__libc_memalign): Add memory_memalign_retry probe.
25301 (__libc_valloc): Add memory_valloc_retry probe.
25302 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25303 (__libc_calloc): Add memory_calloc_retry probe.
25304 * manual/probes.texi: Document them.
25306 * malloc/arena.c (get_free_list): Add probe
25307 memory_arena_reuse_free_list.
25308 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25309 and memory_arena_reuse.
25310 (arena_get2) [!PER_THREAD]: Likewise.
25311 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25312 memory_arena_reuse_realloc.
25313 * manual/probes.texi: Document them.
25315 * malloc/malloc.c (__libc_free): Add
25316 memory_mallopt_free_dyn_thresholds probe.
25317 (__libc_mallopt): Add multiple memory_mallopt probes.
25318 * manual/probes.texi: Document them.
25320 * malloc/malloc.c: Include stap-probe.h.
25321 (__libc_mallopt): Add memory_mallopt probe.
25322 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25323 * manual/probes.texi: New.
25324 * manual/Makefile (chapters): Add probes.
25325 * manual/threads.texi: Set next node.
25327 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25329 [BZ #15963, #13985]
25330 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25331 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25332 Add `Chinese' to `nan' entry name.
25334 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25336 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25337 (POLYNOMIAL): Likewise.
25338 (TAYLOR_SINCOS): Likewise.
25339 (TAYLOR_SLOW): Likewise.
25340 (__sin): Use TAYLOR_SINCOS.
25342 (slow): Use TAYLOR_SLOW.
25344 (bsloww): Likewise.
25345 (csloww): Likewise.
25347 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25349 * stdlib/strtod_l.c: Fix buffer overrun.
25351 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25353 * benchtests/Makefile (bench): Add sincos.
25354 * benchtests/bench-sincos.c: New file.
25356 * math/libm-test.inc (cos_test_data): New test inputs.
25357 (sin_test_data): Likewise.
25359 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25365 (sloww1): Likewise.
25366 (sloww2): Likewise.
25367 (bsloww1): Likewise.
25368 (bsloww2): Likewise.
25369 (cslow2): Likewise.
25370 (csloww1): Likewise.
25371 (csloww2): Likewise.
25373 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25378 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25382 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25384 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25385 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25386 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25387 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25388 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25389 * elf/cache.c (print_entry): Handle the new cache flags.
25391 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25392 Aldy Hernandez <aldyh@redhat.com>
25394 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25395 Change condition to [_SOFT_FLOAT].
25396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25408 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25411 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25414 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25416 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25417 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25418 (__longjmp): Use LOAD_GP to load saved GPRs.
25419 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25420 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25421 (__sigsetjmp): Use SAVE_GP to save GPRs.
25423 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25424 Do not append -msoft-float.
25425 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25427 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25429 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25431 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25434 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25435 (_FPU_GETCW): Use initial "__" on variable and field names but not
25436 on macro parameter name.
25437 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25438 parentheses around reference to macro parameter.
25440 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25442 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25444 (ctype_startup): Use uint32_t in cast and sizeof for
25447 2013-09-11 Jia Liu <proljc@gmail.com>
25449 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25451 [__FreeBSD__]: Likewise.
25453 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25455 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25456 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25457 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25458 (strchr): Remove __strchr_sse42 ifunc selection.
25459 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25460 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25462 2013-09-11 Will Newton <will.newton@linaro.org>
25464 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25465 parameter to RES. Remove hardcoded 1000 value.
25466 * benchtests/bench-skeleton.c (main): Pass RES parameter
25467 to TIMING_INIT and multiply result by 1000.
25469 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25473 2013-09-11 Andreas Schwab <schwab@suse.de>
25475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25477 (O_TMPFILE) [__USE_GNU]: Define.
25478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25481 2013-09-11 Will Newton <will.newton@linaro.org>
25484 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25487 2013-09-11 Will Newton <will.newton@linaro.org>
25490 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25493 2013-09-11 Will Newton <will.newton@linaro.org>
25496 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25499 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25501 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25507 2013-09-10 Allan McRae <allan@archlinux.org>
25510 * manual/arith.texi (Parsing of Floats): Clarify
25514 * manual/install.texi (Running make install): Mention
25516 * INSTALL: Regenerated.
25518 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25520 * csu/init-first.c (_init): Remove the !SHARED condition around
25521 FPU control word initialization.
25522 * elf/dl-support.c (_dl_fpu_control): New variable.
25523 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25524 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25525 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25526 * math/test-fpucw-static.c: New file.
25527 * math/test-fpucw-ieee.c: New file.
25528 * math/test-fpucw-ieee-static.c: New file.
25529 * math/Makefile (tests): Add `test-fpucw-ieee' and
25531 (tests-static): New variable.
25532 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25534 [($(build-shared),yes)]
25535 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25537 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25540 2013-09-09 Allan McRae <allan@archlinux.org>
25543 * manual/string.texi (Collation Functions): Fix typo in
25545 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25548 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25551 * libio/memstream.c (open_memstream): Fix memory leak.
25552 * libio/wmemstream.c (open_wmemstream): Likewise.
25555 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25557 2013-09-09 Will Newton <will.newton@linaro.org>
25559 * malloc/Makefile: Add tst-realloc to tests.
25560 * malloc/tst-realloc.c: New file.
25562 2013-09-09 Allan McRae <allan@archlinux.org>
25565 * COPYING: Update from GNU website to fix FSF address.
25566 * COPYING.LIB: Likewise.
25568 2013-09-06 David S. Miller <davem@davemloft.net>
25570 * po/zh_TW.po: Update Chinese (traditional) translation from
25571 translation project.
25573 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25574 Joseph Myers <joseph@codesourcery.com>
25576 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25578 (obstack_chunk_alloc): New macro.
25579 (obstack_chunk_free): Likewise.
25580 (record_offset): New function.
25581 (init_locale_data): Likewise.
25582 (align_locale_data): Likewise.
25583 (add_locale_empty): Likewise.
25584 (add_locale_raw_data): Likewise.
25585 (add_locale_raw_obstack): Likewise.
25586 (add_locale_string): Likewise.
25587 (add_locale_wstring): Likewise.
25588 (add_locale_uint32): Likewise.
25589 (add_locale_uint32_array): Likewise.
25590 (add_locale_char): Likewise.
25591 (start_locale_structure): Likewise.
25592 (end_locale_structure): Likewise.
25593 (start_locale_prelude): Likewise.
25594 (end_locale_prelude): Likewise.
25595 (write_locale_data): Take locale_file structure rather than an
25597 * locale/programs/locfile.h: Include "obstack.h".
25598 (struct locale_file): Change to store locale file contents instead
25600 (init_locale_data): New prototype.
25601 (align_locale_data): Likewise.
25602 (add_locale_empty): Likewise.
25603 (add_locale_raw_data): Likewise.
25604 (add_locale_raw_obstack): Likewise.
25605 (add_locale_string): Likewise.
25606 (add_locale_wstring): Likewise.
25607 (add_locale_uint32): Likewise.
25608 (add_locale_uint32_array): Likewise.
25609 (add_locale_char): Likewise.
25610 (start_locale_structure): Likewise.
25611 (end_locale_structure): Likewise.
25612 (start_locale_prelude): Likewise.
25613 (end_locale_prelude): Likewise.
25614 (write_locale_data): Update prototype.
25615 * locale/programs/3level.h (struct TABLE): Remove result field.
25616 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25617 Use new locale_file interface.
25618 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25619 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25620 * locale/programs/ld-address.c (address_output): Use new
25621 locale_file interface.
25622 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25624 (collate_finish): Don't call collseq_table_finalize.
25625 (collate_output): Use new locale_file interface.
25626 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25628 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25629 (TABLE): Move defines earlier in file.
25630 (ELEMENT): Likewise.
25631 (DEFAULT): Likewise.
25632 (wctrans_table_add): Move macro and inline function earlier in
25634 (struct wctype_table): Move type earlier in file.
25635 (add_locale_wctype_table): New static prototype.
25636 (struct locale_ctype_t): Use logical types instead of struct iovec
25637 pointers for members.
25638 (ctype_output): Use new locale_file interface.
25639 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25640 new locale_file interface.
25641 (allocate_arrays): Update for use of new locale_file interface.
25642 * locale/programs/ld-identification.c (identification_output): Use
25643 new locale_file interface.
25644 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25645 * locale/programs/ld-messages.c (messages_output): Likewise.
25646 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25647 * locale/programs/ld-name.c (name_output): Likewise.
25648 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25649 * locale/programs/ld-paper.c (paper_output): Likewise.
25650 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25651 * locale/programs/ld-time.c (time_output): Likewise.
25653 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25655 * benchtests/Makefile: Add memrchr benchmark.
25656 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25657 benchmark as memrchr.
25658 * benchtests/bench-memrchr-ifunc.c: New file.
25659 * benchtests/bench-memrchr.c: New file.
25661 2013-09-06 Will Newton <will.newton@linaro.org>
25663 * benchtests/Makefile (string-bench): Add memcpy.
25665 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25666 Cong Wang <amwang@redhat.com>
25669 * sysdeps/unix/sysv/linux/bits/in.h
25670 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25671 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25672 before __USE_KERNEL_IPV6_DEFS uses.
25673 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25675 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25676 sockaddr_in6, or ipv6_mreq.
25678 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25680 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25681 memory access for final bytes in some large inputs.
25682 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25684 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25686 * string/test-memrchr.c: New file.
25687 * string/test-memrchr-ifunc.c: New file.
25688 * string/Makefile: Add new memrchr testcase.
25690 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25692 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25693 fanotify_init returns EPERM.
25695 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25697 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25699 (top level): Treat second token from macro or constant entries for
25700 allowed headers as allowed.
25701 * include/complex.h: Condition internal declarations on
25703 * include/fenv.h: Condition include of <stdbool.h> and internal
25704 declarations on [!_ISOMAC].
25706 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25709 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25711 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25713 * configure.in (--enable-versioning): Remove configure option.
25714 (libc_cv_asm_symver_directive): Remove configure test.
25715 (libc_cv_ld_version_script_option): Likewise.
25716 (VERSIONING): Remove variable and AC_SUBST.
25717 (DO_VERSIONING): Remove AC_DEFINE.
25718 * configure: Regenerated.
25719 * config.h.in (DO_VERSIONING): Remove macro.
25720 * Makerules [$(versioning) = yes]: Change conditionals to
25721 [$(build-shared) = yes].
25722 * config.make.in (versioning): Remove variable.
25723 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25724 [$(build-shared) = yes].
25725 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25726 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25727 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25728 [$(build-shared) = yes].
25729 * extra-lib.mk [$(versioning) = yes]: Likewise.
25730 * hurd/Makefile [$(versioning) = yes]: Likewise.
25731 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25733 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25735 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25736 [SHARED && !NO_HIDDEN].
25737 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25739 [SHARED && DO_VERSIONING]: Likewise..
25740 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25741 [$(build-shared) = yes].
25742 * manual/install.texi (--disable-versioning): Remove
25744 * INSTALL: Regenerated.
25745 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25747 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25748 [$(build-shared) = yes].
25749 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25750 * sysdeps/i386/i686/multiarch/strstr-c.c
25751 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25752 [SHARED && !NO_HIDDEN].
25753 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25754 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25755 * sysdeps/powerpc/powerpc32/dl-machine.c
25756 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25757 * sysdeps/powerpc/powerpc32/sysdep.h
25758 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25759 to [SHARED && PIC && !NO_HIDDEN].
25760 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25761 conditional to [SHARED].
25763 2013-09-04 Will Newton <will.newton@linaro.org>
25765 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25766 * benchtests/bench-string.h: Include bench-timing.h instead
25767 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25768 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25769 call to HP_TIMING_DIFF_INIT.
25770 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25771 instead of hp-timing.h macros.
25772 * benchtests/bench-memchr.c: Likewise.
25773 * benchtests/bench-memcmp.c: Likewise.
25774 * benchtests/bench-memcpy.c: Likewise.
25775 * benchtests/bench-memmem.c: Likewise.
25776 * benchtests/bench-memmove.c: Likewise.
25777 * benchtests/bench-memset.c: Likewise.
25778 * benchtests/bench-rawmemchr.c: Likewise.
25779 * benchtests/bench-strcasecmp.c: Likewise.
25780 * benchtests/bench-strcasestr.c: Likewise.
25781 * benchtests/bench-strcat.c: Likewise.
25782 * benchtests/bench-strchr.c: Likewise.
25783 * benchtests/bench-strcmp.c: Likewise.
25784 * benchtests/bench-strcpy.c: Likewise.
25785 * benchtests/bench-strcpy_chk.c: Likewise.
25786 * benchtests/bench-strlen.c: Likewise.
25787 * benchtests/bench-strncasecmp.c: Likewise.
25788 * benchtests/bench-strncat.c: Likewise.
25789 * benchtests/bench-strncmp.c: Likewise.
25790 * benchtests/bench-strncpy.c: Likewise.
25791 * benchtests/bench-strnlen.c: Likewise.
25792 * benchtests/bench-strpbrk.c: Likewise.
25793 * benchtests/bench-strrchr.c: Likewise.
25794 * benchtests/bench-strspn.c: Likewise.
25795 * benchtests/bench-strstr.c: Likewise.
25797 2013-09-04 Will Newton <will.newton@linaro.org>
25799 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25801 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25805 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25806 * math/libm-test.inc (lgamma_test_data): Add more tests.
25807 * sysdeps/i386/fpu/libm-test-ulps: Update.
25808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25810 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25812 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25816 Add strcmp-sse2-unaligned
25817 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25819 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25821 * Versions.def (libc): Add GLIBC_2.19.
25823 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25825 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25826 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25828 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25831 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25832 intermediate calculations in recurrence.
25833 (__ieee754_ynf): Likewise.
25834 * math/libm-test.inc (jn_test_data): Do not allow spurious
25835 underflow exception. Add more tests.
25836 (yn_test_data): Add more tests.
25837 * sysdeps/i386/fpu/libm-test-ulps: Update.
25838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25840 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25844 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25846 * csu/init-first.c: Fix then/than typos.
25847 * locale/programs/ld-collate.c: Likewise.
25848 * locale/programs/linereader.h: Likewise.
25849 * manual/charset.texi: Likewise.
25850 * manual/filesys.texi: Likewise.
25851 * manual/stdio.texi: Likewise.
25852 * manual/string.texi: Likewise.
25853 * stdlib/fmtmsg.c: Likewise.
25854 * sysdeps/i386/stpncpy.S: Likewise.
25855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25856 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25857 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25858 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25860 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25862 * elf/dl-open.c: Fix typos.
25863 * iconvdata/gbbig5.c: Likewise.
25864 * iconvdata/iso-2022-jp.c: Likewise.
25865 * iconv/gconv_int.h: Likewise.
25866 * iconv/loop.c: Likewise.
25867 * nis/rpcsvc/nis.h: Likewise.
25868 * resolv/ns_name.c: Likewise.
25869 * stdio-common/vfscanf.c: Likewise.
25870 * streams/stropts.h: Likewise.
25871 * sunrpc/rpc_thread.c: Likewise.
25872 * sysdeps/i386/strpbrk.S: Likewise.
25873 * sysdeps/ieee754/k_standard.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25876 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25877 * sysdeps/mach/hurd/profil.c: Likewise.
25878 * sysdeps/s390/dl-procinfo.h: Likewise.
25879 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25880 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25881 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25882 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25883 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25885 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25887 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25890 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25893 aix specific files.
25894 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25895 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25896 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25897 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25898 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25899 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25900 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25901 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25903 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25904 Roland McGrath <roland@hack.frob.com>
25906 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25907 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25909 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25911 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25912 __executable_start symbol instead of _start.
25914 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25916 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25917 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25919 * sysdeps/gnu/ldsodefs.h: ... this new file.
25921 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25922 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25923 instead of ELFOSABI_LINUX.
25925 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25926 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25927 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25928 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25930 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25931 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25934 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25935 (ibm_extended_long_double): Add ieee_nan member.
25936 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25937 (do_test): New function.
25939 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25941 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25942 functions, renamed from truncdfsf_test, trunctfsf_test,
25944 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25946 (do_test): Run all these.
25948 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25950 * argp/argp-help.c: Fix typos.
25951 * argp/argp-parse.c: Likewise.
25952 * debug/backtracesyms.c: Likewise.
25953 * elf/elf.h: Likewise.
25954 * malloc/malloc.c: Likewise.
25955 * nis/nis_print.c: Likewise.
25956 * resolv/res_comp.c: Likewise.
25957 * stdlib/stdlib.h: Likewise.
25958 * sunrpc/clnt_tcp.c: Likewise.
25959 * sunrpc/clnt_udp.c: Likewise.
25960 * sunrpc/clnt_unix.c: Likewise.
25961 * sysdeps/unix/bsd/ptsname.c: Likewise.
25962 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25963 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25970 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25972 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25974 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25977 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25980 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25981 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25982 ($(objpfx)bug-dl-leaf): New rule.
25983 ($(objpfx)bug-dl-leaf.so): Likewise.
25984 ($(objpfx)bug-dl-leaf.out): Likewise.
25985 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25986 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25987 * dlfcn/bug-dl-leaf.c: New test.
25988 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25989 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25990 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25991 (dlclose): Likewise.
25992 (dlmopen): Likewise.
25994 2013-08-27 Roland McGrath <roland@hack.frob.com>
25996 * include/netdb.h [!_ISOMAC]:
25997 Don't include <tls.h>.
25998 (h_errno, __libc_h_errno): Move declaration and macros out of
26001 * include/resolv.h [_RESOLV_H_]:
26002 Don't include <tls.h>.
26003 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26004 * resolv/res_libc.c: Don't include <tls.h>.
26005 (_res): Use __attribute__ ((nocommon)) in place of
26006 __attribute__ ((section (".bss"))).
26008 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26009 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26011 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26013 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26014 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26016 * resolv/res_mkquery.c: Include <sys/time.h>.
26018 * inet/ifreq.c: Moved to ...
26019 * sysdeps/unix/ifreq.c: ... here.
26020 * inet/ifreq.c: New file, true stub version.
26022 * socket/sa_len.c: New file.
26023 * socket/Makefile (aux): Add it.
26024 * sysdeps/unix/sysv/linux/Makefile
26025 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26026 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26027 and #include <socket/sa_len.c>.
26028 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26029 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26031 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26032 * bits/socket.h: ... here.
26034 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26035 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26036 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26038 2013-08-27 Andreas Schwab <schwab@suse.de>
26041 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26042 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26043 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26044 * string/test-strcasecmp.c (test_main): Run tests in several
26046 * string/test-strncasecmp.c (test_main): Likewise.
26048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26049 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26050 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26052 (__strncasecmp_ssse3) [PIC]: Likewise.
26054 2013-08-26 Roland McGrath <roland@hack.frob.com>
26056 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26058 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26059 instead of explicitly declaring xdecrypt.
26060 * nis/nss_nis/nis-publickey.c: Likewise.
26062 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26065 * nscd/aicache.c: Include res_hconf.h.
26066 (addhstaiX): Initialize res_hconf.
26068 2013-08-26 Andreas Schwab <schwab@suse.de>
26070 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26071 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26073 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26075 * nscd/aicache.c (addhstaiX): Fix indentation.
26077 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26079 * configure.ac: Quote $build_pt_chown test.
26080 * configure: Regenerated.
26082 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26085 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26086 * math/s_cexpf.c (__cexpf): Likewise.
26087 * math/s_cexpl.c (__cexpl): Likewise.
26088 * math/libm-test.inc (cexp_test_data): Correct expected return
26089 value for NaN + i0. Add another test.
26091 2013-08-22 David S. Miller <davem@davemloft.net>
26093 * po/ca.po: Update Catalan translation from translation project.
26094 * po/uk.po: Add Ukrainian translations from translation project.
26096 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26099 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26100 is infinite, not alongside NaN test.
26101 * math/s_fdimf.c (__fdimf): Likewise.
26102 * math/s_fdiml.c (__fdiml): Likewise.
26103 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26104 errno is unchanged.
26106 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26108 * argp/argp-help.c: Fix typos.
26109 * crypt/speeds.c: Likewise.
26110 * csu/check_fds.c: Likewise.
26111 * elf/dl-load.c: Likewise.
26112 * elf/dl-open.c: Likewise.
26113 * elf/reldep3.c: Likewise.
26114 * elf/reldep.c: Likewise.
26115 * elf/sprof.c: Likewise.
26116 * iconv/iconv_charmap.c: Likewise.
26117 * iconv/skeleton.c: Likewise.
26118 * iconv/strtab.c: Likewise.
26119 * io/lockf64.c: Likewise.
26120 * libio/libioP.h: Likewise.
26121 * resolv/gai_notify.c: Likewise.
26122 * resolv/ns_name.c: Likewise.
26123 * resolv/ns_samedomain.c: Likewise.
26124 * resolv/res_send.c: Likewise.
26125 * stdlib/random.c: Likewise.
26126 * sunrpc/rpc/xdr.h: Likewise.
26127 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26129 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26130 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26131 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26132 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26134 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26135 * sysdeps/mach/hurd/check_fds.c: Likewise.
26136 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26137 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26139 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26140 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26142 * sysdeps/pthread/aio_notify.c: Likewise.
26143 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26144 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26145 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26147 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26149 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26151 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26152 version if bit_Slow_SSE4_2 is set.
26153 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26154 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26156 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26159 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26160 trampoline stack frame information.
26161 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26163 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26164 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26165 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26166 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26167 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26168 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26170 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26171 interrupting a syscall and set with option SA_SIGINFO.
26173 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26176 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26177 argument is infinite.
26178 * math/s_cprojf.c (__cprojf): Likewise.
26179 * math/s_cprojl.c (__cprojl): Likewise.
26180 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26181 * math/libm-test.inc (cproj_test_data): Add more tests.
26183 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26185 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26186 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26187 size. Use __ffs to determine corresponding shift.
26189 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26190 Roland McGrath <roland@hack.frob.com>
26192 * Makefile (INSTALL): Remove trailing blank lines from output of
26195 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26197 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26198 Align 32 bit compat elf_greg to 8 bytes.
26200 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26202 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26204 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26206 * string/strcoll_l.c (coll_seq): New structure.
26207 (get_next_seq_cached): New function.
26208 (get_next_seq): New function.
26209 (do_compare): New function.
26210 (STRCOLL): Use GNU style definition. Simplify implementation
26211 by using get_next_seq, get_next_seq_cached and do_compare.
26213 2013-08-16 Florian Weimer <fweimer@redhat.com>
26217 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26219 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26221 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26222 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26223 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26226 GETDENTS_64BIT_ALIGNED.
26227 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26228 * manual/filesys.texi (Reading/Closing Directory): Document
26229 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26231 * manual/conf.texi (Limits for Files): Add portability note to
26232 NAME_MAX, PATH_MAX.
26233 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26235 2013-08-13 Andreas Schwab <schwab@suse.de>
26238 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26240 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26241 LDBL_MAX_EXP >= 16384]: Add tests for it.
26243 2013-08-12 David S. Miller <davem@davemloft.net>
26245 * version.h (RELEASE): Set to "development".
26246 (VERSION): Set to "2.18.90".
26247 * NEWS: Add 2.19 section.
26249 2013-08-03 David S. Miller <davem@davemloft.net>
26251 * po/ko.po: Update Korean translation from translation project.
26253 2013-08-01 David S. Miller <davem@davemloft.net>
26255 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26256 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26259 2013-07-30 David S. Miller <davem@davemloft.net>
26261 * po/fr.po: Update French translation from translation project.
26263 2013-07-28 David S. Miller <davem@davemloft.net>
26265 * po/cs.po: Update Czech translation from translation project.
26267 * po/sv.po: Update Swedish translation from translation project.
26269 2013-07-27 David S. Miller <davem@davemloft.net>
26271 * po/eo.po: Update Esperanto translation from translation project.
26273 * po/vi.po: Update Vietnamese translation from translation project.
26275 * po/de.po: Update German translation from translation project.
26277 2013-07-26 David S. Miller <davem@davemloft.net>
26279 * po/bg.po: Update Bulgarian translation from translation project.
26281 * po/nl.po: Update Dutch translation from translation project.
26282 * po/pl.po: Update Polish translation from translation project.
26283 * po/ru.po: Update Russian translation from translation project.
26285 2013-07-24 David S. Miller <davem@davemloft.net>
26287 * po/libc.pot: Update.
26289 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26291 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26292 variable page size.
26293 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26294 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26295 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26297 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26299 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26301 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26302 Andreas Schwab <schwab@suse.de>
26303 Roland McGrath <roland@hack.frob.com>
26304 Joseph Myers <joseph@codesourcery.com>
26305 Carlos O'Donell <carlos@redhat.com>
26308 * config.h.in: Define HAVE_PT_CHOWN.
26309 * config.make.in (build-pt-chown): New variable.
26310 * configure.in (--enable-pt_chown): New configure option.
26311 * configure: Regenerate.
26312 * login/Makefile: Include Makeconfig. Build pt_chown only if
26313 build-pt-chown is enabled.
26314 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26315 pt_chown to fix pty ownership.
26316 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26318 * manual/install.texi (Configuring and compiling): Mention
26319 --enable-pt_chown. Add @findex for grantpt.
26320 * INSTALL: Regenerate.
26322 2013-07-20 David S. Miller <davem@davemloft.net>
26324 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26325 difference between 32-bit and 64-bit.
26327 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26330 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26331 Avoid system header dependency with -ffreestanding.
26332 ($(objpfx)bits/syscall%d): Likewise.
26334 2013-07-13 David S. Miller <davem@davemloft.net>
26336 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26337 underflows from atanl/atan2l due to bug 15319.
26338 (casinh_test_data): Likewise.
26340 2013-07-07 David S. Miller <davem@davemloft.net>
26342 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26344 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26346 * sysdeps/i386/fpu/libm-test-ulps: Update.
26347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26349 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26351 * configure.in (--enable-lock-elision): Fix message text.
26352 * INSTALL: Regenerate.
26353 * configure: Regenerate.
26355 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26359 2013-07-03 Andreas Jaeger <aj@suse.de>
26361 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26363 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26364 (ptrace_peeksiginfo_args): Add.
26365 (__ptrace_peeksiginfo_flags): Add.
26366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26368 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26370 2013-07-03 Allan McRae <allan@archlinux.org>
26372 * sysdeps/i386/fpu/libm-test-ulps: Update.
26374 2013-07-02 David S. Miller <davem@davemloft.net>
26376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26378 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26382 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26384 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26387 2013-07-02 Andi Kleen <ak@linux.intel.com>
26389 * config.h.in (ENABLE_LOCK_ELISION): Add.
26390 * configure.in (--enable-lock-elision): Add option.
26391 * manual/install.texi: Document --enable lock elision.
26392 * configure: Regenerate
26393 * INSTALL: Regenerate.
26395 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26397 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26398 SSE4.2 strcasecmp for libc.a.
26399 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26401 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26404 * soft-fp/op-common.h (_FP_FMA): New macro.
26405 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26406 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26407 (_FP_MUL_MEAT_1_imm): ... here.
26408 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26409 (_FP_MUL_MEAT_1_wide): ... here.
26410 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26411 (_FP_MUL_MEAT_1_hard): ... here.
26412 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26413 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26414 (_FP_MUL_MEAT_2_wide): ... here.
26415 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26416 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26417 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26418 (_FP_MUL_MEAT_2_gmp): ... here.
26419 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26420 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26421 (_FP_MUL_MEAT_4_wide): ... here.
26422 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26423 (_FP_MUL_MEAT_4_gmp): ... here.
26424 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26425 (_FP_WFRACBITS_DW_S): Likewise.
26426 (_FP_WFRACXBITS_DW_S): Likewise.
26427 (_FP_HIGHBIT_DW_S): Likewise.
26428 (FP_FMA_S): Likewise.
26429 (_FP_FRAC_HIGH_DW_S): Likewise.
26430 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26431 (_FP_WFRACBITS_DW_D): Likewise.
26432 (_FP_WFRACXBITS_DW_D): Likewise.
26433 (_FP_HIGHBIT_DW_D): Likewise.
26434 (FP_FMA_D): Likewise.
26435 (_FP_FRAC_HIGH_DW_D): Likewise.
26436 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26437 (_FP_WFRACBITS_DW_E): Likewise.
26438 (_FP_WFRACXBITS_DW_E): Likewise.
26439 (_FP_HIGHBIT_DW_E): Likewise.
26440 (FP_FMA_E): Likewise.
26441 (_FP_FRAC_HIGH_DW_E): Likewise.
26442 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26443 (_FP_WFRACBITS_DW_Q): Likewise.
26444 (_FP_WFRACXBITS_DW_Q): Likewise.
26445 (_FP_HIGHBIT_DW_Q): Likewise.
26446 (FP_FMA_Q): Likewise.
26447 (_FP_FRAC_HIGH_DW_Q): Likewise.
26448 * soft-fp/fmasf4.c: New file.
26449 * soft-fp/fmadf4.c: Likewise.
26450 * soft-fp/fmatf4.c: Likewise.
26452 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26455 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26459 (index_Slow_SSE4_2): Likewise.
26460 (index_Prefer_PMINUB_for_stringop): Likewise.
26461 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26462 bit_Slow_SSE4_2 is set.
26463 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26466 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26468 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26469 rtld_global._dl_hwcap2.
26470 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26472 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26473 POWER8 feature descriptions defined in _dl_hwcap2.
26474 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26475 string handling for POWER8 feature bits.
26476 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26477 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26478 _dl_powerpc_cap_flags.
26479 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26480 * sysdeps/powerpc/rtld-global-offsets.sym
26481 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26482 _dl_hwcap2 in the rtld_global_ro structure.
26484 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26486 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26487 hardware capabilities in support of AT_HWCAP2.
26488 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26489 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26491 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26492 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26493 explicitly the unknown a_type display mechanism is used.
26494 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26495 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26497 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26498 to macro prototype for AT_HWCAP2 support.
26499 * sysdeps/i386/dl-procinfo.h: Likewise.
26500 * sysdeps/s390/dl-procinfo.h: Likewise.
26501 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26502 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26503 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26504 return -1 for unknown a_type display fallback.
26505 * sysdeps/sparc/dl-procinfo.h: Likewise.
26506 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26507 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26509 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26511 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26512 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26514 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26517 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26518 mprotect making __stack_prot writable.
26520 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26521 Joseph Myers <joseph@codesourcery.com>
26523 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26524 as being properly aligned.
26526 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26528 * dlfcn/modstatic5.c: New file.
26529 * dlfcn/tststatic5.c: New file.
26530 * dlfcn/Makefile (tests): Add tststatic5.
26531 (tests-static): Likewise.
26532 (modules-names): Add modstatic5.
26533 (tststatic5-ENV): New variable.
26534 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26537 * elf/dl-support.c (_dl_main_map): New variable.
26538 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26539 (_dl_nns, _dl_load_adds): Set to 1.
26540 (_dl_initial_searchlist): Refer to _dl_main_map.
26541 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26542 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26543 call to _dl_get_origin.
26544 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26546 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26547 * dlfcn/modstatic3.c: New file.
26548 * dlfcn/tststatic3.c: New file.
26549 * dlfcn/tststatic4.c: New file.
26550 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26551 (tests-static): Likewise.
26552 (modules-names): Add modstatic3.
26553 (tststatic3-ENV, tststatic4-ENV): New variables.
26554 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26555 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26557 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26559 * configure.in (CC): Require GCC version 4.4 or later.
26560 * configure: Regenerated.
26561 * manual/install.texi (Tools for Compilation): Update GCC version
26563 * INSTALL: Regenerated.
26565 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26568 * string/test-memcmp.c (check2): New.
26569 (main): Call check2.
26571 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26573 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26576 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26578 (dl_open_worker) [!SHARED]: ... here.
26580 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26582 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26584 2013-06-25 Richard Henderson <rth@redhat.com>
26586 * locale/programs/locarchive.c: Include <libc-internal.h>
26588 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26590 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26591 trailing whitespace removed.
26593 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26596 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26597 * locale/programs/locarchive.c: Include libc-mmap.h.
26598 (prepare_address_space): Take two new outputs (the mmap base and len).
26599 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26601 (create_archive): Declare new mmap base and len values for
26602 prepare_address_space, and store the result in ah.
26603 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26604 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26605 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26606 Declare new mmap base and len values for
26607 prepare_address_space, and store the result in new_ah.
26608 (open_archive): Declare new mmap base and len values for
26609 prepare_address_space, and store the result in ah.
26610 (close_archive): If ah->mmap_base is not NULL, use that and
26611 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26612 * sysdeps/generic/libc-mmap.h: New file.
26614 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26616 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26617 (ALIGN_UP): Likewise.
26618 (PTR_ALIGN_DOWN): Likewise.
26619 (PTR_ALIGN_UP): Likewise.
26621 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26623 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26624 entry mapped to PPC_PLATFORM_POWER8.
26625 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26627 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26628 (_dl_string_platform): Add case for exporting platform position for
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26631 search path to sysdeps/powerpc/powerpc32/power8 directory.
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26633 search path to sysdeps/powerpc/powerpc64/power8 directory.
26634 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26635 power7 directories.
26636 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26637 power7 directories.
26639 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26641 * INSTALL: Regenerate.
26643 * nscd/connections.c (nscd_init): Fix comment.
26645 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26647 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26650 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26651 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26653 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26655 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26657 (DL_DST_REQ_STATIC): Remove macro.
26659 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26662 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26663 with a shift of 0 bits.
26665 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26667 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26670 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26673 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26675 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26677 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26678 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26679 accepts -fno-tree-loop-distribute-patterns.
26680 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26681 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26683 * string/memset.c (memset): Likewise.
26684 * string/test-memmove.c (simple_memmove): Disable loop transformation
26686 * string/test-memset.c (simple_memset): Likewise.
26687 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26688 * benchtests/bench-memset.c (simple_memset): Likewise.
26689 * configure: Regenerated.
26691 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26693 * math/test-misc.c (main): Ignore fesetround failure when failures
26694 of subsequent rounding tests would be ignored.
26697 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26698 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26699 * math/fegetenv.c (__fegetenv): Return 0.
26700 * math/fegetexcept.c (fegetexcept): Return 0.
26701 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26703 * math/feholdexcpt.c (feholdexcept): Return 0.
26704 * math/fesetenv.c (__fesetenv): Return 0.
26705 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26706 argument FE_TONEAREST.
26707 * math/feupdateenv.c (__feupdateenv): Return 0.
26708 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26710 2013-06-18 Roland McGrath <roland@hack.frob.com>
26712 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26713 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26714 ($(objpfx)rtld-%.os rules): Use them.
26716 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26718 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26721 2013-06-17 Roland McGrath <roland@hack.frob.com>
26723 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26724 length of target pattern, then descending length of dependency pattern.
26725 * configure.in (AWK): Require gawk 3.1.2 or newer.
26726 * manual/install.texi (Tools for Compilation): Say that we do.
26727 * configure: Regenerated.
26729 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26730 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26731 * scripts/sysd-rules.awk: ... this new script.
26732 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26733 than a glob-style pattern.
26735 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26737 * math/test-misc.c (main): Do not treat incorrectly rounded
26738 conversions as failure unless ROUNDING_TESTS passes.
26740 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26743 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26744 restore exception state around main square root computation, then
26745 check for inexactness explicitly.
26747 * math/libm-test.inc (fma_test_data): Add another test.
26749 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26751 * manual/threads.texi (Non-POSIX Extensions): New document
26752 node. Document pthread_getattr_default_np and
26753 pthread_setattr_default_np.
26755 * Versions.def (libpthread): Add GLIBC_2.18.
26756 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26765 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26776 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26779 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26781 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26782 H.J. Lu <hjl.tools@gmail.com>
26785 * sysdeps/x86_64/rtld-memset.c: Remove file.
26786 * sysdeps/x86_64/rtld-memset.S: New file.
26788 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26790 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26791 (test_in_one_mode): Take arguments for whether the rounding mode
26792 is supported for each floating-point type.
26793 (do_test): Pass new arguments to test_in_one_mode using
26796 2013-06-13 Roland McGrath <roland@hack.frob.com>
26798 * posix/tst-waitid.c (do_test): Distinguish different instances of
26799 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26800 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26801 before entering the kernel for waitpid.
26803 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26805 * NEWS: Fix note on clock function precision. Text by Roland
26808 2013-06-13 Roland McGrath <roland@hack.frob.com>
26810 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26811 it into place only when and if the sanity check passes.
26813 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26815 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26816 output for whether conversion result is exact. Take argument
26817 indicating whether type is IBM long double.
26818 (round_for_all): Change need_exact field to ibm_ld.
26819 * stdlib/tst-strtod-round.c (struct exactness): New type.
26820 (struct test): Change bool ld_ok field to struct exactness exact.
26821 (TEST): Update all definitions for change to field.
26822 (tests): Regenerate array contents.
26823 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26824 field value. Check for IBM long double here.
26825 (do_test): Update calls to test_in_one_mode.
26827 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26830 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26831 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26833 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26836 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26837 generated by the compiler on loop optimizations.
26838 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26839 general definitions.
26841 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26843 * math/bug-nextafter.c: Include <math-tests.h>.
26844 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26846 * math/bug-nexttoward.c: Include <math-tests.h>.
26847 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26849 * math/test-misc.c: Include <math-tests.h>.
26850 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26853 2013-06-12 Andreas Jaeger <aj@suse.de>
26855 * po/ia.po: Update Interlingua translation from translation
26858 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26860 * include/fenv.h: Include stdbool.h.
26861 (struct rm_ctx): New structure.
26862 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26864 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26865 (SET_RESTORE_ROUNDF): Likewise.
26866 (SET_RESTORE_ROUNDL): Likewise.
26867 (SET_RESTORE_ROUND_NOEX): Likewise.
26868 (SET_RESTORE_ROUND_NOEXF): Likewise.
26869 (SET_RESTORE_ROUND_NOEXL): Likewise.
26870 (SET_RESTORE_ROUND_53BIT): Likewise.
26871 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26872 (libc_feresetround_noexf_ctx): Likewise.
26873 (libc_feresetround_noexl_ctx): Likewise.
26874 (libc_feholdsetround_53bit_ctx): Likewise.
26875 (libc_feresetround_53bit_ctx): Likewise.
26876 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26877 (libc_feholdexcept_setround_sse_ctx): New function.
26878 (libc_fesetenv_sse_ctx): Likewise.
26879 (libc_feupdateenv_sse_ctx): Likewise.
26880 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26881 (libc_feholdexcept_setround_387_ctx): Likewise.
26882 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26883 (libc_feholdsetround_387_prec_ctx): Likewise.
26884 (libc_feholdsetround_387_ctx): Likewise.
26885 (libc_feholdsetround_387_53bit_ctx): Likewise.
26886 (libc_feholdsetround_sse_ctx): Likewise.
26887 (libc_feresetround_sse_ctx): Likewise.
26888 (libc_feresetround_387_ctx): Likewise.
26889 (libc_feupdateenv_387_ctx): Likewise.
26890 (libc_feholdexcept_setroundf_ctx): Define macro.
26891 (libc_fesetenvf_ctx): Likewise.
26892 (libc_feupdateenvf_ctx): Likewise.
26893 (libc_feholdsetroundf_ctx): Likewise.
26894 (libc_feresetroundf_ctx): Likewise.
26895 (libc_feholdexcept_setround_ctx): Likewise.
26896 (libc_fesetenv_ctx): Likewise.
26897 (libc_feupdateenv_ctx): Likewise.
26898 (libc_feholdsetround_ctx): Likewise.
26899 (libc_feresetround_ctx): Likewise.
26900 (libc_feholdexcept_setroundl_ctx): Likewise.
26901 (libc_feupdateenvl_ctx): Likewise.
26902 (libc_feholdsetroundl_ctx): Likewise.
26903 (libc_feresetroundl_ctx): Likewise.
26904 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26905 (libc_feresetround_53bit_ctx): Likewise.
26907 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26909 * locale/iso-639.def: Convert to UTF-8.
26911 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26913 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26914 (EXCEPTION_TESTS_double): Likewise.
26915 (EXCEPTION_TESTS_long_double): Likewise.
26916 (EXCEPTION_TESTS): Likewise.
26917 * math/libm-test.inc (test_exceptions): Only test exceptions if
26918 EXCEPTION_TESTS (FLOAT).
26920 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26922 * benchtests/Makefile (string-bench): Add strcpy_chk and
26924 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26925 * benchtests/bench-stpcpy_chk.c: New file.
26926 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26927 * benchtests/bench-strcpy_chk.c: New file.
26928 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26930 (do_test): Likewise.
26932 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26935 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26936 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26937 with tabs where appropriate.
26938 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26940 [PPC_PLATFORM_PPC440]: Likewise.
26941 [PPC_PLATFORM_PPC464]: Likewise.
26942 [PPC_PLATFORM_PPC476]: Likewise.
26943 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26944 ppc464, and ppc476 platform strings merging from ports/
26947 2013-06-11 Andreas Schwab <schwab@suse.de>
26950 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26951 (from_ucs4_idx): Regenerate.
26952 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26953 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26954 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26955 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26956 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26957 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26958 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26959 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26960 from FROM_LOOP and TO_LOOP specific macros.
26961 (BODY): Handle combining characters.
26962 * iconvdata/BIG5HKSCS.irreversible: Update.
26963 * iconvdata/BIG5HKSCS.precomposed: New file.
26964 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26966 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26968 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26970 * include/sys/time.h: Fix indentation and add copyright header.
26972 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26973 (do_test): Likewise.
26974 * string/test-memchr.c (do_one_test): Likewise.
26975 (do_test): Likewise.
26976 * string/test-memcmp.c (do_one_test): Likewise.
26977 (do_test): Likewise.
26978 * string/test-memcpy.c (do_one_test): Likewise.
26979 (do_test): Likewise.
26980 * string/test-memmem.c (do_one_test): Likewise.
26981 (do_test): Likewise.
26982 (do_random_tests): Likewise.
26983 * string/test-memmove.c (do_one_test): Likewise.
26984 (do_test): Likewise.
26985 * string/test-memset.c (do_one_test): Likewise.
26986 (do_test): Likewise.
26987 * string/test-rawmemchr.c (do_one_test): Likewise.
26988 (do_test): Likewise.
26989 * string/test-strcasecmp.c (do_one_test): Likewise.
26990 (do_test): Likewise.
26991 * string/test-strcasestr.c (do_one_test): Likewise.
26992 (do_test): Likewise.
26993 * string/test-strcat.c (do_one_test): Likewise.
26994 (do_test): Likewise.
26995 * string/test-strchr.c (do_one_test): Likewise.
26996 (do_test): Likewise.
26997 * string/test-strcmp.c (do_one_test): Likewise.
26998 (do_test): Likewise.
26999 * string/test-strcpy.c (do_one_test): Likewise.
27000 (do_test): Likewise.
27001 * string/test-string.h: Likewise.
27002 (test_init): Likewise.
27003 * string/test-strlen.c (do_one_test): Likewise.
27004 (do_test): Likewise.
27005 * string/test-strncasecmp.c (do_one_test): Likewise.
27006 (do_test): Likewise.
27007 * string/test-strncat.c (do_one_test): Likewise.
27008 (do_test): Likewise.
27009 * string/test-strncmp.c (do_one_test): Likewise.
27010 (do_test_limit): Likewise.
27011 (do_test): Likewise.
27012 * string/test-strncpy.c (do_one_test): Likewise.
27013 (do_test): Likewise.
27014 * string/test-strnlen.c (do_one_test): Likewise.
27015 (do_test): Likewise.
27016 * string/test-strpbrk.c (do_one_test): Likewise.
27017 (do_test): Likewise.
27018 * string/test-strrchr.c (do_one_test): Likewise.
27019 (do_test): Likewise.
27020 * string/test-strspn.c (do_one_test): Likewise.
27021 (do_test): Likewise.
27022 * string/test-strstr.c (do_one_test): Likewise.
27023 (do_test): Likewise.
27025 * benchtests/Makefile (string-bench): Add string benchmarks.
27026 * benchtests/bench-bcopy-ifunc.c: New file.
27027 * benchtests/bench-bcopy.c: New file.
27028 * benchtests/bench-bzero-ifunc.c: New file.
27029 * benchtests/bench-bzero.c: New file.
27030 * benchtests/bench-memccpy-ifunc.c: New file.
27031 * benchtests/bench-memccpy.c: New file.
27032 * benchtests/bench-memchr-ifunc.c: New file.
27033 * benchtests/bench-memchr.c: New file.
27034 * benchtests/bench-memcmp-ifunc.c: New file.
27035 * benchtests/bench-memcmp.c: New file.
27036 * benchtests/bench-memmem-ifunc.c: New file.
27037 * benchtests/bench-memmem.c: New file.
27038 * benchtests/bench-memmove-ifunc.c: New file.
27039 * benchtests/bench-memmove.c: New file.
27040 * benchtests/bench-mempcpy-ifunc.c: New file.
27041 * benchtests/bench-mempcpy.c: New file.
27042 * benchtests/bench-memset-ifunc.c: New file.
27043 * benchtests/bench-memset.c: New file.
27044 * benchtests/bench-rawmemchr-ifunc.c: New file.
27045 * benchtests/bench-rawmemchr.c: New file.
27046 * benchtests/bench-stpcpy-ifunc.c: New file.
27047 * benchtests/bench-stpcpy.c: New file.
27048 * benchtests/bench-stpncpy-ifunc.c: New file.
27049 * benchtests/bench-stpncpy.c: New file.
27050 * benchtests/bench-strcasecmp-ifunc.c: New file.
27051 * benchtests/bench-strcasecmp.c: New file.
27052 * benchtests/bench-strcasestr-ifunc.c: New file.
27053 * benchtests/bench-strcasestr.c: New file.
27054 * benchtests/bench-strcat-ifunc.c: New file.
27055 * benchtests/bench-strcat.c: New file.
27056 * benchtests/bench-strchr-ifunc.c: New file.
27057 * benchtests/bench-strchr.c: New file.
27058 * benchtests/bench-strchrnul-ifunc.c: New file.
27059 * benchtests/bench-strchrnul.c: New file.
27060 * benchtests/bench-strcmp-ifunc.c: New file.
27061 * benchtests/bench-strcmp.c: New file.
27062 * benchtests/bench-strcpy-ifunc.c: New file.
27063 * benchtests/bench-strcpy.c: New file.
27064 * benchtests/bench-strcspn-ifunc.c: New file.
27065 * benchtests/bench-strcspn.c: New file.
27066 * benchtests/bench-strlen-ifunc.c: New file.
27067 * benchtests/bench-strlen.c: New file.
27068 * benchtests/bench-strncasecmp-ifunc.c: New file.
27069 * benchtests/bench-strncasecmp.c: New file.
27070 * benchtests/bench-strncat-ifunc.c: New file.
27071 * benchtests/bench-strncat.c: New file.
27072 * benchtests/bench-strncmp-ifunc.c: New file.
27073 * benchtests/bench-strncmp.c: New file.
27074 * benchtests/bench-strncpy-ifunc.c: New file.
27075 * benchtests/bench-strncpy.c: New file.
27076 * benchtests/bench-strnlen-ifunc.c: New file.
27077 * benchtests/bench-strnlen.c: New file.
27078 * benchtests/bench-strpbrk-ifunc.c: New file.
27079 * benchtests/bench-strpbrk.c: New file.
27080 * benchtests/bench-strrchr-ifunc.c: New file.
27081 * benchtests/bench-strrchr.c: New file.
27082 * benchtests/bench-strspn-ifunc.c: New file.
27083 * benchtests/bench-strspn.c: New file.
27084 * benchtests/bench-strstr-ifunc.c: New file.
27085 * benchtests/bench-strstr.c: New file.
27087 * benchtests/Makefile: Disable parallel execution of targets.
27088 (string-bench): Add memcpy.
27089 (benchset): New variable to store a list of benchmark sets.
27090 (bench-func): Renamed from bench.
27091 (bench-set): New target.
27092 (bench): Depend on bench-func and bench-set.
27093 * benchtests/README: Add section on benchmark sets.
27094 * benchtests/bench-memcpy-ifunc.c: New file.
27095 * benchtests/bench-memcpy.c: New file.
27096 * benchtests/bench-string.h: New file.
27098 2013-06-11 Andreas Schwab <schwab@suse.de>
27101 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27102 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27103 values in the triple.
27104 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27105 terminator in the group key.
27107 2013-06-11 Andreas Jaeger <aj@suse.de>
27109 * po/zh_TW.po: Update Chinese (traditional) translation from
27110 translation project.
27112 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27114 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27115 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27116 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27118 (clock_getcpuclockid): Likewise.
27119 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27120 Add weak_alias and libc_hidden_def.
27121 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27122 * rt/clock_gettime.c (clock_gettime): Rename to
27123 __clock_gettime. Add weak_alias and libc_hidden_def.
27124 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27125 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27126 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27127 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27128 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27130 * rt/clock_settime.c (clock_settime): Rename to
27131 __clock_settime. Add weak_alias and libc_hidden_def.
27132 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27134 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27136 * mach/err_boot.sub: Remove trailing whitespace.
27137 * mach/err_ipc.sub: Likewise.
27138 * mach/err_mach.sub: Likewise.
27140 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27141 (ROUNDING_TESTS_double): Likewise.
27142 (ROUNDING_TESTS_long_double): Likewise.
27143 (ROUNDING_TESTS): Likewise.
27144 * math/libm-test.inc: Include <math-tests.h>.
27145 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27146 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27150 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27152 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27155 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27157 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27158 otherwise empty TRANS lines.
27159 * sysdeps/gnu/errlist.c: Regenerated.
27161 * catgets/gencat.c (error_print): Use (void) in function
27163 * crypt/crypt_util.c (__init_des): Likewise.
27164 * crypt/speeds.c (Stop): Likewise.
27166 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27167 * inet/ruserpass.c (token): Likewise.
27168 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27169 * intl/localealias.c (extend_alias_table): Likewise.
27170 * intl/plural-exp.c (init_germanic_plural): Likewise.
27171 * libio/fcloseall.c (__fcloseall): Likewise.
27172 * libio/genops.c (_IO_flush_all): Likewise.
27173 (_IO_flush_all_linebuffered): Likewise.
27174 (_IO_cleanup): Likewise.
27175 (_IO_iter_begin): Likewise.
27176 (_IO_iter_end): Likewise.
27177 (_IO_list_lock): Likewise.
27178 (_IO_list_unlock): Likewise.
27179 (_IO_list_resetlock): Likewise.
27180 * libio/getchar.c (getchar): Likewise.
27181 * libio/getchar_u.c (getchar_unlocked): Likewise.
27182 * libio/getwchar.c (getwchar): Likewise.
27183 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27184 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27185 * login/getpt.c (__getpt): Likewise.
27186 * login/tst-utmp.c (main): Likewise.
27187 * malloc/hooks.c (__malloc_check_init): Likewise.
27188 * malloc/malloc.c (__malloc_stats): Likewise.
27189 * malloc/mtrace.c (tr_break): Likewise.
27190 (mtrace): Likewise.
27191 (muntrace): Likewise.
27192 * misc/fstab.c (endfsent): Likewise.
27193 * misc/getclktck.c (__getclktck): Likewise.
27194 * misc/getdtsz.c (__getdtablesize): Likewise.
27195 * misc/gethostid.c (gethostid): Likewise.
27196 * misc/getpagesize.c (__getpagesize): Likewise.
27197 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27198 (__get_nprocs): Likewise.
27199 (__get_phys_pages): Likewise.
27200 (__get_avphys_pages): Likewise.
27201 * misc/getttyent.c (getttyent): Likewise.
27202 (setttyent): Likewise.
27203 (endttyent): Likewise.
27204 * misc/getusershell.c (getusershell): Likewise.
27205 (endusershell): Likewise.
27206 (setusershell): Likewise.
27207 (initshells): Likewise.
27208 * misc/hsearch.c (__hdestroy): Likewise.
27209 * misc/sync.c (sync): Likewise.
27210 * misc/syslog.c (closelog_internal): Likewise.
27211 (closelog): Likewise.
27212 * misc/ttyslot.c (ttyslot): Likewise.
27213 * misc/vhangup.c (vhangup): Likewise.
27214 * posix/fork.c (__fork): Likewise.
27215 * posix/getegid.c (__getegid): Likewise.
27216 * posix/geteuid.c (__geteuid): Likewise.
27217 * posix/getgid.c (__getgid): Likewise.
27218 * posix/getpid.c (__getpid): Likewise.
27219 * posix/getppid.c (__getppid): Likewise.
27220 * posix/getuid.c (__getuid): Likewise.
27221 * posix/pause.c (pause): Likewise.
27222 * posix/setpgrp.c (setpgrp): Likewise.
27223 * posix/setsid.c (__setsid): Likewise.
27224 * posix/test-vfork.c (noop): Likewise.
27225 * resolv/gethnamaddr.c (_endhtent): Likewise.
27226 (_gethtent): Likewise.
27227 (ht_endhostent): Likewise.
27228 (gethostent): Likewise.
27229 (dns_service): Likewise.
27230 * stdlib/drand48.c (drand48): Likewise.
27231 * stdlib/lrand48.c (lrand48): Likewise.
27232 * stdlib/mrand48.c (mrand48): Likewise.
27233 * stdlib/rand.c (rand): Likewise.
27234 * stdlib/random.c (__random): Likewise.
27235 * stdlib/setenv.c (clearenv): Likewise.
27236 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27237 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27238 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27239 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27240 (__get_nprocs): Likewise.
27241 (__get_phys_pages): Likewise.
27242 (__get_avphys_pages): Likewise.
27243 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27244 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27245 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27246 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27247 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27248 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27249 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27250 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27251 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27252 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27253 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27254 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27255 * sysdeps/posix/clock.c (clock): Likewise.
27256 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27257 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27258 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27259 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27260 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27262 (__get_nprocs_conf): Likewise.
27263 (__get_phys_pages): Likewise.
27264 (__get_avphys_pages): Likewise.
27265 * time/clock.c (clock): Likewise.
27266 * time/tzset.c (__tzname_max): Likewise.
27268 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27270 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27271 (__bswap_32): Do not use "register".
27272 * crypt/crypt.c (_ufc_doit_r): Likewise.
27273 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27274 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27275 * gmon/gmon.c (__monstartup): Likewise.
27276 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27277 * hurd/hurdmalloc.c (more_memory): Likewise.
27278 (malloc): Likewise.
27280 (realloc): Likewise.
27281 (malloc_fork_prepare): Likewise.
27282 (malloc_fork_parent): Likewise.
27283 (malloc_fork_child): Likewise.
27284 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27285 (_svcauth_des): Likewise.
27286 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27287 * inet/inet_net.c (inet_network): Likewise.
27288 * inet/inet_netof.c (inet_netof): Likewise.
27289 * inet/rcmd.c (__validuser2_sa): Likewise.
27290 * io/fts.c (fts_open): Likewise.
27291 (fts_load): Likewise.
27292 (fts_close): Likewise.
27293 (fts_read): Likewise.
27294 (fts_children): Likewise.
27295 (fts_build): Likewise.
27296 (fts_stat): Likewise.
27297 (fts_sort): Likewise.
27298 (fts_alloc): Likewise.
27299 (fts_lfree): Likewise.
27300 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27301 (_IO_file_xsgetn): Likewise.
27302 (_IO_file_xsgetn_mmap): Likewise.
27303 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27304 (_IO_cookie_write): Likewise.
27305 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27306 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27307 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27308 * malloc/obstack.c (_obstack_begin): Likewise.
27309 (_obstack_begin_1): Likewise.
27310 (_obstack_newchunk): Likewise.
27311 (_obstack_allocated_p): Likewise.
27312 (obstack_free): Likewise.
27313 (_obstack_memory_used): Likewise.
27314 * misc/getttyent.c (getttynam): Likewise.
27315 (getttyent): Likewise.
27318 * misc/getusershell.c (initshells): Likewise.
27319 * misc/syslog.c (__vsyslog_chk): Likewise.
27320 * misc/ttyslot.c (ttyslot): Likewise.
27321 * nis/nis_hash.c (__nis_hash): Likewise.
27322 * posix/fnmatch_loop.c (FCT): Likewise.
27323 * posix/getconf.c (print_all): Likewise.
27325 * posix/getopt.c (exchange): Likewise.
27326 * posix/glob.c (globfree): Likewise.
27327 (prefix_array): Likewise.
27328 (__glob_pattern_type): Likewise.
27329 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27330 (NS_GET32): Likewise.
27331 (NS_PUT16): Likewise.
27332 (NS_PUT32): Likewise.
27333 * resolv/gethnamaddr.c (getanswer): Likewise.
27334 (gethostbyname2): Likewise.
27335 (gethostbyaddr): Likewise.
27336 (_gethtent): Likewise.
27337 (_gethtbyname2): Likewise.
27338 (_gethtbyaddr): Likewise.
27339 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27340 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27341 * resolv/res_init.c (__res_vinit): Likewise.
27342 (net_mask): Likewise.
27343 * resolv/res_mkquery.c (outchar): Likewise.
27345 * stdio-common/printf_fp.c (outchar): Likewise.
27347 * stdio-common/printf_fphex.c (outchar): Likewise.
27349 * stdio-common/printf_size.c (outchar): Likewise.
27351 * stdio-common/test_rdwr.c (main): Likewise.
27352 * stdio-common/tfformat.c (matches): Likewise.
27353 * stdio-common/vfprintf.c (outchar): Likewise.
27354 (printf_unknown): Likewise.
27355 (buffered_vfprintf): Likewise.
27356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27357 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27358 (ReadFile): Likewise.
27359 * stdlib/qsort.c (SWAP): Likewise.
27360 (_quicksort): Likewise.
27361 * stdlib/setenv.c (__add_to_environ): Likewise.
27362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27363 * stdlib/strtol_l.c (__strtol_l): Likewise.
27364 * stdlib/tst-strtod.c (main): Likewise.
27365 * stdlib/tst-strtol.c (main): Likewise.
27366 * stdlib/tst-strtoll.c (main): Likewise.
27367 * string/bits/string2.h (__strcmp_cc): Likewise.
27368 (__strcmp_cg): Likewise.
27369 (__strcspn_c1): Likewise.
27370 (__strcspn_c2): Likewise.
27371 (__strcspn_c3): Likewise.
27372 (__strspn_c1): Likewise.
27373 (__strspn_c2): Likewise.
27374 (__strspn_c3): Likewise.
27375 (__strsep_1c): Likewise.
27376 (__strsep_2c): Likewise.
27377 (__strsep_3c): Likewise.
27378 * string/memccpy.c (__memccpy): Likewise.
27379 * string/stpcpy.c (__stpcpy): Likewise.
27380 * string/strcmp.c (strcmp): Likewise.
27381 * string/strrchr.c (strrchr): Likewise.
27382 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27384 * sysdeps/mach/hurd/getcwd.c
27385 (_hurd_canonicalize_directory_name_internal): Likewise.
27386 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27387 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27388 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27389 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27390 Likewise, in both definitions.
27391 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27393 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27394 64] (__bswap_64): Likewise.
27395 * time/test_time.c (main): Likewise.
27396 * time/tzfile.c (__tzfile_read): Likewise.
27397 (__tzfile_compute): Likewise.
27398 * time/tzset.c (__tzset_parse_tz): Likewise.
27399 (tzset_internal): Likewise.
27400 (compute_change): Likewise.
27401 * wcsmbs/wcscat.c (__wcscat): Likewise.
27402 * wcsmbs/wcschr.c (wcschr): Likewise.
27403 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27404 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27405 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27406 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27407 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27408 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27409 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27410 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27411 * wcsmbs/wmemset.c (wmemset): Likewise.
27413 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27415 * scripts/config.guess: Update to version 2013-05-16.
27416 * scripts/config.sub: Update to version 2013-04-24.
27417 * scripts/install-sh: Update to version 2011-11-20.07.
27418 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27419 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27421 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27423 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27424 * elf/sln.c: Likewise.
27425 * hurd/hurd/ioctl.h: Likewise.
27426 * hurd/hurdmalloc.c: Likewise.
27427 * hurd/xattr.c: Likewise.
27428 * include/shlib-compat.h: Likewise.
27429 * inet/ruserpass.c: Likewise.
27430 * libio/iofgets_u.c: Likewise.
27431 * libio/iofgetws_u.c: Likewise.
27432 * locale/programs/ld-identification.c: Likewise.
27433 * locale/programs/ld-time.c: Likewise.
27434 * mach/msg-destroy.c: Likewise.
27435 * nss/nss_files/files-netgrp.c: Likewise.
27436 * resolv/res_data.c: Likewise.
27437 * soft-fp/op-1.h: Likewise.
27438 * soft-fp/op-2.h: Likewise.
27439 * soft-fp/op-4.h: Likewise.
27440 * soft-fp/op-common.h: Likewise.
27441 * stdio-common/printf_fphex.c: Likewise.
27442 * stdlib/strtod_l.c: Likewise.
27443 * sunrpc/rpc/clnt.h: Likewise.
27444 * sysdeps/generic/framestate.c: Likewise.
27445 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27446 * sysdeps/i386/bsd-setjmp.S: Likewise.
27447 * sysdeps/i386/__longjmp.S: Likewise.
27448 * sysdeps/i386/setjmp.S: Likewise.
27449 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27450 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27451 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27467 * sysdeps/ieee754/support.c: Likewise.
27468 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27469 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27470 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27471 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27472 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27473 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27474 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27475 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27476 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27477 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27478 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27479 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27480 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27481 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27482 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27483 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27484 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27487 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27489 * posix/transbug.c: Remove executable mode.
27491 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27493 * crypt/speeds.c: Remove trailing whitespace.
27494 * dlfcn/default.c: Likewise.
27495 * elf/ifuncdep2.c: Likewise.
27496 * elf/ifuncmain1.c: Likewise.
27497 * elf/ifuncmain1vis.c: Likewise.
27498 * elf/testobj.h: Likewise.
27499 * elf/tst-stackguard1.c: Likewise.
27500 * gmon/sys/gmon.h: Likewise.
27501 * hurd/hurdmsg.c: Likewise.
27502 * hurd/new-fd.c: Likewise.
27503 * hurd/ports-get.c: Likewise.
27504 * iconvdata/ibm1008_420.c: Likewise.
27505 * inet/tst-getni1.c: Likewise.
27506 * inet/tst-getni2.c: Likewise.
27507 * libio/ioungetc.c: Likewise.
27508 * libio/wfiledoalloc.c: Likewise.
27509 * manual/libm-err-tab.pl: Likewise.
27510 * math/w_dremf.c: Likewise.
27511 * misc/ftruncate.c: Likewise.
27512 * posix/bug-glob2.c: Likewise.
27513 * posix/tst-pcre.c: Likewise.
27514 * posix/wait4.c: Likewise.
27515 * resolv/README: Likewise.
27516 * resolv/res_debug.h: Likewise.
27517 * resolv/tst-inet_ntop.c: Likewise.
27518 * setjmp/bug269-setjmp.c: Likewise.
27519 * soft-fp/extended.h: Likewise.
27520 * soft-fp/op-1.h: Likewise.
27521 * soft-fp/op-2.h: Likewise.
27522 * soft-fp/op-4.h: Likewise.
27523 * soft-fp/op-8.h: Likewise.
27524 * soft-fp/testit.c: Likewise.
27525 * stdio-common/bug16.c: Likewise.
27526 * stdlib/random.c: Likewise.
27527 * sunrpc/rpcsvc/rquota.x: Likewise.
27528 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27529 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27530 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27531 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27532 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27533 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27534 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27535 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27537 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27557 * sysdeps/ieee754/s_lib_version.c: Likewise.
27558 * sysdeps/mach/hurd/check_fds.c: Likewise.
27559 * sysdeps/mach/hurd/getsockname.c: Likewise.
27560 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27561 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27562 * sysdeps/powerpc/bits/link.h: Likewise.
27563 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27564 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27565 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27566 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27567 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27568 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27569 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27570 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27571 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27572 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27573 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27574 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27575 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27576 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27577 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27578 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27583 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27584 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27586 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27587 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27590 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27591 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27595 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27596 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27597 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27598 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27599 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27600 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27601 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27602 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27603 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27604 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27605 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27606 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27607 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27608 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27609 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27610 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27611 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27612 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27615 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27616 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27617 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27618 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27619 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27620 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27621 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27623 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27624 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27625 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27626 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27627 * sysdeps/powerpc/sysdep.h: Likewise.
27628 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27629 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27630 * sysdeps/sh/dl-trampoline.S: Likewise.
27631 * sysdeps/sh/memset.S: Likewise.
27632 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27633 * sysdeps/sh/strlen.S: Likewise.
27634 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27635 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27636 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27637 * sysdeps/sparc/sparc32/rem.S: Likewise.
27638 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27639 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27640 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27641 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27642 * sysdeps/sparc/sparc32/urem.S: Likewise.
27643 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27644 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27645 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27646 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27648 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27649 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27650 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27651 * sysdeps/unix/bsd/times.c: Likewise.
27652 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27653 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27657 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27658 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27659 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27661 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27662 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27663 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27664 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27665 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27666 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27667 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27668 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27670 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27671 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27672 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27673 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27674 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27675 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27676 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27677 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27678 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27680 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27681 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27682 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27683 * sysdeps/x86_64/strcspn.S: Likewise.
27685 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27687 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27688 generated file. Regenerate properly from gen-translit.pl.
27689 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27690 locale/C-translit.h.
27692 2013-06-05 Andreas Schwab <schwab@suse.de>
27695 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27696 week as 6 instead of -1.
27697 * time/tst-strptime.c (day_tests): Add test case.
27699 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27701 * sysdeps/generic/math_private.h
27702 (libc_feholdexcept_setround_53bit): Replace with
27703 libc_feholdsetround_53bit.
27704 (libc_feupdateenv_53bit): Replace with
27705 libc_feresetround_53bit.
27706 (SET_RESTORE_ROUND_53BIT): Adjust.
27708 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27710 * string/test-strchrnul.c: Add copyright header.
27712 * posix/tst-getaddrinfo4.c: Increase test timeout.
27714 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27717 * math/libm-test.inc (MAX_EXP): Remove
27719 (ulp): Use MIN_EXP - MANT_DIG.
27720 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27722 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27724 * po/be.po: Revert last change.
27725 * po/zh_CN.po: Likewise.
27726 * po/header.pot: Likewise.
27728 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27730 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27731 link-libc-deps to empty as target-specific variable.
27732 * Makerules (link-libc-args): New variable.
27733 (libc-for-link): Likewise.
27734 (link-libc-deps): Likewise.
27735 (lib%.so): Depend on $(link-libc-deps). Link with
27737 (build-module): Link with $(link-libc-args).
27738 (build-module-asneeded): Likewise.
27739 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27741 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27742 target-specific variable.
27743 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27744 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27745 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27747 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27749 ($(objpfx)libpcprofile.so): Likewise.
27750 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27752 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27753 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27754 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27756 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27757 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27758 * login/Makefile ($(objpfx)libutil.so): Likewise.
27759 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27760 * math/Makefile ($(objpfx)libm.so): Likewise.
27761 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27762 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27763 variable instead of depending directly on libc.
27764 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27765 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27767 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27769 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27770 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27771 ($(objpfx)libanl.so): Likewise.
27772 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27774 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27776 * sysdeps/i386/fpu/Makefile: Remove file.
27777 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27778 ($(objpfx)libm.so): Remove dependency on ld.so.
27780 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27783 * nis/yp_xdr.c (XDRMAXNAME): Define.
27784 (XDRMAXRECORD): Define.
27785 (xdr_domainname): Use XDRMAXNAME.
27786 (xdr_mapname): Likewise.
27787 (xdr_peername): Likewise.
27788 (xdr_keydat): Use XDRMAXRECORD.
27789 (xdr_valdat): Likewise.
27791 2013-05-30 Jeff Law <law@redhat.com>
27794 * manual/errno.texi (ESTALE): Update to account for more than
27795 just NFS file systems.
27796 * sysdeps/gnu/errlist.c: Regenerated.
27798 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27801 * elf/Makefile (tests): Add tst-null-argv.
27802 (modules-names): Add tst-null-argv-lib.
27803 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27804 (tst-null-argv-ENV): Set environment for tst-null-argv.
27805 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27806 (RTLD_PROGNAME): New macro.
27807 * elf/tst-null-argv.c: New test case.
27808 * elf/tst-null-argv-lib.c: Library for test case.
27809 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27810 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27811 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27812 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27813 * elf/dl-init.c (call_init): Likewise.
27814 (_dl_init): Likewise.
27815 * elf/dl-load.c (print_search_path): Likewise.
27816 (_dl_map_object): Likewise.
27817 * elf/dl-lookup.c (do_lookup_x): Likewise.
27818 (add_dependency): Likewise.
27819 (_dl_lookup_symbol_x): Likewise.
27820 (_dl_debug_bindings): Likewise.
27821 * elf/dl-open.c (_dl_show_scope): Likewise.
27822 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27823 * elf/dl-version.c (match_symbol): Likewise.
27824 (_dl_check_map_versions): Likewise.
27825 * elf/rtld.c (dl_main): Likewise.
27826 (print_unresolved): Use RTLD_PROGNAME.
27827 (print_missing_version): Likewise.
27828 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27829 (elf_machine_rela): Likewise.
27830 * sysdeps/powerpc/powerpc32/dl-machine.c
27831 (__process_machine_rela): Likewise.
27832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27834 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27836 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27838 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27845 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27847 * po/be.po: Add descriptive title.
27848 * po/zh_CN.po: Likewise.
27849 * po/header.pot: Likewise.
27851 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27853 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27855 (enlarge_archive): Likewise.
27857 2013-05-28 Ben North <ben@redfrontdoor.org>
27859 * manual/arith.texi (frexp): It is the magnitude of the return
27860 value which lies in [0.5, 1), not the return value itself.
27862 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27866 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27868 * stdio-common/bug26.c (main): Correct fscanf template.
27870 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27871 declare _dl_skip_args.
27873 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27876 * manual/platform.texi: Add missing @end deftypefun.
27878 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27881 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27882 bit of mantissa of 2^16382.
27883 * math/libm-test.inc (hypot_test_data): Add more tests.
27885 * math/libm-test.inc: Add drem and pow10 to list of tested
27887 (pow10_test): New function.
27888 (drem_test): Likewise.
27889 (drem_test_tonearest): Likewise.
27890 (drem_test_towardzero): Likewise.
27891 (drem_test_downward): Likewise.
27892 (drem_test_upward): Likewise.
27893 (main): Call the new functions.
27895 * math/libm-test.inc (finite_test_data): Remove.
27896 (finite_test): Run tests from isfinite_test_data.
27897 (gamma_test_data): Remove.
27898 (gamma_test): Run tests from lgamma_test_data.
27899 * sysdeps/i386/fpu/libm-test-ulps: Update.
27900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27902 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27904 * manual/platform.texi: Add PowerPC PPR function set documentation.
27905 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27908 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27910 * math/libm-test.inc (MAX_EXP): Define.
27912 (ulp): New function.
27913 (check_float_internal): Use ULPDIFF.
27914 (cpow_test): Disable failing test.
27915 (check_ulp): Test ulp() implemetnation.
27916 (main): Call check_ulp before starting tests.
27918 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27920 * math/gen-libm-test.pl (generate_testfile): Do not handle
27921 START_DATA and END_DATA.
27922 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27924 (acos_tonearest_test_data): Likewise.
27925 (acos_towardzero_test_data): Likewise.
27926 (acos_downward_test_data): Likewise.
27927 (acos_upward_test_data): Likewise.
27928 (acosh_test_data): Likewise.
27929 (asin_test_data): Likewise.
27930 (asin_tonearest_test_data): Likewise.
27931 (asin_towardzero_test_data): Likewise.
27932 (asin_downward_test_data): Likewise.
27933 (asin_upward_test_data): Likewise.
27934 (asinh_test_data): Likewise.
27935 (atan_test_data): Likewise.
27936 (atanh_test_data): Likewise.
27937 (atan2_test_data): Likewise.
27938 (cabs_test_data): Likewise.
27939 (cacos_test_data): Likewise.
27940 (cacosh_test_data): Likewise.
27941 (carg_test_data): Likewise.
27942 (casin_test_data): Likewise.
27943 (casinh_test_data): Likewise.
27944 (catan_test_data): Likewise.
27945 (catanh_test_data): Likewise.
27946 (cbrt_test_data): Likewise.
27947 (ccos_test_data): Likewise.
27948 (ccosh_test_data): Likewise.
27949 (ceil_test_data): Likewise.
27950 (cexp_test_data): Likewise.
27951 (cimag_test_data): Likewise.
27952 (clog_test_data): Likewise.
27953 (clog10_test_data): Likewise.
27954 (conj_test_data): Likewise.
27955 (copysign_test_data): Likewise.
27956 (cos_test_data): Likewise.
27957 (cos_tonearest_test_data): Likewise.
27958 (cos_towardzero_test_data): Likewise.
27959 (cos_downward_test_data): Likewise.
27960 (cos_upward_test_data): Likewise.
27961 (cosh_test_data): Likewise.
27962 (cosh_tonearest_test_data): Likewise.
27963 (cosh_towardzero_test_data): Likewise.
27964 (cosh_downward_test_data): Likewise.
27965 (cosh_upward_test_data): Likewise.
27966 (cpow_test_data): Likewise.
27967 (cproj_test_data): Likewise.
27968 (creal_test_data): Likewise.
27969 (csin_test_data): Likewise.
27970 (csinh_test_data): Likewise.
27971 (csqrt_test_data): Likewise.
27972 (ctan_test_data): Likewise.
27973 (ctan_tonearest_test_data): Likewise.
27974 (ctan_towardzero_test_data): Likewise.
27975 (ctan_downward_test_data): Likewise.
27976 (ctan_upward_test_data): Likewise.
27977 (ctanh_test_data): Likewise.
27978 (ctanh_tonearest_test_data): Likewise.
27979 (ctanh_towardzero_test_data): Likewise.
27980 (ctanh_downward_test_data): Likewise.
27981 (ctanh_upward_test_data): Likewise.
27982 (erf_test_data): Likewise.
27983 (erfc_test_data): Likewise.
27984 (exp_test_data): Likewise.
27985 (exp_tonearest_test_data): Likewise.
27986 (exp_towardzero_test_data): Likewise.
27987 (exp_downward_test_data): Likewise.
27988 (exp_upward_test_data): Likewise.
27989 (exp10_test_data): Likewise.
27990 (exp2_test_data): Likewise.
27991 (expm1_test_data): Likewise.
27992 (fabs_test_data): Likewise.
27993 (fdim_test_data): Likewise.
27994 (finite_test_data): Likewise.
27995 (floor_test_data): Likewise.
27996 (fma_test_data): Likewise.
27997 (fma_towardzero_test_data): Likewise.
27998 (fma_downward_test_data): Likewise.
27999 (fma_upward_test_data): Likewise.
28000 (fmax_test_data): Likewise.
28001 (fmin_test_data): Likewise.
28002 (fmod_test_data): Likewise.
28003 (fpclassify_test_data): Likewise.
28004 (frexp_test_data): Likewise.
28005 (gamma_test_data): Likewise.
28006 (hypot_test_data): Likewise.
28007 (ilogb_test_data): Likewise.
28008 (isfinite_test_data): Likewise.
28009 (isgreater_test_data): Likewise.
28010 (isgreaterequal_test_data): Likewise.
28011 (isinf_test_data): Likewise.
28012 (isless_test_data): Likewise.
28013 (islessequal_test_data): Likewise.
28014 (islessgreater_test_data): Likewise.
28015 (isnan_test_data): Likewise.
28016 (isnormal_test_data): Likewise.
28017 (issignaling_test_data): Likewise.
28018 (isunordered_test_data): Likewise.
28019 (j0_test_data): Likewise.
28020 (j1_test_data): Likewise.
28021 (jn_test_data): Likewise.
28022 (ldexp_test_data): Likewise.
28023 (lgamma_test_data): Likewise.
28024 (lrint_test_data): Likewise.
28025 (lrint_tonearest_test_data): Likewise.
28026 (lrint_towardzero_test_data): Likewise.
28027 (lrint_downward_test_data): Likewise.
28028 (lrint_upward_test_data): Likewise.
28029 (llrint_test_data): Likewise.
28030 (llrint_tonearest_test_data): Likewise.
28031 (llrint_towardzero_test_data): Likewise.
28032 (llrint_downward_test_data): Likewise.
28033 (llrint_upward_test_data): Likewise.
28034 (log_test_data): Likewise.
28035 (log10_test_data): Likewise.
28036 (log1p_test_data): Likewise.
28037 (log2_test_data): Likewise.
28038 (logb_test_data): Likewise.
28039 (logb_downward_test_data): Likewise.
28040 (lround_test_data): Likewise.
28041 (llround_test_data): Likewise.
28042 (modf_test_data): Likewise.
28043 (nearbyint_test_data): Likewise.
28044 (nextafter_test_data): Likewise.
28045 (nexttoward_test_data): Likewise.
28046 (pow_test_data): Likewise.
28047 (pow_tonearest_test_data): Likewise.
28048 (pow_towardzero_test_data): Likewise.
28049 (pow_downward_test_data): Likewise.
28050 (pow_upward_test_data): Likewise.
28051 (remainder_test_data): Likewise.
28052 (remainder_tonearest_test_data): Likewise.
28053 (remainder_towardzero_test_data): Likewise.
28054 (remainder_downward_test_data): Likewise.
28055 (remainder_upward_test_data): Likewise.
28056 (remquo_test_data): Likewise.
28057 (rint_test_data): Likewise.
28058 (rint_tonearest_test_data): Likewise.
28059 (rint_towardzero_test_data): Likewise.
28060 (rint_downward_test_data): Likewise.
28061 (rint_upward_test_data): Likewise.
28062 (round_test_data): Likewise.
28063 (scalb_test_data): Likewise.
28064 (scalbn_test_data): Likewise.
28065 (scalbln_test_data): Likewise.
28066 (signbit_test_data): Likewise.
28067 (sin_test_data): Likewise.
28068 (sin_tonearest_test_data): Likewise.
28069 (sin_towardzero_test_data): Likewise.
28070 (sin_downward_test_data): Likewise.
28071 (sin_upward_test_data): Likewise.
28072 (sincos_test_data): Likewise.
28073 (sinh_test_data): Likewise.
28074 (sinh_tonearest_test_data): Likewise.
28075 (sinh_towardzero_test_data): Likewise.
28076 (sinh_downward_test_data): Likewise.
28077 (sinh_upward_test_data): Likewise.
28078 (sqrt_test_data): Likewise.
28079 (tan_test_data): Likewise.
28080 (tan_tonearest_test_data): Likewise.
28081 (tan_towardzero_test_data): Likewise.
28082 (tan_downward_test_data): Likewise.
28083 (tan_upward_test_data): Likewise.
28084 (tanh_test_data): Likewise.
28085 (tgamma_test_data): Likewise.
28086 (trunc_test_data): Likewise.
28087 (y0_test_data): Likewise.
28088 (y1_test_data): Likewise.
28089 (yn_test_data): Likewise.
28090 (significand_test_data): Likewise.
28092 * math/gen-libm-test.pl (@functions): Remove variable.
28093 (generate_testfile): Don't handle START and END lines.
28094 * math/libm-test.inc (START): New macro.
28096 (END_COMPLEX): Likewise.
28097 (acos_test): Use END macro without arguments.
28098 (acos_test_tonearest): Likewise.
28099 (acos_test_towardzero): Likewise.
28100 (acos_test_downward): Likewise.
28101 (acos_test_upward): Likewise.
28102 (acosh_test): Likewise.
28103 (asin_test): Likewise.
28104 (asin_test_tonearest): Likewise.
28105 (asin_test_towardzero): Likewise.
28106 (asin_test_downward): Likewise.
28107 (asin_test_upward): Likewise.
28108 (asinh_test): Likewise.
28109 (atan_test): Likewise.
28110 (atanh_test): Likewise.
28111 (atan2_test): Likewise.
28112 (cabs_test): Likewise.
28113 (cacos_test): Use END_COMPLEX macro without arguments.
28114 (cacosh_test): Likewise.
28115 (carg_test): Use END macro without arguments.
28116 (casin_test): Use END_COMPLEX macro without arguments.
28117 (casinh_test): Likewise.
28118 (catan_test): Likewise.
28119 (catanh_test): Likewise.
28120 (cbrt_test): Use END macro without arguments.
28121 (ccos_test): Use END_COMPLEX macro without arguments.
28122 (ccosh_test): Likewise.
28123 (ceil_test): Use END macro without arguments.
28124 (cexp_test): Use END_COMPLEX macro without arguments.
28125 (cimag_test): Use END macro without arguments.
28126 (clog_test): Use END_COMPLEX macro without arguments.
28127 (clog10_test): Likewise.
28128 (conj_test): Likewise.
28129 (copysign_test): Use END macro without arguments.
28130 (cos_test): Likewise.
28131 (cos_test_tonearest): Likewise.
28132 (cos_test_towardzero): Likewise.
28133 (cos_test_downward): Likewise.
28134 (cos_test_upward): Likewise.
28135 (cosh_test): Likewise.
28136 (cosh_test_tonearest): Likewise.
28137 (cosh_test_towardzero): Likewise.
28138 (cosh_test_downward): Likewise.
28139 (cosh_test_upward): Likewise.
28140 (cpow_test): Use END_COMPLEX macro without arguments.
28141 (cproj_test): Likewise.
28142 (creal_test): Use END macro without arguments.
28143 (csin_test): Use END_COMPLEX macro without arguments.
28144 (csinh_test): Likewise.
28145 (csqrt_test): Likewise.
28146 (ctan_test): Likewise.
28147 (ctan_test_tonearest): Likewise.
28148 (ctan_test_towardzero): Likewise.
28149 (ctan_test_downward): Likewise.
28150 (ctan_test_upward): Likewise.
28151 (ctanh_test): Likewise.
28152 (ctanh_test_tonearest): Likewise.
28153 (ctanh_test_towardzero): Likewise.
28154 (ctanh_test_downward): Likewise.
28155 (ctanh_test_upward): Likewise.
28156 (erf_test): Use END macro without arguments.
28157 (erfc_test): Likewise.
28158 (exp_test): Likewise.
28159 (exp_test_tonearest): Likewise.
28160 (exp_test_towardzero): Likewise.
28161 (exp_test_downward): Likewise.
28162 (exp_test_upward): Likewise.
28163 (exp10_test): Likewise.
28164 (exp2_test): Likewise.
28165 (expm1_test): Likewise.
28166 (fabs_test): Likewise.
28167 (fdim_test): Likewise.
28168 (finite_test): Likewise.
28169 (floor_test): Likewise.
28170 (fma_test): Likewise.
28171 (fma_test_towardzero): Likewise.
28172 (fma_test_downward): Likewise.
28173 (fma_test_upward): Likewise.
28174 (fmax_test): Likewise.
28175 (fmin_test): Likewise.
28176 (fmod_test): Likewise.
28177 (fpclassify_test): Likewise.
28178 (frexp_test): Likewise.
28179 (gamma_test): Likewise.
28180 (hypot_test): Likewise.
28181 (ilogb_test): Likewise.
28182 (isfinite_test): Likewise.
28183 (isgreater_test): Likewise.
28184 (isgreaterequal_test): Likewise.
28185 (isinf_test): Likewise.
28186 (isless_test): Likewise.
28187 (islessequal_test): Likewise.
28188 (islessgreater_test): Likewise.
28189 (isnan_test): Likewise.
28190 (isnormal_test): Likewise.
28191 (issignaling_test): Likewise.
28192 (isunordered_test): Likewise.
28193 (j0_test): Likewise.
28194 (j1_test): Likewise.
28195 (jn_test): Likewise.
28196 (ldexp_test): Likewise.
28197 (lgamma_test): Likewise.
28198 (lrint_test): Likewise.
28199 (lrint_test_tonearest): Likewise.
28200 (lrint_test_towardzero): Likewise.
28201 (lrint_test_downward): Likewise.
28202 (lrint_test_upward): Likewise.
28203 (llrint_test): Likewise.
28204 (llrint_test_tonearest): Likewise.
28205 (llrint_test_towardzero): Likewise.
28206 (llrint_test_downward): Likewise.
28207 (llrint_test_upward): Likewise.
28208 (log_test): Likewise.
28209 (log10_test): Likewise.
28210 (log1p_test): Likewise.
28211 (log2_test): Likewise.
28212 (logb_test): Likewise.
28213 (logb_test_downward): Likewise.
28214 (lround_test): Likewise.
28215 (llround_test): Likewise.
28216 (modf_test): Likewise.
28217 (nearbyint_test): Likewise.
28218 (nextafter_test): Likewise.
28219 (nexttoward_test): Likewise.
28220 (pow_test): Likewise.
28221 (pow_test_tonearest): Likewise.
28222 (pow_test_towardzero): Likewise.
28223 (pow_test_downward): Likewise.
28224 (pow_test_upward): Likewise.
28225 (remainder_test): Likewise.
28226 (remainder_test_tonearest): Likewise.
28227 (remainder_test_towardzero): Likewise.
28228 (remainder_test_downward): Likewise.
28229 (remainder_test_upward): Likewise.
28230 (remquo_test): Likewise.
28231 (rint_test): Likewise.
28232 (rint_test_tonearest): Likewise.
28233 (rint_test_towardzero): Likewise.
28234 (rint_test_downward): Likewise.
28235 (rint_test_upward): Likewise.
28236 (round_test): Likewise.
28237 (scalb_test): Likewise.
28238 (scalbn_test): Likewise.
28239 (scalbln_test): Likewise.
28240 (signbit_test): Likewise.
28241 (sin_test): Likewise.
28242 (sin_test_tonearest): Likewise.
28243 (sin_test_towardzero): Likewise.
28244 (sin_test_downward): Likewise.
28245 (sin_test_upward): Likewise.
28246 (sincos_test): Likewise.
28247 (sinh_test): Likewise.
28248 (sinh_test_tonearest): Likewise.
28249 (sinh_test_towardzero): Likewise.
28250 (sinh_test_downward): Likewise.
28251 (sinh_test_upward): Likewise.
28252 (sqrt_test): Likewise.
28253 (tan_test): Likewise.
28254 (tan_test_tonearest): Likewise.
28255 (tan_test_towardzero): Likewise.
28256 (tan_test_downward): Likewise.
28257 (tan_test_upward): Likewise.
28258 (tanh_test): Likewise.
28259 (tgamma_test): Likewise.
28260 (trunc_test): Likewise.
28261 (y0_test): Likewise.
28262 (y1_test): Likewise.
28263 (yn_test): Likewise.
28264 (significand_test): Likewise.
28266 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28269 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28271 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28274 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28275 __ppc_mdoio and __ppc_mdoom.
28276 * manual/platform.texi: Document new functions __ppc_yield,
28277 __ppc_mdoio and __ppc_mdoom.
28279 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28281 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28282 (main): Mention "tls" pseudo-hwcap is legacy.
28283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28285 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28287 * math/gen-libm-test.pl (parse_args): Output only string of
28288 arguments as text for test name, not full call or descriptions of
28289 tests for extra outputs.
28290 (generate_testfile): Do not pass function name to parse_args.
28291 Generate this_func variable from START.
28292 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28294 (struct test_ff_f_data): Likewise.
28295 (test_ff_f_data_nexttoward): Likewise.
28296 (struct test_fi_f_data): Likewise.
28297 (struct test_fl_f_data): Likewise.
28298 (struct test_if_f_data): Likewise.
28299 (struct test_fff_f_data): Likewise.
28300 (struct test_c_f_data): Likewise.
28301 (struct test_f_f1_data): Likewise. Remove field extra_name.
28302 (struct test_fF_f1_data): Likewise.
28303 (struct test_ffI_f1_data): Likewise.
28304 (struct test_c_c_data): Rename test_name field to arg_str.
28305 (struct test_cc_c_data): Likewise.
28306 (struct test_f_i_data): Likewise.
28307 (struct test_ff_i_data): Likewise.
28308 (struct test_f_l_data): Likewise.
28309 (struct test_f_L_data): Likewise.
28310 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28312 (COMMON_TEST_SETUP): New macro.
28313 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28314 (COMMON_TEST_CLEANUP): Likewise.
28315 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28316 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28318 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28319 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28321 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28322 (RUN_TEST_fff_f): Take argument string. Call new setup and
28324 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28325 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28327 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28328 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28330 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28331 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28333 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28334 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28336 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28337 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28339 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28340 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28342 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28343 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28345 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28346 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28348 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28349 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28351 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28352 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28354 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28355 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28357 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28358 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28360 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28361 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28363 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28364 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28366 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28367 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28369 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28371 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28373 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28374 to _sifields.sigfault.
28375 (si_addr_lsb): Define new macro.
28376 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28377 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28378 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28380 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28383 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28385 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28387 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28388 loading the domain.
28390 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28392 * math/gen-libm-test.pl (parse_args): Do not include expected
28393 result in test name.
28394 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28395 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28396 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28397 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28398 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28401 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28403 * benchtests/Makefile: Sort function entries.
28405 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28406 tanh, asinh, acosh, atanh.
28407 * benchtests/acos-inputs: New file.
28408 * benchtests/acosh-inputs: New file.
28409 * benchtests/asin-inputs: New file.
28410 * benchtests/asinh-inputs: New file.
28411 * benchtests/atanh-inputs: New file.
28412 * benchtests/cosh-inputs: New file.
28413 * benchtests/log-inputs: New file.
28414 * benchtests/sinh-inputs: New file.
28415 * benchtests/tanh-inputs: New file.
28417 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28420 * posix/tst-getaddrinfo4.c: New test.
28421 * posix/Makefile (tests): Add it.
28423 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28426 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28427 when no services were used.
28428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28429 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28431 2013-05-21 Andreas Schwab <schwab@suse.de>
28434 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28435 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28437 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28438 redundant variable declarations and reallocation of buffer when
28439 parsing as IPv6 address. Always set NSS status when called from
28440 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28441 buffer too small. Correct computation of needed size.
28442 * nss/Makefile (tests): Add test-digits-dots.
28443 * nss/test-digits-dots.c: New test.
28445 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28447 * benchtests/Makefile: Remove instructions for adding
28449 * benchtests/README: New file to explain how to execute and
28450 enhance the benchmark tests.
28452 2013-05-21 Andreas Schwab <schwab@suse.de>
28455 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28456 * setjmp/tst-sigsetjmp.c: New test.
28458 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28460 * sysdeps/x86_64/memset.S (memset): New implementation.
28461 (__bzero): Likewise.
28462 (__memset_tail): New function.
28464 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28466 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28467 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28468 __memcpy_sse2_unaligned ifunc selection.
28469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28470 Add memcpy-sse2-unaligned.S.
28471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28472 Add: __memcpy_sse2_unaligned.
28474 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28477 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28478 math_force_eval before restoring floating-point envrionment.
28479 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28484 (__nearbyintl): Use math_force_eval before restoring
28485 floating-point environment.
28486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28488 * math/gen-libm-test.pl (special_functions): Remove.
28489 (parse_args): Don't handle TEST_extra. Handle functions with no
28491 * math/libm-test.inc (struct test_sincos_data): Replace with
28492 struct test_fFF_11_data.
28493 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28494 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28495 (sincos_test_data): Change element type to struct
28496 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28497 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28498 RUN_TEST_LOOP_sincos.
28499 * math/README.libm-test: Don't mention special handling of
28500 individual functions.
28501 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28505 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28508 * math/gen-libm-test.pl (get_variable): Remove function.
28509 (parse_args): Don't show pointer parameters to call in test
28510 names. Use "extra output N" in test names for extra outputs
28511 rather than naming variables.
28513 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28516 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28517 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28518 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28520 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28522 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28525 * math/gen-libm-test.pl (@tests): Remove variable.
28526 ($count): Likewise.
28527 (new_test): Remove function.
28528 (show_exceptions): New function.
28529 (special_functions): Use show_exceptions instead of new_test.
28530 (parse_args): Likewise.
28531 (generate_testfile): Pass only function name in generated call to
28532 print_max_error or print_complex_max_error.
28533 (get_ulps): Do not handle complex tests specially.
28534 (output_test): Rename to ...
28535 (get_all_ulps_for_test): ... this. Return a string rather than
28536 printing to a file. Require ulps to be present.
28537 (output_ulps): Generate arrays rather than #defines.
28538 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28539 (struct ulp_data): New type.
28540 (BUILD_COMPLEX_ULP): Remove macro.
28541 (compare_ulp_data): New function.
28542 (find_ulps): Likewise.
28543 (find_test_ulps): Likewise.
28544 (find_function_ulps): Likewise.
28545 (find_complex_function_ulps): Likewise.
28546 (print_max_error): Determine allowed ulps using
28547 find_function_ulps.
28548 (print_complex_max_error): Determine allowed ulps using
28549 find_complex_function_ulps.
28550 (check_float_internal): Determine max ulps using find_test_ulps.
28551 (check_float): Do not take max_ulp parameter. Update call to
28552 check_float_internal.
28553 (check_complex): Likewise.
28554 (check_int): Do not take max_ulp parameter.
28555 (check_long): Likewise.
28556 (check_bool): Likewise.
28557 (check_longlong): Likewise.
28558 (struct test_f_f_data): Remove max_ulp field.
28559 (struct test_ff_f_data): Likewise.
28560 (struct test_ff_f_data_nexttoward): Likewise.
28561 (struct test_fi_f_data): Likewise.
28562 (struct test_fl_f_data): Likewise.
28563 (struct test_if_f_data): Likewise.
28564 (struct test_fff_f_data): Likewise.
28565 (struct test_c_f_data): Likewise.
28566 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28567 (struct test_fF_f1_data): Likewise.
28568 (struct test_ffI_f1_data): Likewise.
28569 (struct test_c_c_data): Remove max_ulp field.
28570 (struct test_cc_c_data): Likewise.
28571 (struct test_f_i_data): Likewise.
28572 (struct test_ff_i_data): Likewise.
28573 (struct test_f_l_data): Likewise.
28574 (struct test_f_L_data): Likewise.
28575 (struct test_sincos_data): Likewise.
28576 (RUN_TEST_f_f): Do not handle ulps.
28577 (RUN_TEST_LOOP_f_f): Likewise.
28578 (RUN_TEST_2_f): Likewise.
28579 (RUN_TEST_LOOP_2_f): Likewise.
28580 (RUN_TEST_fff_f): Likewise.
28581 (RUN_TEST_LOOP_fff_f): Likewise.
28582 (RUN_TEST_c_f): Likewise.
28583 (RUN_TEST_LOOP_c_f): Likewise.
28584 (RUN_TEST_f_f1): Likewise.
28585 (RUN_TEST_LOOP_f_f1): Likewise.
28586 (RUN_TEST_fF_f1): Likewise.
28587 (RUN_TEST_LOOP_fF_f1): Likewise.
28588 (RUN_TEST_fI_f1): Likewise.
28589 (RUN_TEST_LOOP_fI_f1): Likewise.
28590 (RUN_TEST_ffI_f1): Likewise.
28591 (RUN_TEST_LOOP_ffI_f1): Likewise.
28592 (RUN_TEST_c_c): Likewise.
28593 (RUN_TEST_LOOP_c_c): Likewise.
28594 (RUN_TEST_cc_c): Likewise.
28595 (RUN_TEST_LOOP_cc_c): Likewise.
28596 (RUN_TEST_f_i): Likewise.
28597 (RUN_TEST_LOOP_f_i): Likewise.
28598 (RUN_TEST_f_i_tg): Likewise.
28599 (RUN_TEST_LOOP_f_i_tg): Likewise.
28600 (RUN_TEST_ff_i_tg): Likewise.
28601 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28602 (RUN_TEST_f_b): Likewise.
28603 (RUN_TEST_LOOP_f_b): Likewise.
28604 (RUN_TEST_f_b_tg): Likewise.
28605 (RUN_TEST_LOOP_f_b_tg): Likewise.
28606 (RUN_TEST_f_l): Likewise.
28607 (RUN_TEST_LOOP_f_l): Likewise.
28608 (RUN_TEST_f_L): Likewise.
28609 (RUN_TEST_LOOP_f_L): Likewise.
28610 (RUN_TEST_sincos): Likewise.
28611 (RUN_TEST_LOOP_sincos): Likewise.
28613 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28617 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28618 main case of finite arguments, set rounding mode to FE_TONEAREST
28619 and discard exceptions.
28620 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28622 (remainder_tonearest_test_data): New variable.
28623 (remainder_test_tonearest): New function.
28624 (remainder_towardzero_test_data): New variable.
28625 (remainder_test_towardzero): New function.
28626 (remainder_downward_test_data): New variable.
28627 (remainder_test_downward): New function.
28628 (remainder_upward_test_data): New variable.
28629 (remainder_test_upward): New function.
28630 (main): Call the new test functions.
28632 * math/libm-test.inc (struct test_f_f1_data): Remove field
28634 (struct test_fF_f1_data): Likewise.
28635 (struct test_ffI_f1_data): Likewise.
28636 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28637 based on value of EXTRA_EXPECTED.
28638 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28639 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28640 EXTRA_VAR based on value of EXTRA_EXPECTED.
28641 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28642 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28643 EXTRA_VAR based on value of EXTRA_EXPECTED.
28644 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28645 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28646 EXTRA_VAR based on value of EXTRA_EXPECTED.
28647 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28648 * math/gen-libm-test.pl (parse_args): Don't output initializers
28649 for extra output values.
28651 * math/libm-test.inc (check_int): Expect result to be exactly
28652 equal to expected value and do not handle ulps.
28653 (check_long): Likewise.
28654 (check_longlong): Likewise.
28656 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28658 (cimag_test_data): Likewise.
28659 (conj_test_data): Likewise.
28660 (copysign_test_data): Likewise.
28661 (cproj_test_data): Likewise.
28662 (creal_test_data): Likewise.
28663 (fabs_test_data): Likewise.
28664 (fdim_test_data): Likewise.
28665 (finite_test_data): Likewise.
28666 (floor_test_data): Likewise.
28667 (fmax_test_data): Likewise.
28668 (fmin_test_data): Likewise.
28669 (fmod_test_data): Likewise.
28670 (fpclassify_test_data): Likewise.
28671 (frexp_test_data): Likewise.
28672 (ilogb_test_data): Likewise.
28673 (isfinite_test_data): Likewise.
28674 (isgreater_test_data): Likewise.
28675 (isgreaterequal_test_data): Likewise.
28676 (isinf_test_data): Likewise.
28677 (isless_test_data): Likewise.
28678 (islessequal_test_data): Likewise.
28679 (islessgreater_test_data): Likewise.
28680 (isnan_test_data): Likewise.
28681 (isnormal_test_data): Likewise.
28682 (issignaling_test_data): Likewise.
28683 (isunordered_test_data): Likewise.
28684 (ldexp_test_data): Likewise.
28685 (lrint_test_data): Likewise.
28686 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28687 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28688 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28689 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28690 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28691 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28693 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28694 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28695 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28696 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28698 (lrint_downward_test_data): Test for "inexact" exceptions.
28699 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28700 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28701 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28703 (lrint_upward_test_data): Test for "inexact" exceptions.
28704 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28706 (llrint_test_data): Test for "inexact" exceptions.
28707 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28708 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28709 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28710 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28711 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28712 (llrint_downward_test_data): Test for "inexact" exceptions.
28713 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28714 (llrint_upward_test_data): Test for "inexact" exceptions.
28715 (logb_test_data): Likewise.
28716 (logb_downward_test_data): Likewise.
28717 (nextafter_test_data): Likewise.
28718 (nexttoward_test_data): Likewise.
28719 (remainder_test_data): Likewise.
28720 (remquo_test_data): Likewise.
28721 (scalbn_test_data): Likewise.
28722 (scalbln_test_data): Likewise.
28723 (signbit_test_data): Likewise.
28724 (sqrt_test_data): Likewise.
28725 (significand_test_data): Likewise.
28727 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28730 * benchtests/bench-modf.c (struct args): Mark arg0 as
28732 * scripts/bench.pl: Mark members of struct args as volatile.
28734 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28737 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28738 negative infinity on POWER6 or lower.
28739 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28741 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28744 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28745 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28746 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28747 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28748 (_FP_SETQNAN): New macro.
28749 (_FP_SETQNAN_SEMIRAW): Likewise.
28750 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28751 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28752 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28753 (FP_EXTEND): Use _FP_FRAC_SNANP.
28754 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28755 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28759 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28762 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28764 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28765 with DIVIDE_BY_ZERO_EXCEPTION.
28766 (gamma_test_data): Likewise.
28767 (lgamma_test_data): Likewise.
28768 (log_test_data): Likewise.
28769 (log10_test_data): Likewise.
28770 (log2_test_data): Likewise.
28771 (tgamma_test_data): Likewise.
28773 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28774 (acos_test_tonearest): Likewise.
28775 (acos_test_towardzero): Likewise.
28776 (acos_test_downward): Likewise.
28777 (acos_test_upward): Likewise.
28778 (acosh_test): Likewise.
28779 (asin_test): Likewise.
28780 (asin_test_tonearest): Likewise.
28781 (asin_test_towardzero): Likewise.
28782 (asin_test_downward): Likewise.
28783 (asin_test_upward): Likewise.
28784 (asinh_test): Likewise.
28785 (atan_test): Likewise.
28786 (atanh_test): Likewise.
28787 (atan2_test): Likewise.
28788 (cabs_test): Likewise.
28789 (cacos_test): Likewise.
28790 (cacosh_test): Likewise.
28791 (casin_test): Likewise.
28792 (casinh_test): Likewise.
28793 (catan_test): Likewise.
28794 (catanh_test): Likewise.
28795 (cbrt_test): Likewise.
28796 (ccos_test): Likewise.
28797 (ccosh_test): Likewise.
28798 (cexp_test): Likewise.
28799 (clog_test): Likewise.
28800 (clog10_test): Likewise.
28801 (cos_test): Likewise.
28802 (cos_test_tonearest): Likewise.
28803 (cos_test_towardzero): Likewise.
28804 (cos_test_downward): Likewise.
28805 (cos_test_upward): Likewise.
28806 (cosh_test): Likewise.
28807 (cosh_test_tonearest): Likewise.
28808 (cosh_test_towardzero): Likewise.
28809 (cosh_test_downward): Likewise.
28810 (cosh_test_upward): Likewise.
28811 (cpow_test): Likewise.
28812 (csin_test): Likewise.
28813 (csinh_test): Likewise.
28814 (csqrt_test): Likewise.
28815 (ctan_test): Likewise.
28816 (ctan_test_tonearest): Likewise.
28817 (ctan_test_towardzero): Likewise.
28818 (ctan_test_downward): Likewise.
28819 (ctan_test_upward): Likewise.
28820 (ctanh_test): Likewise.
28821 (ctanh_test_tonearest): Likewise.
28822 (ctanh_test_towardzero): Likewise.
28823 (ctanh_test_downward): Likewise.
28824 (ctanh_test_upward): Likewise.
28825 (erf_test): Likewise.
28826 (erfc_test): Likewise.
28827 (exp_test): Likewise.
28828 (exp_test_tonearest): Likewise.
28829 (exp_test_towardzero): Likewise.
28830 (exp_test_downward): Likewise.
28831 (exp_test_upward): Likewise.
28832 (exp10_test): Likewise.
28833 (exp2_test): Likewise.
28834 (expm1_test): Likewise.
28835 (fmod_test): Likewise.
28836 (gamma_test): Likewise.
28837 (hypot_test): Likewise.
28838 (j0_test): Likewise.
28839 (j1_test): Likewise.
28840 (jn_test): Likewise.
28841 (lgamma_test): Likewise.
28842 (log_test): Likewise.
28843 (log10_test): Likewise.
28844 (log1p_test): Likewise.
28845 (log2_test): Likewise.
28846 (logb_test_downward): Likewise.
28847 (pow_test): Likewise.
28848 (pow_test_tonearest): Likewise.
28849 (pow_test_towardzero): Likewise.
28850 (pow_test_downward): Likewise.
28851 (pow_test_upward): Likewise.
28852 (remainder_test): Likewise.
28853 (remquo_test): Likewise.
28854 (sin_test): Likewise.
28855 (sin_test_tonearest): Likewise.
28856 (sin_test_towardzero): Likewise.
28857 (sin_test_downward): Likewise.
28858 (sin_test_upward): Likewise.
28859 (sincos_test): Likewise.
28860 (sinh_test): Likewise.
28861 (sinh_test_tonearest): Likewise.
28862 (sinh_test_towardzero): Likewise.
28863 (sinh_test_downward): Likewise.
28864 (sinh_test_upward): Likewise.
28865 (sqrt_test): Likewise.
28866 (tan_test): Likewise.
28867 (tan_test_tonearest): Likewise.
28868 (tan_test_towardzero): Likewise.
28869 (tan_test_downward): Likewise.
28870 (tan_test_upward): Likewise.
28871 (tanh_test): Likewise.
28872 (tgamma_test): Likewise.
28873 (y0_test): Likewise.
28874 (y1_test): Likewise.
28875 (yn_test): Likewise.
28877 * math/gen-libm-test.pl (adjust_arg): Remove function.
28878 (special_function): Remove argument $in_func. Only handle
28879 generating output for tables of tests, not inside functions.
28880 (parse_args): Likewise.
28881 (generate_testfile): Remove variable $in_func. Update call to
28883 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28884 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28885 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28886 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28887 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28888 (MAX_VALUE_INIT): Rename macro to max_value.
28889 (MIN_VALUE_INIT): Rename macro to min_value.
28890 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28891 (plus_zero): Remove variable.
28892 (minus_zero): Likewise.
28893 (plus_infty): Likewise.
28894 (minus_infty): Likewise.
28895 (qnan_value): Likewise.
28896 (max_value): Likewise.
28897 (min_value): Likewise.
28898 (min_subnorm_value): Likewise.
28900 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28902 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28903 uint64_t or uint32_t usage.
28904 * crypt/sha256-block.c: Likewise.
28905 * crypt/sha256-crypt.c: Likewise.
28906 * crypt/sha256.c: Likewise.
28907 * crypt/sha512-block.c: Likewise.
28908 * crypt/sha512-crypt.c: Likewise.
28909 * crypt/sha512.c: Likewise.
28910 * debug/backtrace-tst.c: Likewise.
28911 * debug/pcprofiledump.c: Likewise.
28912 * elf/cache.c: Likewise.
28913 * elf/dl-cache.c: Likewise.
28914 * elf/dl-misc.c: Likewise.
28915 * elf/dl-profile.c: Likewise.
28916 * elf/dl-support.c: Likewise.
28917 * elf/ldconfig.c: Likewise.
28918 * elf/sprof.c: Likewise.
28919 * iconv/dummy-repertoire.c: Likewise.
28920 * iconv/iconv_charmap.c: Likewise.
28921 * iconv/skeleton.c: Likewise.
28922 * iconvdata/8bit-generic.c: Likewise.
28923 * iconvdata/cp737.h: Likewise.
28924 * iconvdata/cp775.h: Likewise.
28925 * iconvdata/ibm1008.h: Likewise.
28926 * iconvdata/ibm1025.h: Likewise.
28927 * iconvdata/ibm1046.h: Likewise.
28928 * iconvdata/ibm1097.h: Likewise.
28929 * iconvdata/ibm1112.h: Likewise.
28930 * iconvdata/ibm1122.h: Likewise.
28931 * iconvdata/ibm1123.h: Likewise.
28932 * iconvdata/ibm1124.h: Likewise.
28933 * iconvdata/ibm1129.h: Likewise.
28934 * iconvdata/ibm1130.h: Likewise.
28935 * iconvdata/ibm1132.h: Likewise.
28936 * iconvdata/ibm1133.h: Likewise.
28937 * iconvdata/ibm1137.h: Likewise.
28938 * iconvdata/ibm1140.h: Likewise.
28939 * iconvdata/ibm1141.h: Likewise.
28940 * iconvdata/ibm1142.h: Likewise.
28941 * iconvdata/ibm1143.h: Likewise.
28942 * iconvdata/ibm1144.h: Likewise.
28943 * iconvdata/ibm1145.h: Likewise.
28944 * iconvdata/ibm1146.h: Likewise.
28945 * iconvdata/ibm1147.h: Likewise.
28946 * iconvdata/ibm1148.h: Likewise.
28947 * iconvdata/ibm1149.h: Likewise.
28948 * iconvdata/ibm1153.h: Likewise.
28949 * iconvdata/ibm1154.h: Likewise.
28950 * iconvdata/ibm1155.h: Likewise.
28951 * iconvdata/ibm1156.h: Likewise.
28952 * iconvdata/ibm1157.h: Likewise.
28953 * iconvdata/ibm1158.h: Likewise.
28954 * iconvdata/ibm1160.h: Likewise.
28955 * iconvdata/ibm1161.h: Likewise.
28956 * iconvdata/ibm1162.h: Likewise.
28957 * iconvdata/ibm1163.h: Likewise.
28958 * iconvdata/ibm1164.h: Likewise.
28959 * iconvdata/ibm1166.h: Likewise.
28960 * iconvdata/ibm1167.h: Likewise.
28961 * iconvdata/ibm12712.h: Likewise.
28962 * iconvdata/ibm1390.h: Likewise.
28963 * iconvdata/ibm1399.h: Likewise.
28964 * iconvdata/ibm16804.h: Likewise.
28965 * iconvdata/ibm4517.h: Likewise.
28966 * iconvdata/ibm4899.h: Likewise.
28967 * iconvdata/ibm4909.h: Likewise.
28968 * iconvdata/ibm4971.h: Likewise.
28969 * iconvdata/ibm5347.h: Likewise.
28970 * iconvdata/ibm803.h: Likewise.
28971 * iconvdata/ibm856.h: Likewise.
28972 * iconvdata/ibm901.h: Likewise.
28973 * iconvdata/ibm902.h: Likewise.
28974 * iconvdata/ibm9030.h: Likewise.
28975 * iconvdata/ibm9066.h: Likewise.
28976 * iconvdata/ibm921.h: Likewise.
28977 * iconvdata/ibm922.h: Likewise.
28978 * iconvdata/ibm9448.h: Likewise.
28979 * iconvdata/isiri-3342.h: Likewise.
28980 * iconvdata/jis0201.h: Likewise.
28981 * include/link.h: Likewise.
28982 * include/netdb.h: Likewise.
28983 * inet/check_native.c: Likewise.
28984 * inet/check_pf.c: Likewise.
28985 * inet/getipv4sourcefilter.c: Likewise.
28986 * inet/getnameinfo.c: Likewise.
28987 * inet/getsourcefilter.c: Likewise.
28988 * inet/htonl.c: Likewise.
28989 * inet/setipv4sourcefilter.c: Likewise.
28990 * inet/setsourcefilter.c: Likewise.
28991 * inet/test-inet6_opt.c: Likewise.
28992 * inet/tst-network.c: Likewise.
28993 * locale/C-collate.c: Likewise.
28994 * locale/C-ctype.c: Likewise.
28995 * locale/C-time.c: Likewise.
28996 * locale/C-translit.h: Likewise.
28997 * locale/loadarchive.c: Likewise.
28998 * locale/programs/3level.h: Likewise.
28999 * locale/programs/charmap.c: Likewise.
29000 * locale/programs/charmap.h: Likewise.
29001 * locale/programs/ld-address.c: Likewise.
29002 * locale/programs/ld-collate.c: Likewise.
29003 * locale/programs/ld-ctype.c: Likewise.
29004 * locale/programs/ld-identification.c: Likewise.
29005 * locale/programs/ld-measurement.c: Likewise.
29006 * locale/programs/ld-messages.c: Likewise.
29007 * locale/programs/ld-monetary.c: Likewise.
29008 * locale/programs/ld-name.c: Likewise.
29009 * locale/programs/ld-numeric.c: Likewise.
29010 * locale/programs/ld-paper.c: Likewise.
29011 * locale/programs/ld-telephone.c: Likewise.
29012 * locale/programs/ld-time.c: Likewise.
29013 * locale/programs/linereader.c: Likewise.
29014 * locale/programs/locale.c: Likewise.
29015 * locale/programs/locarchive.c: Likewise.
29016 * locale/programs/locfile.h: Likewise.
29017 * locale/programs/repertoire.c: Likewise.
29018 * locale/programs/simple-hash.c: Likewise.
29019 * locale/programs/simple-hash.h: Likewise.
29020 * malloc/memusage.c: Likewise.
29021 * malloc/memusagestat.c: Likewise.
29022 * nis/nis_defaults.c: Likewise.
29023 * nis/nis_hash.c: Likewise.
29024 * nis/nis_print.c: Likewise.
29025 * nis/nis_xdr.c: Likewise.
29026 * nscd/connections.c: Likewise.
29027 * nscd/hstcache.c: Likewise.
29028 * nscd/nscd_gethst_r.c: Likewise.
29029 * nscd/nscd_getserv_r.c: Likewise.
29030 * nscd/nscd_helper.c: Likewise.
29031 * nscd/servicescache.c: Likewise.
29032 * nss/makedb.c: Likewise.
29033 * nss/nss_db/db-XXX.c: Likewise.
29034 * nss/nss_db/db-initgroups.c: Likewise.
29035 * nss/nss_db/db-netgrp.c: Likewise.
29036 * nss/nss_files/files-network.c: Likewise.
29037 * nss/nss_files/files-parse.c: Likewise.
29038 * posix/bug-regex5.c: Likewise.
29039 * posix/fnmatch_loop.c: Likewise.
29040 * posix/regcomp.c: Likewise.
29041 * posix/regexec.c: Likewise.
29042 * posix/tst-rfc3484-2.c: Likewise.
29043 * posix/tst-rfc3484-3.c: Likewise.
29044 * posix/tst-rfc3484.c: Likewise.
29045 * resolv/nss_dns/dns-canon.c: Likewise.
29046 * resolv/nss_dns/dns-network.c: Likewise.
29047 * resolv/res_init.c: Likewise.
29048 * resolv/res_mkquery.c: Likewise.
29049 * resolv/tst-aton.c: Likewise.
29050 * stdlib/cxa_atexit.c: Likewise.
29051 * stdlib/cxa_finalize.c: Likewise.
29052 * stdlib/gen-fpioconst.c: Likewise.
29053 * stdlib/strtol_l.c: Likewise.
29054 * string/tst-endian.c: Likewise.
29055 * sunrpc/auth_des.c: Likewise.
29056 * sunrpc/clnt_udp.c: Likewise.
29057 * sunrpc/rtime.c: Likewise.
29058 * sunrpc/svcauth_des.c: Likewise.
29059 * sunrpc/xdr.c: Likewise.
29060 * sunrpc/xdr_intXX_t.c: Likewise.
29061 * sunrpc/xdr_rec.c: Likewise.
29062 * sysdeps/generic/ldconfig.h: Likewise.
29063 * sysdeps/generic/ldsodefs.h: Likewise.
29064 * sysdeps/generic/memusage.h: Likewise.
29065 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29068 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29075 * sysdeps/posix/getaddrinfo.c: Likewise.
29076 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29077 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29078 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29079 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29080 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29081 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29082 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29083 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29084 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29086 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29087 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29088 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29089 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29090 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29091 * sysdeps/x86_64/dl-tls.h: Likewise.
29092 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29093 * time/alt_digit.c: Likewise.
29094 * time/era.c: Likewise.
29095 * wcsmbs/tst-c16c32-1.c: Likewise.
29097 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29099 * math/libm-test.inc (struct test_sincos_data): New type.
29100 (RUN_TEST_LOOP_sincos): New macro.
29101 (sincos_test_data): New variable.
29102 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29104 2013-05-16 Richard Henderson <rth@redhat.com>
29106 * math/atest-exp2.c (LIMB64): New macro.
29107 (CONSTSZ): New macro.
29108 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29110 (print_mpn_fp): ... to function scope.
29111 (read_mpn_hex): Remove.
29112 (get_log2): Remove.
29113 (exp2_mpn): Use mp_log2.
29114 (main): Use mp_exp1.
29116 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29118 * math/libm-test.inc: Remove comment about not testing "inexact"
29120 (INEXACT_EXCEPTION): New macro.
29121 (NO_INEXACT_EXCEPTION): Likewise.
29122 (INVALID_EXCEPTION_OK): Update value.
29123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29124 (OVERFLOW_EXCEPTION_OK): Likewise.
29125 (UNDERFLOW_EXCEPTION_OK): Likewise.
29126 (IGNORE_ZERO_INF_SIGN): Likewise.
29127 (ERRNO_UNCHANGED): Likewise.
29128 (ERRNO_EDOM): Likewise.
29129 (ERRNO_ERANGE): Likewise.
29130 (test_exceptions): Handle testing "inexact" exceptions.
29131 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29132 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29133 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29134 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29136 (rint_towardzero_test_data): Likewise.
29137 (rint_downward_test_data): Likewise.
29138 (rint_upward_test_data): Likewise.
29140 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29141 with OVERFLOW_EXCEPTION.
29142 (exp10_test_data): Likewise.
29143 (exp2_test_data): Likewise.
29144 (expm1_test_data): Likewise.
29145 (lgamma_test_data): Likewise.
29146 (pow_test_data): Likewise.
29147 (tgamma_test_data): Likewise.
29148 (yn_test_data): Remove duplicate test of overflow.
29150 * math/libm-test.inc (struct test_cc_c_data): New type.
29151 (RUN_TEST_LOOP_cc_c): New macro.
29152 (cpow_test_data): New variable.
29153 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29155 * math/libm-test.inc (struct test_f_L_data): New type.
29156 (RUN_TEST_LOOP_f_L): New macro.
29157 (llrint_test_data): New variable.
29158 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29159 (llrint_tonearest_test_data): New variable.
29160 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29161 (llrint_towardzero_test_data): New variable.
29162 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29163 (llrint_downward_test_data): New variable.
29164 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29165 (llrint_upward_test_data): New variable.
29166 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29167 (llround_test_data): New variable.
29168 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29170 2013-05-13 Peter Collingbourne <pcc@google.com>
29172 * math/atest-exp2.c (get_log2): Remove const attribute.
29174 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29176 * math/libm-test.inc (struct test_f_l_data): New type.
29177 (RUN_TEST_LOOP_f_l): New macro.
29178 (lrint_test_data): New variable.
29179 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29180 (lrint_tonearest_test_data): New variable.
29181 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29182 (lrint_towardzero_test_data): New variable.
29183 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29184 (lrint_downward_test_data): New variable.
29185 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29186 (lrint_upward_test_data): New variable.
29187 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29188 (lround_test_data): New variable.
29189 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29191 2013-05-15 Peter Collingbourne <pcc@google.com>
29193 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29194 (EXTRACT_WORDS64) Use where appropriate.
29195 (INSERT_WORDS64) Likewise.
29197 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29198 constraints with x constraints.
29199 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29201 * malloc/obstack.c (_obstack_compat): Add initializer.
29203 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29205 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29206 si_trapno and add si_addr_lsb to _sifields.sigfault.
29207 (si_trapno): Remove macro.
29208 (si_addr_lsb): Define new macro.
29209 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29211 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29213 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29214 instead of TEST_f_l.
29215 (llrint_test_tonearest): Likewise.
29216 (llrint_test_towardzero): Likewise.
29217 (llrint_test_downward): Likewise.
29218 (llrint_test_upward): Likewise.
29219 (llround_test): Likewise.
29221 * math/libm-test.inc (struct test_f_i_data): Add comment.
29222 (RUN_TEST_LOOP_f_b): New macro.
29223 (RUN_TEST_LOOP_f_b_tg): Likewise.
29224 (finite_test_data): New variable.
29225 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29226 (isfinite_test_data): New variable.
29227 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29228 (isinf_test_data): New variable.
29229 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29230 (isnan_test_data): New variable.
29231 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29232 (isnormal_test_data): New variable.
29233 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29234 (issignaling_test_data): New variable.
29235 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29236 (signbit_test_data): New variable.
29237 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29239 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29240 with INVALID_EXCEPTION.
29241 (acosh_test_data): Likewise.
29242 (asin_test_data): Likewise.
29243 (atanh_test_data): Likewise.
29244 (fmod_test_data): Likewise.
29245 (log_test_data): Likewise.
29246 (log10_test_data): Likewise.
29247 (log2_test_data): Likewise.
29248 (pow_test_data): Likewise.
29249 (sqrt_test_data): Likewise.
29250 (y0_test_data): Likewise.
29251 (y1_test_data): Likewise.
29252 (yn_test_data): Likewise.
29254 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29257 * math/libm-test.inc (struct test_ff_i_data): New type.
29258 (RUN_TEST_LOOP_ff_i_tg): New macro.
29259 (isgreater_test_data): New variable.
29260 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29261 (isgreaterequal_test_data): New variable.
29262 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29263 (isless_test_data): New variable.
29264 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29265 (islessequal_test_data): New variable.
29266 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29267 (islessgreater_test_data): New variable.
29268 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29269 (isunordered_test_data): New variable.
29270 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29272 2013-05-14 David S. Miller <davem@davemloft.net>
29274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29276 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29278 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29280 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29282 (struct test_f_i_data): Change type of max_ulp to int.
29284 * math/libm-test.inc (test_ffI_f1_data): New type.
29285 (RUN_TEST_LOOP_ffI_f1): New macro.
29286 (remquo_test_data): New variable.
29287 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29289 * setjmp/tst-setjmp-fp.c: New file.
29290 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29291 (link-libm): New variable.
29292 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29294 * math/libm-test.inc (struct test_f_i_data): New type.
29295 (RUN_TEST_LOOP_f_i): New macro.
29296 (RUN_TEST_LOOP_f_i_tg): Likewise.
29297 (fpclassify_test_data): New variable.
29298 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29299 (ilogb_test_data): New variable.
29300 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29302 * math/libm-test.inc (scalbln_test): Correct function name in END
29305 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29306 (RUN_TEST_LOOP_fI_f1): New macro.
29307 (frexp_test_data): New variable.
29308 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29310 * math/libm-test.inc (struct test_fF_f1_data): New type.
29311 (RUN_TEST_LOOP_fF_f1): New macro.
29312 (modf_test_data): New variable.
29313 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29315 * math/libm-test.inc (struct test_f_f1_data): New type.
29316 (RUN_TEST_LOOP_f_f1): New macro.
29317 (gamma_test_data): New variable.
29318 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29319 (lgamma_test_data): New variable.
29320 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29322 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29324 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29325 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29326 (main): Comment "tls" pseudo-hwcap.
29328 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29330 * math/libm-test.inc (struct test_fl_f_data): New type.
29331 (RUN_TEST_LOOP_fl_f): New variable.
29332 (scalbln_test_data): New variable.
29333 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29335 * math/libm-test.inc (struct test_fi_f_data): New type.
29336 (RUN_TEST_LOOP_fi_f): New macro.
29337 (ldexp_test_data): New variable.
29338 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29339 (scalbn_test_data): New variable.
29340 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29342 * math/libm-test.inc (struct test_c_f_data): New type.
29343 (RUN_TEST_LOOP_c_f): New macro.
29344 (cabs_test_data): New variable.
29345 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29346 (carg_test_data): New variable.
29347 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29348 (cimag_test_data): New variable.
29349 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29350 (creal_test_data): New variable.
29351 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29353 * math/libm-test.inc (struct test_if_f_data): New type.
29354 (RUN_TEST_LOOP_if_f): New macro.
29355 (jn_test_data): New variable.
29356 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29357 (yn_test_data): New variable.
29358 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29360 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29362 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29364 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29365 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29367 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29369 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29370 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29371 (bench-deps): Add bench-timing.h.
29372 * benchtests-bench-skeleton.c: Include bench-timing.h.
29373 (main): Use TIMING_* macros instead of clock_gettime.
29374 * benchtests/bench-timing.h: New file.
29377 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29378 Renamed from _LIB_VERSION.
29379 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29381 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29383 * math/libm-test.inc (struct test_fff_f_data): New type.
29384 (RUN_TEST_LOOP_fff_f): New macro.
29385 (fma_test_data): New variable.
29386 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29387 (fma_towardzero_test_data): New variable.
29388 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29389 (fma_downward_test_data): New variable.
29390 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29391 (fma_upward_test_data): New variable.
29392 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29394 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29395 (struct test_c_c_data): New type.
29396 (RUN_TEST_LOOP_c_c): New macro.
29397 (cacos_test_data): New variable.
29398 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29399 (cacosh_test_data): New variable.
29400 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29401 (casin_test_data): New variable.
29402 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29403 (casinh_test_data): New variable.
29404 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29405 (catan_test_data): New variable.
29406 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29407 (catanh_test_data): New variable.
29408 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29409 (ccos_test_data): New variable.
29410 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29411 (ccosh_test_data): New variable.
29412 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29413 (cexp_test_data): New variable.
29414 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29415 (clog_test_data): New variable.
29416 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29417 (clog10_test_data): New variable.
29418 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29419 (conj_test_data): New variable.
29420 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29421 (cproj_test_data): New variable.
29422 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29423 (csin_test_data): New variable.
29424 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29425 (csinh_test_data): New variable.
29426 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29427 (csqrt_test_data): New variable.
29428 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29429 (ctan_test_data): New variable.
29430 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29431 (ctan_tonearest_test_data): New variable.
29432 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29433 (ctan_towardzero_test_data): New variable.
29434 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29435 (ctan_downward_test_data): New variable.
29436 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29437 (ctan_upward_test_data): New variable.
29438 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29439 (ctanh_test_data): New variable.
29440 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29441 (ctanh_tonearest_test_data): New variable.
29442 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29443 (ctanh_towardzero_test_data): New variable.
29444 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29445 (ctanh_downward_test_data): New variable.
29446 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29447 (ctanh_upward_test_data): New variable.
29448 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29449 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29452 * math/libm-test.inc (struct test_ff_f_data): New type.
29453 (struct test_ff_f_data_nexttoward): Likewise.
29454 (RUN_TEST_LOOP_2_f): New macro.
29455 (RUN_TEST_LOOP_ff_f): Likewise.
29456 (atan2_test_data): New variable.
29457 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29458 (copysign_test_data): New variable.
29459 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29460 (fdim_test_data): New variable.
29461 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29462 (fmax_test_data): New variable.
29463 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29464 (fmin_test_data): New variable.
29465 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29466 (fmod_test_data): New variable.
29467 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29468 (hypot_test_data): New variable.
29469 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29470 (nextafter_test_data): New variable.
29471 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29472 (nexttoward_test_data): New variable.
29473 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29474 (pow_test_data): New variable.
29475 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29476 (pow_tonearest_test_data): New variable.
29477 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29478 (pow_towardzero_test_data): New variable.
29479 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29480 (pow_downward_test_data): New variable.
29481 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29482 (pow_upward_test_data): New variable.
29483 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29484 (remainder_test_data): New variable.
29485 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29486 (scalb_test_data): New variable.
29487 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29488 * sysdeps/i386/fpu/libm-test-ulps: Update.
29490 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29492 * math/libm-test.inc (fma_test): Use max_value instead of local
29494 (nextafter_test): Likewise.
29496 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29497 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29498 (acos_downward_test_data): New variable.
29499 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29500 (acos_upward_test_data): New variable.
29501 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29502 (acosh_test_data): New variable.
29503 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29504 (asin_test_data): New variable.
29505 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29506 (asin_tonearest_test_data): New variable.
29507 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29508 (asin_towardzero_test_data): New variable.
29509 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29510 (asin_downward_test_data): New variable.
29511 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29512 (asin_upward_test_data): New variable.
29513 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29514 (asinh_test_data): New variable.
29515 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29516 (atan_test_data): New variable.
29517 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29518 (atanh_test_data): New variable.
29519 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29520 (cbrt_test_data): New variable.
29521 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29522 (ceil_test_data): New variable.
29523 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29524 (cos_test_data): New variable.
29525 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29526 (cos_tonearest_test_data): New variable.
29527 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29528 (cos_towardzero_test_data): New variable.
29529 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29530 (cos_downward_test_data): New variable.
29531 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29532 (cos_upward_test_data): New variable.
29533 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29534 (cosh_test_data): New variable.
29535 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29536 (cosh_tonearest_test_data): New variable.
29537 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29538 (cosh_towardzero_test_data): New variable.
29539 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29540 (cosh_downward_test_data): New variable.
29541 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29542 (cosh_upward_test_data): New variable.
29543 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29544 (erf_test_data): New variable.
29545 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29546 (erfc_test_data): New variable.
29547 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29548 (exp_test_data): New variable.
29549 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29550 (exp_tonearest_test_data): New variable.
29551 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29552 (exp_towardzero_test_data): New variable.
29553 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29554 (exp_downward_test_data): New variable.
29555 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29556 (exp_upward_test_data): New variable.
29557 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29558 (exp10_test_data): New variable.
29559 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29560 (exp2_test_data): New variable.
29561 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29562 (expm1_test_data): New variable.
29563 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29564 (fabs_test_data): New variable.
29565 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29566 (floor_test_data): New variable.
29567 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29568 (j0_test_data): New variable.
29569 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29570 (j1_test_data): New variable.
29571 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29572 (log_test_data): New variable.
29573 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29574 (log10_test_data): New variable.
29575 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29576 (log1p_test_data): New variable.
29577 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29578 (log2_test_data): New variable.
29579 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29580 (logb_test_data): New variable.
29581 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29582 (logb_downward_test_data): New variable.
29583 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29584 (nearbyint_test_data): New variable.
29585 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29586 (rint_test_data): New variable.
29587 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29588 (rint_tonearest_test_data): New variable.
29589 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29590 (rint_towardzero_test_data): New variable.
29591 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29592 (rint_downward_test_data): New variable.
29593 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29594 (rint_upward_test_data): New variable.
29595 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29596 (round_test_data): New variable.
29597 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29598 (sin_test_data): New variable.
29599 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29600 (sin_tonearest_test_data): New variable.
29601 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29602 (sin_towardzero_test_data): New variable.
29603 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29604 (sin_downward_test_data): New variable.
29605 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29606 (sin_upward_test_data): New variable.
29607 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29608 (sinh_test_data): New variable.
29609 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29610 (sinh_tonearest_test_data): New variable.
29611 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29612 (sinh_towardzero_test_data): New variable.
29613 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29614 (sinh_downward_test_data): New variable.
29615 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29616 (sinh_upward_test_data): New variable.
29617 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29618 (sqrt_test_data): New variable.
29619 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29620 (tan_test_data): New variable.
29621 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29622 (tan_tonearest_test_data): New variable.
29623 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29624 (tan_towardzero_test_data): New variable.
29625 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29626 (tan_downward_test_data): New variable.
29627 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29628 (tan_upward_test_data): New variable.
29629 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29630 (tanh_test_data): New variable.
29631 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29632 (tgamma_test_data): New variable.
29633 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29634 (trunc_test_data): New variable.
29635 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29636 (y0_test_data): New variable.
29637 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29638 (y1_test_data): New variable.
29639 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29640 (significand_test_data): New variable.
29641 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29643 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29646 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29648 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29650 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29652 2013-05-10 Andreas Jaeger <aj@suse.de>
29655 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29656 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29658 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29660 * math/gen-libm-test.pl (adjust_arg): New function.
29661 (special_functions): Handle generating output in both functions
29663 (parse_args): Likewise.
29664 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29665 $in_func argument to parse_args.
29666 * math/libm-test.inc (struct test_f_f_data): New type.
29667 (IF_ROUND_INIT_): New macro.
29668 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29669 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29670 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29671 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29672 (ROUND_RESTORE_): Likewise.
29673 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29674 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29675 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29676 (ROUND_RESTORE_FE_UPWARD): Likewise.
29677 (RUN_TEST_LOOP_f_f): New macro.
29678 (acos_test_data): New variable.
29679 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29680 (acos_tonearest_test_data): New variable.
29681 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29683 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29685 * benchtests/bench-skeleton.c (startup): Fix coding style.
29687 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29690 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29691 negative infinity argument.
29692 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29693 negative infinity argument.
29694 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29695 negative infinity argument.
29696 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29699 2013-05-10 Florian Weimer <fweimer@redhat.com>
29701 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29702 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29703 * iconv/iconv_prog.c (main): Likewise.
29704 * locale/programs/charmap-dir.c (charmap_readdir)
29705 (fopen_uncompressed): Likewise.
29706 * locale/programs/locfile.c (siblings_uncached)
29707 (write_locale_data): Use lstat64 instead of lstat.
29708 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29711 2013-05-10 Andreas Jaeger <aj@suse.de>
29714 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29716 Include <locale.h>.
29718 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29720 * elf/dl-close.c (_dl_close_worker): Add comments.
29722 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29725 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29727 (__ieee754_rem_pio2l): Update comments.
29730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29732 (__ieee754_rem_pio2l): Update comments.
29734 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29735 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29737 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29740 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29741 (M_PI_34_LOG10El): Likewise.
29742 (M_PI2_LOG10El): Likewise.
29743 (M_PI4_LOG10El): Likewise.
29744 (M_PI_LOG10El): Likewise.
29746 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29750 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29752 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29753 (MINUS_ZERO_INIT): Likewise.
29754 (PLUS_INFTY_INIT): Likewise.
29755 (MINUS_INFTY_INIT): Likewise.
29756 (QNAN_VALUE_INIT): Likewise.
29757 (MAX_VALUE_INIT): Likewise.
29758 (MIN_VALUE_INIT): Likewise.
29759 (MIN_SUBNORM_VALUE_INIT): Likewise.
29760 (plus_zero): Initialize with PLUS_ZERO_INIT.
29761 (minus_zero): Initialize with MINUS_ZERO_INIT.
29762 (plus_infty): Initialize with PLUS_INFTY_INIT.
29763 (minus_infty): Initialize with MINUS_INFTY_INIT.
29764 (qnan_value): Initialize with QNAN_VALUE_INIT.
29765 (max_value): Initialize with MAX_VALUE_INIT.
29766 (min_value): Initialize with MIN_VALUE_INIT.
29767 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29769 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29770 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29771 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29772 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29774 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29775 (RUN_TEST_2_f): Likewise.
29776 (RUN_TEST_ff_f): Likewise.
29777 (RUN_TEST_fi_f): Likewise.
29778 (RUN_TEST_fl_f): Likewise.
29779 (RUN_TEST_fff_f): Likewise.
29780 (RUN_TEST_c_f): Likewise.
29781 (RUN_TEST_f_f1): Likewise.
29782 (RUN_TEST_fF_f1): Likewise.
29783 (RUN_TEST_fI_f1): Likewise.
29784 (RUN_TEST_ffI_f1): Likewise.
29785 (RUN_TEST_c_c): Likewise.
29786 (RUN_TEST_cc_c): Likewise.
29787 (RUN_TEST_f_i): Likewise.
29788 (RUN_TEST_f_i_tg): Likewise.
29789 (RUN_TEST_ff_i_tg): Likewise.
29790 (RUN_TEST_f_b): Likewise.
29791 (RUN_TEST_f_b_tg): Likewise.
29792 (RUN_TEST_f_l): Likewise.
29793 (RUN_TEST_f_L): Likewise.
29794 (RUN_TEST_sincos): Likewise.
29795 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29796 whether to show exceptions. Do not include ");\n" in return
29798 (special_functions): Output call to RUN_TEST_sincos instead of
29799 check_float calls. Update calls to new_test.
29800 (parse_args): Output call to single RUN_TEST_* macro instead of
29801 check_* calls and other assignments. Update calls to new_test.
29807 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29808 input to result for tgamma overflow.
29809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29810 (gamma_coeff): New variable.
29811 (NCOEFF): New macro.
29812 (gamma_positive): New function.
29813 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29814 underflow here. Use gamma_positive instead of exp (lgamma) for
29816 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29817 (gamma_coeff): New variable.
29818 (NCOEFF): New macro.
29819 (gammaf_positive): New function.
29820 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29821 underflow here. Use gamma_positive instead of exp (lgamma) for
29823 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29824 (gamma_coeff): New variable.
29825 (NCOEFF): New macro.
29826 (gammal_positive): New function.
29827 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29828 underflow here. Use gamma_positive instead of exp (lgamma) for
29830 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29831 (gamma_coeff): New variable.
29832 (NCOEFF): New macro.
29833 (gammal_positive): New function.
29834 (__ieee754_gammal_r): Handle positive infinity, overflow and
29835 underflow here. Handle NaN the same as positive infinity. Remove
29836 check x < 0xffffffff for negative integers. Use gamma_positive
29837 instead of exp (lgamma) for other arguments.
29838 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29839 (gamma_coeff): New variable.
29840 (NCOEFF): New macro.
29841 (gammal_positive): New function.
29842 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29843 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29847 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29848 * sysdeps/generic/math_private.h (__gamma_productf): New
29850 (__gamma_product): Likewise.
29851 (__gamma_productl): Likewise.
29852 * math/Makefile (libm-calls): Add gamma_product.
29853 * math/libm-test.inc (tgamma_test): Add more tests.
29854 * sysdeps/i386/fpu/libm-test-ulps: Update.
29855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29859 * benchtests/bench-skeleton.c (main): Preheat CPU.
29861 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29863 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29865 2013-05-07 Roland McGrath <roland@hack.frob.com>
29867 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29868 and _dl_skip_args_internal.
29870 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29872 * manual/message.texi (Message Translation): Talk about users.
29873 Message to key mapping impacts design.
29875 2013-05-06 Roland McGrath <roland@hack.frob.com>
29877 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29879 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29881 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29882 * sysdeps/wordsize-64/glob64.c: ... here.
29884 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29885 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29888 * debug/getlogin_r_chk.c: Moved to ...
29889 * login/getlogin_r_chk.c: ... here.
29890 * debug/Makefile (routines): Move getlogin_r_chk to ...
29891 * login/Makefile (routines): ... here.
29892 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29893 * login/Versions (libc: GLIBC_2.4): ... here.
29895 * io/poll.c (__poll): Renamed from poll.
29896 Add libc_hidden_def.
29897 (poll): Define as weak alias.
29899 * debug/ptsname_r_chk.c: Moved to ...
29900 * login/ptsname_r_chk.c: ... here.
29901 * debug/Makefile (routines): Move ptsname_r_chk to ...
29902 * login/Makefile (routines): ... here.
29903 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29904 * login/Versions (libc: GLIBC_2.4): ... here.
29906 * posix/getlogin.c: Moved to ...
29907 * login/getlogin.c: ... here.
29908 * posix/getlogin_r.c: Moved to ...
29909 * login/getlogin_r.c: ... here.
29910 * posix/getlogin_r.c: Moved to ...
29911 * login/getlogin_r.c: ... here.
29912 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29913 * login/Makefile (routines): ... here.
29914 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29915 * login/Versions (libc: GLIBC_2.0): ... here.
29917 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29918 (setrlimit): Define as weak alias.
29920 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29921 Call __ names for open, ftruncate, and close.
29922 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29923 (truncate): Define as weak alias.
29925 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29927 * math/gen-libm-test.pl (parse_args): Initialize x before each
29928 test of frexp, modf and remquo.
29930 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29931 test signgam value.
29933 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29937 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29941 2013-05-06 Roland McGrath <roland@hack.frob.com>
29943 * elf/dl-writev.h: New file.
29944 * elf/dl-misc.c: Include it.
29945 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29946 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29948 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29950 * math/libm-test.inc (noXFails): Remove variable.
29951 (noXPasses): Likewise.
29952 (BUILD_COMPLEX_INT): Remove macro.
29953 (print_screen): Remove xfail argument.
29954 (print_screen_max_error): Likewise.
29955 (update_stats): Likewise.
29956 (print_max_error): Likewise. Update calls to other affected
29958 (print_complex_max_error): Likewise.
29959 (test_single_exception): Update calls to print_screen.
29960 (test_single_errno): Likewise.
29961 (check_float_internal): Remove xfail argument. Update calls to
29962 other affected functions.
29963 (check_float): Likewise.
29964 (check_complex): Likewise.
29965 (check_int): Likewise.
29966 (check_long): Likewise.
29967 (check_bool): Likewise.
29968 (check_longlong): Likewise.
29969 (main): Don't print noXFails and noXPasses.
29970 * math/gen-libm-test.pl (top level): Don't mention expected
29971 failure handling in comment.
29972 (new_test): Don't handle expected failures.
29973 (parse_args): Don't mention expected failure handling in comment.
29974 (generate_testfile): Don't handle expected failures.
29975 (parse_ulps): Likewise.
29976 (print_ulps_file): Likewise.
29977 (get_failure): Remove function.
29978 (output_test): Don't handle expected failures.
29979 * make/README.libm-test: Don't mention expected failure handling.
29981 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29982 (minus_zero): Likewise.
29983 (plus_infty): Likewise.
29984 (minus_infty): Likewise.
29985 (qnan_value): Likewise.
29986 (max_value): Likewise.
29987 (min_value): Likewise.
29988 (min_subnorm_value): Likewise.
29989 (initialize): Do not initialize those variables dynamically.
29991 2013-05-03 Roland McGrath <roland@hack.frob.com>
29993 * io/open.c (__open_2): Moved to ...
29994 * io/open_2.c: ... this new file.
29995 * io/open64.c (__open64_2): Moved to ...
29996 * io/open64_2.c: ... this new file.
29997 * io/openat.c (__openat_2): Moved to ...
29998 * io/openat_2.c: ... this new file.
29999 * io/openat64.c (__openat64_2): Moved to ...
30000 * io/openat64_2.c: ... this new file.
30001 * io/Makefile (routines): Add them.
30002 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30003 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30004 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30005 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30006 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30007 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30008 (__openat64): Add hidden_ver.
30009 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30010 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30012 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30013 Separately conditionalize setting of GLRO(dl_sysinfo) so
30014 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30015 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30017 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30019 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30020 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30022 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30023 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30024 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30025 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30026 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30028 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30030 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30031 test signgam value.
30033 * math/libm-test.inc (hypot_test): Do not use
30034 IGNORE_ZERO_INF_SIGN.
30036 2013-05-03 Andreas Jaeger <aj@suse.de>
30038 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30040 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30041 (PF_MAX): Adjust for VSOCK change.
30043 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30047 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30050 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30051 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30052 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30054 2013-05-02 David S. Miller <davem@davemloft.net>
30056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30058 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30060 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30062 2013-05-01 Roland McGrath <roland@hack.frob.com>
30064 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30066 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30069 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30070 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30071 Use __attribute__ ((__gnu_inline__)).
30072 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30073 Don't use __attribute__ ((__gnu_inline__)).
30075 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30078 * math/s_catan.c (__catan): Handle small real or imaginary part of
30079 input specially to avoid spurious underflow.
30080 * math/s_catanf.c (__catanf): Likewise.
30081 * math/s_catanh.c (__catanh): Likewise.
30082 * math/s_catanhf.c (__catanhf): Likewise.
30083 * math/s_catanhl.c (__catanhl): Likewise.
30084 * math/s_catanl.c (__catanl): Likewise.
30085 * math/libm-test.inc (catan_test): Add more tests.
30086 (catanh_test): Likewise.
30087 * sysdeps/i386/fpu/libm-test-ulps: Update.
30088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30090 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30094 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30097 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30098 accurately for denominator in atan2.
30099 * math/s_catanf.c (__catanf): Likewise.
30100 * math/s_catanh.c (__catanh): Likewise.
30101 * math/s_catanhf.c (__catanhf): Likewise.
30102 * math/s_catanhl.c (__catanhl): Likewise.
30103 * math/s_catanl.c (__catanl): Likewise.
30104 * math/libm-test.inc (catan_test): Add more tests.
30105 (catanh_test): Likewise.
30106 * sysdeps/i386/fpu/libm-test-ulps: Update.
30107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30109 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30111 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30113 * benchtests/Makefile (bench): Remove slow benchmarks.
30114 * benchtests/atan-inputs: Add slow benchmark inputs.
30115 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30116 (BENCH_FUNC): Accept variant offset.
30118 * benchtests/bench-skeleton.c (main): Run benchmark for each
30120 * benchtests/cos-inputs: Add slow benchmark inputs.
30121 * benchtests/exp-inputs: Likewise.
30122 * benchtests/pow-inputs: Likewise.
30123 * benchtests/sin-inputs: Likewise.
30124 * benchtests/slowatan-inputs: Remove.
30125 * benchtests/slowatan.c: Remove.
30126 * benchtests/slowcos-inputs: Remove.
30127 * benchtests/slowcos.c: Remove.
30128 * benchtests/slowexp-inputs: Remove.
30129 * benchtests/slowexp.c: Remove.
30130 * benchtests/slowpow-inputs: Remove.
30131 * benchtests/slowpow.c: Remove.
30132 * benchtests/slowsin-inputs: Remove.
30133 * benchtests/slowsin.c: Remove.
30134 * benchtests/slowtan-inputs: Remove.
30135 * benchtests/slowtan.c: Remove.
30136 * benchtests/tan-inputs: Add slow benchmark inputs.
30137 * scripts/bench.pl: Parse comments and directives.
30139 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30141 ($(objpfx)bench-%.c): Remove *-ITER.
30142 * benchtests/bench-modf.c: Remove definition of ITER.
30143 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30144 (main): Loop for DURATION seconds instead of fixed number of
30146 * scripts/bench.pl: Don't expect iterations in parameters.
30148 2013-04-29 Roland McGrath <roland@hack.frob.com>
30150 * io/fchdir.c (__fchdir): Renamed from fchdir.
30151 (fchdir): Define as weak alias.
30153 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30155 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30156 (ERRNO_EDOM): Likewise.
30157 (ERRNO_ERANGE): Likewise.
30158 (noErrnoTests): New variable.
30159 (init_max_error): Set errno to 0.
30160 (test_single_errno): New function.
30161 (test_errno): Likewise.
30162 (check_float_internal): Call test_errno. Set errno to 0.
30163 (check_complex): Refer to errno tests in comment.
30164 (check_int): Call test_errno. Set errno to 0.
30165 (check_long): Likewise.
30166 (check_bool): Likewise.
30167 (check_longlong): Likewise.
30168 (cos_test): Use ERRNO_* flags for errno tests instead of
30170 (expm1_test): Likewise.
30171 (fmod_test): Likewise.
30172 (ilogb_test): Likewise.
30173 (lgamma_test): Likewise.
30174 (pow_test): Likewise.
30175 (remainder_test): Likewise.
30176 (sin_test): Likewise.
30177 (tan_test): Likewise.
30178 (yn_test): Likewise.
30179 (initialize): Set errno to 0.
30180 (main): Print number of errno tests.
30181 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30183 2013-04-29 Andreas Jaeger <aj@suse.de>
30186 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30190 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30191 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30195 * stdlib/random.c (__initstate): Return NULL if
30199 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30200 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30203 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30207 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30209 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30210 of individual tests.
30211 (casin_test): Likewise.
30212 (casinh_test): Likewise.
30214 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30217 * math/s_catan.c (__catan): Handle arguments with large real or
30218 imaginary part separately without squaring.
30219 * math/s_catanf.c (__catanf): Likewise.
30220 * math/s_catanh.c (__catanh): Likewise.
30221 * math/s_catanhf.c (__catanhf): Likewise.
30222 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30224 (__catanhl): Handle arguments with large real or imaginary part
30225 separately without squaring.
30226 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30228 (__catanl): Handle arguments with large real or imaginary part
30229 separately without squaring.
30230 * math/libm-test.inc (catan_test): Add more tests.
30231 (catanh_test): Likewise.
30232 * sysdeps/i386/fpu/libm-test-ulps: Update.
30233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30235 2013-04-27 Andreas Jaeger <aj@suse.de>
30238 * stdlib/stdlib.h: Update guards for qecvt.
30239 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30242 2013-04-27 Allan McRae <allan@archlinux.org>
30244 * sysdeps/i386/fpu/libm-test-ulps: Update.
30246 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30249 * math/s_catan.c: Include <float.h>.
30250 (__catan): Ensure underflow exception occurs for underflowed
30252 * math/s_catanf.c: Include <float.h>.
30253 (__catanf): Ensure underflow exception occurs for underflowed
30255 * math/s_catanh.c: Include <float.h>.
30256 (__catanh): Ensure underflow exception occurs for underflowed
30258 * math/s_catanhf.c: Include <float.h>.
30259 (__catanhf): Ensure underflow exception occurs for underflowed
30261 * math/s_catanhl.c: Include <float.h>.
30262 (__catanhl): Ensure underflow exception occurs for underflowed
30264 * math/s_catanl.c: Include <float.h>.
30265 (__catanl): Ensure underflow exception occurs for underflowed
30267 * math/libm-test.inc (catan_test): Add more tests.
30268 (catanh_test): Likewise.
30271 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30272 underflowed result.
30273 * math/s_ccoshf.c (__ccoshf): Likewise.
30274 * math/s_ccoshl.c (__ccoshl): Likewise.
30275 * math/s_csin.c (__csin): Likewise.
30276 * math/s_csinf.c (__csinf): Likewise.
30277 * math/s_csinh.c (__csinh): Likewise.
30278 * math/s_csinhf.c (__csinhf): Likewise.
30279 * math/s_csinhl.c (__csinhl): Likewise.
30280 * math/s_csinl.c (__csinl): Likewise.
30281 * math/libm-test.inc (ccos_test): Add more tests.
30282 (ccosh_test): Likewise.
30283 (csin_test): Likewise.
30284 (csinh_test): Likewise.
30286 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30288 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30289 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30290 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30291 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30292 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30293 powerpc/power5+/fpu folders.
30294 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30297 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30301 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30303 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30304 additions to variable.
30305 [$(config-machine) = x86_64] (modules-names): Likewise.
30306 ($(objpfx)tst-audit3): Remove dependency.
30307 ($(objpfx)tst-audit3.out): Likewise.
30308 ($(objpfx)tst-audit4): Likewise.
30309 ($(objpfx)tst-audit4.out): Likewise.
30310 ($(objpfx)tst-audit5): Likewise.
30311 ($(objpfx)tst-audit5.out): Likewise.
30312 ($(objpfx)tst-audit6): Likewise.
30313 ($(objpfx)tst-audit6.out): Likewise.
30314 ($(objpfx)tst-audit7): Likewise.
30315 ($(objpfx)tst-audit7.out): Likewise.
30316 (tst-audit3-ENV): Remove variable.
30317 (tst-audit4-ENV): Likewise.
30318 (tst-audit5-ENV): Likewise.
30319 (tst-audit6-ENV): Likewise.
30320 (tst-audit7-ENV): Likewise.
30321 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30322 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30323 addition to variable.
30324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30325 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30326 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30328 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30329 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30330 tst-audit3, tst-audit4 and tst-audit5.
30331 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30332 tst-audit6 and tst-audit7.
30333 [$(subdir) = elf] (modules-names): Add audit modules for those
30335 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30336 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30337 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30338 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30339 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30340 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30341 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30342 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30343 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30344 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30345 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30346 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30347 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30348 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30349 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30350 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30352 [$(subdir) = elf && $(config-cflags-avx) = yes]
30353 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30354 [$(subdir) = elf && $(config-cflags-avx) = yes]
30355 (CFLAGS-tst-auditmod4a.c): Likewise.
30356 [$(subdir) = elf && $(config-cflags-avx) = yes]
30357 (CFLAGS-tst-auditmod4b.c): Likewise.
30358 [$(subdir) = elf && $(config-cflags-avx) = yes]
30359 (CFLAGS-tst-auditmod6b.c): Likewise.
30360 [$(subdir) = elf && $(config-cflags-avx) = yes]
30361 (CFLAGS-tst-auditmod6c.c): Likewise.
30362 [$(subdir) = elf && $(config-cflags-avx) = yes]
30363 (CFLAGS-tst-auditmod7b.c): Likewise.
30364 * elf/tst-audit3.c: Move to ...
30365 * sysdeps/x86_64/tst-audit3.c: ... here.
30366 * elf/tst-audit4.c: Move to ...
30367 * sysdeps/x86_64/tst-audit4.c: ... here.
30368 * elf/tst-audit5.c: Move to ...
30369 * sysdeps/x86_64/tst-audit5.c: ... here.
30370 * elf/tst-audit6.c: Move to ...
30371 * sysdeps/x86_64/tst-audit6.c: ... here.
30372 * elf/tst-audit7.c: Move to ...
30373 * sysdeps/x86_64/tst-audit7.c: ... here.
30374 * elf/tst-auditmod3a.c: Move to ...
30375 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30376 * elf/tst-auditmod3b.c: Move to ...
30377 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30378 * elf/tst-auditmod4a.c: Move to ...
30379 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30380 * elf/tst-auditmod4b.c: Move to ...
30381 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30382 * elf/tst-auditmod5a.c: Move to ...
30383 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30384 * elf/tst-auditmod5b.c: Move to ...
30385 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30386 * elf/tst-auditmod6a.c: Move to ...
30387 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30388 * elf/tst-auditmod6b.c: Move to ...
30389 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30390 * elf/tst-auditmod6c.c: Move to ...
30391 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30392 * elf/tst-auditmod7a.c: Move to ...
30393 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30394 * elf/tst-auditmod7b.c: Move to ...
30395 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30397 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30400 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30401 define unconditionally.
30402 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30403 define unconditionally.
30404 (INT8_C, INT16_C, etc.): Likewise.
30406 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30408 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30409 __ehdr_start with hidden visibility.
30411 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30413 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30415 * math/libm-test.inc (cos_test): Use accurate hex constants.
30416 (sincost_test): Likewise.
30418 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30420 * math/libm-test.inc (catan_test): Add more tests.
30421 (catanh_test): Likewise.
30423 * math/s_catanf.c (__catanf): Use suffixed floating-point
30425 * math/s_catanhf.c (__catanhf): Likewise.
30426 * math/s_catanhl.c (__catanhl): Likewise.
30427 * math/s_catanl.c (__catanl): Likewise.
30430 * math/s_catan.c (__catan): Calculate imaginary part of result
30431 with log1p not log unless computing log of number close to 0.
30432 * math/s_catanf.c (__catanf): Likewise.
30433 * math/s_catanl.c (__catanl): Likewise.
30434 * math/s_catanh.c (__catanh): Calculate real part of result with
30435 log1p not log unless computing log of number close to 0.
30436 * math/s_catanhf.c (__catanhf): Likewise.
30437 * math/s_catanhl.c (__catanhl): Likewise.
30438 * math/libm-test.inc (catan_test): Add more tests.
30439 (catanh_test): Likewise.
30440 * sysdeps/i386/fpu/libm-test-ulps: Update.
30441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30443 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30445 * benchtests/Makefile: Mention files in which fast and slow
30446 paths of math functions are implemented.
30448 2013-04-23 Roland McGrath <roland@hack.frob.com>
30450 * sysdeps/posix/timespec_get.c: New file.
30452 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30454 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30456 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30458 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30459 powerpc/power5/fpu folders.
30460 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30461 * benchtests/Makefile: Add modf testcase.
30462 * benchtests/bench-modf.c: New file: Benchmark test for mo
30464 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30467 * time/Makefile (tests): Add tst-strptime-whitespace.
30468 * time/strptime_l.c (get_number): Use ISSPACE.
30469 (__strptime_internal): Likewise.
30470 * time/tst-strptime-whitespace.c: New test case.
30472 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30474 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30476 (_nss_files_init): Set it here.
30478 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30480 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30481 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30484 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30486 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30488 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30493 2013-04-21 David S. Miller <davem@davemloft.net>
30495 * po/ru.po: Update Russion translation from translation project.
30497 2013-04-17 Adam Conrad <adconrad@0c3.net>
30499 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30502 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30504 * configure.in: Remove i386 configure warning. Remove i386 case.
30505 * configure: Regenerate.
30506 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30507 Add example to error message.
30508 * sysdeps/i386/configure: Regenerate.
30510 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30512 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30514 * benchtests/cos-inputs: New file.
30515 * benchtests/slowcos-inputs: New file.
30516 * benchtests/slowcos.c: New file.
30517 * benchtests/slowtan-inputs: New file.
30518 * benchtests/slowtan.c: New file.
30519 * benchtests/tan-inputs: New file.
30521 2013-04-16 Roland McGrath <roland@hack.frob.com>
30523 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30526 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30528 * benchtests/Makefile: Include cppflags-iterator.mk to add
30529 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30531 * Makefile.in (bench-clean): New target.
30532 * benchtests/Makefile (bench-clean): Likewise.
30534 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30536 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30538 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30540 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30542 2013-04-15 Andreas Schwab <schwab@suse.de>
30544 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30546 * nscd/pwdcache.c (cache_addpw): Likewise.
30547 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30550 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30552 * benchtests/Makefile (bench): Write all output to
30553 bench-out.tmp together.
30555 2013-04-15 Andreas Schwab <schwab@suse.de>
30557 * nscd/nscd.c (main): Don't fork again after closing files.
30559 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30561 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30563 * benchtests/Rules (bench-deps): Collect dependencies into a
30564 single variable. Add Makefile to dependencies.
30565 ($(objpfx)bench-%.c): Depend on bench-deps.
30567 2013-04-12 Roland McGrath <roland@hack.frob.com>
30568 Xavier Roche <roche+kml2@exalead.com>
30571 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30572 just that it's a file descriptor.
30573 * manual/llio.texi (Synchronizing AIO Operations): Update description
30574 for EBADF error from aio_fsync.
30576 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30578 * Rules (bench): Move target definition...
30579 * benchtests/Makefile: ... here.
30581 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30583 * math/libm-test.inc (cos_test): Fix PI/2 test.
30584 (sincos_test): Likewise.
30585 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30586 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30588 2013-04-11 Andreas Schwab <schwab@suse.de>
30591 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30592 accept exponent character only when digits were seen.
30593 * stdio-common/Makefile (tests): Add bug26.
30594 * stdio-common/bug26.c: New file.
30597 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30600 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30602 * Makeconfig (rtld-prefix): Define built linker prefix.
30603 * Rules (run-bench): Use it.
30604 * math/Makefile (run-regen-ulps): Likewise.
30606 * Rules (bench): Remove eval.
30608 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30609 Roland McGrath <roland@hack.frob.com>
30610 Ondrej Bilka <neleai@seznam.cz>
30613 * time/getdate.c: Include ctype.h and alloca.h.
30614 (__getdate_r): Trim leading and trailing spaces of input.
30615 * time/tst-getdate.c (tests): Add tests with leading and
30618 2013-04-08 Roland McGrath <roland@hack.frob.com>
30621 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30622 when computing value.
30624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30626 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30627 Use testrun.sh to run libm tests.
30630 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30632 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30635 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30637 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30639 * Makefile.in (regen-ulps): New target.
30640 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30641 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30642 [ifneq (no,$(PERL)] (regen-ulps): New target.
30643 [ifeq (no,$(PERL)] (regen-ulps): New target.
30644 * math/libm-test.inc (ulps_file_name): Define.
30645 (output_dir): New variable.
30646 (options): Add "output-dir" option.
30647 (parse_opt): Handle 'o' case.
30648 (main): If output_dir is non-NULL use it as a prefix
30650 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30652 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30654 [BZ #10060, #10062]
30655 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30656 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30657 fail configure if __sync_val_compare_and_swap is not inlined.
30658 * sysdeps/i386/configure: Regenerate.
30659 * configure.in: Build for i686 when configured for i386.
30660 * configure: Regenerate.
30661 * README: Remove i386 reference.
30663 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30665 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30668 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30670 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30671 (lmsnanval): New variables.
30672 (F): Add conversion tests.
30673 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30674 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30676 * stdio-common/tstdiomisc.c (F): Properly collect individual
30679 [BZ #14686, #15336]
30680 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30681 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30682 Instead, use input NaN values or generate a qNaN by arithmetic
30683 operation. Also fix bugs to comply with the standard.
30684 * math/libm-test.inc (remainder_test): Add more tests.
30686 [BZ #15335, #15342]
30687 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30689 input NaN values or generate a qNaN by arithmetic operation.
30691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30694 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30697 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30700 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30701 underflowed result.
30702 * math/s_cexpf.c (__cexpf): Likewise.
30703 * math/s_cexpl.c (__cexpl): Likewise.
30704 * math/libm-test.inc (cexp_test): Add more tests.
30706 2013-04-03 Andreas Schwab <schwab@suse.de>
30709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30710 order arrays from heap if bigger than alloca cutoff.
30712 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30714 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30715 (SNAN_TESTS_double): Refer to GCC PR56831.
30716 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30719 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30721 * Rules (bench): Move bench.out after the run is complete.
30723 * Rules (bench): Echo currently running benchmark.
30725 * benchtests/Makefile (bench): Add atan and slowatan.
30726 * benchtests/atan-inputs: New file.
30727 * benchtests/slowatan-inputs: New file.
30728 * benchtests/slowatan.c: New file.
30730 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30731 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30735 * sysdeps/unix/sysv/linux/kernel-features.h
30736 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30737 __ASSUME_XFS_RESTRICTED_CHOWN.
30738 * sysdeps/unix/sysv/linux/pathconf.c
30739 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30740 Save and restore errno.
30742 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30745 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30746 arguments using __kernel_casinh.
30747 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30748 arguments using __kernel_casinhf.
30749 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30750 arguments using __kernel_casinhl.
30751 * math/libm-test.inc (cacosh_test): Add more tests.
30752 * sysdeps/i386/fpu/libm-test-ulps: Update.
30753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30755 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30757 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30758 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30760 * bench/Makefile (bench): Add sin and slowsin.
30761 * benchtests/sin-inputs: New file.
30762 * benchtests/slowsin-inputs: New file.
30763 * benchtests/slowsin.c: New file.
30765 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30766 (bench): Add slowexp and slowpow.
30767 (exp-ITER): Increase iterations.
30768 (pow-ITER): Likewise.
30769 * benchtests/exp-inputs: Change input.
30770 * benchtests/pow-inputs: Likewise.
30771 * benchtests/slowexp-inputs: New file.
30772 * benchtests/slowexp.c: New file.
30773 * benchtests/slowpow-inputs: New file.
30774 * benchtests/slowpow.c: New file.
30776 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30778 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30780 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30781 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30782 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30783 * benchtests/Makefile: Add rint benchtest.
30784 * benchtests/rint-inputs: Input for rint benchtest.
30786 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30788 * Versions.def (libm): Add GLIBC_2.18.
30789 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30790 hidden libm prototypes.
30791 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30792 * math/Makefile (libm-calls): Add s_issignaling.
30793 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30794 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30795 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30797 * math/math.h [__USE_GNU] (issignaling): New macro.
30798 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30799 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30800 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30803 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30804 * manual/arith.texi (issignaling): New section.
30805 * manual/libm-err-tab.pl (@all_functions): Update comment.
30806 * math/gen-libm-test.pl (parse_args): Apply special handling for
30808 * math/libm-test.inc (print_float, issignaling_test): New
30810 (check_float_internal): Add issignaling checks.
30811 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30812 default definition.
30813 * sysdeps/powerpc/math-tests.h: New file.
30814 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30816 * math/test-snan.c (TEST_FUNC): Likewise.
30818 2013-03-30 David S. Miller <davem@davemloft.net>
30820 * po/de.po: Update from translation team.
30822 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30825 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30826 imaginary part less than 1.0 and real part less than 0.5
30828 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30829 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30830 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30831 (cacos_test): Add more tests.
30832 (casin_test): Likewise.
30833 (casinh_test): Likewise.
30834 * sysdeps/i386/fpu/libm-test-ulps: Update.
30835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30837 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30839 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30840 ONE with its value.
30842 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30843 (__pow_mp): Replace ONE and MONE with their values.
30844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30845 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30846 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30847 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30851 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30853 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30854 (__pow_mp): Replace ZERO and MZERO with their values.
30855 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30856 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30859 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30860 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30863 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30865 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30867 2013-03-28 Roland McGrath <roland@hack.frob.com>
30869 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30870 Declare with __attribute__ ((weak)).
30871 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30872 Call __call_tls_dtors only if it's not NULL.
30874 2013-03-28 Roland McGrath <roland@hack.frob.com>
30876 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30877 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30878 magic __ehdr_start linker symbol if it's defined.
30879 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30880 them up here if it was already done.
30882 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30883 (_dl_aux_init): Use const in cast when setting it.
30884 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30885 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30886 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30888 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30890 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30891 * csu/libc-tls.c: Nor here.
30892 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30894 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30895 (__libc_message): Never call vsyslog.
30897 2013-03-28 Alan Modra <amodra@gmail.com>
30899 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30901 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30904 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30907 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30911 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30914 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30915 Don't add gid passed as argument.
30917 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30919 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30922 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30923 imaginary part between 1.0 and 1.5 and real part less than 0.5
30925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30927 * math/libm-test.inc (cacos_test): Add more tests.
30928 (casin_test): Likewise.
30929 (casinh_test): Likewise.
30930 * sysdeps/i386/fpu/libm-test-ulps: Update.
30931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30933 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30935 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30938 (denorm): Likewise.
30939 (__dbl_mp): Likewise.
30940 (add_magnitudes): Likewise.
30941 (sub_magnitudes): Likewise.
30949 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30951 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30952 (__dubcos): Likewise.
30953 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30954 (__ieee754_acos): Likewise.
30955 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30956 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30957 (__exp1): Likewise.
30958 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30961 (my_log2): Likewise.
30962 (checkint): Likewise.
30963 * sysdeps/ieee754/dbl-64/e_remainder.c
30964 (__ieee754_remainder): Likewise.
30965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30967 (bsloww): Likewise.
30968 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30970 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30971 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30972 MANTISSA_STORE_T to store computations on mantissa. Use
30973 macros for rounding and division.
30974 (denorm): Likewise.
30975 (__dbl_mp): Likewise.
30976 (add_magnitudes): Likewise.
30977 (sub_magnitudes): Likewise.
30980 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30981 powers of two in terms of TWOPOW macro.
30982 (mp_no): Make type of mantissa as MANTISSA_T.
30983 [!RADIXI]: Define RADIXI.
30984 [!TWO52]: Define TWO52.
30985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30987 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30989 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30990 llroundl symbol when building for PPC32.
30992 2013-03-24 Mark H Weaver <mhw@netris.org>
30994 * manual/arith.texi (Normalization Functions): Fix prototypes for
30995 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30997 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31001 high value to check if expl overflow.
31002 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31003 to check for underflow and overflow.
31004 * math/libm-test.inc: Add exp test.
31006 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31009 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31012 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31014 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31017 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31019 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31020 wrap blocks consisting of several statements.
31022 * sysdeps/generic/math-tests.h: New file.
31023 * sysdeps/i386/fpu/math-tests.h: Likewise.
31024 * math/test-snan.c: Include it.
31025 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31027 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31031 (__ieee754_j0l): Do not improve calculations using cos of twice
31032 input for inputs above LDBL_MAX / 2.0L.
31033 (__ieee754_y0l): Likewise.
31034 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31035 (__ieee754_j1l): Do not improve calculations using cos of twice
31036 input for inputs above LDBL_MAX / 2.0L.
31037 (__ieee754_y1l): Likewise.
31038 * math/libm-test.inc (j0_test): Add another test.
31039 (j1_test): Likewise.
31040 (y0_test): Likewise.
31041 (y1_test): Likewise.
31042 * sysdeps/i386/fpu/libm-test-ulps: Update.
31044 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31046 * Rules ($(objpfx)bench-%.c): Include code from a C source
31049 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31052 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31053 imaginary part 1.0 and real part less than 0.5 specially.
31054 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31055 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31056 * math/libm-test.inc (cacos_test): Add more tests.
31057 (casin_test): Likewise.
31058 (casinh_test): Likewise.
31059 * sysdeps/i386/fpu/libm-test-ulps: Update.
31060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31062 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31065 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31067 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31069 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31070 * config.make.in (config-cflags-sse4): Remove variable.
31071 (config-cflags-avx): Likewise.
31072 (config-cflags-sse2avx): Likewise.
31073 (config-cflags-novzeroupper): Likewise.
31074 (config-asflags-i686): Likewise.
31075 (have-mfma4): Likewise.
31076 (have-as-vis3): Likewise.
31078 * configure.in (MIG): Do not AC_SUBST.
31079 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31080 (libc_cv_cc_sse4): Do not AC_SUBST.
31081 (libc_cv_cc_avx): Likewise.
31082 (libc_cv_cc_sse2avx): Likewise.
31083 (libc_cv_cc_novzeroupper): Likewise.
31084 (libc_cv_cc_fma4): Likewise.
31085 (libc_cv_as_i686): Likewise.
31086 (libc_cv_sparc_as_vis3): Likewise.
31087 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31089 (config-asflags-i686): Likewise.
31090 (config-cflags-avx): Likewise.
31091 (config-cflags-sse2avx): Likewise.
31092 (have-mfma4): Likewise.
31093 (config-cflags-novzeroupper): Likewise.
31094 * sysdeps/mach/configure.in (MIG): Likewise.
31095 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31096 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31098 (config-cflags-avx): Likewise.
31099 (config-cflags-sse2avx): Likewise.
31100 (have-mfma4): Likewise.
31101 (config-cflags-novzeroupper): Likewise.
31102 * configure: Regenerated.
31103 * sysdeps/i386/configure: Likewise.
31104 * sysdeps/mach/configure: Likewise.
31105 * sysdeps/sparc/configure: Likewise.
31106 * sysdeps/x86_64/configure: Likewise.
31108 2013-03-20 Roland McGrath <roland@hack.frob.com>
31111 * locale/programs/localedef.c (options): Put N_ translation marker
31112 on argument names, not just descriptions.
31114 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31116 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31118 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31121 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31123 2013-03-19 Roland McGrath <roland@hack.frob.com>
31125 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31126 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31127 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31128 [!BEFORE_ABORT] (before_abort): New function.
31129 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31130 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31131 (writev_for_fatal): New function.
31132 (WRITEV_FOR_FATAL): New macro; call that.
31133 (backtrace_and_maps): New function.
31134 (BEFORE_ABORT): New macro; call that.
31135 (struct str_list): Type removed.
31136 (__libc_message, __libc_fatal): Functions removed.
31137 Include <sysdeps/posix/libc_fatal.c> instead.
31139 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31141 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31143 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31146 2013-03-19 Andreas Schwab <schwab@suse.de>
31148 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31149 * sysdeps/gnu/configure: Regenerate.
31151 * configure.in: Substitute libc_cv_rtlddir.
31152 * configure: Regenerate.
31153 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31154 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31155 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31156 * elf/Makefile (install-others, CFLAGS-interp.c)
31157 (ldso_install, common-ldd-rewrite): Likewise.
31158 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31159 $(inst_slibdir)/$(rtld-installed-name).
31160 * scripts/rellns-sh: Add -p option.
31161 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31164 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31166 * manual/nptl.texi: Renamed to ...
31167 * manual/threads.texi: ... this.
31168 * manual/Makefile (chapters): Update.
31170 2013-03-18 Roland McGrath <roland@hack.frob.com>
31173 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31174 on argument names, not just descriptions.
31175 * malloc/memusagestat.c (options): Likewise.
31176 * nss/getent.c (options): Likewise.
31178 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31181 * iconv/iconv_prog.c (options): Put N_ translation marker
31182 on argument names, not just descriptions.
31183 * iconv/iconvconfig.c (options): Likewise.
31185 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31187 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31188 implementation which is faster on all x86_64 architectures.
31189 Tested on AMD, Intel Nehalem, SNB, IVB.
31190 * sysdeps/x86_64/strnlen.S: Likewise.
31192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31193 Remove all multiarch strlen and strnlen versions.
31194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31195 Remove strlen and strnlen related parts.
31197 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31198 Inline strlen part.
31199 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31201 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31202 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31203 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31204 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31205 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31206 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31208 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31210 * manual/memory.texi (Malloc Tunable Parameters):
31211 Sort parameters alphabetically. Add comments for missing entries.
31213 2013-03-17 David S. Miller <davem@davemloft.net>
31215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31217 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31221 for arguments at most half maximum finite value.
31222 * math/libm-test.inc (j0_test): Add more tests.
31223 (j1_test): Likewise.
31224 (y0_test): Likewise.
31225 (y1_test): Likewise.
31226 * sysdeps/i386/fpu/libm-test-ulps: Update.
31227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31230 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31231 1 / x and functions P and Q for arguments above 0x1p256L.
31232 (__ieee754_y0l): Likewise.
31233 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31234 (__ieee754_y1l): Likewise.
31235 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31236 (j1_test): Likewise.
31237 (y0_test): Likewise.
31238 (y1_test): Likewise.
31240 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31242 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31245 2013-03-15 Roland McGrath <roland@hack.frob.com>
31247 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31248 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31249 zero since it's initialized to EXEC_PAGESIZE.
31251 * sysdeps/unix/sysv/linux/ldsodefs.h
31252 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31253 * sysdeps/generic/ldsodefs.h: ... here.
31255 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31257 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31259 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31261 * math/test-snan.c: Renamed from
31262 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31263 * math/Makefile (tests): Add test-snan.
31264 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31267 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31268 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31270 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31271 __builtin_nan family of functions.
31272 * math/libm-test.inc (initialize): Initialize qnan_value with
31273 __builtin_nan family of functions.
31274 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31276 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31278 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31279 storage class. Initialize qNaN_var and sNaN_var with
31280 __builtin_nan and __builtin_nans families of functions,
31283 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31284 (sqrt_test): Remove duplicate test with qNaN input.
31285 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31286 (round_test, signbit_test, significand_test): Note missing +/-Inf
31287 as well as qNaN tests.
31289 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31290 qNaN_var. Fix a few strings, too.
31291 * math/libm-test.inc (nan_value): Rename to qnan_value.
31292 * math/gen-libm-test.pl (%beautify): Adjust to that.
31293 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31294 * math/test-misc.c (main): Likewise.
31295 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31296 to __qnan_bytes, and __qnan_union, respectively.
31297 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31299 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31300 and lqnanval, respectively.
31301 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31302 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31303 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31304 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31306 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31307 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31310 * math/test-misc.c (main): Fix copy'n'pastos.
31311 * misc/tst-efgcvt.c (special): Likewise.
31313 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31314 Remove declarations.
31316 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31318 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31319 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31320 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31321 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31323 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31325 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31326 macro to return vdso values correctly in IFUNC implementations.
31327 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31328 Optimization by using IFUNC.
31330 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31331 Richard Henderson <rth@redhat.com>
31332 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31334 * Makefile.in (bench): New target.
31335 * NEWS: Mention the benchmark framework.
31336 * Rules (bench): Likewise.
31337 (binaries-bench): Generate binaries for functions to
31339 * benchtests/Makefile: New makefile for benchmark tests.
31340 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31342 * benchtests/exp-inputs: New input file for EXP function.
31343 * benchtests/pow-inputs: New input file for POW function.
31344 * scripts/bench.pl: New script to generate source files for
31345 benchmark programs.
31347 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31349 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31351 computations on mantissa. Use macros for rounding and
31353 (denorm): Likewise.
31354 (__dbl_mp): Likewise.
31355 (add_magnitudes): Likewise.
31356 (sub_magnitudes): Likewise.
31359 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31360 powers of two in terms of TWOPOW macro.
31361 (mp_no): Make type of mantissa as MANTISSA_T.
31362 [!RADIXI]: Define RADIXI.
31363 [!TWO52]: Define TWO52.
31364 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31366 * manual/nptl.texi (cindex): Modify threads to pthreads.
31368 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31370 * sysdeps/x86_64/preconfigure: Regenerated.
31372 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31375 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31377 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31378 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31380 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31381 * math/libm-test.inc (j0_test): Do not allow one spurious
31382 underflow exception.
31383 (y1_test): Likewise.
31385 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31387 * manual/Makefile (chapters): Add nptl.
31388 * manual/debug.texi (Debugging Support): Add link to Threads
31390 * manual/nptl.texi: New file.
31392 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31394 2013-03-14 Petr Baudis <pasky@ucw.cz>
31396 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31397 for non-NULL pointer before the memory validity test. Pointed
31398 out by Holger Brunck <holger.brunck@keymile.com>.
31400 2013-03-13 Andreas Schwab <schwab@suse.de>
31402 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31405 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31407 * timezone/zic.c: Update from tzcode 2013b.
31409 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31411 * manual/install.texi (Configuring and compiling):
31412 Mention i686 and i586.
31413 * INSTALL: Regenerate.
31415 2013-03-12 Roland McGrath <roland@hack.frob.com>
31417 * sysdeps/init_array/elf-init.c: New file.
31419 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31420 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31422 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31423 __gmon_start__ as global, but as static with a .preinit_array pointer.
31424 * sysdeps/init_array/gmon-start.c: New file. Use that.
31425 * sysdeps/init_array/crti.S: New file, empty except for comments.
31426 * sysdeps/init_array/crtn.S: Likewise.
31428 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31430 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31433 Remove Prefer_SSE_for_memop.
31434 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31435 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31436 HAS_PREFER_SSE_FOR_MEMOP.
31437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31440 Remove bzero, memset ifunc support.
31441 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31442 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31443 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31446 2013-03-11 Andreas Schwab <schwab@suse.de>
31449 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31452 (GLIBC_2.16): Remove pthread_atfork.
31454 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31456 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31457 (ptestcases.h): Likewise.
31459 2013-03-08 Roland McGrath <roland@hack.frob.com>
31461 * Makeconfig ($(common-objpfx)config.status): Depend on
31462 sysdeps/*/preconfigure{,.in} too.
31464 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31466 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31467 (__free_hook): Use void * instead of __malloc_ptr_t.
31468 (__malloc_hook): Likewise.
31469 (__realloc_hook): Likewise.
31470 (__memalign_hook): Likewise.
31471 (__after_morecore_hook): Likewise.
31472 * malloc/arena.c (save_malloc_hook): Likewise.
31473 (save_free_hook): Likewise.
31474 * malloc/hooks.c (malloc_hook_ini): Likewise.
31475 (realloc_hook_ini): Likewise.
31476 (memalign_hook_ini): Likewise.
31477 * malloc/malloc.c (malloc_hook_ini): Likewise.
31478 (realloc_hook_ini): Likewise.
31479 (memalign_hook_ini): Likewise.
31480 (__free_hook): Likewise.
31481 (__malloc_hook): Likewise.
31482 (__realloc_hook): Likewise.
31483 (__memalign_hook): Likewise.
31484 (__libc_malloc): Likewise.
31485 (__libc_free): Likewise.
31486 (__libc_realloc): Likewise.
31487 (__libc_memalign): Likewise.
31488 (__libc_valloc): Likewise.
31489 (__libc_pvalloc): Likewise.
31490 (__libc_calloc): Likewise.
31491 (__posix_memalign): Likewise.
31492 * malloc/morecore.c (__sbrk): Likewise.
31493 (__default_morecore): Likewise.
31495 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31497 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31498 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31499 __malloc_ptrdiff_t.
31501 * malloc/malloc.h (__malloc_size_t): Remove macro.
31502 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31504 (old_memalign_hook): Likewise.
31505 (old_realloc_hook): Likewise.
31506 (struct hdr): Likewise.
31508 (mallochook): Likewise.
31509 (memalignhook): Likewise.
31510 (reallochook): Likewise.
31511 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31512 (tr_old_realloc_hook): Likewise.
31513 (tr_old_memalign_hook): Likewise.
31514 (tr_mallochook): Likewise.
31515 (tr_reallochook): Likewise.
31516 (tr_memalignhook): Likewise.
31518 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31521 default_ldbl_pack and using as default implementation.
31522 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31524 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31525 redundant definition.
31526 (ldbl_insert_mantissa): Likewise.
31527 (ldbl_canonicalize): Likewise.
31528 (ldbl_nearbyint): Likewise.
31529 (ldbl_pack): Rename to ldbl_pack_ppc.
31530 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31531 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31532 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31534 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31537 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31538 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31539 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31541 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31542 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31543 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31545 2013-03-07 Andreas Jaeger <aj@suse.de>
31547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31550 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31552 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31553 Include mpa.h and declare __MPEXP.
31554 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31555 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31556 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31557 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31558 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31559 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31560 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31562 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31563 (__slowpow): Use long double EXPL and LOGL functions to
31565 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31566 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31568 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31569 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31573 intermediate variable to calculate exponent.
31575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31579 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31580 [!NO__SQR]: Define __sqr.
31581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31582 and NO__SQR. Remove all code except __mul and __sqr. Include
31583 sysdeps/ieee754/dbl-64/mpa.c.
31584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31587 * posix/Makefile (tests): Add tst-pathconf.
31588 * posix/tst-pathconf.c: New test case.
31589 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31591 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31593 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31595 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31597 2013-03-06 Andreas Jaeger <aj@suse.de>
31599 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31600 definition via __MAP_ANONYMOUS.
31602 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31603 it's not part of Linux headers.
31605 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31606 (MAP_HUGE_MASK): Define.
31608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31610 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31613 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31614 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31616 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31619 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31621 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31622 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31623 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31624 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31625 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31626 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31631 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31632 Handle f2fs and efivarfs.
31634 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31637 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31638 (EFIVARFS_MAGIC): Add.
31639 (F2FS_LINK_MAX): Add.
31641 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31643 * stdio-common/vfprintf.c: Replace __builtin_expect with
31646 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31649 * sysdeps/generic/bp-sym.h: Remove file.
31650 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31651 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31652 <bp-sym.h> and <bp-asm.h>.
31653 (__longjmp): Don't use BP_SYM.
31654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31656 (memcpy): Don't use BP_SYM.
31657 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31658 <bp-sym.h> and <bp-asm.h>.
31659 (memcpy): Don't use BP_SYM.
31660 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31662 (memcpy): Don't use BP_SYM.
31663 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31665 (memset): Don't use BP_SYM.
31666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31668 (__bzero): Don't use BP_SYM.
31669 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31670 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31671 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (memcmp): Don't use BP_SYM. Remove comment about bounded
31675 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31676 <bp-sym.h> and <bp-asm.h>.
31677 (memcpy): Don't use BP_SYM.
31678 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31679 <bp-sym.h> and <bp-asm.h>.
31680 (memset): Don't use BP_SYM.
31681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31683 (__bzero): Don't use BP_SYM.
31684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31686 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31687 <bp-sym.h> and <bp-asm.h>.
31688 (strncmp): Don't use BP_SYM. Remove comment about bounded
31690 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31691 <bp-sym.h> and <bp-asm.h>.
31692 (memcpy): Don't use BP_SYM.
31693 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31694 <bp-sym.h> and <bp-asm.h>.
31695 (memset): Don't use BP_SYM.
31696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31698 (__bzero): Don't use BP_SYM.
31699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31701 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31702 <bp-sym.h> and <bp-asm.h>.
31703 (__memchr): Don't use BP_SYM.
31704 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31705 <bp-sym.h> and <bp-asm.h>.
31706 (memcmp): Don't use BP_SYM. Remove comment about bounded
31708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31709 <bp-sym.h> and <bp-asm.h>.
31710 (memcpy): Don't use BP_SYM.
31711 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31712 <bp-sym.h> and <bp-asm.h>.
31713 (__mempcpy): Don't use BP_SYM.
31714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31715 <bp-sym.h> and <bp-asm.h>.
31716 (__memrchr): Don't use BP_SYM.
31717 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31718 <bp-sym.h> and <bp-asm.h>.
31719 (memset): Don't use BP_SYM.
31720 (__bzero): Likewise.
31721 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31722 <bp-sym.h> and <bp-asm.h>.
31723 (__rawmemchr): Don't use BP_SYM.
31724 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31725 <bp-sym.h> and <bp-asm.h>.
31726 (__STRCMP): Don't use BP_SYM.
31727 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31728 <bp-sym.h> and <bp-asm.h>.
31729 (strchr): Don't use BP_SYM.
31730 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31731 <bp-sym.h> and <bp-asm.h>.
31732 (__strchrnul): Don't use BP_SYM.
31733 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31734 <bp-sym.h> and <bp-asm.h>.
31735 (strlen): Don't use BP_SYM.
31736 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31737 <bp-sym.h> and <bp-asm.h>.
31738 (strncmp): Don't use BP_SYM. Remove comment about bounded
31740 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31741 <bp-sym.h> and <bp-asm.h>.
31742 (__strnlen): Don't use BP_SYM.
31743 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31744 <bp-sym.h> and <bp-asm.h>.
31745 (__GI__setjmp): Don't use BP_SYM.
31746 (_setjmp): Likewise.
31747 (__sigsetjmp): Likewise.
31748 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31749 (L(start_addresses)): Don't use BP_SYM.
31750 (_start): Likewise.
31751 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31753 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31754 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31755 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31756 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31757 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31759 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31760 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31761 about bounded pointers.
31762 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31763 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31764 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31766 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31767 about bounded pointers. Remove GKM FIXME comments.
31768 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31769 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31771 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31772 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31773 Remove GKM FIXME comments.
31774 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31775 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31776 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31778 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31779 about bounded pointers. Remove GKM FIXME comment.
31780 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31782 (strncmp): Don't use BP_SYM. Remove comment about bounded
31784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31785 <bp-sym.h> and <bp-asm.h>.
31786 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31788 <bp-sym.h> and <bp-asm.h>.
31789 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31792 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31794 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31797 2013-03-05 David S. Miller <davem@davemloft.net>
31799 * po/es.po: Update from translation team.
31801 2013-03-05 Andreas Jaeger <aj@suse.de>
31803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31804 <bits/mman-linux.h>.
31805 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31807 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31808 <bits/mman-linux.h> to end of file.
31809 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31811 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31812 <bits/mman-linux.h> to end of file.
31813 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31816 <bits/mman-linux.h> to end of file.
31818 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31819 (MCL_CURRENT, MCL_FUTURE): Define here.
31821 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31824 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31826 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31828 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31830 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31831 fourth parameter needed for rt_sigprocmask syscall.
31832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31833 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31834 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31835 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31836 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31837 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31839 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31842 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31843 comment about bounded pointers.
31844 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31845 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31847 2013-03-04 Andreas Jaeger <aj@suse.de>
31849 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31850 common definitions.
31852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31853 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31854 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31855 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31856 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31857 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31859 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31863 __ieee754_sqrl instead of __sqrl.
31865 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31867 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31868 * sysdeps/powerpc/fpu_control.h: ... here.
31869 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31870 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31871 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31872 * sysdeps/powerpc/bits/mathinline.h: ... here.
31874 2013-03-01 Roland McGrath <roland@hack.frob.com>
31876 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31877 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31878 to just [NEED_DL_SYSINFO_DSO].
31879 * elf/dl-support.c: Likewise.
31880 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31881 * elf/rtld.c (dl_main): Likewise.
31882 * elf/setup-vdso.h (setup_vdso): Likewise.
31883 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31884 * sysdeps/unix/sysv/linux/dl-sysdep.c
31885 (_dl_discover_osversion): Likewise.
31887 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31889 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31890 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31892 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31894 * NEWS: Mention libm performance improvements and non-x86 PI
31897 * csu/libc-start.c (__pthread_initialize_minimal): Change
31898 function arguments.
31899 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31901 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31904 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31906 <bp-sym.h> and <bp-asm.h>.
31907 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31910 (memcpy): Don't use BP_SYM.
31911 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31913 (__mpn_add_n): Don't use BP_SYM.
31914 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31915 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31917 (__mpn_addmul_1): Don't use BP_SYM.
31918 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31919 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31921 (_setjmp): Don't use BP_SYM.
31922 (__novmx_setjmp): Likewise.
31923 (__GI__setjmp): Likewise.
31924 (__vmx_setjmp): Likewise.
31925 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31927 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31928 (__bzero): Don't use BP_SYM.
31929 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31930 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31931 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31932 <bp-sym.h> and <bp-asm.h>.
31933 (memcpy): Don't use BP_SYM.
31934 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31935 <bp-sym.h> and <bp-asm.h>.
31936 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31937 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31938 <bp-sym.h> and <bp-asm.h>.
31939 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31940 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31942 (__mpn_lshift): Don't use BP_SYM.
31943 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31944 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31946 (memset): Don't use BP_SYM.
31947 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31948 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31949 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31951 (__mpn_mul_1): Don't use BP_SYM.
31952 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31953 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31954 <bp-sym.h> and <bp-asm.h>.
31955 (memcmp): Don't use BP_SYM.
31956 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31957 <bp-sym.h> and <bp-asm.h>.
31958 (memcpy): Don't use BP_SYM.
31959 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31960 <bp-sym.h> and <bp-asm.h>.
31961 (memset): Don't use BP_SYM.
31962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31963 <bp-sym.h> and <bp-asm.h>.
31964 (strncmp): Don't use BP_SYM.
31965 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31966 <bp-sym.h> and <bp-asm.h>.
31967 (memcpy): Don't use BP_SYM.
31968 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31969 <bp-sym.h> and <bp-asm.h>.
31970 (memset): Don't use BP_SYM.
31971 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31972 <bp-sym.h> and <bp-asm.h>.
31973 (__memchr): Don't use BP_SYM.
31974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31975 <bp-sym.h> and <bp-asm.h>.
31976 (memcmp): Don't use BP_SYM.
31977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31978 <bp-sym.h> and <bp-asm.h>.
31979 (memcpy): Don't use BP_SYM.
31980 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31981 <bp-sym.h> and <bp-asm.h>.
31982 (__mempcpy): Don't use BP_SYM.
31983 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31984 <bp-sym.h> and <bp-asm.h>.
31985 (__memrchr): Don't use BP_SYM.
31986 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31987 <bp-sym.h> and <bp-asm.h>.
31988 (memset): Don't use BP_SYM.
31989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31990 <bp-sym.h> and <bp-asm.h>.
31991 (__rawmemchr): Don't use BP_SYM.
31992 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31993 <bp-sym.h> and <bp-asm.h>.
31994 (__STRCMP): Don't use BP_SYM.
31995 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31996 <bp-sym.h> and <bp-asm.h>.
31997 (strchr): Don't use BP_SYM.
31998 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31999 <bp-sym.h> and <bp-asm.h>.
32000 (__strchrnul): Don't use BP_SYM.
32001 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32002 <bp-sym.h> and <bp-asm.h>.
32003 (strlen): Don't use BP_SYM.
32004 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32005 <bp-sym.h> and <bp-asm.h>.
32006 (strncmp): Don't use BP_SYM.
32007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32008 <bp-sym.h> and <bp-asm.h>.
32009 (__strnlen): Don't use BP_SYM.
32010 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32012 (__mpn_rshift): Don't use BP_SYM.
32013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32014 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32015 <bp-sym.h> and <bp-asm.h>.
32016 (__sigsetjmp): Don't use BP_SYM.
32017 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32018 (L(start_addresses)): Don't use BP_SYM.
32019 (_start): Likewise.
32020 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32022 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32023 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32024 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32025 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32027 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32028 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32029 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32030 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32032 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32035 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32037 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32039 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32040 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32041 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32043 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32045 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32047 (strncmp): Don't use BP_SYM,
32048 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32050 (__mpn_sub_n): Don't use BP_SYM.
32051 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32052 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32054 (__mpn_submul_1): Don't use BP_SYM.
32055 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32057 <bp-sym.h> and <bp-asm.h>.
32058 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32060 <bp-sym.h> and <bp-asm.h>.
32061 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32064 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32067 Use ZK to minimize writes to Z.
32068 (sub_magnitudes): Simplify code a bit.
32069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32070 Use ZK to minimize writes to Z.
32071 (sub_magnitudes): Simplify code a bit.
32073 2013-02-27 Roland McGrath <roland@hack.frob.com>
32075 * csu/gmon-start.c: Add special exception to license text.
32077 2013-02-27 Richard Henderson <rth@redhat.com>
32079 * scripts/config.guess: Update from config.git.
32080 * scripts/config.sub: Likewise.
32082 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32084 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32086 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32088 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32090 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32092 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32094 2013-02-26 Roland McGrath <roland@hack.frob.com>
32096 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32097 [$(build-shared = yes].
32099 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32101 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32102 (__mul): Reduce iterations for calculating mantissa.
32104 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32106 (__mpranred): Likewise.
32109 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32110 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32112 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32114 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32115 Define __attribute__.
32117 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32119 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32121 * posix/regex_internal.h (__attribute): Remove.
32122 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32123 (re_string_context_at): Likewise.
32124 (bitset_not): Use __attribute__ and mark function as possibly
32126 (bitset_merge): Likewise.
32127 (bitset_mask): Likewise.
32128 (re_string_char_size_at): Likewise.
32129 (re_string_wchar_at): Likewise.
32130 (re_string_elem_size_at): Likewise.
32132 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32134 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32138 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32142 (denorm): Likewise.
32143 (__dbl_mp): Likewise.
32144 (add_magnitudes): Likewise.
32145 (sub_magnitudes): Likewise.
32149 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32152 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32155 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32159 up changes with default code.
32160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32163 2013-02-24 Allan McRae <allan@archlinux.org>
32165 * manual/socket.texi (The Internet Namespace): Order menu items
32166 to match that in the file.
32168 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32169 node listing of the info page menu.
32171 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32174 * sysdeps/i386/bp-asm.h: Remove file.
32175 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32176 (PARMS): Do not use macros from bp-asm.h.
32180 (__mpn_add_n): Do not use BP_SYM
32181 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32183 (PARMS): Do not use macros from bp-asm.h.
32186 (__mpn_addmul_1): Do not use BP_SYM
32187 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32189 (PARMS): Do not use macros from bp-asm.h.
32190 (SIGMSK): Likewise.
32191 (_setjmp): Likewise. Do not use BP_SYM.
32192 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32194 (PARMS): Do not use macros from bp-asm.h.
32195 (SIGMSK): Likewise.
32196 (setjmp): Likewise. Do not use BP_SYM.
32197 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32199 (PARMS): Do not use macros from bp-asm.h.
32200 (__frexp): Do not use BP_SYM.
32202 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32204 (PARMS): Do not use macros from bp-asm.h.
32205 (__frexpf): Do not use BP_SYM.
32206 (frexpf): Likewise.
32207 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32209 (PARMS): Do not use macros from bp-asm.h.
32210 (__frexpl): Do not use BP_SYM.
32211 (frexpl): Likewise.
32212 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32214 (PARMS): Do not use macros from bp-asm.h.
32215 (__remquo): Do not use BP_SYM.
32216 (remquo): Likewise.
32217 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32219 (PARMS): Do not use macros from bp-asm.h.
32220 (__remquof): Do not use BP_SYM.
32221 (remquof): Likewise.
32222 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32224 (PARMS): Do not use macros from bp-asm.h.
32225 (__remquol): Do not use BP_SYM.
32226 (remquol): Likewise.
32227 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32229 (PARMS): Do not use macros from bp-asm.h.
32232 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32233 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32235 (PARMS): Do not use macros from bp-asm.h.
32236 (strlen): Do not use BP_SYM.
32237 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32239 (PARMS): Do not use macros from bp-asm.h.
32243 (__mpn_add_n): Do not use BP_SYM.
32244 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32246 (PARMS): Do not use macros from bp-asm.h.
32249 (__mpn_addmul_1): Do not use BP_SYM.
32250 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32253 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32255 (PARMS): Do not use macros from bp-asm.h.
32258 (__mpn_lshift): Do not use BP_SYM.
32259 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32261 (PARMS): Do not use macros from bp-asm.h.
32265 (memcpy): Likewise. Do not use BP_SYM.
32266 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32267 libc_hidden_def and weak_alias.
32268 (mempcpy): Do not use BP_SYM in weak_alias.
32269 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32271 (PARMS): Do not use macros from bp-asm.h.
32274 [!BZERO_P] (CHR): Likewise.
32275 (memset): Likewise. Do not use BP_SYM.
32276 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32278 (PARMS): Do not use macros from bp-asm.h.
32281 (__mpn_mul_1): Do not use BP_SYM.
32282 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32284 (PARMS): Do not use macros from bp-asm.h.
32287 (__mpn_rshift): Do not use BP_SYM.
32288 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32290 (PARMS): Do not use macros from bp-asm.h.
32293 (strchr): Likewise. Do not use BP_SYM.
32294 (index): Do not use BP_SYM in weak_alias.
32295 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32297 (PARMS): Do not use macros from bp-asm.h.
32300 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32301 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32303 (PARMS): Do not use macros from bp-asm.h.
32304 (strlen): Do not use BP_SYM.
32305 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32307 (PARMS): Do not use macros from bp-asm.h.
32311 (__mpn_sub_n): Do not use BP_SYM.
32312 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32314 (PARMS): Do not use macros from bp-asm.h.
32317 (__mpn_submul_1): Do not use BP_SYM.
32318 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32320 (PARMS): Do not use macros from bp-asm.h.
32324 (__mpn_add_n): Do not use BP_SYM.
32325 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32328 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32330 (PARMS): Do not use macros from bp-asm.h.
32333 (memcmp): Do not use BP_SYM.
32334 (bcmp): Do not use BP_SYM in weak_alias.
32335 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32337 (PARMS): Do not use macros from bp-asm.h.
32341 (memcpy): Likewise. Do not use BP_SYM.
32342 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32344 (PARMS): Do not use macros from bp-asm.h.
32348 (memmove): Likewise. Do not use BP_SYM.
32349 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32351 (PARMS): Do not use macros from bp-asm.h.
32355 (__mempcpy): Likewise. Do not use BP_SYM.
32356 (mempcpy): Do not use BP_SYM in weak_alias.
32357 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32359 (PARMS): Do not use macros from bp-asm.h.
32362 [!BZERO_P] (CHR): Likewise.
32363 (memset): Likewise. Do not use BP_SYM.
32364 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32366 (PARMS): Do not use macros from bp-asm.h.
32368 (strcmp): Do not use BP_SYM.
32369 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32371 (PARMS): Do not use macros from bp-asm.h.
32374 [USE_AS_STRTOK_R] (SAVE): Likewise.
32375 (FUNCTION): Likewise. Do not use BP_SYM.
32376 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32378 (strtok_r): Likewise.
32379 (__GI___strtok_r): Likewise.
32380 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32381 (PARMS): Do not use macros from bp-asm.h.
32384 (__mpn_lshift): Do not use BP_SYM.
32385 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32386 (PARMS): Do not use macros from bp-asm.h.
32389 (__memchr): Do not use BP_SYM.
32390 (memchr): Do not use BP_SYM in weak_alias.
32391 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32392 (PARMS): Do not use macros from bp-asm.h.
32395 (memcmp): Do not use BP_SYM.
32396 (bcmp): Do not use BP_SYM in weak_alias.
32397 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32398 (PARMS): Do not use macros from bp-asm.h.
32401 (__mpn_mul_1): Do not use BP_SYM.
32402 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32404 (PARMS): Do not use macros from bp-asm.h.
32407 (__rawmemchr): Do not use BP_SYM.
32408 (rawmemchr): Do not use BP_SYM in weak_alias.
32409 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32410 (PARMS): Do not use macros from bp-asm.h.
32413 (__mpn_rshift): Do not use BP_SYM.
32414 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32415 (PARMS): Do not use macros from bp-asm.h.
32416 (SIGMSK): Likewise.
32417 (__sigsetjmp): Likewise. Do not use BP_SYM.
32418 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32419 (_start): Do not use BP_SYM.
32420 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32421 (PARMS): Do not use macros from bp-asm.h.
32424 (__stpcpy): Likewise. Do not use BP_SYM.
32425 (stpcpy): Do not use BP_SYM in weak_alias.
32426 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32428 (PARMS): Do not use macros from bp-asm.h.
32432 (__stpncpy): Likewise. Do not use BP_SYM.
32433 (stpncpy): Do not use BP_SYM in weak_alias.
32434 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32435 (PARMS): Do not use macros from bp-asm.h.
32438 (strchr): Likewise. Do not use BP_SYM.
32439 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32441 (PARMS): Do not use macros from bp-asm.h.
32444 (__strchrnul): Likewise. Do not use BP_SYM.
32445 (strchrnul): Do not use BP_SYM in weak_alias.
32446 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32448 (PARMS): Do not use macros from bp-asm.h.
32450 (strcspn): Do not use BP_SYM.
32451 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32453 (PARMS): Do not use macros from bp-asm.h.
32456 (strpbrk): Likewise. Do not use BP_SYM.
32457 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32459 (PARMS): Do not use macros from bp-asm.h.
32462 (strrchr): Likewise. Do not use BP_SYM.
32463 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32464 (PARMS): Do not use macros from bp-asm.h.
32466 (strspn): Do not use BP_SYM.
32467 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32468 (PARMS): Do not use macros from bp-asm.h.
32472 (FUNCTION): Likewise. Do not use BP_SYM.
32473 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32475 (strtok_r): Likewise.
32476 (__GI___strtok_r): Likewise.
32477 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32478 (PARMS): Do not use macros from bp-asm.h.
32482 (__mpn_sub_n): Do not use BP_SYM.
32483 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32485 (PARMS): Do not use macros from bp-asm.h.
32488 (__mpn_submul_1): Do not use BP_SYM.
32489 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32491 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32493 (PARMS): Do not use macros from bp-asm.h.
32498 (__clone): Do not use BP_SYM.
32499 (clone): Do not use BP_SYM in weak_alias.
32500 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32502 (PARMS): Do not use macros from bp-asm.h.
32504 (__mmap64): Do not use BP_SYM.
32505 (mmap64): Do not use BP_SYM in weak_alias.
32506 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32507 <bp-sym.h> and <bp-asm.h>.
32508 (PARMS): Do not use macros from bp-asm.h.
32509 (__posix_fadvise64_l64): Do not use BP_SYM.
32510 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32511 (PARMS): Do not use macros from bp-asm.h.
32513 (semtimedop): Do not use BP_SYM.
32514 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32517 2013-02-21 Allan McRae <allan@archlinux.org>
32519 * manual/message.texi (Charset conversion in gettext):
32520 Move @end statement to beginning of line.
32522 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32529 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32530 (denorm): Likewise.
32531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32534 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32536 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32537 tail-call to the resolved function if pltexit isn't needed.
32539 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32542 or Y being zero as being unlikely.
32543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32546 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32548 * manual/nss.texi (System Databases and Name Service Switch):
32549 Remove frobnicate @pxref.
32551 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32553 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32554 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32556 2013-02-20 Petr Machata <pmachata@redhat.com>
32558 * elf/elf.h (R_ARM_TARGET1): New macro.
32559 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32560 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32561 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32562 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32563 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32564 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32565 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32566 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32567 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32568 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32569 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32570 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32571 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32572 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32573 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32574 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32575 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32576 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32577 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32578 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32579 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32580 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32581 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32582 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32583 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32584 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32585 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32586 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32587 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32588 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32589 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32590 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32591 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32592 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32593 (R_ARM_THM_GOT_BREL12): Likewise.
32594 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32595 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32596 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32597 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32598 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32599 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32600 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32601 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32602 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32604 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32606 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32607 __attribute_used__ to __attribute__ ((unused)).
32609 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32611 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32614 comment formatting.
32615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32617 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32620 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32622 (ENTER): Remove both macro definitions.
32624 (CHECK_BOUNDS_LOW): Likewise.
32625 (CHECK_BOUNDS_HIGH): Likewise.
32626 (CHECK_BOUNDS_BOTH): Likewise.
32627 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32628 (RETURN_BOUNDED_POINTER): Likewise.
32629 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32630 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32631 (POP_ERRNO_LOCATION_RETURN): Likewise.
32632 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32633 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32634 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32636 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32637 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32638 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32639 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32640 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32641 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32642 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32643 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32644 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32645 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32646 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32647 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32648 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32649 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32652 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32654 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32655 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32656 * sysdeps/i386/i586/memset.S (memset): Likewise.
32657 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32658 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32659 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32662 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32663 Change uses of L(2) to L(out).
32664 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32665 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32666 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32667 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32668 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32670 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32671 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32673 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32674 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32675 (RETURN): Do not use macro LEAVE.
32676 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32677 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32678 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32679 * sysdeps/i386/i686/memset.S (memset): Likewise.
32680 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32681 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32682 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32683 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32685 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32686 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32687 L(1_2) and L(1_3) into L(1).
32688 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32689 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32690 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32691 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32692 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32693 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32694 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32696 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32698 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32699 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32700 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32701 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32702 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32703 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32704 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32705 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32706 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32707 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32708 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32709 * sysdeps/i386/strspn.S (strspn): Likewise.
32710 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32712 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32713 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32714 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32715 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32716 L(1_3) into L(1_1).
32717 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32718 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32719 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32721 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32723 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32725 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32728 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32730 * math/atest-exp.c (exp_mpn): Remove ROUND.
32731 * math/atest-exp2.c (exp_mpn): Likewise.
32732 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32734 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32735 * stdlib/tst-tls-atexit-lib.c: Likewise.
32736 * stdlib/tst-tls-atexit.c: Likewise.
32738 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32740 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32741 and __attribute_alloc_size__.
32743 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32745 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32746 __attribute_alloc_size__.
32747 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32748 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32750 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32752 * include/programs/xmalloc.h: New file.
32753 * catgets/gencat.c: Include it.
32754 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32755 * elf/pldd.c: Likewise.
32756 * iconv/iconv_charmap.c: Likewise.
32757 * iconv/iconvconfig.c: Likewise.
32758 * iconv/strtab.c: Likewise.
32759 * locale/programs/locale.c: Likewise.
32760 * locale/programs/localedef.h: Likewise.
32761 * locale/programs/simple-hash.c: Likewise.
32762 * nscd/nscd.h: Likewise.
32763 * nss/makedb.c: Likewise.
32764 * sysdeps/generic/ldconfig.h: Likewise.
32766 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32768 * Versions.def: Add GLIBC_2.18.
32769 * include/link.h (struct link_map): New member l_tls_dtor_count.
32770 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32771 (__call_tls_dtors): Likewise.
32772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32773 __cxa_thread_atexit_impl.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32782 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32790 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32791 (tests): Add test case tst-tls-atexit.
32792 (modules-names): Add shared library for tst-tls-atexit.
32793 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32794 (GLIBC_PRIVATE): Add __call_tls_dtors.
32795 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32797 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32798 * stdlib/tst-tls-atexit.c: New test case.
32799 * stdlib/tst-tls-atexit-lib.c: New test case.
32801 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32803 * elf/Versions (ld): Add _dl_find_dso_for_object.
32804 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32805 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32806 (dl_open_worker): Use _dl_find_dso_for_object.
32807 * elf/dl-sym.c (do_sym): Likewise.
32808 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32810 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32812 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32813 Syntactic changes only.
32814 (_dl_runtime_profile): Do a tail-call to the resolved function.
32816 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32819 * sysdeps/x86_64/bp-asm.h: Remove file.
32820 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32821 <bp-sym.h> and <bp-asm.h>.
32822 (__clone): Do not use BP_SYM.
32823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32824 <bp-sym.h> and <bp-asm.h>.
32825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32826 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32828 (_setjmp): Do not use BP_SYM.
32829 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32831 (setjmp): Do not use BP_SYM.
32832 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32834 (mempcpy): Do not use BP_SYM in weak_alias.
32835 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32837 (strchr): Do not use BP_SYM.
32838 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32840 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32841 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32842 (_start): Do not use BP_SYM.
32843 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32845 (strcat): Do not use BP_SYM.
32846 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32848 (STRCMP): Do not use BP_SYM.
32849 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32851 (STRCPY): Do not use BP_SYM.
32852 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32854 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32856 (FUNCTION): Do not use BP_SYM.
32857 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32859 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32861 2013-02-17 Andreas Jaeger <aj@suse.de>
32863 * time/Versions: Sort entries.
32864 * string/Versions: Likewise.
32865 * resolv/Versions: Likewise.
32866 * posix/Versions: Likewise.
32867 * iconv/Versions: Likewise.
32868 * elf/Versions: Likewise.
32869 * wcsmbs/Versions: Likewise.
32871 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32873 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32874 loop termination condition.
32876 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32877 variable to calculate EZ.
32880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32881 the lower precision input.
32883 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32886 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32887 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32888 (run-via-rtld-prefix): Do not handle %-bp tests.
32889 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32890 (all-object-suffixes): Remove .ob.
32891 (bppfx): Remove variable.
32892 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32893 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32894 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32895 [$(build-bounded) = yes] (libtype.ob): Likewise.
32896 * Makerules (elide-routines.ob): Remove variable.
32897 (do-tests-clean): Do not handle *-bp.out.
32898 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32899 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32900 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32901 (tests): Do not include $(tests-bp.out).
32902 (xtests): Do not include $(xtests-bp.out).
32903 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32904 [$(build-bounded) = yes] ($(addprefix
32905 $(objpfx),$(binaries-bounded))): Remove rule.
32906 ($(objpfx)%-bp.out): Remove rule.
32907 * config.make.in (build-bounded): Remove variable.
32908 * crypt/Makefile [$(build-bounded) = yes]
32909 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32910 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32911 append to variable.
32912 [$(build-bounded) = yes] (install-lib): Likewise.
32913 [$(build-bounded) = yes] (generated): Likewise.
32914 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32916 * intl/Makefile [$(build-bounded) = yes]
32917 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32918 * math/Makefile [$(build-bounded) = yes]
32919 ($(tests:%=$(objpfx)%-bp): Likewise.
32920 * misc/Makefile [$(build-bounded) = yes]
32921 ($(objpfx)tst-tsearch-bp): Likewise.
32922 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32923 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32925 * string/Makefile (o-objects.ob): Remove variable.
32926 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32927 (CFLAGS-.ob): Remove variable.
32928 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32929 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32930 both definitions of variable.
32931 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32932 (ASFLAGS-.ob): Remove variable.
32934 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32937 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32938 Remove __BOUNDED_POINTERS__ from condition.
32939 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32940 * string/bits/string2.h [!__NO_STRING_INLINES &&
32941 !__BOUNDED_POINTERS__]: Likewise.
32942 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32944 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32945 Remove conditional code.
32946 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32947 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32948 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32952 * csu/libc-start.c: Do not include <bp-sym.h>.
32953 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32954 * elf/dl-open.c: Do not include <bp-sym.h>.
32955 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32956 * math/fegetenv.c: Do not include <bp-sym.h>.
32957 (fegetenv): Do not use BP_SYM in versioned symbols.
32958 * nptl/sysdeps/pthread/bits/libc-lockP.h
32959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32962 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32964 (__pthread_mutex_destroy): Likewise.
32965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32966 (__pthread_mutex_lock): Likewise.
32967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32968 (__pthread_mutex_trylock): Likewise.
32969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32970 (__pthread_mutex_unlock): Likewise.
32971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32972 (__pthread_mutexattr_init): Likewise.
32973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32974 (__pthread_mutexattr_destroy): Likewise.
32975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32976 (__pthread_mutexattr_settype): Likewise.
32977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32978 (__pthread_rwlock_init): Likewise.
32979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32980 (__pthread_rwlock_destroy): Likewise.
32981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32982 (__pthread_rwlock_rdlock): Likewise.
32983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32984 (__pthread_rwlock_tryrdlock): Likewise.
32985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32986 (__pthread_rwlock_wrlock): Likewise.
32987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32988 (__pthread_rwlock_trywrlock): Likewise.
32989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32990 (__pthread_rwlock_unlock): Likewise.
32991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32992 (__pthread_key_create): Likewise.
32993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32994 (__pthread_setspecific): Likewise.
32995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32996 (__pthread_getspecific): Likewise.
32997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33000 (_pthread_cleanup_push_defer): Likewise.
33001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33002 (_pthread_cleanup_pop_restore): Likewise.
33003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33004 (pthread_setcancelstate): Likewise.
33005 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33007 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33008 (memchr): Do not use BP_SYM in weak_alias.
33009 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33010 (fegetenv): Do not use BP_SYM in versioned symbols.
33011 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33012 (fesetenv): Do not use BP_SYM in versioned symbols.
33013 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33014 (feupdateenv): Do not use BP_SYM in versioned symbols.
33015 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33016 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33017 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33018 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33019 (open64): Do not use BP_SYM in weak_alias.
33020 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33021 (fegetenv): Do not use BP_SYM in versioned symbols.
33022 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33023 (fesetenv): Do not use BP_SYM in versioned symbols.
33024 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33025 (feupdateenv): Do not use BP_SYM in versioned symbols.
33026 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33027 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33028 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33029 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33030 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33031 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33034 (__libc_start_main): Do not use BP_SYM.
33036 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33039 redundant return line.
33041 (denorm): Likewise.
33042 (dbl_mp): Likewise.
33043 (sub_magnitudes): Likewise.
33049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33051 (denorm): Likewise.
33052 (dbl_mp): Likewise.
33053 (sub_magnitudes): Likewise.
33060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33063 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33066 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33067 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33069 of __mul for squares.
33070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33075 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33077 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33080 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33082 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33083 prototype or function definition. Rename ubp_* variables and
33084 parameters. Remove argv definitions conditional on
33085 [__BOUNDED_POINTERS__].
33086 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33087 * elf/dl-runtime.c (_dl_fixup): Likewise.
33088 * include/set-hooks.h (RUN_HOOK): Likewise.
33089 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33091 * string/strcpy.c (strcpy): Do not use __unbounded.
33092 * sysdeps/generic/frame.h (struct layout): Likewise.
33093 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33094 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33095 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33096 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33097 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33098 (__backtrace): Likewise.
33099 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33101 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33102 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33103 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33105 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33106 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33107 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33108 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33109 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33110 Do not use __unbounded.
33111 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33112 Rename __unboundedrlimits parameter to rlimits in prototype.
33113 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33114 Do not use __unbounded.
33115 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33116 not use __ptrvalue.
33117 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33118 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33119 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33120 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33121 __ptrvalue or __unbounded.
33122 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33123 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33125 (__new_msgctl): Do not use __ptrvalue.
33126 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33128 (__libc_msgrcv): Do not use __ptrvalue.
33129 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33130 startup_info): Do not use __unbounded.
33131 (__libc_start_main): Likewise. Rename ubp_* variables and
33132 parameters. Remove argv definitions conditional on
33133 [__BOUNDED_POINTERS__].
33134 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33136 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33140 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33142 (__new_shmctl): Do not use __ptrvalue.
33143 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33144 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33146 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33148 (__libc_sigaction): Likewise.
33149 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33150 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33152 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33154 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33156 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33158 * string/mempcpy.c: Implement by calling memcpy.
33160 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33168 values in the mantissa.
33170 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33171 minimize writes to Z.
33172 (sub_magnitudes): Simplify code a bit.
33174 2013-02-12 Roland McGrath <roland@hack.frob.com>
33176 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33177 from the message. The linker prefixes all warnings with that already.
33179 2013-02-12 Andreas Schwab <schwab@suse.de>
33182 * posix/regexec.c (extend_buffers): Add parameter min_len.
33183 (check_matching): Pass minimum needed length.
33184 (clean_state_log_if_needed): Likewise.
33185 (get_subexp): Likewise.
33186 * posix/Makefile (tests): Add bug-regex34.
33187 (bug-regex34-ENV): Define.
33188 * posix/bug-regex34.c: New file.
33191 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33192 elements compare against the byte sequence of it, not its name.
33193 * posix/Makefile (tests): Add bug-regex35.
33194 (bug-regex35-ENV): Define.
33195 * posix/bug-regex35.c: New file.
33197 2013-02-11 Tom de Vries <tom@codesourcery.com>
33199 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33201 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33202 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33203 (CHECK_EOL): Add undef.
33205 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33207 * bits/stdlib-bsearch.h: New file.
33208 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33209 * stdlib/stdlib.h: Likewise.
33211 2013-02-11 Roland McGrath <roland@hack.frob.com>
33213 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33214 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33216 * manual/search.texi (Array Search Function): Add missing const in
33218 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33219 declaration to use rlim_t.
33220 (Basic Scheduling Functions): Remove erroneous const from
33221 sched_getparam prototype. Remove erroneous * from
33222 sched_get_priority_max and sched_get_priority_min prototypes.
33223 (Resource Usage): Fix summary @comment on vtimes to refer to
33224 sys/vtimes.h rather than vtimes.h.
33225 Add missing *s in vtimes prototype.
33226 (Limits on Resources): Fix ulimit prototype to return long int.
33227 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33228 prototypes to use long int rather than double.
33229 (BSD Random): Fix initstate and setstate to use char *, not void *.
33230 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33231 prototype to make second argument 'struct aiocb64 *const[]'.
33232 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33233 (Status of AIO Operations): Remove erroneous const in aio_return and
33234 aio_return64 prototypes.
33235 (Synchronizing I/O): Fix sync prototype to return void.
33236 * manual/startup.texi (Suboptions): Remove an erroneous const in
33237 getsubopt prototype.
33238 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33239 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33240 use size_t rather than int.
33241 (Scanning All Users): Likewise for getpwent_r.
33242 (Setting Groups): Add missing const to setgroups prototype.
33243 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33244 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33245 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33246 'const void *' rather than 'const char *'.
33247 (Host Address Functions): Likewise for inet_ntop.
33248 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33249 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33250 ssize_t for return value.
33251 (Sending Data): Likewise for send, sendto, sendmsg.
33252 (Socket Option Functions): Add a missing const in setsockopt prototype.
33253 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33254 use wchar_t for the argument.
33255 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33256 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33258 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33259 double/float/long double for second argument.
33260 Fix return types of significand, significandf, significandl.
33261 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33262 argument in fchmod prototype.
33263 (File Owner): Use uid_t and gid_t in fchown prototype.
33264 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33265 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33266 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33267 use 'const struct dirent **' as argument types to CMP function pointer
33269 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33270 (File Times): Fix summary magic @comment for struct utimbuf and utime
33271 to refer to utime.h, not time.h.
33272 * manual/string.texi (Argz Functions): Add missing const in
33273 argz_extract and argz_next prototypes.
33274 (Finding Tokens in a String): Likewise for basename.
33275 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33276 (Copying and Concatenation): Fix typo in wmemmove prototype.
33277 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33278 (Signal Stack): Remove erroneous const in sigstack prototype.
33279 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33281 (Simple Calendar Time): Likewise for stime.
33282 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33284 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33285 say sys/sysctl.h instead.
33286 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33287 and vsyslog prototypes.
33289 2013-02-11 Tom de Vries <tom@codesourcery.com>
33291 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33294 2013-02-11 Roland McGrath <roland@hack.frob.com>
33296 * misc/sys/mman.h: Fix typo in mremap comment.
33298 2013-02-08 Roland McGrath <roland@hack.frob.com>
33300 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33301 the '\0' terminator.
33303 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33306 * debug/segfault.c: Don't include <bp-checks.h>.
33307 * sysdeps/generic/bp-checks.h: Remove file.
33308 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33309 (__GETDENTS): Don't use CHECK_N.
33310 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33311 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33312 (__getgroups): Don't use CHECK_N.
33313 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33314 (setgroups): Don't use CHECK_N.
33315 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33316 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33317 (__libc_msgrcv): Don't use CHECK_N.
33318 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33319 (__libc_msgsnd): Don't use CHECK_N.
33320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33322 (__libc_pread): Don't use CHECK_N.
33323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33324 include <bp-checks.h>.
33325 (__libc_pread64): Don't use CHECK_N.
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33327 include <bp-checks.h>.
33328 (__libc_pwrite): Don't use CHECK_N.
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33330 include <bp-checks.h>.
33331 (__libc_pwrite64): Don't use CHECK_N.
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33334 (__libc_pread): Don't use CHECK_N.
33335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33336 include <bp-checks.h>.
33337 (__libc_pread64): Don't use CHECK_N.
33338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33339 include <bp-checks.h>.
33340 (__libc_pwrite): Don't use CHECK_N.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33342 include <bp-checks.h>.
33343 (__libc_pwrite64): Don't use CHECK_N.
33344 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33345 (do_pread): Don't use CHECK_N.
33346 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33347 (do_pread64): Don't use CHECK_N.
33348 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33349 (do_pwrite): Don't use CHECK_N.
33350 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33351 (do_pwrite64): Don't use CHECK_N.
33352 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33353 (__libc_readv): Don't use CHECK_N.
33354 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33355 (semop): Don't use CHECK_N.
33356 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33358 (semtimedop): Don't use CHECK_N.
33359 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33360 (__libc_pread): Don't use CHECK_N.
33361 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33363 (__libc_pread64): Don't use CHECK_N.
33364 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33366 (__libc_pwrite): Don't use CHECK_N.
33367 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33369 (__libc_pwrite64): Don't use CHECK_N.
33370 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33372 (__libc_msgrcv): Don't use CHECK_N.
33373 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33374 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33375 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33376 (__libc_writev): Don't use CHECK_N.
33378 2013-02-08 Roland McGrath <roland@hack.frob.com>
33380 * string/strcpy.c: Removed unused variable.
33382 * Makeconfig (+sysdep-includes): Define with := rather than =.
33383 Use an existing include/ subdir of each sysdeps dir before it.
33385 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33387 * nscd/connection.c (register_traced_file): Comment function.
33388 [HAVE_INOTIFY] (union __inev): Define.
33389 [HAVE_INOTIFY] (inotify_check_files): New function.
33390 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33391 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33393 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33395 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33397 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33398 loaded if not already and that a failure is permanent.
33400 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33403 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33404 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33406 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33409 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33410 (CHECK_1_NULL_OK): Likewise.
33411 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33412 (__fxstat): Do not use CHECK_1.
33413 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33415 (___fxstat64): Do not use CHECK_1.
33416 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33418 (__fxstatat): Do not use CHECK_1.
33419 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33421 (__fxstatat64): Do not use CHECK_1.
33422 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33424 (__fxstat): Do not use CHECK_1.
33425 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33427 (__fxstatat): Do not use CHECK_1.
33428 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33430 (__getresgid): Do not use CHECK_1.
33431 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33433 (__getresuid): Do not use CHECK_1.
33434 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33436 (__lxstat): Do not use CHECK_1.
33437 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33439 (__old_msgctl): Do not use CHECK_1.
33440 (__new_msgctl): Likewise.
33441 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33443 (__new_setrlimit): Do not use CHECK_1.
33444 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33446 (__old_shmctl): Do not use CHECK_1.
33447 (__new_shmctl): Likewise.
33448 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33450 (__xstat): Do not use CHECK_1.
33451 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33452 (__lxstat): Do not use CHECK_1.
33453 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33455 (___lxstat64): Do not use CHECK_1.
33456 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33457 (__old_msgctl): Do not use CHECK_1.
33458 (__new_msgctl): Likewise.
33459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33461 (__gettimeofday): Do not use CHECK_1.
33462 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33463 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33464 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33466 (__gettimeofday): Do not use CHECK_1.
33467 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33468 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33469 (__new_shmctl): Do not use CHECK_1.
33470 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33472 (do_sigtimedwait): Do not use CHECK_1.
33473 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33475 (do_sigwaitinfo): Do not use CHECK_1.
33476 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33478 (msgctl): Do not use CHECK_1.
33479 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33481 (shmctl): Do not use CHECK_1.
33482 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33483 (ustat): Do not use CHECK_1.
33484 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33486 (__fxstat): Do not use CHECK_1.
33487 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33489 (__fxstatat): Do not use CHECK_1.
33490 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33492 (__lxstat): Do not use CHECK_1.
33493 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33495 (__xstat): Do not use CHECK_1.
33496 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33497 (__xstat): Do not use CHECK_1.
33498 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33499 (___xstat64): Do not use CHECK_1.
33502 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33504 (CHECK_BOUNDS_HIGH): Likewise.
33505 * string/strcpy.c: Do not include <bp-checks.h>.
33506 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33508 2013-02-07 Roland McGrath <roland@hack.frob.com>
33510 * nscd/nscd-client.h (__nscd_drop_map_ref):
33511 Add __attribute__ ((unused)).
33512 * nis/nss-nisplus.h (niserr2nss): Likewise.
33514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33515 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33517 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33518 Remove inline keyword.
33519 * include/rounding-mode.h (round_away): Likewise.
33520 * libio/wfileops.c (adjust_wide_data): Likewise.
33521 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33522 (__m128i_strloadu_tolower): Likewise.
33523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33524 (__m128i_strloadu_tolower): Likewise.
33525 * time/mktime.c (ydhms_diff): Likewise.
33526 * locale/elem-hash.h (elem_hash): Likewise.
33527 * locale/setlocale.c (setdata): Likewise.
33528 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33529 (re_string_wchar_at): Likewise.
33530 (bitset_not, bitset_merge, bitset_mask): Likewise.
33531 [!(__GNUC__ > 3)] (inline): Remove macro.
33532 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33533 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33534 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33535 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33536 * string/memcmp.c (memcmp_bytes): Likewise.
33537 * locale/programs/locarchive.c (compute_hashval): Likewise.
33538 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33539 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33540 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33541 * nss/getent.c (print_rpc, print_protocols): Likewise.
33542 (print_passwd, print_group, print_aliases): Likewise.
33543 * nis/nss-nisplus.h (niserr2nss): Likewise.
33544 * nscd/connections.c (restart_p): Likewise.
33545 Change return type to bool.
33547 2013-02-05 Roland McGrath <roland@hack.frob.com>
33549 * Makeconfig (all-Depend-files): Add existing
33550 $(sorted-subdirs:=/Depend) files.
33551 (all-subdirs): Remove nss.
33552 * sysdeps/unix/inet/Subdirs: Add it here instead.
33553 * hesiod/Depend: New file.
33555 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33556 instead of calling alloca.
33558 * io/lseek.c (__lseek): Rename to __libc_lseek.
33559 Define __lseek as an alias.
33561 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33563 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33565 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33566 else clause and remove check for non-standard endianness.
33568 2013-02-04 David S. Miller <davem@davemloft.net>
33570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33572 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33575 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33576 (__ubp_memchr): Remove prototype.
33577 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33578 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33579 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33580 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33581 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33583 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33584 (__ubp_memchr): Likewise.
33585 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33586 (__ubp_memchr): Likewise.
33587 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33588 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33589 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33590 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33592 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33593 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33594 (__getcwd): Do not use CHECK_STRING.
33595 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33597 (__real_chown): Do not use CHECK_STRING.
33598 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33600 (fchownat): Do not use CHECK_STRING.
33601 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33603 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33605 (__lchown): Do not use CHECK_STRING.
33606 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33607 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33608 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33609 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33611 include <bp-checks.h>.
33612 (truncate64): Do not use CHECK_STRING.
33613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33615 (__real_chown): Do not use CHECK_STRING.
33616 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33618 (__lchown): Do not use CHECK_STRING.
33619 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33621 (__chown): Do not use CHECK_STRING.
33622 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33624 (truncate64): Do not use CHECK_STRING.
33625 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33627 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33628 (__xmknod): Do not use CHECK_STRING.
33629 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33631 (__xmknodat): Do not use CHECK_STRING.
33632 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33633 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33635 2013-02-04 Andreas Schwab <schwab@suse.de>
33638 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33639 * include/netdb.h: Likewise for h_errno.
33640 * elf/tst-stackguard1.c: Include <tls.h>.
33642 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33644 * elf/link.h (struct link_map): Extend the l_addr comment.
33645 * include/link.h (struct link_map): Likewise.
33647 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33650 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33651 (BOUNDED_1): Remove macro.
33652 * debug/backtrace.c: Don't include <bp-checks.h>.
33653 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33654 (__backtrace): Likewise.
33655 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33657 (__backtrace): Don't use BOUNDED_1.
33658 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33660 (__backtrace): Don't use BOUNDED_1.
33661 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33662 (__backtrace): Don't use BOUNDED_1.
33663 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33664 (shmat): Don't use BOUNDED_N.
33666 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33669 * sysdeps/generic/bp-start.h: Remove file.
33670 * csu/libc-start.c: Don't include <bp-start.h>.
33671 (LIBC_START_MAIN): Set up __environ directly instead of using
33672 INIT_ARGV_and_ENVIRON.
33673 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33677 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33679 (CHECK_FCNTL): Likewise.
33680 (CHECK_N_PAGES): Likewise.
33683 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33685 (CHECK_SIGSET_NULL_OK): Likewise.
33686 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33688 (sigpending): Don't use CHECK_SIGSET.
33689 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33691 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33692 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33694 (do_sigsuspend): Don't use CHECK_SIGSET.
33695 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33697 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33698 (do_sigwait): Don't use CHECK_SIGSET.
33699 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33701 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33702 include <bp-checks.h>.
33703 (sigpending): Don't use CHECK_SIGSET.
33704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33705 include <bp-checks.h>.
33706 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33707 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33709 (sigpending): Don't use CHECK_SIGSET.
33710 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33712 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33715 * sysdeps/generic/bp-semctl.h: Remove file.
33716 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33717 <bp-checks.h> and <bp-semctl.h>.
33718 (__old_semctl): Don't use CHECK_SEMCTL.
33719 (__new_semctl): Likewise.
33720 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33722 (__old_semctl): Don't use CHECK_SEMCTL.
33723 (__new_semctl): Likewise.
33724 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33725 <bp-checks.h> and <bp-semctl.h>.
33726 (__old_semctl): Don't use CHECK_SEMCTL.
33727 (__new_semctl): Likewise.
33728 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33729 <bp-checks.h> and <bp-semctl.h>.
33730 (semctl): Don't use CHECK_SEMCTL.
33733 * Makerules (elide-bp-thunks): Remove variable.
33734 (elide-routines.oS): Don't use $(elide-bp-thunks).
33735 (elide-routines.os): Likewise.
33736 (elide-routines.o): Likewise.
33737 (elide-routines.op): Likewise.
33738 (elide-routines.og): Likewise.
33739 (objects): Don't use $(bp-thunks).
33740 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33742 (common-generated): Do not add s-proto-bp.d.
33743 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33746 Do not generate makefile rules for bounded-pointer thunks.
33747 * sysdeps/generic/bp-thunks.h: Remove file.
33748 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33749 * sysdeps/unix/s-proto-bp.S: Likewise.
33752 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33753 parts of result separately when argument is not close to line from
33754 -i to i and one part of argument is small.
33755 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33756 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33757 * math/libm-test.inc (cacos_test): Add more tests.
33758 (casin_test): Likewise.
33759 (casinh_test): Likewise.
33760 * sysdeps/i386/fpu/libm-test-ulps: Update.
33761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33763 2013-01-31 David S. Miller <davem@davemloft.net>
33765 * po/de.po: Update from translation team.
33767 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33769 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33771 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33773 * configure.in (_AC_PROG_CC_C89): New definition.
33774 * configure: Regenerate.
33776 * configure.in (AC_PROG_CPP): New definition.
33777 * configure: Regenerate.
33779 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33781 * debug/tst-backtrace.h: New file.
33782 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33783 (ret): Remove variable.
33785 (FAIL): Remove macro.
33786 (NO_INLINE): Likewise.
33787 (fn1): Use match function instead of strstr.
33788 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33789 (ret): Remove variable.
33791 (FAIL): Remove macro.
33792 (NO_INLINE): Likewise.
33793 (fn): Use match function instead of strstr.
33794 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33795 (ret): Remove variable.
33797 (FAIL): Remove macro.
33798 (NO_INLINE): Likewise.
33799 (handle_signal): Use match function instead of strstr.
33800 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33801 (ret): Remove variable.
33803 (FAIL): Remove macro.
33804 (NO_INLINE): Likewise.
33805 (handle_signal): Use match function instead of strstr.
33807 2013-01-23 Roland McGrath <roland@hack.frob.com>
33809 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33811 2013-01-23 David S. Miller <davem@davemloft.net>
33813 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33814 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33815 argument of CAS if possible.
33816 * sysdeps/sparc/sparc64/bits/atomic.h
33817 (__arch_compare_and_exchange_val_32_acq): Likewise.
33818 (__arch_compare_and_exchange_val_64_acq): Likewise.
33820 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33822 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33823 * sysdeps/posix/ulimit.c: ... this.
33824 Include <limits.h>.
33825 * sysdeps/unix/bsd/ulimit.c: Remove file.
33827 2013-01-23 Adam Conrad <adconrad@0c3.net>
33829 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33830 (LDFLAGS-tst-array5): Likewise.
33832 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33835 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33836 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33837 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33838 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33840 2013-01-21 David S. Miller <davem@davemloft.net>
33842 * sysdeps/sparc/backtrace.c: New file.
33843 * sysdeps/sparc/sparc32/backtrace.h: New file.
33844 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33845 * sysdeps/sparc/sparc64/backtrace.h: New file.
33846 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33847 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33850 2013-01-21 Andreas Schwab <schwab@suse.de>
33853 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33856 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33862 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33863 Mark Mitchell <mark@codesourcery.com>
33864 Tom de Vries <tom@codesourcery.com>
33865 Paul Pluzhnikov <ppluzhnikov@google.com>
33867 * debug/tst-backtrace2.c: New file.
33868 * debug/tst-backtrace3.c: Likewise.
33869 * debug/tst-backtrace4.c: Likewise.
33870 * debug/tst-backtrace5.c: Likewise.
33871 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33872 (CFLAGS-tst-backtrace3.c): Likewise.
33873 (CFLAGS-tst-backtrace4.c): Likewise.
33874 (CFLAGS-tst-backtrace5.c): Likewise.
33875 (LDFLAGS-tst-backtrace2): Likewise.
33876 (LDFLAGS-tst-backtrace3): Likewise.
33877 (LDFLAGS-tst-backtrace4): Likewise.
33878 (LDFLAGS-tst-backtrace5): Likewise.
33879 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33880 tst-backtrace4 and tst-backtrace5.
33882 2013-01-18 Anton Blanchard <anton@samba.org>
33883 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33886 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33887 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33888 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33890 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33891 "+r" and remove output regs list as redundant. Add explicit inline
33892 asm to specify register of return val to work around compiler codegen
33893 bug. Remove (int) cast on return value. Add return type parameter to
33894 use in macro so that this macro does not truncate return value for
33896 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33897 pass to INTERNAL_VSYSCALL_NCS.
33898 (INLINE_VSYSCALL): Add 'long int' as return type to
33899 INTERNAL_VSYSCALL_NCS macro invocation.
33900 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33901 INTERNAL_VSYSCALL_NCS macro invocation.
33902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33904 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33907 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33908 Fix application of SIMD FP exception mask.
33910 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33911 mp_no from a power of two.
33912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33913 __mpexp_twomm1. Use __pow_mp.
33915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33918 2013-01-17 David S. Miller <davem@davemloft.net>
33920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33922 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33925 * include/complex.h: Condition contents on [!_COMPLEX_H].
33926 (__kernel_casinhf): New prototype.
33927 (__kernel_casinh): Likewise.
33928 (__kernel_casinhl): Likewise.
33929 * math/Makefile (libm_calls): Add k_casinh.
33930 * math/k_casinh.c: New file.
33931 * math/k_casinhf.c: Likewise.
33932 * math/k_casinhl.c: Likewise.
33933 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33934 finite nonzero arguments.
33935 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33936 finite nonzero arguments.
33937 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33938 finite nonzero arguments.
33939 * math/s_casinh.c: Do not include <float.h>.
33940 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33941 * math/s_casinhf.c: Do not include <float.h>.
33942 (__casinhf): Move code for finite nonzero arguments to
33944 * math/s_casinhl.c: Do not include <float.h>.
33945 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33947 (__casinhl): Move code for finite nonzero arguments to
33949 * math/libm-test.inc (cacos_test): Add more tests.
33950 * sysdeps/i386/fpu/libm-test-ulps: Update.
33951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33955 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33956 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33957 [!HAVE_MREMAP]: Remove [defined linux] case.
33958 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33960 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33962 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33964 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33966 * elf/elf.h (R_386_SIZE32): New relocation.
33967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33969 (elf_machine_rela): Likewise.
33970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33971 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33973 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33975 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33976 (FP_FAST_FMA): Do not define.
33977 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33978 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33979 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33980 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33981 !_SOFT_FLOAT]: Likewise.
33982 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33985 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33986 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33987 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33988 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33989 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33990 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33993 2013-01-16 Andreas Schwab <schwab@suse.de>
33996 * include/stdlib.h (__mktemp): Add declaration.
33997 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33998 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34000 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34002 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34004 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34005 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34006 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34008 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34009 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34013 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34014 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34017 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34018 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34020 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34022 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34024 2013-01-15 David S. Miller <davem@davemloft.net>
34026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34027 trunc{,f} to libm-sysdep_routes.
34028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34038 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34039 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34040 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34041 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34042 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34043 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34046 nearbyint{,f} to libm-sysdep_routes.
34047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34058 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34060 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34061 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34064 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34065 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34067 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34068 libc_feholdexcept and libc_fesetenv.
34070 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34072 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34074 2013-01-14 David S. Miller <davem@davemloft.net>
34076 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34077 (SPARC_ASM_VIS2_IFUNC): Likewise.
34078 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34080 use of 'siam' instruction.
34081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34114 routines to libm-sysdep_routines.
34115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34118 fdim/fdimf to libm-sysdep_routines.
34119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34127 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34128 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34129 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34130 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34132 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34134 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34135 to optimize copies.
34137 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34142 local variable MPTWO.
34143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34146 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34148 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34151 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34153 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34155 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34157 * manual/pattern.texi (glob_t): Document gl_flags.
34158 (glob64_t): Likewise.
34160 2013-01-11 David S. Miller <davem@davemloft.net>
34162 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34163 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34164 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34165 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34166 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34167 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34168 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34169 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34170 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34171 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34172 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34173 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34174 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34177 sparc V9 rather than using V8 code.
34178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34181 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34183 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34186 2013-01-11 Roland McGrath <roland@hack.frob.com>
34188 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34189 not in the main loop.
34190 * configure: Regenerated.
34192 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34194 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34195 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34197 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34198 [!__GLIBC_HAVE_LONG_LONG] case.
34199 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34200 condition to just #else.
34201 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34202 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34203 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34204 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34206 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34207 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34208 #elif condition to just #else.
34209 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34210 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34211 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34212 #elif condition to just #else.
34214 2013-01-11 Steve Ellcey <sellcey@mips.com>
34216 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34217 (EF_MIPS_ARCH_64): Fix value.
34218 (EF_MIPS_ARCH_32R2): New.
34219 (EF_MIPS_ARCH_64R2): New.
34221 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34223 * Makeconfig (+link-pie-before-libc): New.
34224 (+link-pie-after-libc): Likewise.
34225 (+link-pie-tests): Likewise.
34226 (+link-pie): Rewritten.
34227 (link-before-libc): Remove $(config-LDFLAGS).
34228 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34229 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34230 (config-LDFLAGS): Renamed to ...
34231 (rtld-LDFLAGS): This.
34232 (rtld-tests-LDFLAGS): New macro.
34233 (link-libc-rpath-link): Likewise.
34234 (link-libc-tests-rpath-link): Likewise.
34235 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34236 (link-libc): Prepand $(link-libc-rpath-link).
34237 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34238 (test-program-prefix): New macro.
34239 (test-via-rtld-prefix): Likewise.
34240 (test-program-cmd): Likewise.
34241 (host-test-program-cmd): Likewise.
34242 * Makefile ($(common-objpfx)testrun.sh): Replace
34243 $(run-program-prefix) with $(test-program-prefix).
34244 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34246 ($(common-objpfx)shlib.lds): Likewise.
34247 (build-module-helper): Likewise.
34248 ($(common-objpfx)format.lds): Likewise.
34249 * Rules (binaries-pie-tests): New.
34250 (binaries-pie-notests): Likewise.
34251 (binaries-pie): Rewritten.
34252 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34253 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34254 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34255 (make-test-out): Replace $(host-built-program-cmd) with
34256 $(host-test-program-cmd).
34257 * config.make.in (build-hardcoded-path-in-tests): New variable.
34258 * configure.in (--enable-hardcoded-path-in-tests): New configure
34260 (hardcoded_path_in_tests): New AC_SUBST.
34261 * configure: Regenerated.
34262 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34263 $(built-program-cmd) with $(test-program-cmd).
34264 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34265 (test_program_cmd): This.
34266 * elf/Makefile ($(objpfx)order.out): Run test with
34267 $(test-program-prefix).
34268 ($(objpfx)order2.out): Likewise.
34269 ($(objpfx)tst-initorder.out): Likewise.
34270 ($(objpfx)tst-initorder2.out): Likewise.
34271 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34272 $(test-program-cmd).
34273 ($(objpfx)tst-array1-static.out): Likewise.
34274 ($(objpfx)tst-array2.out): Likewise.
34275 ($(objpfx)tst-array3.out): Likewise.
34276 ($(objpfx)tst-array4.out): Likewise.
34277 ($(objpfx)tst-array5.out): Likewise.
34278 ($(objpfx)tst-array5-static.out): Likewise.
34279 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34280 $(test-program-cmd).
34281 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34282 $(run-program-prefix) with $(test-program-prefix).
34283 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34284 (test_program_prefix): This.
34285 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34286 $(run-program-prefix) with $(test-program-prefix).
34287 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34288 (test_program_prefix): This.
34289 * iconvdata/tst-tables.sh: Likewise.
34290 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34291 $(run-program-prefix) with $(test-program-prefix).
34292 ($(objpfx)tst-translit.out): Likewise.
34293 ($(objpfx)tst-gettext2.out): Likewise.
34294 ($(objpfx)tst-gettext4.out): Likewise.
34295 ($(objpfx)tst-gettext6.out): Likewise.
34296 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34297 (test_program_prefix): This.
34298 * intl/tst-gettext2.sh: Likewise.
34299 * intl/tst-gettext4.sh Likewise.
34300 * intl/tst-gettext6.sh: Likewise.
34301 * intl/tst-translit.sh: Likewise.
34302 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34303 with $(test-program-cmd).
34304 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34305 $(run-program-prefix) with $(test-program-prefix).
34306 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34307 (test_program_prefix): This.
34308 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34309 $(run-program-prefix) with $(test-program-prefix).
34310 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34311 (test_program_prefix): This.
34312 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34313 * posix/Makefile ($(objpfx)globtest.out): Replace
34314 $(run-via-rtld-prefix) and $(test-wrapper) with
34315 $(test-program-prefix) and $(test-via-rtld-prefix).
34316 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34317 $(test-program-prefix).
34318 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34319 $(host-test-program-cmd).
34320 (tst-spawn-ARGS): Likewise.
34321 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34322 $(test-program-prefix).
34323 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34324 (test_via_rtld_prefix): This.
34325 (test_wrapper): Renamed to ...
34326 (test_program_prefix): This.
34327 (run_program_prefix): Replaced by test_program_prefix.
34328 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34329 (test_program_prefix): This.
34330 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34331 with $(host-test-program-cmd).
34332 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34333 $(run-program-prefix) with $(test-program-prefix).
34334 ($(objpfx)tst-printf.out): Likewise.
34335 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34336 $(test-program-cmd).
34337 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34338 (test_program_prefix): This.
34339 * stdio-common/tst-unbputc.sh: Likewise.
34340 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34341 $(run-program-prefix) with $(test-program-prefix).
34342 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34343 (test_program_prefix): This.
34344 * string/Makefile ($(objpfx)tst-svc.out): Replace
34345 $(built-program-cmd) with $(test-program-cmd).
34347 2013-01-11 Andreas Jaeger <aj@suse.de>
34350 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34351 value. Sync with Linux 3.7.
34353 2013-01-10 David S. Miller <davem@davemloft.net>
34355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34356 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34357 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34359 2013-01-10 Roland McGrath <roland@hack.frob.com>
34361 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34363 * configure: Regenerated.
34365 2013-01-10 David S. Miller <davem@davemloft.net>
34367 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34368 sparc V9 rather than using V8 code.
34369 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34370 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34372 2013-01-10 Roland McGrath <roland@hack.frob.com>
34374 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34375 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34376 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34377 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34378 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34379 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34380 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34381 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34382 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34383 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34384 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34385 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34386 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34387 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34388 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34389 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34390 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34391 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34392 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34393 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34394 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34395 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34396 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34397 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34398 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34399 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34400 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34402 2013-01-10 David S. Miller <davem@davemloft.net>
34404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34406 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34408 * posix/Makefile (tests-static): New variable.
34409 (tests): Add $(tests-static).
34410 (tst-exec-static-ARGS): New variable.
34411 (tst-spawn-static-ARGS): Likewise.
34412 * posix/tst-exec-static.c: New file.
34413 * posix/tst-spawn-static.c: Likewise.
34414 * posix/tst-exec.c: Support run directly.
34415 * posix/tst-spawn.c: Likewise.
34417 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34419 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34421 * math/bits/mathcalls.h (llrint): Likewise.
34422 (llround): Likewise.
34423 * stdlib/stdlib.h (struct drand48_data): Likewise.
34424 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34425 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34426 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34428 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34430 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34431 (elf_greg_t): Likewise.
34432 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34433 (__jmp_buf): Likewise.
34434 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34436 (llrint): Likewise, for all definitions.
34437 (llrintl): Likewise.
34439 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34440 Remove [__GNUC__] condition.
34441 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34442 condition to just [__USE_ISOC99].
34443 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34445 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34448 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34449 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34451 (_POSIX_V6_ILP32_OFF32): Likewise.
34452 (_XBS5_ILP32_OFF32): Likewise.
34453 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34454 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34456 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34458 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34461 doubles __mpexp_twomm1. Adjust usage.
34462 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34465 2013-01-10 Andreas Schwab <schwab@suse.de>
34468 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34469 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34471 2013-01-09 David S. Miller <davem@davemloft.net>
34474 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34475 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34476 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34477 (TCP_FASTOPEN): Define.
34478 (tcp_repair_opt): New structure.
34479 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34481 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34482 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34483 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34484 (tcp_cookie_transactions): New structure.
34486 2013-01-09 Anton Blanchard <anton@samba.org>
34488 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34489 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34491 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34493 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34495 * include/features.h (__USE_ANSI): Remove.
34497 2013-01-09 Roland McGrath <roland@hack.frob.com>
34499 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34501 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34503 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34505 * sysdeps/s390/fpu/libm-test-ulps: Update.
34507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34509 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34513 (denorm): Likewise.
34514 (__mp_dbl): Likewise.
34515 (__dbl_mp): Likewise.
34516 (add_magnitudes): Likewise.
34517 (sub_magnitudes): Likewise.
34523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34527 (denorm): Likewise.
34528 (__mp_dbl): Likewise.
34529 (__dbl_mp): Likewise.
34530 (add_magnitudes): Likewise.
34531 (sub_magnitudes): Likewise.
34537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34541 (denorm): Likewise.
34542 (__mp_dbl): Likewise.
34543 (__dbl_mp): Likewise.
34544 (add_magnitudes): Likewise.
34545 (sub_magnitudes): Likewise.
34552 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34554 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34555 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34556 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34557 2 && __USE_EXTERN_INLINES]: Likewise.
34559 2013-01-08 Andreas Jaeger <aj@suse.de>
34562 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34564 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34565 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34567 2013-01-07 Anton Blanchard <anton@samba.org>
34569 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34570 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34571 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34572 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34573 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34574 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34575 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34576 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34580 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34581 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34582 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34584 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34585 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34587 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34588 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34589 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34590 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34591 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34592 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34593 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34594 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34595 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34596 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34598 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34599 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34601 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34603 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34604 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34605 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34606 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34607 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34608 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34609 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34610 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34613 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34615 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34616 (__MALLOC_PMT): Likewise.
34617 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34618 [__GNUC__], only on [_LIBC].
34619 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34620 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34621 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34622 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34623 forward declaration.
34624 (realloc_hook_ini): Likewise.
34625 (memalign_hook_ini): Likewise.
34626 (__libc_memalign): Do not use __MALLOC_PMT in variable
34628 (__libc_valloc): Likewise.
34629 (__libc_pvalloc): Likewise.
34630 (__libc_calloc): Likewise.
34631 (__posix_memalign): Likewise.
34634 * math/s_casinh.c: Include <float.h>.
34635 (__casinh): Do not do computation with squaring and square root
34636 for large arguments.
34637 * math/s_casinhf.c: Include <float.h>.
34638 (__casinhf): Do not do computation with squaring and square root
34639 for large arguments.
34640 * math/s_casinhl.c: Include <float.h>.
34641 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34642 (__casinhl): Do not do computation with squaring and square root
34643 for large arguments.
34644 * math/libm-test.inc (casin_test): Add more tests.
34645 (casinh_test): Likewise.
34646 * sysdeps/i386/fpu/libm-test-ulps: Update.
34647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34649 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34651 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34652 (__x86_64_raw_data_cache_size): Likewise.
34653 (__x86_64_data_cache_size_half): Likewise.
34654 (__x86_64_raw_data_cache_size_half): Likewise.
34655 (__x86_64_shared_cache_size): Likewise.
34656 (__x86_64_raw_shared_cache_size): Likewise.
34657 (__x86_64_shared_cache_size_half): Likewise.
34658 (__x86_64_raw_shared_cache_size_half): Likewise.
34659 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34661 (__x86_data_cache_size): This.
34662 (__x86_64_raw_data_cache_size): Renamed to ...
34663 (__x86_raw_data_cache_size): This.
34664 (__x86_64_data_cache_size_half): Renamed to ...
34665 (__x86_data_cache_size_half): This.
34666 (__x86_64_raw_data_cache_size_half): Renamed to ...
34667 (__x86_raw_data_cache_size_half): This.
34668 (__x86_64_shared_cache_size): Renamed to ...
34669 (__x86_shared_cache_size): This.
34670 (__x86_64_raw_shared_cache_size): Renamed to ...
34671 (__x86_raw_shared_cache_size): This.
34672 (__x86_64_shared_cache_size_half): Renamed to ...
34673 (__x86_shared_cache_size_half): This.
34674 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34675 (__x86_raw_shared_cache_size_half): This.
34676 * sysdeps/x86_64/memcpy.S: Updated.
34677 * sysdeps/x86_64/memset.S: Likewise.
34678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34682 2013-01-04 David S. Miller <davem@davemloft.net>
34684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34686 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34688 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34689 1 to avoid redefinition warning.
34690 (__USE_GNU): Don't define.
34691 (init_signaling_nan): Protoize.
34693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34695 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34697 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34699 (__cpymn): Likewise.
34700 (norm): Remove commented code.
34701 (denorm): Likewise.
34702 (__mp_dbl): Likewise.
34704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34705 (__cpymn): Likewise.
34706 (norm): Remove commented code.
34707 (denorm): Likewise.
34708 (__mp_dbl): Likewise.
34711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34712 mp_no value for 1.0 and 2.0.
34713 (norm): Use RADIXI instead of radixi.d.
34714 (denorm): Likewise.
34715 (__mul): Use 0.0 instead of zero.d.
34716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34717 mp_no value for 1.0 and 2.0.
34718 (norm): Use RADIXI instead of radixi.d.
34719 (denorm): Likewise.
34720 (__mul): Use 0.0 instead of zero.d.
34722 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34725 * math/s_casinh.c (__casinh): Reduce finite argument to first
34726 quadrant then set signs of results at the end.
34727 * math/s_casinhf.c (__casinhf): Likewise.
34728 * math/s_casinhl.c (__casinhl): Likewise.
34729 * math/libm-test.inc (casin_test): Add more tests.
34730 (casinh_test): Likewise.
34731 * sysdeps/i386/fpu/libm-test-ulps: Update.
34732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34736 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34738 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34740 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34742 (denorm): Likewise.
34743 (__mp_dbl): Likewise.
34746 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34747 and adjust the header comment.
34749 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34750 variable name from declaration.
34752 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34755 Initialize COMMON_CPUID_INDEX_7 element.
34756 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34757 (CPUID_RTM): Likewise.
34758 (HAS_RTM): Likewise.
34759 (COMMON_CPUID_INDEX_7): New enum.
34761 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34764 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34765 size is zero, record memory as freed.
34767 2013-01-03 Andreas Jaeger <aj@suse.de>
34769 * po/ia.po: Add new Interlingua translation.
34771 2012-01-03 Allan McRae <allan@archlinux.org>
34773 * locale/programs/localedef.c: Fix description of '--posix' flag.
34775 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34777 * NEWS: Update dates in second copyright notice.
34778 * README: Update copyright dates in example.
34779 * manual/libc.texinfo: Update copyright dates.
34780 * scripts/test-installation.pl: Update copyright date in --version
34783 * hurd/ctty-input.c: Fix copyright notice formatting.
34784 * hurd/ctty-output.c: Likewise.
34785 * hurd/dtable.c: Likewise.
34786 * hurd/hurd-raise.c: Likewise.
34787 * hurd/hurdprio.c: Likewise.
34788 * hurd/msgportdemux.c: Likewise.
34789 * misc/sys/file.h: Likewise.
34790 * misc/sys/ioctl.h: Likewise.
34791 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34792 * sysdeps/mach/hurd/chdir.c: Likewise.
34793 * sysdeps/mach/hurd/fchdir.c: Likewise.
34794 * sysdeps/mach/hurd/rename.c: Likewise.
34795 * sysdeps/mach/hurd/rmdir.c: Likewise.
34796 * sysdeps/mach/hurd/seekdir.c: Likewise.
34797 * sysdeps/mach/hurd/setsid.c: Likewise.
34798 * sysdeps/posix/wait3.c: Likewise.
34800 * All files with FSF copyright notices: Update copyright dates
34801 using scripts/update-copyrights.
34802 * intl/plural.c: Regenerated.
34803 * locale/programs/charmap-kw.h: Likewise.
34804 * locale/programs/locfile-kw.h: Likewise.
34806 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34808 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34812 calculation loop and add branch prediction.
34814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34815 check access beyond bounds of m1np.
34817 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34819 (__inv): Remove local variable MPTWO to use the global
34821 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34825 MP3HALFS static const.
34827 2013-01-01 David S. Miller <davem@davemloft.net>
34829 * po/ca.po: Update from translation team.
34831 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34833 * scripts/update-copyrights: New file.
34834 * Makeconfig: Reformat copyright notice.
34835 * ctype/ctype.h: Likewise.
34836 * debug/swprintf_chk.c: Likewise.
34837 * elf/dl-cache.c: Likewise.
34838 * elf/dl-debug.c: Likewise.
34839 * elf/dl-object.c: Likewise.
34840 * grp/initgroups.c: Likewise.
34841 * hurd/Makefile: Likewise.
34842 * hurd/hurd/signal.h: Likewise.
34843 * hurd/hurdfault.c: Likewise.
34844 * hurd/hurdioctl.c: Likewise.
34845 * hurd/hurdlookup.c: Likewise.
34846 * hurd/intr-msg.c: Likewise.
34847 * iconv/gconv_open.c: Likewise.
34848 * libio/swprintf.c: Likewise.
34849 * locale/lc-ctype.c: Likewise.
34850 * locale/nl_langinfo.c: Likewise.
34851 * mach/Machrules: Likewise.
34852 * mach/Makefile: Likewise.
34853 * malloc/obstack.h: Likewise.
34854 * manual/Makefile: Likewise.
34855 * manual/tsort.awk: Likewise.
34856 * misc/bits/stab.def: Likewise.
34857 * nis/nis_print_group_entry.c: Likewise.
34858 * nis/nis_table.c: Likewise.
34859 * nis/nss_compat/compat-pwd.c: Likewise.
34860 * nis/nss_compat/compat-spwd.c: Likewise.
34861 * po/Makefile: Likewise.
34862 * posix/fnmatch.c: Likewise.
34863 * posix/regex.h: Likewise.
34864 * resolv/Makefile: Likewise.
34865 * resolv/nss_dns/dns-network.c: Likewise.
34866 * resolv/res_hconf.c: Likewise.
34867 * scripts/gen-sorted.awk: Likewise.
34868 * soft-fp/soft-fp.h: Likewise.
34869 * stdio-common/printf.h: Likewise.
34870 * stdlib/monetary.h: Likewise.
34871 * stdlib/random.c: Likewise.
34872 * stdlib/random_r.c: Likewise.
34873 * sysdeps/generic/Makefile: Likewise.
34874 * sysdeps/gnu/Makefile: Likewise.
34875 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34898 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34899 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34900 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34901 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34903 * sysdeps/mach/hurd/errnos.awk: Likewise.
34904 * sysdeps/mach/hurd/fork.c: Likewise.
34905 * sysdeps/mach/hurd/getcwd.c: Likewise.
34906 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34907 * sysdeps/mach/hurd/mmap.c: Likewise.
34908 * sysdeps/mach/hurd/utimes.c: Likewise.
34909 * sysdeps/mach/hurd/xmknod.c: Likewise.
34910 * sysdeps/posix/profil.c: Likewise.
34911 * sysdeps/posix/readdir_r.c: Likewise.
34912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34913 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34914 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34915 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34917 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34918 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34919 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34921 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34923 * sysdeps/pthread/lio_listio.c: Likewise.
34924 * sysdeps/sparc/dl-procinfo.h: Likewise.
34925 * sysdeps/unix/i386/sysdep.S: Likewise.
34926 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34927 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34928 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34929 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34931 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34932 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34933 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34934 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34935 * sysdeps/wordsize-32/divdi3.c: Likewise.
34936 * time/sys/time.h: Likewise.
34937 * wcsmbs/Makefile: Likewise.
34939 2013-01-01 David S. Miller <davem@davemloft.net>
34941 * po/fr.po: Update from translation team.
34943 * catgets/gencat.c: Update copyright year.
34944 * csu/version.c: Likewise.
34945 * debug/catchsegv.sh: Likewise.
34946 * debug/pcprofiledump.c: Likewise.
34947 * debug/xtrace.sh: Likewise.
34948 * elf/ldconfig.c: Likewise.
34949 * elf/ldd.bash.in: Likewise.
34950 * elf/pldd.c: Likewise.
34951 * elf/sotruss.ksh: Likewise.
34952 * elf/sprof.c: Likewise.
34953 * iconv/iconv_prog.c: Likewise.
34954 * iconv/iconvconfig.c: Likewise.
34955 * locale/programs/locale.c: Likewise.
34956 * locale/programs/localedef.c: Likewise.
34957 * login/programs/pt_chown.c: Likewise.
34958 * malloc/memusage.sh: Likewise.
34959 * malloc/memusagestat.c: Likewise.
34960 * malloc/mtrace.pl: Likewise.
34961 * nscd/nscd.c: Likewise.
34962 * nss/getent.c: Likewise.
34963 * nss/makedb.c: Likewise.
34964 * posix/getconf.c: Likewise.
34966 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34968 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34971 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34973 * math/bits/mathcalls.h (modf): Use __nonnull.
34975 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34977 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34978 (split): Use macro CN instead of the bare value.
34979 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34982 instead of the bare value.
34983 (power1): Likewise.
34985 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34989 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34991 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34993 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34995 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34996 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34998 2012-12-28 Andreas Jaeger <aj@suse.de>
35000 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35001 values are from Linux 3.7.
35003 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35004 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35006 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35008 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35011 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35013 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35014 variables with preprocessor constants.
35015 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35016 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35017 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35019 2012-12-27 Bruno Haible <bruno@clisp.org>
35022 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35025 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35028 and use variable directly.
35029 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35031 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35033 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35034 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35038 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35039 include directive. Remove local variable MPONE.
35040 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35041 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35044 2012-12-25 David S. Miller <davem@davemloft.net>
35046 * version.h (RELEASE): Set to "development".
35047 (VERSION): Set to "2.17.90".
35048 * NEWS: Add 2.18 section.
35050 2012-12-21 David S. Miller <davem@davemloft.net>
35052 * po/hr.po: Update from translation team.
35054 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35056 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35058 2012-12-19 Steve Ellcey <sellcey@mips.com>
35060 * NEWS: Mention new memcpy for MIPS.
35062 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35064 * manual/contrib.texi (Contributors): Spelling correction.
35066 2012-12-15 David S. Miller <davem@davemloft.net>
35068 * po/ru.po: Update from translation team.
35070 2012-12-13 David S. Miller <davem@davemloft.net>
35072 * NEWS: Mention IFUNC testsuite enhancements.
35074 * po/pl.po: Update from translation team.
35075 * po/bg.po: Likewise.
35077 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35078 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35080 2012-12-11 David S. Miller <davem@davemloft.net>
35082 * po/sv.po: Update from translation team.
35084 * po/vi.po: Update from translation team.
35086 * po/cs.po: Update from translation team.
35088 * po/de.po: Update from translation team.
35089 * po/eo.po: Likewise.
35090 * po/nl.po: Likewise.
35092 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35095 * manual/argp.texi (Argp Helper Functions): Move node to follow
35096 Argp Parsing State.
35099 * manual/conf.texi (Limits on File System Capacity): Mention if
35100 terminating null is included in the max size.
35102 2012-12-10 Andreas Jaeger <aj@suse.de>
35104 * po/cs.po: Update from translation team.
35106 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35108 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35109 void pointer and cast to uintptr_t.
35110 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35112 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35113 * sysdeps/s390/s390-64/memset.S: Likewise.
35115 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35118 * menual/message.texi (Message Translation): Fix typos.
35119 (Helper programs for gettext): Likewise.
35121 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35124 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35127 2012-12-07 David S. Miller <davem@davemloft.net>
35129 * po/libc.pot: Update.
35131 2012-12-07 Richard Henderson <rth@redhat.com>
35134 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35135 normal/normal case to before the switch.
35136 (_FP_DIV): Likewise.
35138 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35139 Mike Frysinger <vapier@gentoo.org>
35141 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35142 check for __NR_fadvise64_64.
35144 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35146 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35147 0, not just to plain "0" as a statement.
35148 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35151 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35153 * NEWS: Use sourceware.org in Bugzilla URL.
35155 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35158 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35160 * stdio-common/tst-put-error.c (do_test): Add newline to the
35161 padded test to ensure flush.
35163 2012-12-05 Jeff Law <law@redhat.com>
35165 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35167 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35169 * README: Don't refer to ports add-on as distributed separately.
35170 Mention AArch64 in list of systems supported in the ports add-on.
35172 * LICENSES: Add more non-FSF copyright and license notices.
35174 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35179 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35180 10000 as width of padded output.
35182 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35184 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35186 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35187 variable LX with __attribute__ ((unused)).
35188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35190 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35191 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35193 with __attribute__ ((unused)).
35195 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35197 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35199 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35201 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35202 (CFLAGS-nldbl-acos.c): New variable.
35203 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35204 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35205 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35206 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35207 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35208 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35209 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35210 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35211 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35212 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35213 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35214 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35215 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35216 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35217 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35218 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35219 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35220 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35221 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35222 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35223 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35224 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35225 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35226 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35227 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35228 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35229 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35230 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35231 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35232 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35233 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35234 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35235 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35236 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35237 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35238 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35239 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35240 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35241 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35242 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35243 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35244 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35245 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35246 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35247 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35248 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35249 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35250 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35251 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35252 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35253 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35254 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35255 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35256 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35257 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35258 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35259 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35260 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35261 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35262 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35263 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35264 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35265 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35266 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35267 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35268 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35269 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35270 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35271 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35272 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35273 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35274 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35275 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35276 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35277 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35278 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35279 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35280 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35281 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35282 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35283 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35284 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35285 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35286 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35287 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35288 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35289 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35290 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35291 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35292 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35293 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35294 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35295 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35296 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35297 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35298 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35299 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35302 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35306 whole low double instead of just low 47 bits when splitting values
35309 2012-12-03 Allan McRae <allan@archlinux.org>
35311 * manual/stdio.texi (Predefined Printf Handlers): Remove
35312 @hsep and @vsep usage.
35314 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35316 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35317 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35319 2012-12-03 Jeff Law <law@redhat.com>
35321 * time/sys/time.h (settimeofday): Do not mark TV argument
35324 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35326 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35327 when currently writing and seek to current position when not.
35328 * libio/Makefile (tests): Remove bug-fclose1.
35329 * libio/bug-fclose1.c: Delete.
35331 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35333 * manual/arith.texi (feenableexcept): Fix typo.
35334 (fedisableexcept): Likewise.
35336 2012-11-30 Roland McGrath <roland@hack.frob.com>
35338 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35339 second, differently-typed declaration, rather than a cast.
35341 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35343 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35344 * include/rpc/svc.h: ... here.
35346 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35349 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35350 depending n and resplen2 to catch cases where answer
35353 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35355 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35356 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35358 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35362 2012-11-29 Roland McGrath <roland@hack.frob.com>
35364 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35366 2012-11-28 Jeff Law <law@redhat.com>
35369 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35370 dataset_temporary. Track alloca usage into alloca_used.
35371 If dataset is large allocate and release it via malloc/free.
35373 2012-06-04 Florian Weimer <fweimer@redhat.com>
35376 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35378 2012-11-28 David S. Miller <davem@davemloft.net>
35380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35382 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35385 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35386 of pi/2 rounded to nearest to 64 bits.
35387 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35388 nearest to 64 bits.
35389 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35392 2012-11-28 Jeff Law <law@redhat.com>
35393 Martin Osvald <mosvald@redhat.com>
35396 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35397 * sunrpc/svc.c: Include time.h.
35398 (__svc_accept_failed): New function.
35399 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35400 any reason other than EINTR, call __svc_accept_failed.
35401 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35402 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35404 2012-11-28 Andreas Schwab <schwab@suse.de>
35406 * scripts/abilist.awk: Also handle indirect functions in .opd
35409 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35412 * sysdeps/x86/fpu/powl_helper.c: New file.
35413 * sysdeps/x86/fpu/Makefile: Likewise.
35414 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35416 (__ieee754_powl): Use __powl_helper for finite arguments except
35417 integer exponents below 8.
35418 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35420 (__ieee754_powl): Use __powl_helper for finite arguments except
35421 integer exponents below 8.
35422 * math/libm-test.inc (pow_test): Add more tests and enable some
35423 previously disabled tests.
35424 * sysdeps/i386/fpu/libm-test-ulps: Update.
35425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35427 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35428 Carlos O'Donell <carlos_odonell@mentor.com>
35430 * nss/makedb.c (is_prime): Assert that input is odd and greater
35431 than 4. Note that fact in a comment too.
35432 (next_prime): Add 4 to input.
35434 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35437 * libio/Makefile (tests): Add test case tst-fwrite-error.
35438 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35439 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35440 * libio/tst-fwrite-error.c: New test case.
35442 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35444 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35445 before casting to void *.
35446 * include/libc-internal.h (__pointer_type): New macro.
35447 (__integer_if_pointer_type_sub): Likewise.
35448 (__integer_if_pointer_type): Likewise.
35449 (cast_to_integer): Likewise.
35450 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35451 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35452 before casting to atomic64_t.
35453 (atomic_exchange_acq): Likewise.
35454 (__arch_exchange_and_add_body): Likewise.
35455 (__arch_add_body): Likewise.
35456 (atomic_add_negative): Likewise.
35457 (atomic_add_zero): Likewise.
35459 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35461 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35462 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35463 (add_fdes): Likewise.
35464 (linear_search_fdes): Likewise.
35465 (binary_search_unencoded_fdes): Likewise.
35467 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35469 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35471 2012-11-24 Adam Conrad <adconrad@0c3.net>
35473 * configure.in: Autodetect C++ header directories.
35474 * configure: Regenerated.
35476 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35478 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35480 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35484 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35486 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35487 LDBL_MANT_DIG == 106]: Disable some tests.
35488 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35490 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35494 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35495 input for small inputs. Return +/- pi/2 for large inputs.
35496 * math/libm-test.inc (atan_test): Add more tests.
35498 * sysdeps/generic/unwind-dw2-fde-glibc.c
35499 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35500 __attribute__ ((unused)).
35503 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35504 x * y if x and y are nonzero and z is zero.
35507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35508 nonzero exponents with absolute value below 0x1p-117 to +/-
35512 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35513 up arguments below 2**-450, not just those below 2**-500.
35514 * math/libm-test.inc (hypot_test): Add another test.
35517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35518 Return a+b for ratio over 2**120, not 2**60.
35519 * math/libm-test.inc (hypot_test): Add another test.
35521 * math/libm-test.inc (clog_test): Use
35522 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35523 (clog10_test): Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35528 2012-11-22 Andreas Schwab <schwab@suse.de>
35530 * sysdeps/i386/fpu/libm-test-ulps: Update.
35532 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35534 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35535 printf output with newline.
35537 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35540 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35541 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35542 -z nodlopen, -z initfirst and -z execstack support.
35543 * configure: Regenerated.
35545 * elf/elf.h (DF_1_NODIRECT): New macro.
35546 (DF_1_IGNMULDEF): Likewise.
35547 (DF_1_NOKSYMS): Likewise.
35548 (DF_1_NOHDR): Likewise.
35549 (DF_1_EDITED): Likewise.
35550 (DF_1_NORELOC): Likewise.
35551 (DF_1_SYMINTPOSE): Likewise.
35552 (DF_1_GLOBAUDIT): Likewise.
35553 (DF_1_SINGLETON): Likewise.
35554 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35555 DT_1_SUPPORTED_MASK bits.
35556 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35558 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35560 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35562 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35564 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35567 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35568 (sendmmsg): Move declarations...
35569 * socket/sys/socket.h: ... here.
35570 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35571 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35573 * socket/recvmmsg.c: ... this new file.
35574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35575 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35576 definition of __sendmmsg hidden.
35577 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35578 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35579 Move ENOSYS stub into and include it from...
35580 * socket/sendmmsg.c: ... this new file.
35581 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35582 (sysdep_routines): Move recvmmsg and sendmmsg...
35583 * socket/Makefile (routines): ... here.
35584 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35585 (GLIBC_PRIVATE): Add __sendmmsg.
35586 * include/sys/socket.h (__sendmmsg): Add declarations.
35587 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35590 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35593 variable I1 with __attribute__ ((unused)).
35594 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35596 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35598 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35599 DUMMY variables with __attribute__ ((unused)).
35601 * bits/byteswap.h: Include <bits/types.h>.
35602 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35604 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35606 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35607 string_t. Do not manually set errno.
35608 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35609 length with __strnlen. Make sure to both set errno and return it on
35612 2012-11-19 David S. Miller <davem@davemloft.net>
35614 With help from Joseph Myers.
35615 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35616 very large arguments properly.
35617 * math/libm-test.inc (atan_test): New tests.
35618 (atan2_test): New tests.
35619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35622 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35625 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35628 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35629 [POSIX] (EADDRNOTAVAIL): Likewise.
35630 [POSIX] (EAFNOSUPPORT): Likewise.
35631 [POSIX] (EALREADY): Likewise.
35632 [POSIX] (ECONNABORTED): Likewise.
35633 [POSIX] (ECONNREFUSED): Likewise.
35634 [POSIX] (ECONNRESET): Likewise.
35635 [POSIX] (EDESTADDRREQ): Likewise.
35636 [POSIX] (EDQUOT): Likewise.
35637 [POSIX] (EHOSTUNREACH): Likewise.
35638 [POSIX] (EIDRM): Likewise.
35639 [POSIX] (EISCONN): Likewise.
35640 [POSIX] (ELOOP): Likewise.
35641 [POSIX] (EMULTIHOP): Likewise.
35642 [POSIX] (ENETDOWN): Likewise.
35643 [POSIX] (ENETUNREACH): Likewise.
35644 [POSIX] (ENOBUFS): Likewise.
35645 [POSIX] (ENODATA): Likewise.
35646 [POSIX] (ENOLINK): Likewise.
35647 [POSIX] (ENOMSG): Likewise.
35648 [POSIX] (ENOPROTOOPT): Likewise.
35649 [POSIX] (ENOSR): Likewise.
35650 [POSIX] (ENOSTR): Likewise.
35651 [POSIX] (ENOTCONN): Likewise.
35652 [POSIX] (ENOTSOCK): Likewise.
35653 [POSIX] (EOPNOTSUPP): Likewise.
35654 [POSIX] (EOVERFLOW): Likewise.
35655 [POSIX] (EPROTO): Likewise.
35656 [POSIX] (EPROTONOSUPPORT): Likewise.
35657 [POSIX] (EPROTOTYPE): Likewise.
35658 [POSIX] (ESTALE): Likewise.
35659 [POSIX] (ETIME): Likewise.
35660 [POSIX] (ETXTBSY): Likewise.
35661 [POSIX] (EWOULDBLOCK): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35663 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35664 [POSIX] (SEEK_CUR): Likewise.
35665 [POSIX] (SEEK_END): Likewise.
35666 [POSIX || UNIX98] (mode_t): Do not require.
35667 [POSIX] (off_t): Likewise.
35668 [POSIX] (pid_t): Likewise.
35669 [POSIX] (sys/stat.h): Do not allow header.
35670 [POSIX] (unistd.h): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35672 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35674 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35676 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35677 sigevent): Specify elements.
35678 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35680 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35681 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35683 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35684 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35685 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35686 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35687 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35688 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35689 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35690 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35691 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35692 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35693 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35694 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35695 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35700 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35702 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35704 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35705 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35706 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35707 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35709 Specify lower bound on value.
35710 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35716 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35717 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35719 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35721 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35731 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35732 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35733 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35734 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35735 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35738 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35740 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35747 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35752 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35755 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35759 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35760 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35761 specify as optional.
35762 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35765 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35766 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35767 [XPG3] (NL_LANGMAX): Likewise.
35768 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35769 [POSIX || XPG3] (NL_NMAX): Likewise.
35770 [POSIX || XPG3] (NL_SETMAX): Likewise.
35771 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35772 [XPG3] (NZERO): Likewise.
35773 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35774 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35775 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35776 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35777 (REG_ERANGE): Expect.
35778 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35780 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35781 Use (void) in prototype.
35782 [POSIX] (*_t): Allow.
35783 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35784 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35785 (WRDE_BADVAL): Expect.
35787 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35789 [XPG3 || XPG4] (O_RSYNC): Likewise.
35790 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35792 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35793 [XPG3 || XPG4] (sigqueue): Likewise.
35794 [XPG3 || XPG4] (sigtimedwait): Likewise.
35795 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35796 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35797 [XPG3 || XPG4] (vsnprintf): Likewise.
35798 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35800 [XPG3 || XPG4] (blksize_t): Likewise.
35801 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35803 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35804 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35805 [XPG3 || XPG4] (struct itimerspec): Likewise.
35806 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35807 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35808 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35809 [XPG3 || XPG4] (clockid_t): Likewise.
35810 [XPG3 || XPG4] (timer_t): Likewise.
35811 [XPG3 || XPG4] (clock_getres): Likewise.
35812 [XPG3 || XPG4] (clock_gettime): Likewise.
35813 [XPG3 || XPG4] (clock_settime): Likewise.
35814 [XPG3 || XPG4] (nanosleep): Likewise.
35815 [XPG3 || XPG4] (timer_create): Likewise.
35816 [XPG3 || XPG4] (timer_delete): Likewise.
35817 [XPG3 || XPG4] (timer_gettime): Likewise.
35818 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35819 [XPG3 || XPG4] (timer_settime): Likewise.
35820 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35821 [XPG3 || XPG4] (getlogin_r): Likewise.
35822 [XPG3 || XPG4] (pread): Likewise.
35823 [XPG3 || XPG4] (pthread_atfork): Likewise.
35824 [XPG3 || XPG4] (pwrite): Likewise.
35827 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35830 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35832 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35833 finalizing MALLSTREAM.
35835 * sysdeps/mach/hurd/syncfs.c: New file.
35837 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35841 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35842 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35843 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35844 (_nss_dns_gethostbyname4_r): Likewise.
35845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35846 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35848 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35851 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35853 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35855 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35856 * elf/cache.c (print_entry): Print ",AArch64" for
35859 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35860 * elf/cache.c (print_entry): Print ",hard-float" for
35863 2012-11-18 David S. Miller <davem@davemloft.net>
35865 With help from Joseph Myers.
35866 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35868 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35870 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35871 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35873 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35874 * math/libm-test.inc (y0_test): New tests.
35875 (y1_test): New tests.
35876 * sysdeps/i386/fpu/libm-test-ulps: Update.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35880 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35882 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35884 * configure: Regenerated.
35886 2012-11-17 David S. Miller <davem@davemloft.net>
35889 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35890 nonzero exponents with absolute value below 0x1p-128 to +/-
35893 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35895 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35897 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35899 * posix/getconf-speclist.c: New file.
35900 * posix/posix-envs.def: Likewise.
35901 * posix/confstr.c (START_ENV_GROUP): New macro.
35902 (END_ENV_GROUP): Likewise.
35903 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35904 (KNOWN_PRESENT_ENV_STRING): Likewise.
35905 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35906 (UNKNOWN_ENVIRONMENT): Likewise.
35907 (confstr): Include posix-envs.def instead of handling
35908 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35909 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35910 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35911 (END_ENV_GROUP): Likewise.
35912 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35913 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35914 (UNKNOWN_ENVIRONMENT): Likewise.
35915 (__sysconf): Include posix-envs.def instead of handling associated
35916 cases directly here.
35917 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35918 preprocessing getconf-speclist.c rather than running getconf or
35919 generating empty file.
35921 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35923 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35925 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35928 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35930 2012-11-16 David S. Miller <davem@davemloft.net>
35932 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35933 smaller than LDBL_EPSILON/2.0L, just return xm1.
35935 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35937 * elf/tst-array1.c (init): Set constructor priority to 1000.
35938 (fini): Set destructor priority to 1000.
35939 * elf/tst-array2dep.c: Likewise.
35941 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35944 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35945 (_IO_new_file_xsputn): Also return EOF if none of the input
35946 data was written when overflow failed.
35947 * libio/iopadn.c (_IO_padn): Likewise.
35948 * libio/iowpadn.c (_IO_wpadn): Likewise.
35949 * stdio-common/tst-put-error.c: Add copyright notice.
35950 (do_test): Add case for printing padded string.
35951 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35952 _IO_padn returned error.
35953 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35954 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35957 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35959 * libio/libioP.h: Add comment note that the references to C++
35960 bits are now obsolete.
35962 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35964 * math/libm-test.inc (check_complex): Use asprintf.
35966 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35968 * debug/pcprofiledump.c (print_version): Update copyright year.
35969 * malloc/memusagestat.c (print_version): Likewise.
35971 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35974 * elf/Makefile (tests): Add tst-audit8.
35975 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35976 ($(objpfx)tst-audit8.out): New target.
35977 (tst-audit8-ENV): New variable.
35978 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35979 audit if l_reloc_result is NULL.
35980 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35981 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35982 * elf/tst-audit8.c: New file.
35984 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35986 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35987 * misc/Makefile (CFLAGS-select.c): Define.
35988 * posix/Makefile (CFLAGS-pause.c): Define.
35990 2012-11-13 David S. Miller <davem@davemloft.net>
35992 * crypt/Makefile: Move test targets after toplevel Rules
35993 inclusion. Grab any necessary sysdep routines when linking.
35994 * crypt/md5.c (md5_process_block): Remove define, we will always
35995 name it __md5_process_block.
35996 (md5_finish_ctx): Update md5_process_block call.
35997 (md5_stream): Likewise.
35998 (md5_process_bytes): Likewise.
35999 (md5_process_block): Rename to __md5_process_block and move to ...
36000 * crypt/md5-block.c: ... here.
36001 * crypt/sha256.c (sha256_process_block): Move to ...
36002 * crypt/sha256-block.c: ... here.
36003 * crypt/sha512.c (sha512_process_block): Move to ...
36004 * crypt/sha512-block.c: ... here.
36005 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36007 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36008 * sysdeps/sparc/sparc64/multiarch/Makefile
36009 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36011 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36014 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36015 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36016 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36017 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36018 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36019 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36020 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36021 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36022 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36024 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36029 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36031 * timezone/tzselect.ksh: Update from tzcode git revision
36032 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36033 * timezone/zdump.c: Likewise.
36034 * timezone/zic.c: Likewise.
36035 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36036 in TZVERSION setting, not $(PKGVERSION).
36037 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36038 REPORT_BUGS_TO settings.
36041 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36044 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36046 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36047 detection to immediately after _FP_ROUND().
36048 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36051 2012-11-11 David S. Miller <davem@davemloft.net>
36053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36055 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36056 __close rather than their public counterparts.
36058 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36060 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36062 [UNIX98] (sem_timedwait): Do not expect.
36063 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36064 [XPG4 || UNIX98] (sockatmark): Do not expect.
36065 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36066 (clock_getcpuclockid): Do not expect.
36067 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36068 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36070 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36071 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36072 [UNIX98] (vwscanf): Likewise.
36073 [UNIX98] (vswscanf): Likewise.
36075 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36077 * timezone/version.h: Remove file.
36078 * timezone/README: Do not refer to version.h.
36079 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36080 $(objpfx)version.h.
36081 ($(objpfx)zdump.o): Likewise.
36082 ($(objpfx)version.h): New target.
36084 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36086 * timezone/README: Don't mention modification to tzselect.ksh.
36087 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36088 work on unmodified tzselect.ksh. Substitute version numbers in
36091 * Makefile (format-me): Remove.
36092 (INSTALL): Adjust indentation. Use commands directly instead of
36093 using $(format-me).
36095 * aclocal.m4 (ACX_PKGVERSION): New macro.
36096 (ACX_BUGURL): Likewise.
36097 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36098 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36099 (REPORT_BUGS_TO): Likewise.
36100 * configure: Regenerated.
36101 * config.h.in (PKGVERSION): New macro.
36102 (REPORT_BUGS_TO): Likewise.
36103 * config.make.in (PKGVERSION): New variable.
36104 (PKGVERSION_TEXI): Likewise.
36105 (REPORT_BUGS_TO): Likewise.
36106 (REPORT_BUGS_TEXI): Likewise.
36107 * Makefile (format-me): Use -I$(common-objpfx)manual.
36108 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36109 ($(common-objpfx)manual/%): New target.
36110 (manual/%): Remove target.
36111 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36112 (print_version): Use PKGVERSION.
36113 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36114 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36115 and REPORT_BUGS_TO.
36116 ($(objpfx)xtrace): Likewise.
36117 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36118 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36119 (print_version): Use PKGVERSION.
36120 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36121 (do_version): Use PKGVERSION.
36122 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36124 (common-ldd-rewrite): Likewise.
36125 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36126 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36127 (print_version): Use PKGVERSION.
36128 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36129 * elf/pldd.c (argp_program_bug_address): Remove variable.
36130 (more_help): New function.
36131 (argp): Use more_help.
36132 (print_version): Use PKGVERSION.
36133 * elf/sln.c (main): Use PKGVERSION.
36134 (usage): Use REPORT_BUGS_TO.
36135 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36136 (top level): Use PKGVERSION.
36137 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36138 (print_version): Use PKGVERSION.
36139 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36140 (print_version): Use PKGVERSION.
36141 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36142 (print_version): Use PKGVERSION.
36143 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36144 (print_version): Use PKGVERSION.
36145 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36146 (print_version): Use PKGVERSION.
36147 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36148 (print_version): Use PKGVERSION.
36149 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36151 ($(objpfx)memusage): Likewise.
36152 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36153 (do_version): Use PKGVERSION.
36154 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36155 (print_version): Use PKGVERSION.
36156 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36157 ($PKGVERSION): New variable.
36158 ($REPORT_BUGS_TO): Likewise.
36159 (usage): Use $REPORT_BUGS_TO.
36160 (top level): Use $PKGVERSION.
36161 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36162 ($(objpfx)pkgvers.texi): New rule.
36163 ($(objpfx)stamp-pkgvers): Likewise.
36164 * manual/install.texi: Include pkgvers.texi.
36165 (--with-pkgversion): Document new configure option.
36166 (--with-bugurl): Likewise.
36167 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36168 than necessarily for this particular distribution. Use
36169 REPORT_BUGS_TO for where to report bugs.
36170 * INSTALL: Regenerated.
36171 * manual/libc.texinfo: Include pkgvers.texi.
36172 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36173 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36174 (print_version): Use PKGVERSION.
36175 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36176 (print_version): Use PKGVERSION.
36177 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36178 (print_version): Use PKGVERSION.
36179 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36180 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36182 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36183 (print_version): Use PKGVERSION.
36184 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36185 (print_version): Use PKGVERSION.
36186 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36189 * timezone/checktab.awk: Update from tzcode 2012i.
36190 * timezone/ialloc.c: Likewise.
36191 * timezone/private.h: Likewise.
36192 * timezone/scheck.c: Likewise.
36193 * timezone/tzfile.h: Likewise.
36194 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36195 (TZVERSION): Hardcode tzcode version number.
36196 * timezone/zdump.c: Update from tzcode 2012i.
36197 * timezone/zic.c: Likewise.
36198 * timezone/version.h: New file.
36199 * timezone/README: Describe version.h. Update upstream location.
36202 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36203 (mktemp): Enable declaration.
36204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36215 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36217 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36221 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36222 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36223 for copies of such integer values.
36224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36227 2012-11-09 Andreas Jaeger <aj@suse.de>
36229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36230 definitions and declarations that are provided by
36231 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36233 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36235 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36236 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36237 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36240 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36242 * elf/elf.h: Update comment before AArch64 relocations.
36244 2012-11-07 David S. Miller <davem@davemloft.net>
36246 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36247 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36248 (__start_context): Declare.
36249 (__makecontext_ret): Delete.
36250 (__makecontext): Hook up __start_context instead of
36252 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36253 (sysdep_routines): Add __start_context when in stdlib.
36255 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36257 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36258 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36259 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36261 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36262 (READELF): New variable. Use it instead of hardcoded "readelf".
36264 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36267 * sysdeps/x86/Makefile: Here.
36268 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36269 * sysdeps/x86/tst-xmmymm.sh: This.
36271 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36273 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36275 [UNIX98] (pthread_barrier_t): Do not expect.
36276 [UNIX98] (pthread_barrierattr_t): Likewise.
36277 [UNIX98] (pthread_spinlock_t): Likewise.
36278 [UNIX98] (pthread_barrier_destroy): Likewise.
36279 [UNIX98] (pthread_barrier_init): Likewise.
36280 [UNIX98] (pthread_barrier_wait): Likewise.
36281 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36282 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36283 [UNIX98] (pthread_barrierattr_init): Likewise.
36284 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36285 [UNIX98] (pthread_getcpuclockid): Likewise.
36286 [UNIX98] (pthread_mutex_timedlock): Likewise.
36287 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36288 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36289 [UNIX98] (pthread_sigmask): Likewise.
36290 [UNIX98] (pthread_spin_destroy): Likewise.
36291 [UNIX98] (pthread_spin_init): Likewise.
36292 [UNIX98] (pthread_spin_lock): Likewise.
36293 [UNIX98] (pthread_spin_trylock): Likewise.
36294 [UNIX98] (pthread_spin_unlock): Likewise.
36295 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36297 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36298 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36299 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36300 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36301 [XPG3 || XPG4] (pthread_key_t): Likewise.
36302 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36303 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36304 [XPG3 || XPG4] (pthread_once_t): Likewise.
36305 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36306 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36307 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36308 [XPG3 || XPG4] (pthread_t): Likewise.
36310 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36312 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36314 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36315 Change function return type to int.
36317 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36318 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36319 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36320 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36321 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36322 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36323 [!POSIX] (posix_madvise): Likewise.
36324 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36326 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36327 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36328 (mode_t): Likewise.
36329 (posix_mem_offset): Likewise.
36330 (posix_typed_mem_get_info): Likewise.
36331 (posix_typed_mem_open): Likewise.
36333 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36334 Change condition to [XOPEN2K8].
36336 * conform/conformtest.pl: Preprocess allow-header data with -x c
36337 instead of from stdin.
36338 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36339 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36340 [C99-based standards] (cerfc): Likewise.
36341 [C99-based standards] (cexp2): Likewise.
36342 [C99-based standards] (cexpm1): Likewise.
36343 [C99-based standards] (clog10): Likewise.
36344 [C99-based standards] (clog1p): Likewise.
36345 [C99-based standards] (clog2): Likewise.
36346 [C99-based standards] (clgamma): Likewise.
36347 [C99-based standards] (ctgamma): Likewise.
36348 [C99-based standards] (cerff): Likewise.
36349 [C99-based standards] (cerfcf): Likewise.
36350 [C99-based standards] (cexp2f): Likewise.
36351 [C99-based standards] (cexpm1f): Likewise.
36352 [C99-based standards] (clog10f): Likewise.
36353 [C99-based standards] (clog1pf): Likewise.
36354 [C99-based standards] (clog2f): Likewise.
36355 [C99-based standards] (clgammaf): Likewise.
36356 [C99-based standards] (ctgammaf): Likewise.
36357 [C99-based standards] (cerfl): Likewise.
36358 [C99-based standards] (cerfcl): Likewise.
36359 [C99-based standards] (cexp2l): Likewise.
36360 [C99-based standards] (cexpm1l): Likewise.
36361 [C99-based standards] (clog10l): Likewise.
36362 [C99-based standards] (clog1pl): Likewise.
36363 [C99-based standards] (clog2l): Likewise.
36364 [C99-based standards] (clgammal): Likewise.
36365 [C99-based standards] (ctgammal): Likewise.
36366 * conform/data/inttypes.h-data [C99-based standards]: Include
36367 stdint.h-data. Remove all expectations for stdint.h contents.
36368 [C99-based standards] (PRI*): Do not allow.
36369 [C99-based standards] (SCN*): Likewise.
36370 [C99-based standards] (*_t): Likewise.
36371 [C99-based-standards] (PRId8): Expect macro.
36372 [C99-based-standards] (PRIi8): Likewise.
36373 [C99-based-standards] (PRIo8): Likewise.
36374 [C99-based-standards] (PRIu8): Likewise.
36375 [C99-based-standards] (PRIx8): Likewise.
36376 [C99-based-standards] (PRIX8): Likewise.
36377 [C99-based-standards] (SCNd8): Likewise.
36378 [C99-based-standards] (SCNi8): Likewise.
36379 [C99-based-standards] (SCNo8): Likewise.
36380 [C99-based-standards] (SCNu8): Likewise.
36381 [C99-based-standards] (SCNx8): Likewise.
36382 [C99-based-standards] (PRIdLEAST8): Likewise.
36383 [C99-based-standards] (PRIiLEAST8): Likewise.
36384 [C99-based-standards] (PRIoLEAST8): Likewise.
36385 [C99-based-standards] (PRIuLEAST8): Likewise.
36386 [C99-based-standards] (PRIxLEAST8): Likewise.
36387 [C99-based-standards] (PRIXLEAST8): Likewise.
36388 [C99-based-standards] (SCNdLEAST8): Likewise.
36389 [C99-based-standards] (SCNiLEAST8): Likewise.
36390 [C99-based-standards] (SCNoLEAST8): Likewise.
36391 [C99-based-standards] (SCNuLEAST8): Likewise.
36392 [C99-based-standards] (SCNxLEAST8): Likewise.
36393 [C99-based-standards] (PRIdFAST8): Likewise.
36394 [C99-based-standards] (PRIiFAST8): Likewise.
36395 [C99-based-standards] (PRIoFAST8): Likewise.
36396 [C99-based-standards] (PRIuFAST8): Likewise.
36397 [C99-based-standards] (PRIxFAST8): Likewise.
36398 [C99-based-standards] (PRIXFAST8): Likewise.
36399 [C99-based-standards] (SCNdFAST8): Likewise.
36400 [C99-based-standards] (SCNiFAST8): Likewise.
36401 [C99-based-standards] (SCNoFAST8): Likewise.
36402 [C99-based-standards] (SCNuFAST8): Likewise.
36403 [C99-based-standards] (SCNxFAST8): Likewise.
36404 [C99-based-standards] (PRId16): Likewise.
36405 [C99-based-standards] (PRIi16): Likewise.
36406 [C99-based-standards] (PRIo16): Likewise.
36407 [C99-based-standards] (PRIu16): Likewise.
36408 [C99-based-standards] (PRIx16): Likewise.
36409 [C99-based-standards] (PRIX16): Likewise.
36410 [C99-based-standards] (SCNd16): Likewise.
36411 [C99-based-standards] (SCNi16): Likewise.
36412 [C99-based-standards] (SCNo16): Likewise.
36413 [C99-based-standards] (SCNu16): Likewise.
36414 [C99-based-standards] (SCNx16): Likewise.
36415 [C99-based-standards] (PRIdLEAST16): Likewise.
36416 [C99-based-standards] (PRIiLEAST16): Likewise.
36417 [C99-based-standards] (PRIoLEAST16): Likewise.
36418 [C99-based-standards] (PRIuLEAST16): Likewise.
36419 [C99-based-standards] (PRIxLEAST16): Likewise.
36420 [C99-based-standards] (PRIXLEAST16): Likewise.
36421 [C99-based-standards] (SCNdLEAST16): Likewise.
36422 [C99-based-standards] (SCNiLEAST16): Likewise.
36423 [C99-based-standards] (SCNoLEAST16): Likewise.
36424 [C99-based-standards] (SCNuLEAST16): Likewise.
36425 [C99-based-standards] (SCNxLEAST16): Likewise.
36426 [C99-based-standards] (PRIdFAST16): Likewise.
36427 [C99-based-standards] (PRIiFAST16): Likewise.
36428 [C99-based-standards] (PRIoFAST16): Likewise.
36429 [C99-based-standards] (PRIuFAST16): Likewise.
36430 [C99-based-standards] (PRIxFAST16): Likewise.
36431 [C99-based-standards] (PRIXFAST16): Likewise.
36432 [C99-based-standards] (SCNdFAST16): Likewise.
36433 [C99-based-standards] (SCNiFAST16): Likewise.
36434 [C99-based-standards] (SCNoFAST16): Likewise.
36435 [C99-based-standards] (SCNuFAST16): Likewise.
36436 [C99-based-standards] (SCNxFAST16): Likewise.
36437 [C99-based-standards] (PRId32): Likewise.
36438 [C99-based-standards] (PRIi32): Likewise.
36439 [C99-based-standards] (PRIo32): Likewise.
36440 [C99-based-standards] (PRIu32): Likewise.
36441 [C99-based-standards] (PRIx32): Likewise.
36442 [C99-based-standards] (PRIX32): Likewise.
36443 [C99-based-standards] (SCNd32): Likewise.
36444 [C99-based-standards] (SCNi32): Likewise.
36445 [C99-based-standards] (SCNo32): Likewise.
36446 [C99-based-standards] (SCNu32): Likewise.
36447 [C99-based-standards] (SCNx32): Likewise.
36448 [C99-based-standards] (PRIdLEAST32): Likewise.
36449 [C99-based-standards] (PRIiLEAST32): Likewise.
36450 [C99-based-standards] (PRIoLEAST32): Likewise.
36451 [C99-based-standards] (PRIuLEAST32): Likewise.
36452 [C99-based-standards] (PRIxLEAST32): Likewise.
36453 [C99-based-standards] (PRIXLEAST32): Likewise.
36454 [C99-based-standards] (SCNdLEAST32): Likewise.
36455 [C99-based-standards] (SCNiLEAST32): Likewise.
36456 [C99-based-standards] (SCNoLEAST32): Likewise.
36457 [C99-based-standards] (SCNuLEAST32): Likewise.
36458 [C99-based-standards] (SCNxLEAST32): Likewise.
36459 [C99-based-standards] (PRIdFAST32): Likewise.
36460 [C99-based-standards] (PRIiFAST32): Likewise.
36461 [C99-based-standards] (PRIoFAST32): Likewise.
36462 [C99-based-standards] (PRIuFAST32): Likewise.
36463 [C99-based-standards] (PRIxFAST32): Likewise.
36464 [C99-based-standards] (PRIXFAST32): Likewise.
36465 [C99-based-standards] (SCNdFAST32): Likewise.
36466 [C99-based-standards] (SCNiFAST32): Likewise.
36467 [C99-based-standards] (SCNoFAST32): Likewise.
36468 [C99-based-standards] (SCNuFAST32): Likewise.
36469 [C99-based-standards] (SCNxFAST32): Likewise.
36470 [C99-based-standards] (PRId64): Likewise.
36471 [C99-based-standards] (PRIi64): Likewise.
36472 [C99-based-standards] (PRIo64): Likewise.
36473 [C99-based-standards] (PRIu64): Likewise.
36474 [C99-based-standards] (PRIx64): Likewise.
36475 [C99-based-standards] (PRIX64): Likewise.
36476 [C99-based-standards] (SCNd64): Likewise.
36477 [C99-based-standards] (SCNi64): Likewise.
36478 [C99-based-standards] (SCNo64): Likewise.
36479 [C99-based-standards] (SCNu64): Likewise.
36480 [C99-based-standards] (SCNx64): Likewise.
36481 [C99-based-standards] (PRIdLEAST64): Likewise.
36482 [C99-based-standards] (PRIiLEAST64): Likewise.
36483 [C99-based-standards] (PRIoLEAST64): Likewise.
36484 [C99-based-standards] (PRIuLEAST64): Likewise.
36485 [C99-based-standards] (PRIxLEAST64): Likewise.
36486 [C99-based-standards] (PRIXLEAST64): Likewise.
36487 [C99-based-standards] (SCNdLEAST64): Likewise.
36488 [C99-based-standards] (SCNiLEAST64): Likewise.
36489 [C99-based-standards] (SCNoLEAST64): Likewise.
36490 [C99-based-standards] (SCNuLEAST64): Likewise.
36491 [C99-based-standards] (SCNxLEAST64): Likewise.
36492 [C99-based-standards] (PRIdFAST64): Likewise.
36493 [C99-based-standards] (PRIiFAST64): Likewise.
36494 [C99-based-standards] (PRIoFAST64): Likewise.
36495 [C99-based-standards] (PRIuFAST64): Likewise.
36496 [C99-based-standards] (PRIxFAST64): Likewise.
36497 [C99-based-standards] (PRIXFAST64): Likewise.
36498 [C99-based-standards] (SCNdFAST64): Likewise.
36499 [C99-based-standards] (SCNiFAST64): Likewise.
36500 [C99-based-standards] (SCNoFAST64): Likewise.
36501 [C99-based-standards] (SCNuFAST64): Likewise.
36502 [C99-based-standards] (SCNxFAST64): Likewise.
36503 [C99-based-standards] (PRIdMAX): Likewise.
36504 [C99-based-standards] (PRIiMAX): Likewise.
36505 [C99-based-standards] (PRIoMAX): Likewise.
36506 [C99-based-standards] (PRIuMAX): Likewise.
36507 [C99-based-standards] (PRIxMAX): Likewise.
36508 [C99-based-standards] (PRIXMAX): Likewise.
36509 [C99-based-standards] (SCNdMAX): Likewise.
36510 [C99-based-standards] (SCNiMAX): Likewise.
36511 [C99-based-standards] (SCNoMAX): Likewise.
36512 [C99-based-standards] (SCNuMAX): Likewise.
36513 [C99-based-standards] (SCNxMAX): Likewise.
36514 [C99-based-standards] (PRIdPTR): Likewise.
36515 [C99-based-standards] (PRIiPTR): Likewise.
36516 [C99-based-standards] (PRIoPTR): Likewise.
36517 [C99-based-standards] (PRIuPTR): Likewise.
36518 [C99-based-standards] (PRIxPTR): Likewise.
36519 [C99-based-standards] (PRIXPTR): Likewise.
36520 [C99-based-standards] (SCNdPTR): Likewise.
36521 [C99-based-standards] (SCNiPTR): Likewise.
36522 [C99-based-standards] (SCNoPTR): Likewise.
36523 [C99-based-standards] (SCNuPTR): Likewise.
36524 [C99-based-standards] (SCNxPTR): Likewise.
36525 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36527 * conform/data/stdint.h-data: Update comments to clarify
36529 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36531 [C99-based standards] (INT8_MAX): Likewise.
36532 [C99-based standards] (INT16_MIN): Likewise.
36533 [C99-based standards] (INT16_MAX): Likewise.
36534 [C99-based standards] (INT32_MIN): Likewise.
36535 [C99-based standards] (INT32_MAX): Likewise.
36536 [C99-based standards] (INT64_MIN): Likewise.
36537 [C99-based standards] (INT64_MAX): Likewise.
36538 [C99-based standards] (UINT8_MAX): Likewise.
36539 [C99-based standards] (UINT16_MAX): Likewise.
36540 [C99-based standards] (UINT32_MAX): Likewise.
36541 [C99-based standards] (UINT64_MAX): Likewise.
36542 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36543 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36544 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36545 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36546 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36547 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36548 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36549 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36550 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36551 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36552 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36553 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36554 [C99-based standards] (INT_FAST8_MIN): Likewise.
36555 [C99-based standards] (INT_FAST8_MAX): Likewise.
36556 [C99-based standards] (INT_FAST16_MIN): Likewise.
36557 [C99-based standards] (INT_FAST16_MAX): Likewise.
36558 [C99-based standards] (INT_FAST32_MIN): Likewise.
36559 [C99-based standards] (INT_FAST32_MAX): Likewise.
36560 [C99-based standards] (INT_FAST64_MIN): Likewise.
36561 [C99-based standards] (INT_FAST64_MAX): Likewise.
36562 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36563 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36564 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36565 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36566 [C99-based standards] (INTPTR_MIN): Likewise.
36567 [C99-based standards] (INTPTR_MAX): Likewise.
36568 [C99-based standards] (UINTPTR_MAX): Likewise.
36569 [C99-based standards] (INTMAX_MIN): Likewise.
36570 [C99-based standards] (INTMAX_MAX): Likewise.
36571 [C99-based standards] (UINTMAX_MAX): Likewise.
36572 [C99-based standards] (PTRDIFF_MIN): Likewise.
36573 [C99-based standards] (PTRDIFF_MAX): Likewise.
36574 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36575 [C99-based standards] (SIZE_MAX): Likewise.
36576 [C99-based standards] (WCHAR_MAX): Likewise.
36577 [C99-based standards] (WINT_MAX): Likewise.
36578 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36579 constraint on value.
36580 [C99-based standards] (WCHAR_MIN): Likewise.
36581 [C99-based standards] (WINT_MIN): Likewise.
36582 [C99-based standards] (*_t): Allow.
36583 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36584 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36585 Include math.h-data and complex.h-data. Remove all expectations
36586 of math.h and complex.h contents.
36587 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36589 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36590 (struct tm): Expect tag.
36591 [C99-based-standards] (wcstof): Expect function.
36592 [C99-based-standards] (wcstold): Likewise.
36593 [C99-based-standards] (wcstoll): Likewise.
36594 [C99-based-standards] (wcstoull): Likewise.
36595 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36596 macro-int-constant. Specify type.
36597 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36598 constraint on value.
36599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36601 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36603 [ISO C standards]: Do not allow headers.
36604 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36605 wcs[abcdefghijklmnopqrstuvwxyz]*.
36606 [ISO C standards] (*_t): Do not allow.
36607 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36609 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36610 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36612 [ISO C standards]: Do not allow headers.
36613 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36614 is[abcdefghijklmnopqrstuvwxyz]*.
36615 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36616 to[abcdefghijklmnopqrstuvwxyz]*.
36617 [ISO C standards] (*_t): Do not allow.
36618 * conform/data/stdalign.h-data: New file.
36619 * conform/data/stdbool.h-data: Likewise.
36620 * conform/data/stdnoreturn.h-data: Likewise.
36622 2012-11-07 Roland McGrath <roland@hack.frob.com>
36625 * manual/filesys.texi (Directory Entries): Typo fix.
36626 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36628 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36630 * elf/elf.h (EM_AARCH64): New macro.
36631 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36632 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36633 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36634 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36635 (R_AARCH64_TLSDESC): Likewise.
36636 (NT_ARM_TLS): Likewise.
36637 (NT_ARM_HW_BREAK): Likewise.
36638 (NT_ARM_HW_WATCH): Likewise.
36640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36643 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36644 (__ieee754_powl): Saturate nonzero exponents with absolute value
36645 below 0x1p-79 to +/- 0x1p-79.
36646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36647 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36648 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36649 nonzero exponents with absolute value below 0x1p-32 to +/-
36651 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36652 (__ieee754_powl): Saturate nonzero exponents with absolute value
36653 below 0x1p-79 to +/- 0x1p-79.
36654 * math/libm-test.inc (pow_test): Add more tests.
36656 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36658 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36659 _dl_s390_cap_flags with kernel. Increase string length.
36660 (_dl_s390_platforms): Add z196 and zEC12.
36662 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36664 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36665 Change XOPEN21K to XOPEN2K.
36667 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36669 * string/memmove.c: Use memcpy when possible.
36671 2012-11-06 Andreas Jaeger <aj@suse.de>
36673 * po/eo.po: Update from translation team.
36675 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36679 exponent and small x and y exponents, scale x or y up. Increase
36680 by 2 the exponent used in scaling up.
36681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36683 * math/libm-test.inc (fma_test): Add more tests.
36684 (fma_test_towardzero): Likewise.
36685 (fma_test_downward): Likewise.
36686 (fma_test_upward): Likewise.
36688 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36695 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36696 namespace for names of struct fields.
36697 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36699 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36700 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36702 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36705 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36707 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36709 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36713 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36716 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36720 definitely overflow as x * y not x * y + z.
36721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36723 * math/libm-test.inc (fma_test): Add more tests.
36724 (fma_test_towardzero): Likewise.
36725 (fma_test_downward): Likewise.
36726 (fma_test_upward): Likewise.
36728 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36732 * include/stub-tag.h: Remove file.
36733 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36735 * manual/maint.texi (Porting): Don't reference it.
36736 * Makerules ($(objpfx)stubs): Likewise.
36737 * dirent/closedir.c: Don't include <stub-tag.h>.
36738 * dirent/dirfd.c: Likewise.
36739 * dirent/fdopendir.c: Likewise.
36740 * dirent/getdents.c: Likewise.
36741 * dirent/getdents64.c: Likewise.
36742 * dirent/opendir.c: Likewise.
36743 * dirent/readdir.c: Likewise.
36744 * dirent/readdir64.c: Likewise.
36745 * dirent/readdir64_r.c: Likewise.
36746 * dirent/readdir_r.c: Likewise.
36747 * dirent/rewinddir.c: Likewise.
36748 * dirent/seekdir.c: Likewise.
36749 * dirent/telldir.c: Likewise.
36750 * gmon/profil.c: Likewise.
36751 * grp/setgroups.c: Likewise.
36752 * inet/if_index.c: Likewise.
36753 * io/access.c: Likewise.
36754 * io/chdir.c: Likewise.
36755 * io/chmod.c: Likewise.
36756 * io/chown.c: Likewise.
36757 * io/close.c: Likewise.
36758 * io/dup.c: Likewise.
36759 * io/dup2.c: Likewise.
36760 * io/dup3.c: Likewise.
36761 * io/euidaccess.c: Likewise.
36762 * io/faccessat.c: Likewise.
36763 * io/fchdir.c: Likewise.
36764 * io/fchmod.c: Likewise.
36765 * io/fchmodat.c: Likewise.
36766 * io/fchown.c: Likewise.
36767 * io/fchownat.c: Likewise.
36768 * io/fcntl.c: Likewise.
36769 * io/flock.c: Likewise.
36770 * io/fstatfs.c: Likewise.
36771 * io/fstatfs64.c: Likewise.
36772 * io/fstatvfs.c: Likewise.
36773 * io/fstatvfs64.c: Likewise.
36774 * io/futimens.c: Likewise.
36775 * io/fxstat.c: Likewise.
36776 * io/fxstat64.c: Likewise.
36777 * io/fxstatat.c: Likewise.
36778 * io/fxstatat64.c: Likewise.
36779 * io/getcwd.c: Likewise.
36780 * io/isatty.c: Likewise.
36781 * io/lchmod.c: Likewise.
36782 * io/lchown.c: Likewise.
36783 * io/link.c: Likewise.
36784 * io/linkat.c: Likewise.
36785 * io/lseek.c: Likewise.
36786 * io/lseek64.c: Likewise.
36787 * io/lxstat64.c: Likewise.
36788 * io/mkdir.c: Likewise.
36789 * io/mkdirat.c: Likewise.
36790 * io/mkfifo.c: Likewise.
36791 * io/mkfifoat.c: Likewise.
36792 * io/open.c: Likewise.
36793 * io/open64.c: Likewise.
36794 * io/openat.c: Likewise.
36795 * io/openat64.c: Likewise.
36796 * io/pipe.c: Likewise.
36797 * io/pipe2.c: Likewise.
36798 * io/poll.c: Likewise.
36799 * io/posix_fadvise.c: Likewise.
36800 * io/posix_fadvise64.c: Likewise.
36801 * io/posix_fallocate.c: Likewise.
36802 * io/posix_fallocate64.c: Likewise.
36803 * io/read.c: Likewise.
36804 * io/readlink.c: Likewise.
36805 * io/readlinkat.c: Likewise.
36806 * io/rmdir.c: Likewise.
36807 * io/sendfile.c: Likewise.
36808 * io/sendfile64.c: Likewise.
36809 * io/statfs.c: Likewise.
36810 * io/statfs64.c: Likewise.
36811 * io/statvfs.c: Likewise.
36812 * io/statvfs64.c: Likewise.
36813 * io/symlink.c: Likewise.
36814 * io/symlinkat.c: Likewise.
36815 * io/ttyname.c: Likewise.
36816 * io/ttyname_r.c: Likewise.
36817 * io/umask.c: Likewise.
36818 * io/unlink.c: Likewise.
36819 * io/unlinkat.c: Likewise.
36820 * io/utime.c: Likewise.
36821 * io/utimensat.c: Likewise.
36822 * io/write.c: Likewise.
36823 * io/xmknod.c: Likewise.
36824 * io/xmknodat.c: Likewise.
36825 * io/xstat.c: Likewise.
36826 * io/xstat64.c: Likewise.
36827 * login/getpt.c: Likewise.
36828 * login/grantpt.c: Likewise.
36829 * login/unlockpt.c: Likewise.
36830 * math/e_acoshl.c: Likewise.
36831 * math/e_acosl.c: Likewise.
36832 * math/e_asinl.c: Likewise.
36833 * math/e_atan2l.c: Likewise.
36834 * math/e_atanhl.c: Likewise.
36835 * math/e_coshl.c: Likewise.
36836 * math/e_expl.c: Likewise.
36837 * math/e_fmodl.c: Likewise.
36838 * math/e_gammal_r.c: Likewise.
36839 * math/e_hypotl.c: Likewise.
36840 * math/e_j0l.c: Likewise.
36841 * math/e_j1l.c: Likewise.
36842 * math/e_jnl.c: Likewise.
36843 * math/e_lgammal_r.c: Likewise.
36844 * math/e_log10l.c: Likewise.
36845 * math/e_log2l.c: Likewise.
36846 * math/e_logl.c: Likewise.
36847 * math/e_powl.c: Likewise.
36848 * math/e_rem_pio2l.c: Likewise.
36849 * math/e_sinhl.c: Likewise.
36850 * math/e_sqrtl.c: Likewise.
36851 * math/fclrexcpt.c: Likewise.
36852 * math/fedisblxcpt.c: Likewise.
36853 * math/feenablxcpt.c: Likewise.
36854 * math/fegetenv.c: Likewise.
36855 * math/fegetexcept.c: Likewise.
36856 * math/fegetround.c: Likewise.
36857 * math/feholdexcpt.c: Likewise.
36858 * math/fesetenv.c: Likewise.
36859 * math/fesetround.c: Likewise.
36860 * math/feupdateenv.c: Likewise.
36861 * math/fgetexcptflg.c: Likewise.
36862 * math/fraiseexcpt.c: Likewise.
36863 * math/fsetexcptflg.c: Likewise.
36864 * math/ftestexcept.c: Likewise.
36865 * math/k_cosl.c: Likewise.
36866 * math/k_rem_pio2l.c: Likewise.
36867 * math/k_sinl.c: Likewise.
36868 * math/k_tanl.c: Likewise.
36869 * math/s_asinhl.c: Likewise.
36870 * math/s_atanl.c: Likewise.
36871 * math/s_cbrtl.c: Likewise.
36872 * math/s_erfl.c: Likewise.
36873 * math/s_expm1l.c: Likewise.
36874 * math/s_log1pl.c: Likewise.
36875 * math/s_tanhl.c: Likewise.
36876 * misc/acct.c: Likewise.
36877 * misc/brk.c: Likewise.
36878 * misc/chflags.c: Likewise.
36879 * misc/chroot.c: Likewise.
36880 * misc/fchflags.c: Likewise.
36881 * misc/fgetxattr.c: Likewise.
36882 * misc/flistxattr.c: Likewise.
36883 * misc/fremovexattr.c: Likewise.
36884 * misc/fsetxattr.c: Likewise.
36885 * misc/fsync.c: Likewise.
36886 * misc/ftruncate.c: Likewise.
36887 * misc/futimes.c: Likewise.
36888 * misc/futimesat.c: Likewise.
36889 * misc/getdomain.c: Likewise.
36890 * misc/getdtsz.c: Likewise.
36891 * misc/gethostid.c: Likewise.
36892 * misc/gethostname.c: Likewise.
36893 * misc/getloadavg.c: Likewise.
36894 * misc/getpagesize.c: Likewise.
36895 * misc/getsysstats.c: Likewise.
36896 * misc/getxattr.c: Likewise.
36897 * misc/gtty.c: Likewise.
36898 * misc/ioctl.c: Likewise.
36899 * misc/lgetxattr.c: Likewise.
36900 * misc/listxattr.c: Likewise.
36901 * misc/llistxattr.c: Likewise.
36902 * misc/lremovexattr.c: Likewise.
36903 * misc/lsetxattr.c: Likewise.
36904 * misc/lutimes.c: Likewise.
36905 * misc/madvise.c: Likewise.
36906 * misc/mincore.c: Likewise.
36907 * misc/mlock.c: Likewise.
36908 * misc/mlockall.c: Likewise.
36909 * misc/mmap.c: Likewise.
36910 * misc/mprotect.c: Likewise.
36911 * misc/msync.c: Likewise.
36912 * misc/munlock.c: Likewise.
36913 * misc/munlockall.c: Likewise.
36914 * misc/munmap.c: Likewise.
36915 * misc/preadv.c: Likewise.
36916 * misc/preadv64.c: Likewise.
36917 * misc/ptrace.c: Likewise.
36918 * misc/pwritev.c: Likewise.
36919 * misc/pwritev64.c: Likewise.
36920 * misc/readv.c: Likewise.
36921 * misc/reboot.c: Likewise.
36922 * misc/remap_file_pages.c: Likewise.
36923 * misc/removexattr.c: Likewise.
36924 * misc/revoke.c: Likewise.
36925 * misc/select.c: Likewise.
36926 * misc/setdomain.c: Likewise.
36927 * misc/setegid.c: Likewise.
36928 * misc/seteuid.c: Likewise.
36929 * misc/sethostid.c: Likewise.
36930 * misc/sethostname.c: Likewise.
36931 * misc/setregid.c: Likewise.
36932 * misc/setreuid.c: Likewise.
36933 * misc/setxattr.c: Likewise.
36934 * misc/sstk.c: Likewise.
36935 * misc/stty.c: Likewise.
36936 * misc/swapoff.c: Likewise.
36937 * misc/swapon.c: Likewise.
36938 * misc/sync.c: Likewise.
36939 * misc/syncfs.c: Likewise.
36940 * misc/syscall.c: Likewise.
36941 * misc/truncate.c: Likewise.
36942 * misc/ualarm.c: Likewise.
36943 * misc/usleep.c: Likewise.
36944 * misc/ustat.c: Likewise.
36945 * misc/utimes.c: Likewise.
36946 * misc/vhangup.c: Likewise.
36947 * misc/writev.c: Likewise.
36948 * posix/_exit.c: Likewise.
36949 * posix/alarm.c: Likewise.
36950 * posix/execve.c: Likewise.
36951 * posix/fexecve.c: Likewise.
36952 * posix/fork.c: Likewise.
36953 * posix/fpathconf.c: Likewise.
36954 * posix/getaddrinfo.c: Likewise.
36955 * posix/getegid.c: Likewise.
36956 * posix/geteuid.c: Likewise.
36957 * posix/getgid.c: Likewise.
36958 * posix/getgroups.c: Likewise.
36959 * posix/getlogin.c: Likewise.
36960 * posix/getlogin_r.c: Likewise.
36961 * posix/getpgid.c: Likewise.
36962 * posix/getpid.c: Likewise.
36963 * posix/getppid.c: Likewise.
36964 * posix/getresgid.c: Likewise.
36965 * posix/getresuid.c: Likewise.
36966 * posix/getsid.c: Likewise.
36967 * posix/getuid.c: Likewise.
36968 * posix/glob64.c: Likewise.
36969 * posix/nanosleep.c: Likewise.
36970 * posix/pathconf.c: Likewise.
36971 * posix/pause.c: Likewise.
36972 * posix/posix_madvise.c: Likewise.
36973 * posix/pread.c: Likewise.
36974 * posix/pread64.c: Likewise.
36975 * posix/pwrite.c: Likewise.
36976 * posix/pwrite64.c: Likewise.
36977 * posix/sched_getaffinity.c: Likewise.
36978 * posix/sched_getp.c: Likewise.
36979 * posix/sched_gets.c: Likewise.
36980 * posix/sched_primax.c: Likewise.
36981 * posix/sched_primin.c: Likewise.
36982 * posix/sched_rr_gi.c: Likewise.
36983 * posix/sched_setaffinity.c: Likewise.
36984 * posix/sched_setp.c: Likewise.
36985 * posix/sched_sets.c: Likewise.
36986 * posix/sched_yield.c: Likewise.
36987 * posix/setgid.c: Likewise.
36988 * posix/setlogin.c: Likewise.
36989 * posix/setpgid.c: Likewise.
36990 * posix/setresgid.c: Likewise.
36991 * posix/setresuid.c: Likewise.
36992 * posix/setsid.c: Likewise.
36993 * posix/setuid.c: Likewise.
36994 * posix/sleep.c: Likewise.
36995 * posix/spawni.c: Likewise.
36996 * posix/sysconf.c: Likewise.
36997 * posix/times.c: Likewise.
36998 * posix/wait.c: Likewise.
36999 * posix/wait3.c: Likewise.
37000 * posix/wait4.c: Likewise.
37001 * posix/waitpid.c: Likewise.
37002 * resolv/gai_sigqueue.c: Likewise.
37003 * resource/getpriority.c: Likewise.
37004 * resource/getrlimit.c: Likewise.
37005 * resource/getrusage.c: Likewise.
37006 * resource/nice.c: Likewise.
37007 * resource/setpriority.c: Likewise.
37008 * resource/setrlimit.c: Likewise.
37009 * resource/ulimit.c: Likewise.
37010 * rt/aio_cancel.c: Likewise.
37011 * rt/aio_fsync.c: Likewise.
37012 * rt/aio_read.c: Likewise.
37013 * rt/aio_sigqueue.c: Likewise.
37014 * rt/aio_suspend.c: Likewise.
37015 * rt/aio_write.c: Likewise.
37016 * rt/clock_getres.c: Likewise.
37017 * rt/clock_gettime.c: Likewise.
37018 * rt/clock_nanosleep.c: Likewise.
37019 * rt/clock_settime.c: Likewise.
37020 * rt/lio_listio.c: Likewise.
37021 * rt/mq_close.c: Likewise.
37022 * rt/mq_getattr.c: Likewise.
37023 * rt/mq_notify.c: Likewise.
37024 * rt/mq_open.c: Likewise.
37025 * rt/mq_receive.c: Likewise.
37026 * rt/mq_send.c: Likewise.
37027 * rt/mq_setattr.c: Likewise.
37028 * rt/mq_timedreceive.c: Likewise.
37029 * rt/mq_timedsend.c: Likewise.
37030 * rt/mq_unlink.c: Likewise.
37031 * rt/shm_open.c: Likewise.
37032 * rt/shm_unlink.c: Likewise.
37033 * rt/timer_create.c: Likewise.
37034 * rt/timer_delete.c: Likewise.
37035 * rt/timer_getoverr.c: Likewise.
37036 * rt/timer_gettime.c: Likewise.
37037 * rt/timer_settime.c: Likewise.
37038 * setjmp/__longjmp.c: Likewise.
37039 * setjmp/setjmp.c: Likewise.
37040 * signal/kill.c: Likewise.
37041 * signal/killpg.c: Likewise.
37042 * signal/raise.c: Likewise.
37043 * signal/sigaction.c: Likewise.
37044 * signal/sigaltstack.c: Likewise.
37045 * signal/sigblock.c: Likewise.
37046 * signal/sigignore.c: Likewise.
37047 * signal/sigintr.c: Likewise.
37048 * signal/signal.c: Likewise.
37049 * signal/sigpause.c: Likewise.
37050 * signal/sigpending.c: Likewise.
37051 * signal/sigqueue.c: Likewise.
37052 * signal/sigreturn.c: Likewise.
37053 * signal/sigset.c: Likewise.
37054 * signal/sigsetmask.c: Likewise.
37055 * signal/sigstack.c: Likewise.
37056 * signal/sigsuspend.c: Likewise.
37057 * signal/sigtimedwait.c: Likewise.
37058 * signal/sigvec.c: Likewise.
37059 * signal/sigwait.c: Likewise.
37060 * signal/sigwaitinfo.c: Likewise.
37061 * signal/sysv_signal.c: Likewise.
37062 * socket/accept.c: Likewise.
37063 * socket/accept4.c: Likewise.
37064 * socket/bind.c: Likewise.
37065 * socket/connect.c: Likewise.
37066 * socket/getpeername.c: Likewise.
37067 * socket/getsockname.c: Likewise.
37068 * socket/getsockopt.c: Likewise.
37069 * socket/isfdtype.c: Likewise.
37070 * socket/listen.c: Likewise.
37071 * socket/recv.c: Likewise.
37072 * socket/recvfrom.c: Likewise.
37073 * socket/recvmsg.c: Likewise.
37074 * socket/send.c: Likewise.
37075 * socket/sendmsg.c: Likewise.
37076 * socket/sendto.c: Likewise.
37077 * socket/setsockopt.c: Likewise.
37078 * socket/shutdown.c: Likewise.
37079 * socket/sockatmark.c: Likewise.
37080 * socket/socket.c: Likewise.
37081 * socket/socketpair.c: Likewise.
37082 * stdio-common/ctermid.c: Likewise.
37083 * stdio-common/cuserid.c: Likewise.
37084 * stdio-common/remove.c: Likewise.
37085 * stdio-common/rename.c: Likewise.
37086 * stdio-common/renameat.c: Likewise.
37087 * stdio-common/tempname.c: Likewise.
37088 * stdlib/getcontext.c: Likewise.
37089 * stdlib/makecontext.c: Likewise.
37090 * stdlib/setcontext.c: Likewise.
37091 * stdlib/swapcontext.c: Likewise.
37092 * stdlib/system.c: Likewise.
37093 * streams/fattach.c: Likewise.
37094 * streams/fdetach.c: Likewise.
37095 * streams/getmsg.c: Likewise.
37096 * streams/getpmsg.c: Likewise.
37097 * streams/putmsg.c: Likewise.
37098 * streams/putpmsg.c: Likewise.
37099 * sysdeps/unix/bsd/getpt.c: Likewise.
37100 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37101 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37102 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37105 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37106 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37107 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37108 * sysvipc/msgctl.c: Likewise.
37109 * sysvipc/msgget.c: Likewise.
37110 * sysvipc/msgrcv.c: Likewise.
37111 * sysvipc/msgsnd.c: Likewise.
37112 * sysvipc/semctl.c: Likewise.
37113 * sysvipc/semget.c: Likewise.
37114 * sysvipc/semop.c: Likewise.
37115 * sysvipc/semtimedop.c: Likewise.
37116 * sysvipc/shmat.c: Likewise.
37117 * sysvipc/shmctl.c: Likewise.
37118 * sysvipc/shmdt.c: Likewise.
37119 * sysvipc/shmget.c: Likewise.
37120 * termios/tcdrain.c: Likewise.
37121 * termios/tcflow.c: Likewise.
37122 * termios/tcflush.c: Likewise.
37123 * termios/tcgetattr.c: Likewise.
37124 * termios/tcgetpgrp.c: Likewise.
37125 * termios/tcsendbrk.c: Likewise.
37126 * termios/tcsetattr.c: Likewise.
37127 * termios/tcsetpgrp.c: Likewise.
37128 * time/adjtime.c: Likewise.
37129 * time/clock.c: Likewise.
37130 * time/getitimer.c: Likewise.
37131 * time/gettimeofday.c: Likewise.
37132 * time/setitimer.c: Likewise.
37133 * time/settimeofday.c: Likewise.
37134 * time/stime.c: Likewise.
37135 * time/time.c: Likewise.
37137 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37139 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37142 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37144 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37146 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37150 FE_TONEAREST before applying Dekker multiplication and Knuth
37151 addition. Clear inexact exceptions and check for exact zero
37152 results afterwards.
37153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37156 * math/libm-test.inc (fma_test): Add more tests.
37157 (fma_test_towardzero): Likewise.
37158 (fma_test_downward): Likewise.
37159 (fma_test_upward): Likewise.
37160 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37162 (libc_fesetround): New macro.
37163 (libc_fesetroundf): Likewise.
37164 (libc_fesetroundl): Likewise.
37165 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37167 (libc_fesetround_387): Likewise.
37168 (libc_fesetroundf): New macro.
37169 (libc_fesetround): Likewise.
37170 (libc_fesetroundl): Likewise.
37171 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37173 (libc_fesetroundf): New macro.
37174 (libc_fesetround): Likewise.
37175 (libc_fesetroundl): Likewise.
37176 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37177 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37178 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37180 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37181 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37183 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37184 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37186 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37190 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37191 integer constant usable in #if and use that to give value to enum
37193 (FE_DIVBYZERO): Likewise.
37194 (FE_UNDERFLOW): Likewise.
37195 (FE_OVERFLOW): Likewise.
37196 (FE_INVALID): Likewise.
37197 (FE_INVALID_SNAN): Likewise.
37198 (FE_INVALID_ISI): Likewise.
37199 (FE_INVALID_IDI): Likewise.
37200 (FE_INVALID_ZDZ): Likewise.
37201 (FE_INVALID_IMZ): Likewise.
37202 (FE_INVALID_COMPARE): Likewise.
37203 (FE_INVALID_SOFTWARE): Likewise.
37204 (FE_INVALID_SQRT): Likewise.
37205 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37206 (FE_TONEAREST): Likewise.
37207 (FE_TOWARDZERO): Likewise.
37208 (FE_UPWARD): Likewise.
37209 (FE_DOWNWARD): Likewise.
37210 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37211 (FE_DIVBYZERO): Likewise.
37212 (FE_OVERFLOW): Likewise.
37213 (FE_UNDERFLOW): Likewise.
37214 (FE_INEXACT): Likewise.
37215 (FE_TONEAREST): Likewise.
37216 (FE_DOWNWARD): Likewise.
37217 (FE_UPWARD): Likewise.
37218 (FE_TOWARDZERO): Likewise.
37219 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37220 (FE_UNDERFLOW): Likewise.
37221 (FE_OVERFLOW): Likewise.
37222 (FE_DIVBYZERO): Likewise.
37223 (FE_INVALID): Likewise.
37224 (FE_TONEAREST): Likewise.
37225 (FE_TOWARDZERO): Likewise.
37226 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37227 (FE_OVERFLOW): Likewise.
37228 (FE_UNDERFLOW): Likewise.
37229 (FE_DIVBYZERO): Likewise.
37230 (FE_INEXACT): Likewise.
37231 (FE_TONEAREST): Likewise.
37232 (FE_TOWARDZERO): Likewise.
37233 (FE_UPWARD): Likewise.
37234 (FE_DOWNWARD): Likewise.
37235 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37236 (FE_DIVBYZERO): Likewise.
37237 (FE_OVERFLOW): Likewise.
37238 (FE_UNDERFLOW): Likewise.
37239 (FE_INEXACT): Likewise.
37240 (FE_TONEAREST): Likewise.
37241 (FE_DOWNWARD): Likewise.
37242 (FE_UPWARD): Likewise.
37243 (FE_TOWARDZERO): Likewise.
37245 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37247 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37249 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37251 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37252 commands. Quote $PWD.
37253 (blacklist_exports): Don't use remove_newlines. Replace "declare
37255 (remove_newlines): Remove.
37257 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37259 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37260 * stdlib/stdlib.h (atof): Moved to ...
37261 * include/bits/stdlib-float.h: Here. New file.
37262 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37263 * stdlib/bits/stdlib-float.h: New file.
37264 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37269 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37271 * conform/conformtest.pl (@headers): Add fenv.h.
37272 * conform/data/fenv.h-data: New file.
37273 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37274 include of <math/fenv.h>.
37276 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37277 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37278 && !UNIX98]. Enables tests for XOPEN2K8.
37279 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37280 POSIX2008]: Likewise.
37282 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37283 (struct rusage): Do not expect type or its members.
37286 * math/math.h (FP_NAN): Define macro to integer constant usable in
37287 #if and use that to give value to enum constant.
37288 (FP_INFINITE): Likewise.
37289 (FP_ZERO): Likewise.
37290 (FP_SUBNORMAL): Likewise.
37291 (FP_NORMAL): Likewise.
37293 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37295 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37296 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37299 2012-11-02 Roland McGrath <roland@hack.frob.com>
37301 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37302 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37303 autoconf-time if not.
37304 * configure.in: Remove AC_PREREQ.
37306 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37308 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37309 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37310 of the internal implementation.
37312 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37314 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37315 except include of <misc/sys/syslog.h>.
37317 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37320 function returns with a NULL context exit with zero.
37322 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37324 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37326 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37328 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37329 (run_program_cmd): This.
37330 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37331 (tst_langinfo): New variable. Use it.
37333 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37335 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37336 floating point opcodes.
37338 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37340 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37343 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37345 * sysdeps/mach/hurd/powerpc: Remove directory.
37346 * sysdeps/mach/powerpc: Likewise.
37348 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37350 * scripts/check-local-headers.sh: Ignore c++ headers.
37352 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37354 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37355 __libc_cleanup_region_start argument.
37357 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37362 x * y using scaling, not as x * y + z.
37363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37365 * math/libm-test.inc (fma_test): Add more tests.
37366 (fma_test_towardzero): Likewise.
37367 (fma_test_downward): Likewise.
37368 (fma_test_upward): Likewise.
37370 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37372 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37374 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37376 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37379 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37381 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37383 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37390 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37393 Fix the order of the list for glibc 2.17.
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37397 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37401 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37404 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37405 for low part of x being zero before using __atanl (y).
37406 * math/libm-test.inc (atan2_test): Add another test.
37408 * manual/install.texi (Configuring and compiling): Document
37409 general use of test-wrapper and test-wrapper-env.
37410 * INSTALL: Regenerated.
37412 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37413 (__fma): Do not extract and scale down low bits on after-rounding
37414 systems when result rounded to normal precision would have normal
37416 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37417 (__fmal): Do not extract and scale down low bits on after-rounding
37418 systems when result rounded to normal precision would have normal
37420 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37421 (__fmal): Do not extract and scale down low bits on after-rounding
37422 systems when result rounded to normal precision would have normal
37424 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37426 (fma_test): Add more tests.
37427 (fma_test_towardzero): Likewise.
37428 (fma_test_downward): Likewise.
37429 (fma_test_upward): Likewise.
37431 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37433 * sysdeps/i386/tininess.h: Renamed to ...
37434 * sysdeps/x86/tininess.h: This.
37435 * sysdeps/x86_64/tininess.h: Removed.
37437 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37439 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37440 input. Use $(build-program-cmd).
37441 ($(objpfx)tst-array1-static.out): Likewise.
37442 ($(objpfx)tst-array2.out): Likewise.
37443 ($(objpfx)tst-array3.out): Likewise.
37444 ($(objpfx)tst-array4.out): Likewise.
37445 ($(objpfx)tst-array5.out): Likewise.
37446 ($(objpfx)tst-array5-static.out): Likewise.
37448 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37450 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37453 * nss/nsswitch.h (nss_interface_function): Provide new
37454 macro for use with NSS functions.
37455 * grp/initgroups.c: Use new macro.
37456 * nss/getXXbyYY.c: Likewise.
37457 * nss/getXXbyYY_r.c: Likewise.
37458 * nss/getXXent.c: Likewise.
37459 * nss/getXXent_r.c: Likewise.
37460 * sysdeps/posix/getaddrinfo.c: Likewise.
37462 2012-10-30 Andreas Jaeger <aj@suse.de>
37464 * po/ru.po: Update Russion translation from translation project.
37466 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37471 result and shift together with sticky bit instead of replicating
37472 round-to-nearest rounding.
37473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37475 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37476 missing underflow exceptions.
37477 (fma_test_towardzero): Add more tests.
37478 (fma_test_downward): Likewise.
37479 (fma_test_upward): Likewise.
37482 * sysdeps/generic/tininess.h: New file.
37483 * sysdeps/i386/tininess.h: Likewise.
37484 * sysdeps/sh/tininess.h: Likewise.
37485 * sysdeps/x86_64/tininess.h: Likewise.
37486 * stdlib/tst-strtod-underflow.c: Likewise.
37487 * stdlib/tst-tininess.c: Likewise.
37488 * stdlib/strtod_l.c: Include <tininess.h>.
37489 (round_and_return): Do not set errno for exact underflow cases.
37490 Force an underflow exception when setting errno for underflow.
37491 Determine underflow based on rounding to normal precision if
37492 TININESS_AFTER_ROUNDING.
37493 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37494 ERANGE for exact underflow cases.
37495 * stdlib/Makefile (tests): Add tst-tininess and
37496 tst-strtod-underflow.
37497 ($(objpfx)tst-tininess): Use $(link-libm).
37498 ($(objpfx)tst-strtod-underflow): Likewise.
37500 2012-10-30 Andreas Jaeger <aj@suse.de>
37503 * elf/Makefile (tests): Remove conditional for have-initfini-array
37504 since this is now always required and the variable does not exist
37506 (tests-static): Likewise.
37507 (modules-names): Likewise.
37509 * po/eo.po: Add Esperanto translation from translation project.
37511 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37512 merged with constructor/destructor.
37513 (init_array): Likewise.
37514 * elf/tst-array2dep.c (fini_array): Likewise.
37515 (init_array): Likewise.
37517 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37519 * manual/message.texi: Delete @cartouche tags.
37521 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37523 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37525 * sysdeps/mach/hurd/fsync.c: Likewise.
37527 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37528 [_POSIX_REALTIME_SIGNALS]: Change condition to
37529 [_POSIX_REALTIME_SIGNALS > 0].
37531 2012-10-27 Andreas Jaeger <aj@suse.de>
37533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37534 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37536 [__WORDSIZE != 64]: Likewise.
37538 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37540 * iconvdata/tst-table.sh: Remove ${SHELL}.
37541 * iconvdata/tst-tables.sh: Likewise.
37543 2012-10-25 David S. Miller <davem@davemloft.net>
37545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37546 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37552 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37553 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37556 2012-10-25 Roland McGrath <roland@hack.frob.com>
37558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37559 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37562 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37563 Jim Blandy <jimb@codesourcery.com>
37565 * scripts/cross-test-ssh.sh: New file.
37566 * manual/install.texi (Configuring and compiling): Document use of
37568 * INSTALL: Regenerated.
37570 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37572 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37575 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37577 * Makeconfig (run-program-prefix): Fix comment.
37579 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37580 Jim Blandy <jimb@codesourcery.com>
37582 * Makeconfig (test-wrapper): New variable,
37583 (test-wrapper-env): Likewise.
37584 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37585 (run-built-tests): Define to yes.
37586 (run-program-prefix): Use $(test-wrapper).
37587 (built-program-cmd): Likewise.
37588 * Rules (make-test-out): Use $(test-wrapper-env) and
37589 $(host-built-program-cmd).
37590 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37591 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37593 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37594 $(test-wrapper-env) to tst-rtld-load-self.sh.
37595 ($(objpfx)order2.out): Use $(test-wrapper).
37596 ($(objpfx)tst-initorder.out): Likewise.
37597 ($(objpfx)tst-initorder2.out): Likewise.
37598 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37599 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37600 (test_wrapper_env): New variable. Use it to run ld.so.
37601 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37602 Use it to run ld.so.
37603 (test_wrapper_env): Likewise.
37604 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37605 $(test-wrapper) to run-iconv-test.sh.
37606 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37607 (ICONV): Use $test_wrapper.
37608 * posix/Makefile ($(objpfx)globtest.out): Pass
37609 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37610 globtest.sh, not $(run-program-prefix).
37611 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37612 (test_wrapper): Likewise.
37613 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37614 set together with run_via_rtld_prefix.
37615 (run_program_prefix): Define in terms of test_wrapper and
37616 run_via_rtld_prefix.
37618 2012-10-24 Roland McGrath <roland@hack.frob.com>
37620 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37621 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37625 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37626 Declare __clock_getres, __clock_gettime, __clock_settime,
37627 __clock_nanosleep, and __clock_getcpuclockid.
37628 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37629 Remove librt_hidden_def (clock_gettime).
37630 * sysdeps/unix/clock_gettime.c: Likewise.
37631 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37633 * rt/clock_getres.c: Define __clock_getres as an alias.
37634 * sysdeps/posix/clock_getres.c: Likewise.
37635 * rt/clock_settime.c: Define __clock_settime as an alias.
37636 * sysdeps/unix/clock_settime.c: Likewise.
37637 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37638 * sysdeps/unix/clock_nanosleep.c: Likewise.
37639 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37640 * rt/clock-compat.c: New file.
37641 * rt/Makefile (librt-routines): Add clock-compat and move
37642 $(clock-routines) to ...
37643 (routines): ... here, new variable.
37644 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37645 Don't add get_clockfreq here.
37646 * rt/Versions (libc: GLIBC_2.17): New version set.
37647 Add clock_* symbols here.
37648 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37649 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37650 (GLIBC_2.17): Add clock_* symbols.
37651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37662 * NEWS: Mention the move.
37664 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37665 Use __open, __read, __close rather than their public counterparts.
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37667 (__get_clockfreq_via_cpuinfo): Likewise.
37668 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37669 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37671 * config.h.in (HAVE_IFUNC): New #undef.
37672 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37674 * configure: Regenerated.
37676 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37678 * configure.in: Move READELF check to start of file.
37679 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37680 libc_cv_asm_gnu_indirect_function in the process.
37681 * configure: Regenerated.
37683 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37685 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37686 send the output to /dev/null.
37687 (libc_cv_cc_with_libunwind): Likewise.
37688 (libc_cv_as_noexecstack): Likewise.
37689 * configure: Regenerate.
37691 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37693 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37695 * posix/globtest.sh (TMPDIR): Do not set.
37696 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37697 (testout): Likewise.
37699 2012-10-24 Andreas Jaeger <aj@suse.de>
37701 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37702 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37703 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37704 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37705 posix_fadvise64, posix_fallocate64.
37707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37708 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37709 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37711 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37713 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37716 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37717 <bits/fcntl-linux.h>.
37718 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37721 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37722 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37723 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37724 [__WORDSIZE != 64]: Likewise.
37726 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37728 * Makeconfig (run-built-tests): New variable.
37729 * Rules [$(cross-compiling) = yes]: Change condition to
37730 [$(run-built-tests) = no].
37731 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37732 to [$(run-built-tests) = yes].
37733 * elf/Makefile [$(cross-compiling) = no]: Likewise
37734 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37735 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37736 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37737 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37738 * io/Makefile [$(cross-compiling) = no]: Likewise.
37739 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37740 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37741 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37742 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37743 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37744 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37745 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37746 * string/Makefile [$(cross-compiling) = no]: Likewise.
37748 * posix/Makefile ($(objpfx)globtest.out): Pass
37749 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37750 $(rtld-installed-name).
37751 * posix/globtest.sh (elf_objpfx): Remove variable.
37752 (rtld_installed_name): Likewise.
37753 (library_path): Likewise.
37754 (run_program_prefix): New variable. Use for running globtest
37757 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37758 Joseph Myers <joseph@codesourcery.com>
37760 * Makeconfig (host-built-program-cmd): New variable.
37761 * elf/Makefile (tst-stackguard1-ARGS): Use
37762 $(host-built-program-cmd).
37763 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37764 (tst-spawn-ARGS): Likewise.
37765 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37767 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37768 Jim Blandy <jimb@codesourcery.com>
37770 * Makeconfig (run-via-rtld-prefix): New variable.
37771 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37772 (built-program-cmd): Likewise.
37774 2012-10-22 Andreas Jaeger <aj@suse.de>
37776 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37777 __O_RSYNC if it exists, otherwise to O_SYNC.
37779 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37780 Joseph Myers <joseph@codesourcery.com>
37782 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37784 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37786 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37789 2012-10-22 Andreas Jaeger <aj@suse.de>
37791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37793 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37796 bits/fcntl-linux.h.
37798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37799 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37801 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37806 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37807 Joseph Myers <joseph@codesourcery.com>
37809 * config.make.in (NM): New variable.
37811 2012-10-21 Andreas Jaeger <aj@suse.de>
37813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37814 definitions and declarations that are provided by
37815 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37817 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37820 * elf/Makefile (tests-static): Add tst-leaks1-static.
37821 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37822 ($(objpfx)tst-leaks1-static): New rule.
37823 ($(objpfx)tst-leaks1-static-mem): Likewise.
37824 (tst-leaks1-static-ENV): New macro.
37825 * elf/dl-open.c (dl_open_worker): Check the main application
37826 only if SHARED is defined.
37827 * elf/tst-leaks1-static.c: New file.
37829 2012-10-20 Andreas Jaeger <aj@suse.de>
37831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37832 generic values for Linux.
37833 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37834 and declarations that are provided by <bits/fcntl-linux.h> and
37835 include <bits/fcntl-linux.h>.
37836 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37839 2012-10-20 Roland McGrath <roland@hack.frob.com>
37841 * io/fcntl.h: Move include of <bits/types.h> to the top and
37842 include it unconditionally.
37844 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37846 * wcsmbs/Makefile (tests-ifunc): New variable.
37847 (tests): Add $(tests-ifunc).
37848 * wcsmbs/test-wcschr-ifunc.c: New file.
37849 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37850 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37851 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37852 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37853 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37855 * string/Makefile (tests-ifunc): New variable.
37856 (tests): Add $(tests-ifunc).
37857 * string/test-memccpy.c (TEST_NAME): New macro.
37858 * string/test-memchr.c (TEST_NAME): Likewise.
37859 * string/test-memcmp.c (TEST_NAME): Likewise.
37860 * string/test-memcpy.c (TEST_NAME): Likewise.
37861 * string/test-memmem.c (TEST_NAME): Likewise.
37862 * string/test-memmove.c (TEST_NAME): Likewise.
37863 * string/test-memset.c (TEST_NAME): Likewise.
37864 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37865 * string/test-stpcpy.c (TEST_NAME): Likewise.
37866 * string/test-stpncpy.c (TEST_NAME): Likewise.
37867 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37868 * string/test-strcasestr.c (TEST_NAME): Likewise.
37869 * string/test-strcat.c (TEST_NAME): Likewise.
37870 * string/test-strchr.c (TEST_NAME): Likewise.
37871 * string/test-strcmp.c(TEST_NAME): Likewise.
37872 * string/test-strcpy.c (TEST_NAME): Likewise.
37873 * string/test-strcspn.c (TEST_NAME): Likewise.
37874 * string/test-strlen.c (TEST_NAME): Likewise.
37875 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37876 * string/test-strncmp.c (TEST_NAME): Likewise.
37877 * string/test-strncpy.c (TEST_NAME): Likewise.
37878 * string/test-strnlen.c (TEST_NAME): Likewise.
37879 * string/test-strpbrk.c (TEST_NAME): Likewise.
37880 * string/test-strrchr.c (TEST_NAME): Likewise.
37881 * string/test-strspn.c (TEST_NAME): Likewise.
37882 * string/test-strstr.c (TEST_NAME): Likewise.
37883 * string/test-bcopy-ifunc.c: New file.
37884 * string/test-bzero-ifunc.c: Likewise.
37885 * string/test-memccpy-ifunc.c: Likewise.
37886 * string/test-memchr-ifunc.c: Likewise.
37887 * string/test-memcmp-ifunc.c: Likewise.
37888 * string/test-memcpy-ifunc.c: Likewise.
37889 * string/test-memmem-ifunc.c: Likewise.
37890 * string/test-memmove-ifunc.c: Likewise.
37891 * string/test-mempcpy-ifunc.c: Likewise.
37892 * string/test-memset-ifunc.c: Likewise.
37893 * string/test-rawmemchr-ifunc.c: Likewise.
37894 * string/test-stpcpy-ifunc.c: Likewise.
37895 * string/test-stpncpy-ifunc.c: Likewise.
37896 * string/test-strcasecmp-ifunc.c: Likewise.
37897 * string/test-strcasestr-ifunc.c: Likewise.
37898 * string/test-strcat-ifunc.c: Likewise.
37899 * string/test-strchr-ifunc.c: Likewise.
37900 * string/test-strchrnul-ifunc.c: Likewise.
37901 * string/test-strcmp-ifunc.c: Likewise.
37902 * string/test-strcpy-ifunc.c: Likewise.
37903 * string/test-strcspn-ifunc.c: Likewise.
37904 * string/test-strlen-ifunc.c: Likewise.
37905 * string/test-strncasecmp-ifunc.c: Likewise.
37906 * string/test-strncat-ifunc.c: Likewise.
37907 * string/test-strncmp-ifunc.c: Likewise.
37908 * string/test-strncpy-ifunc.c: Likewise.
37909 * string/test-strnlen-ifunc.c: Likewise.
37910 * string/test-strpbrk-ifunc.c: Likewise.
37911 * string/test-strrchr-ifunc.c: Likewise.
37912 * string/test-strspn-ifunc.c: Likewise.
37913 * string/test-strstr-ifunc.c: Likewise.
37915 * debug/Makefile (tests-ifunc): New variable.
37916 (tests): Add $(tests-ifunc).
37917 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37918 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37919 * debug/test-stpcpy_chk-ifunc.c: New file.
37920 * debug/test-strcpy_chk-ifunc.c: Likewise.
37922 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37925 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37926 header is not read in.
37928 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37930 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37931 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37932 directly. Pass built executable to script as
37933 $(built-program-cmd).
37934 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37935 $testprogram without using LD_LIBRARY_PATH and $ldso.
37937 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37938 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37939 $(rtld-installed-name).
37940 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37941 (rtld_installed_name): Likewise.
37942 (library_path): Likewise.
37943 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37944 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37945 $(run-program-prefix) to tst-tables.sh.
37946 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37947 it to run tst-table-from and tst-table-to.
37948 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37949 Pass it to tst-table.sh.
37950 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37951 $(run-program-prefix) to tst-gettext.sh.
37952 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37954 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37956 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37957 to run tst-gettext.
37958 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37959 to run tst-gettext2.
37960 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37961 to run tst-translit.
37962 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37963 $(run-program-prefix) to tst-mtrace.sh.
37964 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37966 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37967 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37968 $(rtld-installed-name).
37969 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37970 (rtld_installed_name): Likewise.
37971 (run_program_prefix): New variable. Use it to run wordexp-test.
37973 * Makeconfig (ARCH): Remove all definitions.
37974 (machine): Likewise.
37975 [ARCH]: Remove conditional code.
37976 [!objdir]: Give error.
37977 [!objdir] (objpfx): Remove.
37978 [!objdir] (common-objpfx): Likewise.
37979 [!objdir] (common-objdir): Likewise.
37980 * configure.in (config_makefile): Remove. Hardcode Makefile in
37981 AC_CONFIG_FILES call.
37982 * configure: Regenerated.
37985 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37987 (testout): Likewise.
37989 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37990 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37991 $(rtld-installed-name).
37992 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37993 (rtld_installed_name): Likwise.
37994 (runit): Remove function.
37995 (run_getconf): New variable, Use it for running getconf binary.
37997 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38000 * string/test-memmem.c (check_result): New function.
38001 (do_one_test): Use it.
38002 (check1): New function.
38003 (test_main): Use it.
38005 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38007 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38009 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38011 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38012 (_G_LSEEK64): Likewise.
38013 (_G_MMAP64): Likewise.
38014 (_G_FSTAT64): Likewise.
38015 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38016 (_G_LSEEK64): Likewise.
38017 (_G_MMAP64): Likewise.
38018 (_G_FSTAT64): Likewise.
38019 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38020 unconditional. Call __mmap64 directly.
38021 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38022 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38023 __lseek64 directly.
38024 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38025 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38027 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38028 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38029 __lseek64 directly.
38030 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38031 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38032 __lseek64 directly.
38033 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38034 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38035 __lseek64 directly.
38036 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38037 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38038 __fxstat64 directly.
38039 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38040 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38042 (freopen64) [!_G_OPEN64]: Remove conditional code.
38043 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38045 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38046 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38048 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38049 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38051 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38052 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38054 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38055 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38057 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38058 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38060 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38061 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38063 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38065 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38068 * manual/memory.texi (Malloc Tunable Parameters): Add note
38069 about free list pointers overwriting some perturb bytes.
38070 Wording suggested by Roland McGrath.
38072 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38074 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38075 (lgamma_test): Likewise.
38076 (tgamma_test): Likewise.
38078 2012-10-16 Florian Weimer <fweimer@redhat.com>
38081 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38082 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38084 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38086 * NEWS: Mention BZ #14716.
38087 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38088 when removing AVAILABLE1_USES_J macro.
38090 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38092 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38093 (__bswap_64): __uint64_t for unsigned 64-bit int.
38095 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38097 * include/string.h (memmem): Declare libc hidden alias.
38098 * string/memmem.c (memmem): Define libc hidden alias.
38099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38100 __read, __close instead of open, read, close.
38102 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38105 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38107 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38108 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38109 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38111 (__rawmemchr_sse2): Likewise.
38112 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38113 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38114 (__strchr_sse2): Likewise.
38115 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38116 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38117 (__strcasecmp_sse2): Likewise.
38118 (__strncasecmp_sse2): Likewise.
38119 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38120 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38121 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38122 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38123 (__strrchr_sse2): Likewise.
38124 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38126 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38127 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38128 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38130 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38131 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38132 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38133 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38134 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38135 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38136 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38137 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38138 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38139 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38140 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38141 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38142 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38143 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38144 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38145 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38146 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38147 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38148 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38149 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38150 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38152 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38153 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38154 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38155 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38157 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38159 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38160 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38161 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38162 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38164 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38166 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38167 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38168 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38169 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38171 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38172 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38173 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38174 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38175 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38176 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38177 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38178 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38179 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38180 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38181 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38182 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38183 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38184 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38185 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38188 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38189 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38190 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38192 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38193 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38194 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38195 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38196 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38197 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38198 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38199 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38200 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38201 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38202 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38203 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38204 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38205 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38206 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38208 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38209 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38211 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38213 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38214 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38215 * include/ifunc-impl-list.h: New file.
38216 * misc/ifunc-impl-list.c: Likewise.
38217 * misc/Makefile (routines): Add ifunc-impl-list.
38218 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38219 * string/test-string.h: Include <ifunc-impl-list.h>.
38220 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38221 TEST_NAME]: New variables.
38222 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38224 (test_init): Call __libc_ifunc_impl_list to initialize
38225 func_list if TEST_IFUNC and TEST_NAME are defined.
38227 * string/Makefile (strop-tests): Add bcopy and bzero.
38228 * string/test-bcopy.c: New file.
38229 * string/test-bzero.c: Likewise.
38230 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38232 * string/test-memset.c: Support bzero test if TEST_BZERO is
38234 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38236 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38238 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38241 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38243 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38244 * configure: Regenerated.
38246 * Makeconfig (+link-static-before-libc): Don't include
38247 $(link-static-libc).
38249 * libio/libio.h (_IO_pos_t): Remove.
38251 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38253 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38256 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38258 * crypt/crypt-entry.c: Include fips-private.h.
38259 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38260 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38261 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38262 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38264 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38266 * crypt/crypt-private.h: Include stdbool.h.
38267 (_ufc_setup_salt_r): Return bool.
38268 * crypt/crypt-entry.c: Include errno.h.
38269 (__crypt_r): Return NULL with EINVAL for bad salt.
38270 * crypt/crypt_util.c (bad_for_salt): New.
38271 (_ufc_setup_salt_r): Check that salt is long enough and within
38272 the specified alphabet.
38273 * crypt/badsalttest.c: New file.
38274 * crypt/Makefile (tests): Add it.
38275 ($(objpfx)badsalttest): New.
38277 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38279 * NEWS: Add entry for BZ #14602.
38281 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38283 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38285 * math/libm-test.inc: Update comment listing what functions and
38287 (isgreater_test): New function.
38288 (isgreaterequal_test): Likewise.
38289 (isless_test): Likewise.
38290 (islessequal_test): Likewise.
38291 (islessgreater_test): Likewise.
38292 (isunordered_test): Likewise.
38293 (main): Call the new functions.
38295 2012-10-09 Roland McGrath <roland@hack.frob.com>
38297 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38298 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38299 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38300 * sysdeps/i386/configure: Regenerated.
38301 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38302 * sysdeps/mach/configure: Regenerated.
38303 * sysdeps/mach/hurd/configure: Regenerated.
38304 * sysdeps/powerpc/configure: Regenerated.
38305 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38306 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38307 * sysdeps/s390/s390-32/configure: Regenerated.
38308 * sysdeps/s390/s390-64/configure: Regenerated.
38309 * sysdeps/sh/configure: Regenerated.
38310 * sysdeps/sparc/configure: Regenerated.
38311 * sysdeps/unix/sysv/linux/configure: Regenerated.
38312 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38313 * sysdeps/x86_64/configure: Regenerated.
38315 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38316 defined. Don't check if MAP is NULL.
38318 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38320 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38321 (_G_stat64): Likewise.
38322 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38323 (_G_stat64): Likewise.
38324 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38325 instead of struct _G_stat64.
38326 * libio/fileops.c (mmap_remap_check): Likewise.
38327 (decide_maybe_mmap): Likewise.
38328 (_IO_new_file_seekoff): Likewise.
38329 (_IO_file_stat): Likewise.
38330 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38332 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38333 instead of struct _G_stat64.
38334 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38336 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38339 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38341 (CHECK_EOL): New macro.
38342 (two_way_short_needle): Check beginning of haystack for EOL. Use
38344 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38345 Replace with CHECK_EOL.
38346 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38347 Replace with CHECK_EOL.
38349 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38351 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38353 * math/libm-test.inc: Update comment listing what functions and
38355 (finite_test): New function.
38356 (isinf_test): Likewise.
38357 (isnan_test): Likewise.
38358 (fpclassify_test): Test subnormal input.
38359 (isfinite_test): Likewise.
38360 (isnormal_test): Likewise.
38361 (main): Call the new functions.
38363 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38366 * Makerules (%.dynsym): Force C locale when running
38367 $(OBJDUMP) --dynamic-syms.
38369 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38371 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38374 2012-10-06 David S. Miller <davem@davemloft.net>
38376 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38377 upper 32-bits of the length value in %o2 since we use branch-on-register
38378 tests which consider the entire 64-bit register.
38380 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38382 * string/test-strstr.c (check2): Add a test for page boundary.
38384 2012-10-05 David S. Miller <davem@davemloft.net>
38386 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38387 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38389 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38391 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38392 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38393 and bzero when HWCAP_SPARC_CRYPTO is present.
38395 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38398 * string/test-strstr.c (check2): New function.
38399 (test_main): Call check2.
38401 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38403 * string/bug-strcasestr1.c (do_test): Moved to ...
38404 * string/test-strcasestr.c (check1): Here. New function.
38405 (do_one_test): Break out result checking code into ...
38406 (check_result): This. New function.
38407 (do_one_test): Call check_result.
38408 (test_main): Call check1.
38409 * string/bug-strchr1.c (do_test): Moved to ...
38410 * string/test-strchr.c (check1): Here. New function.
38411 (do_one_test): Break out result checking code into ...
38412 (check_result): This. New function.
38413 (do_one_test): Call check_result.
38414 (test_main): Call check1.
38415 * string/bug-strstr1.c (main): Moved to ...
38416 * string/test-strstr.c (check1): Here. New function.
38417 (do_one_test): Break out result checking code into ...
38418 (check_result): This. New function.
38419 (do_one_test): Call check_result.
38420 (test_main): Call check1.
38421 * string/bug-strcasestr1.c: Removed.
38422 * string/bug-strchr1.c: Likewise.
38423 * string/bug-strstr1.c: Likewise.
38425 * elf/Makefile (dl-routines): Add hwcaps.
38426 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38427 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38428 (_dl_important_hwcaps): Moved to ...
38429 * elf/dl-hwcaps.c: Here. New file.
38430 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38433 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38434 if IS_IN_rtld isn't defined.
38436 * elf/dl-support.c (_dl_sysinfo_map): New.
38437 Include "get-dynamic-info.h" and "setup-vdso.h".
38438 (_dl_non_dynamic_init): Call setup_vdso.
38439 * elf/dynamic-link.h: Don't include <assert.h>.
38440 (elf_get_dynamic_info): Moved to ...
38441 * elf/get-dynamic-info.h: Here. New file.
38442 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38443 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38444 * elf/setup-vdso.h: Here. New file.
38445 * elf/rtld.c: Include "setup-vdso.h".
38446 (dl_main): Call setup_vdso.
38448 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38450 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38451 creal in comment listing functions tested. List finite, isinf,
38452 isnan, isless, islessequal, isgreater, isgreaterequal,
38453 islessgreater, isunordered, lgamma_r and pow10 as functions and
38454 macros not tested. Mention which functions not tested are aliases
38455 for other functions. Fix typo. Note that signs of NaNs are not
38458 * scripts/config.guess: Update from config.git.
38459 * scripts/config.sub: Likewise.
38461 2012-10-04 Roland McGrath <roland@hack.frob.com>
38463 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38464 * misc/madvise.c (madvise): Renamed to __madvise.
38465 Make madvise a weak alias.
38466 * include/sys/mman.h: Declare __madvise.
38467 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38468 * sysdeps/unix/syscalls.list
38469 (madvise): Make __madvise the strong name, and madvise a weak alias.
38470 * sysdeps/unix/sysv/linux/syscalls.list
38471 (madvise, mmap): Remove redundant entries.
38472 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38473 * malloc/malloc.c (mtrim): Likewise.
38474 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38476 2012-10-03 Roland McGrath <roland@hack.frob.com>
38478 * sysdeps/mach/hurd/dl-cache.c: File removed.
38479 * config.h.in (USE_LDCONFIG): New #undef.
38480 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38481 * configure: Regenerated.
38482 * elf/Makefile (dl-routines): Add dl-cache only under
38483 [$(use-ldconfig) = yes].
38484 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38485 cache on [USE_LDCONFIG].
38486 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38488 * elf/rtld.c (dl_main): Likewise.
38490 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38492 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38493 _SC_LEVEL4_CACHE_LINESIZE.
38495 2012-10-03 Roland McGrath <roland@hack.frob.com>
38497 * sysdeps/unix/bsd/confstr.h: File removed.
38499 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38501 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38504 2012-10-02 Roland McGrath <roland@hack.frob.com>
38506 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38507 Make 'mapoff' field ElfW(Off) rather than off_t.
38509 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38511 * nscd/Makefile: Remove nscd-cflags and all its users.
38512 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38513 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38516 * malloc.c (malloc_printerr): Clarify error message.
38518 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38522 Set bit_FMA_Usable if FMA is supported.
38523 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38525 (bit_FMA4_Usable): Updated.
38526 (index_FMA_Usable): New macro.
38527 (CPUID_FMA): Likewise
38528 (HAS_FMA): Defined with bit_FMA_Usable.
38530 2012-10-01 Roland McGrath <roland@hack.frob.com>
38532 * bits/types.h (__swblk_t): Type removed.
38533 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38534 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38536 (__SWBLK_T_TYPE): Likewise.
38537 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38538 (__SWBLK_T_TYPE): Likewise.
38539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38540 (__SWBLK_T_TYPE): Likewise.
38541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38542 (__SWBLK_T_TYPE): Likewise.
38544 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38545 Honza Horak <hhorak@redhat.com>
38547 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38548 (xdr_mapname): Use YPMAXMAP as maxsize.
38549 (xdr_peername): Use YPMAXPEER as maxsize.
38550 (xdr_keydat): Use YPAXRECORD as maxsize.
38551 (xdr_valdat): Use YPMAXRECORD as maxsize.
38553 2012-10-01 Roland McGrath <roland@hack.frob.com>
38555 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38557 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38558 * csu/init-first.c: ... here.
38559 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38560 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38561 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38562 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38563 * sysdeps/i386/init-first.c: File removed.
38564 * sysdeps/sh/init-first.c: File removed.
38566 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38570 if x * y might underflow to zero and z is zero.
38571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38573 * math/libm-test.inc (min_subnorm_value): New variable.
38574 (fma_test): Add more tests.
38575 (fma_test_towardzero): Likewise.
38576 (fma_test_downward): Likewise
38577 (fma_test_upward): Likewise.
38578 (initialize): Set min_subnorm_value.
38580 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38585 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38586 mode for addition resulting in exact zero.
38587 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38590 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38592 * math/libm-test.inc (fma_test): Add more tests.
38593 (fma_test_towardzero): New function.
38594 (fma_test_downward): Likewise.
38595 (fma_test_upward): Likewise.
38596 (main): Call the new functions.
38598 2012-09-28 David S. Miller <davem@davemloft.net>
38600 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38602 2012-09-28 Roland McGrath <roland@hack.frob.com>
38604 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38605 instead of SIGALRM.
38607 * sysdeps/gnu/_G_config.h: Moved to ...
38608 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38609 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38610 * sysdeps/generic/_G_config.h: ... here.
38612 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38614 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38616 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38617 Conditionalize target on [libnss_test1.so-version].
38619 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38621 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38622 (elfobjdir): Move out of conditionals.
38624 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38625 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38626 (__nss_lookup_function): Conditionalize label remove_from_tree on
38627 [!DO_STATIC_NSS || SHARED], matching its only use.
38629 2012-09-28 David S. Miller <davem@davemloft.net>
38631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38632 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38634 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38636 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38638 when HWCAP_SPARC_CRYPTO is present.
38640 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38642 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38644 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38647 * stdio-common/vfprintf.c (process_string_arg): Revert
38650 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38652 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38654 * stdio-common/tst-sprintf.c: Include <locale.h>
38655 (main): Test sprintf's handling of incomplete multibyte
38658 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38660 * elf/dl-runtime.c (VERSYMIDX): Removed.
38661 * elf/dl-version.c (VERSYMIDX): Likewise.
38662 * elf/do-rel.h (VERSYMIDX): Likewise.
38663 (VALIDX): Likewise.
38664 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38665 * elf/rtld.c (VALIDX): Likewise.
38666 (ADDRIDX): Likewise.
38667 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38668 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38669 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38670 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38671 (VALIDX): Likewise.
38672 (ADDRIDX): Likewise.
38674 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38676 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38678 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38681 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38683 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38684 addresses are in the same scope as 192.0.2/24.
38685 * posix/gai.conf: Document new scope table defaults.
38687 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38690 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38691 for ftell. Compute offsets from write pointers instead.
38692 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38694 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38697 * libio/Makefile (tests): New test case tst-fseek.
38698 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38699 combination works in wide mode.
38700 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38701 state when the external buffer state changes.
38703 2012-09-27 David S. Miller <davem@davemloft.net>
38706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38707 pass reloc->r_addend in as the 'high' argument to
38708 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38712 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38714 * rt/tst-aio2.c: Include <pthread.h>.
38715 * rt/tst-aio3.c: Likewise.
38717 2012-09-27 Steve Ellcey <sellcey@mips.com>
38719 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38721 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38723 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38724 contents on [SHARED].
38726 2012-09-26 Marek Polacek <polacek@redhat.com>
38730 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38731 for C++ and GCC <4.3 as well as for non GCC compilers.
38733 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38737 2012-09-25 Roland McGrath <roland@hack.frob.com>
38739 * Makefile.in (all, install): Declare with .PHONY.
38740 Reported by Michael Hope <michael.hope@linaro.org>.
38742 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38744 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38745 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38747 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38749 (sydep_routines): Add the new and the internal functions.
38750 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38751 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38753 (GLIBC_2.17): Add the new function.
38754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38755 (GLIBC_2.17): Likewise.
38756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38757 (GLIBC_2.17): Likewise.
38758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38759 (GLIBC_2.17): Likewise.
38760 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38762 2012-09-25 Alan Modra <amodra@gmail.com>
38764 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38765 Add release barrier before setting once_control to say
38766 initialisation is done. Add hints on lwarx. Use macro in
38768 (clear_once_control): Add release barrier.
38770 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38773 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38775 * math/s_clog10.c (__clog10): Likewise.
38776 * math/s_clog10f.c (__clog10f): Likewise.
38777 * math/s_clog10l.c (__clog10l): Likewise.
38778 * math/s_clogf.c (__clogf): Likewise.
38779 * math/s_clogl.c (__clogl): Likewise.
38780 * math/Makefile (libm-calls): Add x2y2m1.
38781 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38782 (__x2y2m1): Likewise.
38783 (__x2y2m1l): Likewise.
38784 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38785 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38788 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38789 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38790 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38791 * sysdeps/i386/fpu/libm-test-ulps: Update.
38792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38795 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38796 int as type of variable DEPTH.
38797 (glob): Use size_t instead of int as type of variables NEWCOUNT
38800 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38802 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38803 Add s_sincosf-sse2.
38804 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38805 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38806 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38807 macros for using routine as __sincosf_ia32.
38808 Use macro for function declaration and weak_alias.
38809 * sysdeps/i386/fpu/libm-test-ulps: Update.
38811 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38814 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38815 subnormal argument.
38816 * math/s_cexpf.c (__cexpf): Likewise.
38817 * math/s_csinf.c (__csinf): Likewise.
38818 * math/s_csinhf.c (__csinhf): Likewise.
38819 * math/s_ctanf.c (__ctanf): Likewise.
38820 * math/s_ctanhf.c (__ctanhf): Likewise.
38821 * math/s_ccosh.c (__ccoshf): Likewise.
38822 * math/s_cexp.c (__cexpl): Likewise.
38823 * math/s_csin.c (__csin): Likewise.
38824 * math/s_csinh.c (__csinh): Likewise.
38825 * math/s_ctan.c (__ctan): Likewise.
38826 * math/s_ctanh.c (ctanh): Likewise.
38827 * math/s_ccoshl.c (__ccoshl): Likewise.
38828 * math/s_cexpl.c (__cexpl): Likewise.
38829 * math/s_csinl.c (__csinl): Likewise.
38830 * math/s_csinhl.c (__csinhl): Likewise.
38831 * math/s_ctanl.c (__ctanl): Likewise.
38832 * math/s_ctanhl.c (__ctanhl): Likewise.
38834 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38836 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38837 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38838 (_IO_off_t): Define to __off_t, not _G_off_t.
38839 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38840 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38841 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38842 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38843 type of __dummy and __dummy2 fields.
38844 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38845 (_G_ssize_t): Likewise.
38846 (_G_off_t): Likewise.
38847 (_G_pid_t): Likewise.
38848 (_G_uid_t): Likewise.
38849 (_G_wchar_t): Likewise.
38850 (_G_wint_t): Likewise.
38851 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38852 (_G_ssize_t): Likewise.
38853 (_G_off_t): Likewise.
38854 (_G_pid_t): Likewise.
38855 (_G_uid_t): Likewise.
38856 (_G_wchar_t): Likewise.
38857 (_G_wint_t): Likewise.
38858 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38859 (_G_ssize_t): Likewise.
38860 (_G_off_t): Likewise.
38861 (_G_pid_t): Likewise.
38862 (_G_uid_t): Likewise.
38863 (_G_wchar_t): Likewise.
38864 (_G_wint_t): Likewise.
38866 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38868 * malloc/arena.c: Include malloc-sysdep.h.
38869 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38870 is sufficient to shrink the heap or an unmap is needed.
38871 * sysdeps/generic/malloc-sysdep.h: New file. Define
38872 new function check_may_shrink_heap.
38873 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38874 new function check_may_shrink_heap.
38876 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38878 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38881 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38883 * catgets/test-gencat.sh: Add "set -e".
38884 * elf/tst-pathopt.sh: Likewise.
38885 * grp/tst_fgetgrent.sh: Likewise.
38886 * iconvdata/run-iconv-test.sh: Likewise.
38887 * intl/tst-gettext.sh: Likewise.
38888 * intl/tst-gettext2.sh: Likewise.
38889 * intl/tst-gettext4.sh: Likewise.
38890 * intl/tst-gettext6.sh: Likewise.
38891 * intl/tst-translit.sh: Likewise.
38892 * io/ftwtest-sh: Likewise.
38893 * libio/test-freopen.sh: Likewise.
38894 * malloc/tst-mtrace.sh: Likewise.
38895 * posix/globtest.sh: Likewise.
38896 * posix/tst-getconf.sh: Likewise.
38897 * posix/wordexp-tst.sh: Likewise.
38898 * stdio-common/tst-printf.sh: Likewise.
38899 * stdio-common/tst-unbputc.sh: Likewise.
38900 * stdlib/tst-fmtmsg.sh: Likewise.
38901 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38902 * catgets/Makefile: Do not specify -e option when running
38903 testsuite shell scripts.
38904 * elf/Makefile: Likewise.
38905 * grp/Makefile: Likewise.
38906 * iconvdata/Makefile: Likewise.
38907 * intl/Makefile: Likewise.
38908 * io/Makefile: Likewise.
38909 * libio/Makefile: Likewise.
38910 * malloc/Makefile: Likewise.
38911 * posix/Makefile: Likewise.
38912 * stdio-common/Makefile: Likewise.
38913 * stdlib/Makefile: Likewise.
38914 * sysdeps/x86_64/Makefile: Likewise.
38916 * io/ftwtest-sh: Add copyright header.
38917 * posix/globtest.sh: Likewise.
38918 * posix/tst-getconf.sh: Likewise.
38919 * posix/wordexp-tst.sh: Likewise.
38920 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38922 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38925 * Makeconfig (+link): Defined as $(+link-static) if
38926 $(build-shared) isn't yes.
38927 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38929 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38931 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38934 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38935 new chunk size with MALLOC_ALIGN_MASK.
38937 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38940 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38942 (__printf_fphex): Determine rounding using get_rounding_mode and
38944 * stdio-common/tst-printf-round.c (struct hex_test): New
38946 (hex_tests): New variable.
38947 (test_hex_in_one_mode): New function.
38948 (do_test): Also run tests for hex float output.
38950 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38952 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38953 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38954 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38955 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38956 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38957 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38958 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38959 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38961 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38963 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38964 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38965 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38966 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38968 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38971 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38973 * elf/tst-rtld-load-self.sh: New test.
38974 * elf/Makefile: Run it.
38976 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38978 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38979 (tst-writev-ENV): Remove.
38980 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38982 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38984 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38986 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38988 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38990 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38992 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38993 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38994 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38997 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39000 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39001 * config.make.in (have-cpp-asm-debuginfo): Removed.
39002 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39003 * configure: Regenerated.
39005 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39008 * stdio-common/printf_fp.c: Include <stdbool.h> and
39010 (___printf_fp): Determine rounding using get_rounding_mode and
39012 * stdio-common/tst-printf-round.c: New file.
39013 * stdio-common/Makefile (tests): Add tst-printf-round.
39014 (link-libm): New variable.
39015 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39017 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39020 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39021 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39023 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39026 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39028 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39029 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39030 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39033 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39036 * include/rounding-mode.h: New file.
39037 * sysdeps/generic/get-rounding-mode.h: Likewise.
39038 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39039 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39040 (MAX_VALUE): New macro.
39041 (MIN_VALUE): Likewise.
39042 (overflow_value): New function.
39043 (underflow_value): Likewise.
39044 (round_and_return): Use overflow_value and underflow_value to
39045 determine return values in overflow and underflow cases. Use
39046 round_away to determine rounding depending on rounding mode.
39047 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39048 determine return values in overflow and underflow cases.
39049 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39050 (struct test_results): New structure.
39051 (struct test): Use struct test_results to store expected results
39052 for all rounding modes.
39053 (TEST): Include expected results for all rounding modes.
39054 (test_in_one_mode): New function.
39055 (do_test): Use test_in_one_mode to compute and check results.
39056 Check results for all rounding modes.
39057 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39060 2012-12-09 Allan McRae <allan@archlinux.org>
39062 * sysdeps/i386/fpu/libm-test-ulps: Update
39064 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39067 (_G_int32_t): Likewise.
39068 (_G_uint16_t): Likewise.
39069 (_G_uint32_t): Likewise.
39070 (_G_HAVE_BOOL): Likewise.
39071 (_G_HAVE_ATEXIT): Likewise.
39072 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39073 (_G_HAVE_IO_FILE_OPEN): Likewise.
39074 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39075 (_G_int32_t): Likewise.
39076 (_G_uint16_t): Likewise.
39077 (_G_uint32_t): Likewise.
39078 (_G_HAVE_BOOL): Likewise.
39079 (_G_HAVE_ATEXIT): Likewise.
39080 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39081 (_G_HAVE_IO_FILE_OPEN): Likewise.
39082 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39083 (_G_int32_t): Likewise.
39084 (_G_uint16_t): Likewise.
39085 (_G_uint32_t): Likewise.
39086 (_G_HAVE_BOOL): Likewise.
39087 (_G_HAVE_ATEXIT): Likewise.
39088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39089 (_G_HAVE_IO_FILE_OPEN): Likewise.
39091 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39093 * csu/libc-tls.c: Update copyright years.
39095 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39097 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39098 [!_G_USING_THUNKS]: Remove conditional code.
39099 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39100 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39102 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39103 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39104 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39105 (_G_VTABLE_LABEL_PREFIX): Likewise.
39106 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39107 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39108 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39109 (_G_VTABLE_LABEL_PREFIX): Likewise.
39110 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39111 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39112 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39113 (_G_VTABLE_LABEL_PREFIX): Likewise.
39114 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39116 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39118 * libio/Makefile: Include ../Makeconfig before tests.
39119 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39120 only if $(build-shared) is yes.
39122 * iconv/gconv_db.c: Update copyright years.
39124 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39127 unwind info if defined PIC. Fix special cases description.
39128 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39130 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39132 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39134 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39136 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39138 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39141 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39142 (LDLIBS-tst-chk4): This.
39143 (LDFLAGS-tst-chk5): Renamed to ...
39144 (LDLIBS-tst-chk5): This.
39145 (LDFLAGS-tst-chk6): Renamed to ...
39146 (LDLIBS-tst-chk6): This.
39147 (LDFLAGS-tst-lfschk4): Renamed to ...
39148 (LDLIBS-tst-lfschk4): This.
39149 (LDFLAGS-tst-lfschk5): Renamed to ...
39150 (LDLIBS-tst-lfschk5): This.
39151 (LDFLAGS-tst-lfschk6): Renamed to ...
39152 (LDLIBS-tst-lfschk6): This.
39154 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39155 on $(common-objpfx)soversions.mk.
39157 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39160 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39163 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39165 * malloc/arena.c (arena_get_retry): New function that gets
39166 another arena for the caller to try its request on.
39167 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39168 current arena cannot fulfill the request.
39169 (__libc_memalign): Likewise.
39170 (__libc_memalign): Likewise.
39171 (__libc_pvalloc): Likewise.
39172 (__libc_calloc): Likewise.
39174 2012-09-05 John Tobey <john.tobey@gmail.com>
39177 * manual/arith.texi (Operations on Complex): Fix description
39178 of carg branch cut.
39180 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39183 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39187 * manual/memory.texi (Memory): Make order of menu items match
39190 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39192 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39193 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39194 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39196 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39198 * csu/libc-tls.c (static_dtv): Renamed to ...
39199 (_dl_static_dtv): This. Make it global.
39200 (_dl_initial_dtv): Removed.
39201 (__libc_setup_tls): Updated.
39202 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39203 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39206 2012-09-06 Petr Machata <pmachata@redhat.com>
39208 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39209 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39210 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39211 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39213 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39216 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39217 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39220 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39223 * Makeconfig (link-static-before-libc): Replace $(+prector)
39225 (link-static-after-libc): Replace $(+postctor) with
39227 (link-bounded): Replace $(+prector)/$(+postctor) with
39228 $(+prectorT)/$(+postctorT).
39229 (+prectorT): New macro.
39230 (+postctorT): Likewise.
39232 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39234 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39235 (round_str): Handle values above the maximum for IBM long double
39237 * stdlib/tst-strtod-round.c (tests): Regenerated.
39239 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39241 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39243 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39244 zarch_nohighgprs around the zarch optimized routines.
39245 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39246 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39250 2012-09-05 David S. Miller <davem@davemloft.net>
39252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39254 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39255 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39256 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39257 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39262 * malloc/arena.c: Fold copyright years.
39263 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39267 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39269 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39271 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39273 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39275 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39276 change internal state upon failure.
39278 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39280 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39281 * malloc/memusage.c (mmap): Likewise.
39282 (mmap64, mremap): Likewise. Adjust name in comment.
39284 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39286 * libio/fileops.c: Fix typos in comments.
39287 * libio/oldfileops.c: Likewise.
39288 * libio/wfileops.c: Likewise.
39290 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39293 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39294 (tst-malloc-usable-ENV): Set environment for test case.
39295 * malloc/hooks.c (malloc_check_get_size): New function to get
39297 * malloc/malloc.c (musable): Use malloc_check_get_size.
39298 * malloc/tst-malloc-usable.c: New test case.
39300 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39302 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39304 2012-09-05 Allan McRae <allan@archlinux.org>
39307 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39308 determine header location.
39309 * configure: Regenerated.
39311 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39313 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39315 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39316 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39318 (test): Regenerate.
39320 2012-09-04 David S. Miller <davem@davemloft.net>
39322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39324 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39326 2012-09-04 Florian Weimer <fweimer@redhat.com>
39328 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39331 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39333 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39336 * libio/iogetdelim.c: Include <limits.h>.
39337 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39338 + len + 1 would overflow.
39340 2012-09-03 Andreas Jaeger <aj@suse.de>
39342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39343 * sysdeps/i386/fpu/libm-test-ulps: Update.
39345 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39347 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39348 Add s_sinf-sse2, s_conf-sse2.
39350 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39351 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39352 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39353 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39355 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39356 for using routine as __sinf_ia32.
39357 Use macro for function declaration and weak_alias.
39358 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39359 for using routine as __cosf_ia32.
39360 Use macro for function declaration and weak_alias.
39362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39363 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39365 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39366 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39369 * math/libm-test.inc (cos_test): Add more test cases.
39370 (sin_test): Likewise.
39371 (sincos_test): Likewise.
39373 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39376 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39380 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39383 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39384 first element of the GOT.
39385 (elf_machine_load_address): Return the difference between
39386 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39388 2012-09-01 Allan McRae <allan@archlinux.org>
39391 * configure.in (AWK): Require gawk version 3.0 or later.
39392 * configure: Regenerated.
39394 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39396 * sysdeps/unix/sysv/linux/kernel-features.h
39397 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39399 [__NR_clock_getres]: Make code unconditional.
39400 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39401 (clock_getcpuclockid): Remove code left unreachable by removal of
39403 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39404 code unconditional.
39405 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39406 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39407 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39408 Make code unconditional.
39409 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39410 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39411 * sysdeps/unix/sysv/linux/clock_settime.c
39412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39414 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39415 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39417 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39420 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39421 scripts/test-installation.pl.
39423 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39424 and $ld_so_version if it is set.
39426 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39430 failure if reading from procfs failed.
39431 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39433 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39435 * sysdeps/unix/sysv/linux/kernel-features.h
39436 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39437 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39438 Remove conditional code.
39439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39440 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39441 Remove conditional code.
39442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39443 * sysdeps/unix/sysv/linux/i386/fxstat.c
39444 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39446 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39449 * sysdeps/unix/sysv/linux/i386/lxstat.c
39450 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39452 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39453 Remove conditional code.
39454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39455 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39456 Remove conditional code.
39457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39458 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39459 <kernel-features.h>.
39460 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39462 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39463 Remove conditional code.
39464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39465 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39466 Remove conditional.
39468 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39471 * NEWS: Add fixed bug number.
39473 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39476 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39477 underflowing exponent in case of negative sign.
39478 * stdlib/tst-strtod-round-data: Add more tests.
39479 * stdlib/tst-strtod-round.c (tests): Regenerated.
39482 * stdlib/strtod_l.c (NDIG): Remove.
39483 (HEXNDIG): Likewise.
39484 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39485 smallest representable value.
39486 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39487 lie within an exact representation of 1/2 ulp of the result.
39488 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39490 (TENS_P9_IDX): Define unconditionally.
39491 (TENS_P9_SIZE): Likewise.
39492 (TENS_P10_IDX): Likewise.
39493 (TENS_P10_SIZE): Likewise.
39494 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39495 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39496 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39497 entries for 10^2^13 and 10^2^14.
39498 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39499 (TENS_P13_IDX): Define.
39500 (TENS_P13_SIZE): Likewise.
39501 (TENS_P14_IDX): Likewise.
39502 (TENS_P14_SIZE): Likewise.
39503 (_fpioconst_pow10): Change array size to
39504 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39506 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39507 1024]: Add entries for 10^2^13 and 10^2^14.
39508 [LAST_POW10 > _LAST_POW10]: Remove #error.
39509 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39510 (_fpioconst_pow10): Change array size to
39511 FPIOCONST_POW10_ARRAY_SIZE.
39512 * stdlib/gen-fpioconst.c: New file.
39513 * stdlib/gen-tst-strtod-round.c: Likewise.
39514 * stdlib/tst-strtod-round-data: Likewise.
39515 * stdlib/tst-strtod-round.c: Likewise.
39516 * stdlib/Makefile (tests): Add tst-strtod-round.
39519 * stdlib/strtod_l.c: Include <stdint.h>.
39520 (NDEBUG): Do not define.
39521 (round_and_return): Change EXPONENT parameter to type intmax_t.
39522 Rearrange calculations to avoid internal overflow possibilities.
39523 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39524 Rearrange calculations to avoid internal overflow possibilities.
39525 Assert that number fits inside MPNSIZE limbs.
39526 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39527 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39528 calculations and add assertions to avoid internal overflow
39529 possibilities. Add casts to avoid signed/unsigned operations.
39530 * stdlib/tst-strtod-overflow.c: New file.
39531 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39533 2012-08-25 Marek Polacek <polacek@redhat.com>
39535 * time/time.h: Fix some typos in comments.
39537 2012-08-23 Roland McGrath <roland@hack.frob.com>
39539 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39540 * posix/tst-rfc3484-2.c: Likewise.
39541 * posix/tst-rfc3484-3.c: Likewise.
39543 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39545 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39546 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39548 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39550 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39551 #include of fxstatat64.c.
39553 2012-08-22 Roland McGrath <roland@hack.frob.com>
39555 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39556 * shadow/getspent_r.c: Likewise.
39557 * shadow/getspnam.c: Likewise.
39558 * shadow/getspnam_r.c: Likewise.
39559 * gshadow/getsgent.c: Likewise.
39560 * gshadow/getsgent_r.c: Likewise.
39561 * gshadow/getsgnam.c: Likewise.
39562 * gshadow/getsgnam_r.c: Likewise.
39563 * inet/getnetbyad.c: Likewise.
39564 * inet/getnetbyad_r.c: Likewise.
39565 * inet/getnetbynm.c: Likewise.
39566 * inet/getnetbynm_r.c: Likewise.
39567 * inet/getnetent.c: Likewise.
39568 * inet/getnetent_r.c: Likewise.
39569 * inet/getproto.c: Likewise.
39570 * inet/getproto_r.c: Likewise.
39571 * inet/getprtent.c: Likewise.
39572 * inet/getprtent_r.c: Likewise.
39573 * inet/getprtname.c: Likewise.
39574 * inet/getprtname_r.c: Likewise.
39575 * inet/getrpcbyname.c: Likewise.
39576 * inet/getrpcbyname_r.c: Likewise.
39577 * inet/getrpcbynumber.c: Likewise.
39578 * inet/getrpcbynumber_r.c: Likewise.
39579 * inet/getrpcent.c: Likewise.
39580 * inet/getrpcent_r.c: Likewise.
39581 * inet/getaliasent.c: Likewise.
39582 * inet/getaliasent_r.c: Likewise.
39583 * inet/getaliasname.c: Likewise.
39584 * inet/getaliasname_r.c: Likewise.
39585 * nscd/getgrgid_r.c: Likewise.
39586 * nscd/getgrnam_r.c: Likewise.
39587 * nscd/gethstbyad_r.c: Likewise.
39588 * nscd/gethstbynm3_r.c: Likewise.
39589 * nscd/getpwnam_r.c: Likewise.
39590 * nscd/getpwuid_r.c: Likewise.
39591 * nscd/getsrvbynm_r.c: Likewise.
39592 * nscd/getsrvbypt_r.c: Likewise.
39593 * nscd/gai.c: Likewise.
39595 * configure.in (build_nscd): New substituted variable, set
39596 by --disable-build-nscd and defaults to $use_nscd.
39597 * configure: Regenerated.
39598 * config.make.in (build-nscd): New substituted variable.
39599 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39600 Change conditional to require [$(build-nscd) = yes] as well.
39601 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39604 * configure.in (use_nscd): New substituted variable, set by
39605 --disable-nscd. If enabled, define USE_NSCD.
39606 * configure: Regenerated.
39607 * config.h.in: Add USE_NSCD.
39608 * config.make.in (use-nscd): New substituted variable.
39609 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39610 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39611 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39612 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39613 (CFLAGS-getgrnam_r.c): Likewise.
39614 (CFLAGS-initgroups.c): Likewise.
39615 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39616 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39618 * inet/getnetgrent_r.c
39619 (nscd_setnetgrent): New function, broken out of ...
39620 (setnetgrent): ... here. Call it.
39621 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39622 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39623 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39624 * nscd/Makefile (routines, aux): Move definitions after include of
39625 Makeconfig. Conditionalize on [$(use-nscd) != no].
39626 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39627 Conditionalize on [USE_NSCD].
39628 (is_nscd, nscd_init_cb): Likewise.
39629 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39630 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39631 * nss/nss_db/db-init.c: Likewise.
39632 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39634 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39635 (make_request): Use it.
39636 (cache_valid_p): New function.
39637 (__check_pf): Use it.
39638 * NEWS: Add item for --disable-nscd.
39640 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39642 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39643 to support sed >= 4.2.1-20-ga9bf076.
39644 * configure: Regenerated.
39646 2012-08-22 Roland McGrath <roland@hack.frob.com>
39648 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39649 Conditionalize whole body on [IREL].
39651 2012-08-22 Jeff Law <law@redhat.com>
39654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39655 if the family is PF_UNSPEC.
39657 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39659 * Makerules (lib-version): Rename from V.
39660 (install-lib-nosubdir): Change V to lib-version.
39662 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39665 * powerpc32/power6/wcschr.c: New file.
39666 * powerpc32/power6/wcscpy.c: New file.
39667 * powerpc32/power6/wcsrchr.c: New file.
39668 * powerpc64/power6/wcschr.c: New file.
39669 * powerpc64/power6/wcscpy.c: New file.
39670 * powerpc64/power6/wcsrchr.c: New file.
39672 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39674 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39675 (two_way_short_needle): Use it.
39676 * string/strstr.c (AVAILABLE1_USES_J): Define.
39677 * string/strcasestr.c: Likewise.
39679 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39681 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39684 * NEWS: Add an entry.
39685 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39686 define their defaults.
39687 (two_way_short_needle): Detect end-of-string on-the-fly.
39688 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39689 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39690 * string/bug-strcasestr1.c: New test.
39691 * string/Makefile: Run it.
39693 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39696 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39697 the first character.
39699 2012-08-21 Roland McGrath <roland@hack.frob.com>
39701 * csu/elf-init.c (__libc_csu_irel): Function removed.
39702 * csu/libc-start.c (apply_irel): New function.
39703 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39705 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39707 * sysdeps/unix/sysv/linux/kernel-features.h
39708 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39709 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39710 <kernel-features.h>.
39711 [__NR_fadvise64_64]: Make code unconditional.
39712 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39713 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39714 !__NR_fadvise64_64)]: Likewise.
39715 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39716 !__NR_fadvise64_64))]: Likewise.
39717 [__NR_fadvise64]: Make code unconditional.
39718 [!__NR_fadvise64]: Remove conditional code.
39719 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39720 <kernel-features.h>.
39721 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39723 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39726 not include <kernel-features.h>.
39727 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39729 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39731 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39732 include <kernel-features.h>.
39733 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39735 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39738 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39740 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39741 slight instruction rearrangements per scrollpipe analysis.
39742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39744 2012-08-20 Roland McGrath <roland@hack.frob.com>
39746 * manual/syslog.texi (syslog; vsyslog, closelog):
39747 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39748 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39750 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39751 DSOCAPS to match condition on defining it.
39753 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39755 * sysdeps/unix/sysv/linux/kernel-features.h
39756 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39758 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39759 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39764 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39765 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39767 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39768 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39770 * sysdeps/unix/sysv/linux/kernel-features.h
39771 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39772 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39774 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39775 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39776 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39777 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39778 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39779 Make code unconditional.
39780 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39781 (__mmap64) [!__NR_mmap2]: Likewise.
39782 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39783 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39784 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39786 [__NR_mmap2]: Make code unconditional.
39787 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39788 (__mmap64) [!__NR_mmap2]: Likewise.
39790 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39792 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39794 2012-08-18 Andreas Jaeger <aj@suse.de>
39796 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39798 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39800 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39801 * include/unistd.h (__have_sock_cloexec): Likewise.
39802 (__have_pipe2): Likewise.
39803 (__have_dup3): Likewise.
39805 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39808 * include/unistd.h (__have_pipe2): Change define into an extern int.
39809 (__have_dup3): Likewise.
39810 * socket/have_sock_cloexec.c: Include fcntl.h.
39811 (__have_pipe2): New variable.
39812 (__have_dup3): Likewise.
39814 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39816 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39818 2012-08-17 Marek Polacek <polacek@redhat.com>
39820 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39821 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39823 2012-08-17 Roland McGrath <roland@hack.frob.com>
39825 * configure.in: Add AC_SUBST for sysheaders.
39826 * configure: Regenerated.
39827 * config.make.in (sysheaders): New substituted variable.
39829 * sysdeps/unix/mkfifo.c: Moved ...
39830 * sysdeps/posix/mkfifo.c: ... here.
39831 * sysdeps/unix/mkfifoat.c: Moved ...
39832 * sysdeps/posix/mkfifoat.c: ... here.
39834 * sysdeps/unix/utime.c: Moved ...
39835 * sysdeps/posix/utime.c: ... here.
39837 * sysdeps/unix/time.c: Moved ...
39838 * sysdeps/posix/time.c: ... here.
39839 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39840 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39842 * sysdeps/unix/nice.c: Moved ...
39843 * sysdeps/posix/nice.c: ... here.
39845 * sysdeps/unix/alarm.c: Moved ...
39846 * sysdeps/posix/alarm.c: ... here.
39848 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39850 2012-08-17 Jeff Law <law@redhat.com>
39852 * intl/Makefile (codeset_mo): New variable.
39853 ($(codeset_mo)): New target.
39854 (tst-codeset.out): Depend on that. Remove explicit rule.
39855 (tst-gettext3.out, tst-gettext5.out): Likewise.
39856 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39857 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39858 * intl/tst-codeset.sh: Remove.
39859 * intl/tst-gettext3.sh: Likewise.
39860 * intl/tst-gettext5.sh: Likewise.
39862 2012-08-17 Roland McGrath <roland@hack.frob.com>
39864 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39865 * sysdeps/unix/syscalls.list: ... here.
39867 * sysdeps/posix/getaddrinfo.c
39868 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39869 (gaiconf_init, gaiconf_reload): Use them.
39870 [!_STATBUF_ST_NSEC]
39871 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39872 Define using time_t rather than struct timespec.
39874 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39875 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39877 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39879 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39880 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39883 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39884 __libc_cleanup_push argument.
39886 * bits/param.h: New file.
39887 * misc/sys/param.h: New file.
39888 * include/sys/param.h: New file.
39889 * misc/Makefile (headers): Add bits/param.h.
39890 * sysdeps/generic/sys/param.h: File removed.
39891 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39892 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39893 * sysdeps/mach/hurd/bits/param.h: New file.
39894 * sysdeps/mach/hurd/sys/param.h: File removed.
39896 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39899 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39901 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39902 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39905 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39906 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39907 rather than -D_IO_MTSAFE_IO conditionally.
39908 * stdio-common/Makefile (CPPFLAGS): Likewise.
39909 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39910 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39911 Use $(libio-mtsafe).
39912 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39913 of -D_IO_MTSAFE_IO.
39914 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39915 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39916 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39917 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39918 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39919 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39920 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39921 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39922 (CFLAGS-fread_u_chk.c): Likewise.
39923 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39924 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39925 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39926 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39927 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39928 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39929 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39930 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39931 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39933 * libio/Makefile: Test [$(libc-reentrant) = yes]
39934 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39937 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39938 * sysdeps/pthread/configure: File removed.
39939 * sysdeps/pthread/Makeconfig: New file.
39940 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39941 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39943 2012-08-16 Gary Benson <gbenson@redhat.com>
39945 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39946 unmapping the first object in a namespace.
39948 2012-08-16 Roland McGrath <roland@hack.frob.com>
39950 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39951 (__internal_setnetgrent): ... this. Add internal_function to
39952 definition. Add libc_hidden_def.
39953 (setnetgrent): Update caller.
39954 (internal_endnetgrent): Renamed to ...
39955 (__internal_endnetgrent): ... this. Add internal_function to
39956 definition. Add libc_hidden_def.
39957 (endnetgrent): Update caller.
39958 (internal_getnetgrent_r): Renamed to ...
39959 (__internal_getnetgrent_r): ... this. Add internal_function to
39960 definition. Add libc_hidden_def.
39961 (__getnetgrent_r): Update caller.
39962 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39964 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39966 * stdlib/longlong.h: Update from GCC.
39968 2012-08-16 Roland McGrath <roland@hack.frob.com>
39970 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39971 on _QL, which is set by umul_ppmm but never used.
39972 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39973 variables, which are set by GMP macros but never used.
39974 * stdio-common/_itowa.c (_itowa): Likewise.
39975 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39976 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39978 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39980 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39981 struct La_sh_regs is not constant.
39982 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39983 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39984 and struct La_sparc64_regs are not constant.
39986 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39988 * sysdeps/unix/sysv/linux/kernel-features.h
39989 (__ASSUME_POSIX_TIMERS): Remove.
39990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39991 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39992 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39993 Make code unconditional.
39994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39995 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39996 Make code unconditional.
39997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39998 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39999 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40001 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40002 Make code unconditional.
40003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40004 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40005 (__libc_missing_posix_timers): Remove.
40007 2012-08-15 Roland McGrath <roland@hack.frob.com>
40009 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40010 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40012 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40014 * elf/dl-sym.c: Include <stdlib.h>.
40016 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40017 constants, which avoids warnings in 32-bit builds.
40019 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40020 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40022 * misc/lseek.c: File moved to ...
40023 * io/lseek.c: ... here.
40025 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40027 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40028 shifting LEN more than 31 bits at once.
40030 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40033 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40034 segmentation fault for a case of two empty input strings.
40035 * string/test-strncasecmp.c (check1): Renamed to...
40036 (bz12205): ...this.
40037 (bz14195): Add new testcase for two empty input strings and N > 0.
40038 (test_main): Call new testcase, adapt for renamed function.
40040 2012-08-15 Andreas Jaeger <aj@suse.de>
40043 * crypt/md5test2.c: New test, based on test supplied by Serge
40044 Belyshev <belyshev@depni.sinp.msu.ru>.
40045 * crypt/Makefile (xtests): Add md5test-giant..
40046 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40048 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40051 * crypt/md5.c (md5_process_block): Don't assume the buffer
40052 length is less than 2**32.
40053 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40054 length is less than 2**64.
40056 2012-08-15 Roland McGrath <roland@hack.frob.com>
40058 * string/str-two-way.h: Include <sys/param.h>.
40059 (MAX): Macro removed.
40061 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40062 Move #define and #undef of memmove to just before and after
40063 including <string.h>.
40065 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40066 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40067 and after including <string.h>. Move declarations of
40068 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40069 to before #include "string/memmove.c".
40071 * include/dirent.h: Declare __getdirentries.
40073 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40074 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40076 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40078 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40079 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40080 * sysdeps/i386/configure: Regenerated.
40081 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40082 STABS_CURRENT_FILE, and STABS_FUN.
40083 (END): Remove call to STABS_FUN_END.
40084 (STABS_CURRENT_FILE1): Delete.
40085 (STABS_CURRENT_FILE): Likewise.
40086 (STABS_FUN): Likewise.
40087 (STABS_FUN_END): Likewise.
40088 (STABS_FUN2): Likewise.
40089 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40090 * sysdeps/x86_64/configure: Regenerated.
40092 2012-08-14 Roland McGrath <roland@hack.frob.com>
40094 * elf/dl-open.c: Include <atomic.h>.
40095 * elf/dl-lookup.c: Likewise.
40097 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40099 * sysdeps/unix/sysv/linux/kernel-features.h
40100 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40101 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40103 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40105 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40106 condition on __ASSUME_CLONE_THREAD_FLAGS.
40108 2012-08-14 Andreas Jaeger <aj@suse.de>
40110 * sysdeps/i386/fpu/libm-test-ulps: Update.
40112 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40114 * include/atomic.h (atomic_exchange_and_add): Split into ...
40115 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40118 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40122 2012-08-13 Jeff Law <law@redhat.com>
40124 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40125 null byte in the output string.
40127 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40129 * sysdeps/unix/sysv/linux/kernel-features.h
40130 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40131 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40132 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40133 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40134 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40135 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40136 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40138 2012-08-09 Jeff Law <law@redhat.com>
40141 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40142 When avoid_arena is set, don't retry in the that arena. Pick the
40143 next one, whatever it might be.
40144 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40145 (arena_lock): Pass in new parameter to arena_get2.
40146 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40148 (__libc_malloc): Unify retrying after main arena failure with
40149 __libc_memalign version.
40150 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40152 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40155 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40156 to __redirect_strstr.
40157 (__strstr_sse42): Use typeof __redirect_strstr.
40158 (__strstr_ia32): Likewise.
40159 (__libc_strstr): New prototype.
40160 (strstr): Renamed to ...
40161 (__libc_strstr): This.
40162 (strstr): New strong alias of __libc_strstr.
40163 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40164 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40167 (__libc_time): New prototype.
40168 (time_ifunc): Replace time with __libc_time.
40169 (time): New strong alias and hidden definition of __libc_time.
40170 (__GI_time): Remove strong alias.
40171 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40172 Include <stddef.h>.
40173 (memmove): Redefined to __redirect_memmove.
40174 (__memmove_sse2): Use typeof __redirect_memmove.
40175 (__memmove_ssse3): Likewise.
40176 (__memmove_ssse3_back): Likewise.
40177 (__libc_memmove): New prototype.
40178 (memmove): Renamed to ...
40179 (__libc_memmove): This.
40180 (memmove): New strong alias of __libc_memmove.
40182 2012-08-08 Mark Salter <msalter@redhat.com>
40185 (R_MN10300_TLS_GD): Define.
40186 (R_MN10300_TLS_LD): Likewise.
40187 (R_MN10300_TLS_LDO): Likewise.
40188 (R_MN10300_TLS_GOTIE): Likewise.
40189 (R_MN10300_TLS_IE): Likewise.
40190 (R_MN10300_TLS_LE): Likewise.
40191 (R_MN10300_TLS_DTPMOD): Likewise.
40192 (R_MN10300_TLS_DTPOFF): Likewise.
40193 (R_MN10300_TLS_TPOFF): Likewise.
40194 (R_MN10300_SYM_DIFF): Likewise.
40195 (R_MN10300_ALIGN): Likewise.
40196 (R_MN10300_NUM): Update.
40198 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40200 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40203 2012-08-08 Roland McGrath <roland@hack.frob.com>
40205 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40207 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40208 sysdeps/unix -> sysdeps/posix move.
40209 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40211 2012-08-07 Allan McRae <allan@archlinux.org>
40214 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40215 (SUNOS_CPP): Likewise.
40216 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40218 (open_input): Call CPP using execvp.
40220 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40222 * sysdeps/unix/sysv/linux/kernel-features.h
40223 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40224 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40225 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40226 (__ASSUME_WAITID_SYSCALL): Likewise.
40227 * sysdeps/unix/sysv/linux/dl-execstack.c
40228 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40229 code unconditional.
40230 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40233 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40234 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40236 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40238 [__ASSUME_WAITID_SYSCALL]: Likewise.
40239 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40241 2012-08-07 Roland McGrath <roland@hack.frob.com>
40243 * sysdeps/unix/closedir.c: Renamed to ...
40244 * sysdeps/posix/closedir.c: ... here.
40245 * sysdeps/unix/dirfd.c: Renamed to ...
40246 * sysdeps/posix/dirfd.c: ... here.
40247 * sysdeps/unix/dirstream.h: Renamed to ...
40248 * sysdeps/posix/dirstream.h: ... here.
40249 * sysdeps/unix/fdopendir.c: Renamed to ...
40250 * sysdeps/posix/fdopendir.c: ... here.
40251 * sysdeps/unix/opendir.c: Renamed to ...
40252 * sysdeps/posix/opendir.c: ... here.
40253 * sysdeps/unix/readdir.c: Renamed to ...
40254 * sysdeps/posix/readdir.c: ... here.
40255 * sysdeps/unix/readdir_r.c: Renamed to ...
40256 * sysdeps/posix/readdir_r.c: ... here.
40257 * sysdeps/unix/rewinddir.c: Renamed to ...
40258 * sysdeps/posix/rewinddir.c: ... here.
40259 * sysdeps/unix/seekdir.c: Renamed to ...
40260 * sysdeps/posix/seekdir.c: ... here.
40261 * sysdeps/unix/telldir.c: Renamed to ...
40262 * sysdeps/posix/telldir.c: ... here.
40263 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40264 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40265 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40266 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40268 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40269 * bits/fcntl.h: ... here.
40271 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40273 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40274 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40275 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40276 (struct flock): Move l_start, l_len to the beginning.
40277 Use __pid_t for l_pid.
40278 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40279 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40280 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40281 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40282 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40283 [__USE_LARGEFILE64] (struct flock64): New type.
40284 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40286 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40287 * bits/dirent.h: ... here.
40289 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40290 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40292 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40294 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40295 Change from 2.6.0 to 2.6.16.
40296 * sysdeps/unix/sysv/linux/configure: Regenerated.
40297 * sysdeps/unix/sysv/linux/kernel-features.h
40298 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40299 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40301 (__ASSUME_UTIMES): Likewise.
40302 (__ASSUME_CLONE_STOPPED): Remove.
40303 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40304 architectures, not kernel version.
40305 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40306 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40307 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40308 (__ASSUME_WAITID_SYSCALL): Likewise.
40309 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40310 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40311 * README: State 2.6.16 as minimum Linux kernel version. Do not
40312 refer to older versions.
40314 2012-08-06 Roland McGrath <roland@hack.frob.com>
40316 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40317 Define alphasort64 as an alias.
40318 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40319 Define versionsort64 as an alias.
40320 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40321 Define scandir64 as an alias.
40322 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40323 Define scandirat64 as an alias.
40324 * dirent/alphasort64.c (alphasort64):
40325 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40326 * dirent/versionsort64.c: Likewise.
40327 * dirent/scandir64.c: Likewise.
40328 * dirent/scandirat64.c: Likewise.
40329 * sysdeps/wordsize-64/alphasort.c: File removed.
40330 * sysdeps/wordsize-64/alphasort64.c: File removed.
40331 * sysdeps/wordsize-64/scandir.c: File removed.
40332 * sysdeps/wordsize-64/scandir64.c: File removed.
40333 * sysdeps/wordsize-64/scandirat.c: File removed.
40334 * sysdeps/wordsize-64/scandirat64.c: File removed.
40335 * sysdeps/wordsize-64/versionsort.c: File removed.
40336 * sysdeps/wordsize-64/versionsort64.c: File removed.
40337 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40339 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40340 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40341 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40342 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40344 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40346 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40348 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40350 [defined __arch64__ || defined __sparcv9]
40351 (__INO_T_MATCHES_INO64_T): New macro.
40352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40353 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40354 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40355 * sysdeps/unix/sysv/linux/bits/dirent.h
40356 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40357 (_DIRENT_MATCHES_DIRENT64): New macro.
40359 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40360 Define lockf64 as an alias.
40361 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40362 Define fseeko64 as an alias.
40363 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40364 Define ftello64 as an alias.
40365 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40366 Define _IO_fgetpos64 and fgetpos64 as aliases.
40367 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40368 Define _IO_fsetpos64 and fsetpos64 as aliases.
40369 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40370 Conditionalize body on this.
40371 * libio/fseeko64.c: Likewise.
40372 * libio/ftello64.c: Likewise.
40373 * libio/iofgetpos64.c: Likewise.
40374 * libio/iofsetpos64.c: Likewise.
40375 * sysdeps/wordsize-64/lockf.c: File removed.
40376 * sysdeps/wordsize-64/lockf64.c: File removed.
40377 * sysdeps/wordsize-64/fseeko.c: File removed.
40378 * sysdeps/wordsize-64/fseeko64.c: File removed.
40379 * sysdeps/wordsize-64/ftello.c: File removed.
40380 * sysdeps/wordsize-64/ftello64.c: File removed.
40381 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40382 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40383 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40384 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40388 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40390 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40391 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40392 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40393 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40394 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40396 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40397 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40398 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40400 [defined __arch64__ || defined __sparcv9]
40401 (__OFF_T_MATCHES_OFF64_T): New macro.
40402 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40403 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40405 (__OFF_T_MATCHES_OFF64_T): New macro.
40407 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40409 * stdlib/secure-getenv.c (__secure_getenv): Replace
40410 GLIBC_2_16 with GLIBC_2_17.
40412 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40414 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40415 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40417 2012-08-03 David S. Miller <davem@davemloft.net>
40419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40421 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40425 (__ASSUME_CORRECT_SI_PID): Likewise.
40426 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40427 (__ASSUME_TMPFS_NAME): Likewise.
40428 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40429 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40430 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40431 (HAVE_AUX_SECURE): Make definition unconditional.
40432 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40433 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40435 2012-08-03 Roland McGrath <roland@hack.frob.com>
40437 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40438 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40439 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40441 __eloop_threshold instead of SYMLOOP_MAX.
40443 * sysdeps/generic/eloop-threshold.h: New file.
40444 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40446 * elf/chroot_canon.c (chroot_canon): Likewise.
40448 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40452 Change to 2.6.0 everywhere.
40453 * sysdeps/unix/sysv/linux/configure: Regenerated.
40454 * sysdeps/unix/sysv/linux/kernel-features.h
40455 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40456 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40458 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40459 (__ASSUME_FUTEX_REQUEUE): Remove.
40460 (__ASSUME_STATFS64): Define unconditionally.
40461 (__ASSUME_AT_SECURE): Likewise.
40462 (__ASSUME_CORRECT_SI_PID): Likewise.
40463 (__ASSUME_TGKILL): Define without depending on kernel version for
40465 (__ASSUME_UTIMES): Likewise.
40466 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40468 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40469 (__ASSUME_TMPFS_NAME): Likewise.
40470 * README: Update reference to Linux kernel versions.
40472 2012-08-02 Marek Polacek <polacek@redhat.com>
40475 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40476 libc_cv_asm_type_prefix with %.
40477 * configure: Regenerated.
40478 * include/libc-symbols.h: Remove comment about
40479 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40480 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40481 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40482 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40483 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40484 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40485 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40486 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40487 * elf/tst-unique2mod1.c: Likewise.
40488 * elf/tst-unique1mod2.c: Likewise.
40489 * elf/tst-unique1mod1.c: Likewise.
40490 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40491 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40492 Replace ASM_TYPE_DIRECTIVE with .type.
40493 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40494 * sysdeps/i386/sysdep.h: Likewise.
40495 * sysdeps/x86_64/sysdep.h: Likewise.
40496 * sysdeps/sh/sysdep.h: Likewise.
40497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40498 Do not define ASM_TYPE_DIRECTIVE.
40499 * sysdeps/powerpc/sysdep.h: Likewise.
40500 * sysdeps/powerpc/powerpc32/sysdep.h:
40501 Replace ASM_TYPE_DIRECTIVE with .type.
40502 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40503 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40504 * sysdeps/i386/fpu/e_powf.S: Likewise.
40505 * sysdeps/i386/fpu/e_expl.S: Likewise.
40506 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40507 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40508 * sysdeps/i386/fpu/e_pow.S: Likewise.
40509 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40510 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40511 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40512 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40513 * sysdeps/i386/fpu/e_log2.S: Likewise.
40514 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40515 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40516 * sysdeps/i386/fpu/e_powl.S: Likewise.
40517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40519 * sysdeps/i386/fpu/e_logl.S: Likewise.
40520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40521 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40522 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40525 * sysdeps/i386/fpu/e_log.S: Likewise.
40526 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40527 * sysdeps/i386/fpu/e_logf.S: Likewise.
40528 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40529 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40530 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40531 * sysdeps/i386/fpu/e_log10.S: Likewise.
40532 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40533 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40534 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40535 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40536 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40538 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40539 * sysdeps/i386/i686/strtok.S: Likewise.
40540 * sysdeps/i386/i386-mcount.S: Likewise.
40541 * sysdeps/i386/strtok.S: Likewise.
40542 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40543 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40544 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40546 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40547 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40548 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40549 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40550 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40551 * sysdeps/x86_64/_mcount.S: Likewise.
40552 * sysdeps/x86_64/strtok.S: Likewise.
40553 * sysdeps/sh/_mcount.S: Likewise.
40555 2012-08-01 Roland McGrath <roland@hack.frob.com>
40557 * libio/iofopen.c: Include <fcntl.h>.
40558 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40559 (_IO_fopen64, fopen64): Define as aliases.
40560 * libio/iofopen64.c: Include <fcntl.h>.
40561 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40562 Conditionalize body on this.
40563 * sysdeps/wordsize-64/iofopen.c: File removed.
40564 * sysdeps/wordsize-64/iofopen64.c: File removed.
40566 2012-08-01 Marek Polacek <polacek@redhat.com>
40568 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40569 Use dlfcn directly instead of a variable.
40570 (binfmt-subdir): Do not define.
40573 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40575 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40576 Remove all definitions.
40577 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40578 <kernel-features.h>.
40579 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40580 (miss_F_GETOWN_EX): Remove all definitions.
40581 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40583 [!__ASSUME_FCNTL64]: Remove conditional code.
40584 [__ASSUME_FCNTL64]: Make code unconditional.
40585 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40586 <kernel-features.h>.
40587 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40588 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40589 (lockf64) [__NR_fcntl64]: Make code unconditional.
40590 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40592 * sysdeps/unix/sysv/linux/kernel-features.h
40593 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40594 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40595 Make code unconditional.
40596 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40597 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40599 [__NR_vfork]: Make code unconditional.
40600 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40601 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40603 [__NR_vfork]: Make code unconditional.
40604 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40605 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40607 2012-08-01 Roland McGrath <roland@hack.frob.com>
40609 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40610 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40612 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40613 Define mkstemp64 as an alias.
40614 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40615 Define mkstemps64 as an alias.
40616 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40617 Define mkostemp64 as an alias.
40618 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40619 Define mkostemps64 as an alias.
40620 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40621 Conditionalize body on this.
40622 * misc/mkostemp64.c: Likewise.
40623 * misc/mkostemps64.c: Likewise.
40624 * misc/mkstemps64.c: Likewise.
40625 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40626 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40627 * sysdeps/wordsize-64/mkostemp.c: File removed.
40628 * sysdeps/wordsize-64/mkstemp.c: File removed.
40629 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40630 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40631 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40635 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40636 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40637 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40638 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40640 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40641 compat_symbol macros from <shlib-compat.h> rather than the underlying
40642 default_symbol_version and symbol_version macros, so that DEFAULT
40643 lines in shlib-versions are respected.
40644 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40646 2012-08-01 Florian Weimer <fweimer@redhat.com>
40648 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40649 Declare with warn_unused_result.
40650 (setgid, setregid, setegid, setresgid): Likewise.
40651 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40653 * WUR-REPORT: Remove set*id functions.
40655 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40657 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40659 2012-07-31 Roland McGrath <roland@hack.frob.com>
40662 * include/sys/socket.h (__libc_accept, __libc_accept4):
40663 Add attribute_hidden.
40664 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40666 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40668 * inet/getnetgrent_r.c (setup): Likewise.
40670 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40672 2012-07-31 David S. Miller <davem@davemloft.net>
40674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40676 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40679 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40680 value between 1.0 and 2.0 and smaller part has absolute value less
40682 * math/s_clog10.c (__clog10): Likewise.
40683 * math/s_clog10f.c (__clog10f): Likewise.
40684 * math/s_clog10l.c (__clog10l): Likewise.
40685 * math/s_clogf.c (__clogf): Likewise.
40686 * math/s_clogl.c (__clogl): Likewise.
40687 * math/libm-test.inc (clog_test): Add more tests.
40688 (clog10_test): Likewise.
40689 * sysdeps/i386/fpu/libm-test-ulps: Update.
40690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40692 2012-07-31 Florian Weimer <fweimer@redhat.com>
40694 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40695 Exit with zero in case no suitable GID is found, and write a
40696 message to standard error.
40698 2012-07-30 Roland McGrath <roland@hack.frob.com>
40700 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40702 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40703 (MAXPATHLEN): Removed.
40704 (NOGROUP, NODEV): New macros.
40705 (setbit, clrbit, isset, isclr): New macros.
40706 (howmany, roundup, powerof2): New macros.
40707 (DEV_BSIZE): New macro.
40709 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40710 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40712 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40713 definition on [!__NO_LONG_DOUBLE_MATH].
40715 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40716 PTR_MANGLE and PTR_DEMANGLE.
40718 * socket/accept4.c (accept4): Rename to __libc_accept4.
40719 Define accept4 as a weak alias.
40721 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40722 on [_DIRENT_HAVE_D_TYPE].
40723 * io/ftw.c (ftw_dir): Likewise.
40725 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40727 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40729 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40730 Use the BSD numbers rather than the arbitrary ones we had.
40731 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40732 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40733 (SIGXCPU, SIGXFSZ): New macros.
40736 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40737 initializer on [_LIBC_REENTRANT].
40739 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40740 definitions inside [_POSIX_MAPPED_FILES].
40742 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40744 * dirent/opendir.c: Include <fcntl.h>.
40746 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40747 (__libc_getspecific): Likewise.
40748 (__libc_key_create): Likewise.
40750 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40751 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40752 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40753 (tmpfile64): Define as alias.
40754 * sysdeps/wordsize-64/tmpfile.c: File removed.
40755 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40759 * stdio-common/vfscanf.c: Include <stdbool.h>.
40760 * nss/makedb.c: Likewise.
40761 * stdio-common/_i18n_number.h: Likewise.
40762 * argp/argp-help.c: Likewise.
40763 * posix/wordexp.c: Likewise.
40764 * sysdeps/posix/spawni.c: Likewise.
40765 * nss/nss_files/files-initgroups.c: Likewise.
40766 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40767 * nss/nss_files/files-initgroups.c: Likewise.
40768 * nss/nss_db/db-netgrp.c: Likewise.
40769 * nss/nss_db/db-initgroups.c: Likewise.
40770 * io/fchmodat.c: Include <sys/stat.h>.
40772 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40773 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40775 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40778 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40779 Add multiple inclusion protection.
40781 2012-07-27 David S. Miller <davem@davemloft.net>
40783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40785 2012-07-27 Gary Benson <gbenson@redhat.com>
40788 * elf/rtld.c: Include <stap-probe.h>.
40789 (dl_main): Added static probes "init_start" and "init_complete".
40790 * elf/dl-load.c: Include <stap-probe.h>.
40791 (lose): Take new parameter "nsid".
40792 Added static probe "map_failed".
40793 (_dl_map_object_from_fd): Pass namespace id to lose.
40794 Added static probe "map_start".
40795 (open_verify): Pass namespace id to lose.
40796 * elf/dl-open.c: Include <stap-probe.h>.
40797 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40798 and "reloc_complete".
40799 * elf/dl-close.c: Include <stap-probe.h>.
40800 (_dl_close_worker): Added static probes "unmap_start" and
40802 * elf/rtld-debugger-interface.txt: New file documenting the above.
40804 2012-07-26 Roland McGrath <roland@hack.frob.com>
40806 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40807 rather than a string variable.
40808 * sunrpc/rpc_main.c (h_output): Likewise.
40809 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40811 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40813 * inet/check_native.c: New file.
40815 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40818 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40819 if larger part has absolute value 1.0.
40820 * math/s_clog10.c (__clog10): Likewise.
40821 * math/s_clog10f.c (__clog10f): Likewise.
40822 * math/s_clog10l.c (__clog10l): Likewise.
40823 * math/s_clogf.c (__clogf): Likewise.
40824 * math/s_clogl.c (__clogl): Likewise.
40825 * math/libm-test.inc (clog_test): Add more tests.
40826 (clog10_test): Likewise.
40827 * sysdeps/i386/fpu/libm-test-ulps: Update.
40828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40830 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40831 (pltexit): Likewise.
40832 (La_regs): Likewise.
40833 (La_retval): Likewise.
40834 (int_retval): Likewise.
40835 Update #error for removed macros to refer only to definitions in
40837 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40839 (pltexit): Likewise.
40840 (La_regs): Likewise.
40841 (La_retval): Likewise.
40842 (int_retval): Likewise.
40843 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40845 (pltexit): Likewise.
40846 (La_regs): Likewise.
40847 (La_retval): Likewise.
40848 (int_retval): Likewise.
40849 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40851 (pltexit): Likewise.
40852 (La_regs): Likewise.
40853 (La_retval): Likewise.
40854 (int_retval): Likewise.
40855 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40857 (pltexit): Likewise.
40858 (La_regs): Likewise.
40859 (La_retval): Likewise.
40860 (int_retval): Likewise.
40861 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40863 (pltexit): Likewise.
40864 (La_regs): Likewise.
40865 (La_retval): Likewise.
40866 (int_retval): Likewise.
40867 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40869 (pltexit): Likewise.
40870 (La_regs): Likewise.
40871 (La_retval): Likewise.
40872 (int_retval): Likewise.
40873 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40874 macro definitions in tst-audit.h.
40875 * sysdeps/i386/tst-audit.h: New file.
40876 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40877 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40878 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40879 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40880 * sysdeps/sh/tst-audit.h: Likewise.
40881 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40882 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40883 * sysdeps/x86_64/tst-audit.h: Likewise.
40885 2012-07-26 Andreas Jaeger <aj@suse.de>
40887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40890 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40891 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40892 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40894 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40895 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40896 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40898 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40901 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40903 (si_call_addr, si_syscall, si_arch): Define new macro.
40904 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40906 (si_call_addr, si_syscall, si_arch): Define new marcro.
40907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40909 (si_call_addr, si_syscall, si_arch): Define new macro.
40910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40912 (si_call_addr, si_syscall, si_arch): Define new macro.
40914 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40918 Change to 2.4.21 where previously 2.4.1.
40919 * sysdeps/unix/sysv/linux/configure: Regenerated.
40920 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40921 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40922 Linux kernel version.
40923 (__ASSUME_STD_AUXV): Remove.
40924 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40926 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40927 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40928 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40929 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40930 (__ASSUME_NETLINK_SUPPORT): Likewise.
40931 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40932 (__no_netlink_support): Remove conditional definition.
40933 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40935 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40936 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40937 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40938 (if_nameindex_ioctl): Remove.
40939 (if_nameindex_netlink): Do not handle __no_netlink_support.
40940 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40942 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40943 Remove conditional code.
40944 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40946 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40948 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40949 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40950 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40952 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40953 [!__ASSUME_STD_AUXV]: Remove conditional code.
40954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40955 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40956 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40958 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40959 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40961 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40963 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40964 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40966 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40968 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40971 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40974 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40975 code unconditional.
40976 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40978 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40980 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40983 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40985 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40988 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40989 code unconditional.
40990 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40992 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40994 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40997 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40998 code unconditional.
40999 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41001 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41003 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41006 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41008 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41009 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41010 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41011 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41012 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41013 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41014 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41015 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41016 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41017 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41018 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41019 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41020 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41021 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41022 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41023 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41024 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41026 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41028 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41029 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41032 2012-07-25 Florian Weimer <fweimer@redhat.com>
41034 * Versions.def: Add GLIBC_2.17.
41035 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41036 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41037 Introduce __libc_secure_getenv.
41038 * stdlib/Versions (2.17): Add secure_getenv
41039 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41040 * stdlib/secure-getenv.c: Rename __secure_getenv to
41041 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41042 symbol __secure_getenv for GLIBC_2.0.
41043 * stdlib/tst-secure-getenv.c: New.
41044 * stdlib/Makefile (tests): Add testcase.
41045 * manual/startup.texi (Environment Access): Document
41047 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41048 __libc_secure_getenv.
41049 * inet/ruserpass.c (ruserpass): Likewise.
41050 * malloc/mtrace.c (mtrace): Likewise.
41051 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41052 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41053 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41054 * sysdeps/posix/tempname.c: Likewise. Evaluate
41055 HAVE_SECURE_GETENV.
41056 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41057 __secure_getenv to __libc_secure_getenv.
41058 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41071 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41073 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41074 (struct La_i86_retval): Likewise.
41075 (struct La_x86_64_regs): Likewise.
41076 (struct La_x86_64_retval): Likewise.
41077 (struct La_x32_regs): Likewise.
41078 (struct La_x32_retval): Likewise.
41079 (struct La_ppc32_regs): Likewise.
41080 (struct La_ppc32_retval): Likewise.
41081 (struct La_ppc64_regs): Likewise.
41082 (struct La_ppc64_retval): Likewise.
41083 (struct La_sh_regs): Likewise.
41084 (struct La_sh_retval): Likewise.
41085 (struct La_s390_32_regs): Likewise.
41086 (struct La_s390_32_retval): Likewise.
41087 (struct La_s390_64_regs): Likewise.
41088 (struct La_s390_64_retval): Likewise.
41089 (struct La_sparc32_regs): Likewise.
41090 (struct La_sparc32_retval): Likewise.
41091 (struct La_sparc64_regs): Likewise.
41092 (struct La_sparc64_retval): Likewise.
41093 (struct audit_ifaces): Remove architecture-specific pltenter and
41095 * sysdeps/i386/ldsodefs.h: New file.
41096 * sysdeps/powerpc/ldsodefs.h: Likewise.
41097 * sysdeps/s390/ldsodefs.h: Likewise.
41098 * sysdeps/sh/ldsodefs.h: Likewise.
41099 * sysdeps/sparc/ldsodefs.h: Likewise.
41100 * sysdeps/x86_64/ldsodefs.h: Likewise.
41102 2012-07-25 Marek Polacek <polacek@redhat.com>
41105 * math/libm-test.inc (yn_test): Add another test.
41106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41107 to ERANGE when the result is +-Inf.
41108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41109 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41110 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41111 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41113 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41115 * conform/data/time.h-data (NULL): Use macro-constant. Require
41117 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41119 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41121 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41123 * configure.in <sysdeps resolving>: Correct printing
41125 * configure: Regenerate.
41127 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41129 * math/w_ilogb.c: Include <limits.h>.
41130 * math/w_ilogbl.c: Likewise.
41132 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41134 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41135 va_copy. Document allowing for unavailable va_copy only as
41136 pre-C99 compatibility.
41137 * manual/string.texi (Copying and Concatenation): Use va_copy
41138 instead of __va_copy in concat example.
41140 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41142 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41143 (__sendto): Use create_address_port. Initialize APORT and deallocate
41146 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41147 with O_NOLINK passed to __file_name_lookup.
41149 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41150 with O_NOLINK passed to __file_name_lookup.
41152 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41153 negative N or less than NGIDS.
41155 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41156 type to string_t. Set ERANGE as errno and return it if NAME is not big
41157 enough. Use memcpy instead of strncpy.
41159 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41161 * elf/Makefile (check-data): Remove.
41162 (localplt.data): New vpath directive.
41163 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41164 instead of $(check-data).
41165 * scripts/data/localplt-generic.data: Move to ...
41166 * sysdeps/generic/localplt.data: ... here.
41167 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41168 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41169 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41172 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41175 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41178 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41181 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41184 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41188 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41190 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41191 PPC32 and PPC64 files.
41192 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41193 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41195 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41197 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41198 __makecontext_ret to ...
41199 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41200 ... here and call exit if uc_link is NULL. New file.
41201 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41202 __makecontext_ret.S.
41203 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41204 __makecontext_ret to ...
41205 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41206 ... here and call exit if uc_link is NULL. New file.
41207 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41208 __makecontext_ret.S.
41210 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41212 * elf/elf.h (R_390_IRELATIVE): New definition.
41213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41214 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41215 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41216 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41217 (elf_machine_lazy_rel): Likewise.
41218 * sysdeps/s390/dl-irel.h: New file.
41219 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41220 * sysdeps/s390/s390-64/memset.S: New asm code.
41221 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41222 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41224 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41225 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41226 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41228 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41229 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41230 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41231 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41232 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41233 * sysdeps/s390/s390-32/memset.S: New asm code.
41234 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41236 2012-07-17 Marek Polacek <polacek@redhat.com>
41239 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41240 * sysdeps/s390/s390-64/configure.in: Likewise.
41241 * sysdeps/sparc/configure.in: Likewise.
41242 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41243 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41244 * sysdeps/i386/configure.in: Likewise.
41245 * sysdeps/x86_64/configure.in: Likewise.
41246 * sysdeps/sh/configure.in: Likewise.
41247 * sysdeps/s390/s390-32/configure: Regenerated.
41248 * sysdeps/s390/s390-64/configure: Likewise.
41249 * sysdeps/x86_64/configure: Likewise.
41250 * sysdeps/sh/configure: Likewise.
41251 * sysdeps/powerpc/powerpc64/configure: Likewise.
41252 * sysdeps/powerpc/powerpc32/configure: Likewise.
41253 * sysdeps/sparc/configure: Likwise.
41254 * sysdeps/i386/configure: Likewise.
41256 * elf/dl-open.c: Comment fixes.
41258 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41260 * Makefile [CXX] (check-data): Remove.
41261 [CXX] (c++-types.data): New vpath directive.
41262 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41263 vpath. Do not allow for C++ type data being missing.
41264 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41265 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41266 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41267 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41268 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41269 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41270 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41273 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41276 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41279 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41282 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41285 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41288 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41291 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41294 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41295 definitions to architecture-specific files.
41296 (TLS_IE): Likewise.
41297 (TLS_LD): Likewise.
41298 (TLS_GD): Likewise.
41299 * sysdeps/i386/tls-macros.h: New file.
41300 * sysdeps/powerpc/tls-macros.h: Likewise.
41301 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41302 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41303 * sysdeps/sh/tls-macros.h: Likewise.
41304 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41305 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41306 * sysdeps/x86_64/tls-macros.h: Likewise.
41308 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41310 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41311 zero value for regular exit case.
41313 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41314 (__start_context): Preserve zero value for regular exit case.
41316 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41317 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41319 * manual/setjmp.texi (setcontext): Clarify normal process
41320 termination when uc_link is the null pointer.
41321 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41324 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41326 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41327 preprocessor. Test for each exception mask separately.
41329 2012-07-16 Andreas Jaeger <aj@suse.de>
41331 * po/ru.po: Update from translation team.
41333 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41335 * conform/data/string.h-data (NULL): Use macro-constant. Require
41337 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41338 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41339 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41340 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41343 2012-07-13 Andreas Jaeger <aj@suse.de>
41345 * po/fr.po: Update from translation team.
41347 2012-07-12 Marek Polacek <polacek@redhat.com>
41350 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41351 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41354 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41357 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41358 Change to 2.4.1 where previously 2.4.0.
41359 * sysdeps/unix/sysv/linux/configure: Regenerated.
41360 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41361 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41363 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41364 (__ASSUME_AT_CLKTCK): Remove.
41365 (__ASSUME_AT_PAGESIZE): Likewise.
41366 (__ASSUME_AT_XID): Likewise.
41367 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41368 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41369 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41371 (HAVE_AUX_PAGESIZE): Likewise.
41372 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41373 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41374 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41376 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41380 the temporary buffer used to invoke __gethostbyname2_r,
41381 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41382 host_data / struct gaih_addrtuple.
41383 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41384 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41385 header file nss/nsswitch.h.
41386 * nss/nsswitch.h (global scope): Add definition of implementation
41387 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41388 resolv/nss_dns/dns-host.c).
41390 2012-07-11 Andreas Jaeger <aj@suse.de>
41392 * po/fr.po: Update from translation team.
41394 * po/sv.po: Update from translation team
41395 * po/fr.po: Another update from translation team.
41397 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41400 for subnormals or multiply small sinh result by itself.
41401 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41404 2012-07-11 David S. Miller <davem@davemloft.net>
41406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41408 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41411 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41412 (INTERNAL_MARK): Shift it here.
41414 2012-07-10 Marek Polacek <polacek@redhat.com>
41417 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41418 libc_cv_asm_global_directive with .globl.
41419 * configure: Regenerated.
41420 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41422 * sysdeps/i386/configure: Regenerated.
41423 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41425 * sysdeps/x86_64/configure: Regenerated.
41426 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41427 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41428 * elf/tst-unique2mod2.c: Likewise.
41429 * elf/tst-unique2mod1.c: Likewise.
41430 * elf/tst-unique1mod2.c: Likewise.
41431 * elf/tst-unique1mod1.c: Likewise.
41432 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41433 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41435 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41436 * sysdeps/mach/sysdep.h: Likewise.
41437 * sysdeps/i386/sysdep.h: Likewise.
41438 * sysdeps/i386/i386-mcount.S: Likewise.
41439 * sysdeps/x86_64/_mcount.S: Likewise.
41440 * sysdeps/x86_64/sysdep.h: Likewise.
41441 * sysdeps/sh/_mcount.S: Likewise.
41442 * sysdeps/sh/sysdep.h: Likewise.
41443 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41444 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41445 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41446 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41447 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41448 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41449 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41450 * locale/localeinfo.h: Likewise.
41451 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41452 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41454 2012-07-09 Roland McGrath <roland@hack.frob.com>
41457 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41459 * manual/message.texi (The Uniforum approach): Likewise.
41460 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41461 (glibc iconv Implementation): Likewise.
41463 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41466 * math/s_clog.c (__clog): Avoid scaling a value down where that
41467 could result in underflow.
41468 * math/s_clog10.c (__clog10): Likewise.
41469 * math/s_clog10f.c (__clog10f): Likewise.
41470 * math/s_clog10l.c (__clog10l): Likewise.
41471 * math/s_clogf.c (__clogf): Likewise.
41472 * math/s_clogl.c (__clogl): Likewise.
41473 * math/libm-test.inc (clog_test): Add more tests.
41474 (clog10_test): Likewise.
41475 * sysdeps/i386/fpu/libm-test-ulps: Update.
41476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41478 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41481 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41482 by 7 not 8 to examine high bit of fractional part.
41485 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41486 for call to __mcount_internal.
41487 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41488 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41489 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41491 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41494 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41495 approximation for values within 0x1p-13f of an odd multiple of
41497 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41498 exception. Add more tests.
41499 * sysdeps/i386/fpu/libm-test-ulps: Update.
41502 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41503 inputs and return -1 for them. Do not check for +Inf in case not
41504 reachable for +Inf.
41505 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41506 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41507 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41508 and return -1 for them. Do not check for +Inf in case not
41509 reachable for +Inf.
41510 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41513 and return -1 for them. Do not check for +Inf in case not
41514 reachable for +Inf.
41515 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41516 spurious underflow.
41517 * sysdeps/i386/fpu/libm-test-ulps: Update.
41518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41520 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41522 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41524 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41528 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41529 could result in spurious underflow. Scale down values above
41530 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41531 * math/s_csqrtf.c (__csqrtf): Likewise.
41532 * math/s_csqrtl.c (__csqrtl): Likewise.
41533 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41534 spurious underflow.
41535 * sysdeps/i386/fpu/libm-test-ulps: Update.
41536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41538 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41540 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41542 * catgets/xopen-msg.awk: New file.
41543 * catgets/xopen-msg.sed: Removed.
41545 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41547 * intl/po2test.awk: New file.
41548 * intl/po2test.sed: Removed.
41550 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41553 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41554 or multiply small sinh result by itself.
41555 * math/s_ctanf.c (__ctanf): Likewise.
41556 * math/s_ctanh.c (__ctanh): Likewise.
41557 * math/s_ctanhf.c (__ctanhf): Likewise.
41558 * math/s_ctanhl.c (__ctanhl): Likewise.
41559 * math/s_ctanl.c (__ctanl): Likewise.
41560 * math/libm-test.inc (ctan_test_tonearest): New function.
41561 (ctan_test_towardzero): Likewise.
41562 (ctan_test_downward): Likewise.
41563 (ctan_test_upward): Likewise.
41564 (ctanh_test_tonearest): Likewise.
41565 (ctanh_test_towardzero): Likewise.
41566 (ctanh_test_downward): Likewise.
41567 (ctanh_test_upward): Likewise.
41568 (main): Call these new functions.
41569 * sysdeps/i386/fpu/libm-test-ulps: Update.
41570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41572 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41574 * .gitignore: Delete /ports entry.
41576 2012-07-03 Andreas Jaeger <aj@suse.de>
41578 * po/bg.po: Update from translation team.
41579 * po/cs.po: Likewise.
41580 * po/de.po: Likewise.
41581 * po/hr.po: Likewise.
41582 * po/nl.pl: Likewise.
41583 * po/pl.po: Likewise.
41584 * po/vi.po: Likewise.
41586 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41588 * Makeconfig [!+link] (+link-before-libc): New variable.
41589 [!+link] (+link-after-libc): Likewise.
41590 [!+link] (+link-tests): Likewise.
41591 [!+link] (+link): Define in terms of $(+link-before-libc) and
41592 $(+link-after-libc).
41593 [!+link-static] (+link-static-before-libc): New variable.
41594 [!+link-static] (+link-static-after-libc): Likewise.
41595 [!+link-static] (+link-static-tests): Likewise.
41596 [!+link-static] (+link-static): Define in terms of
41597 $(+link-static-before-libc) and $(+link-static-after-libc).
41598 [build-shared] (link-libc-before-gnulib): New variable.
41599 [build-shared] (link-libc-tests): Likewise.
41600 [build-shared] (link-libc): Define in terms of
41601 $(link-libc-before-gnulib).
41602 [!build-shared] (link-libc-tests): New variable.
41603 (link-libc-static-tests): New variable.
41604 [!gnulib] (gnulib-arch): New variable.
41605 [!gnulib] (gnulib-tests): Likewise.
41606 [!gnulib] (static-gnulib-arch): Likewise.
41607 [!gnulib] (static-gnulib-tests): Likewise.
41608 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41609 Define with "=" instead of ":=".
41610 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41611 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41612 * Rules (binaries-all-notests): New variable.
41613 (binaries-all-tests): Likewise.
41614 (binaries-static-notests): Likewise.
41615 (binaries-static-tests): Likewise.
41616 (binaries-all): Define using $(binaries-all-notests) and
41617 $(binaries-all-tests).
41618 (binaries-static): Define using $(binaries-static-notests) and
41619 $(binaries-static-tests).
41620 (binaries-shared-tests): New variable.
41621 (binaries-shared-notests): Likewise.
41622 (binaries-shared): Remove variable.
41623 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41624 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41625 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41626 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41627 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41628 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41629 * elf/Makefile (sln-modules): New variable.
41630 (extra-objs): Add $(sln-modules:=.o).
41631 (ldconfig-modules): Add static-stubs.
41632 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41633 * elf/static-stubs.c: New file.
41636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41637 by 7 not 8 to examine high bit of fractional part. Use volatile
41638 variables when splitting into final array of floats if
41639 __FLT_EVAL_METHOD__ != 0.
41640 * math/libm-test.inc (cos_test): Add another test.
41641 (sin_test): Likewise.
41642 * sysdeps/i386/fpu/libm-test-ulps: Update.
41645 * math/libm-test.inc (cosh_test): Add more tests.
41647 * version.h (RELEASE): Set to "development".
41648 (VERSION): Set to "2.16.90".
41650 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41652 * NEWS: Update copyright. Remove last-updated date.
41653 Mention math library bug fixes and timezone data changes.
41654 * README: Mention GNU/Hurd, x32, and HPPA support status.
41656 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41658 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41660 2012-06-27 Andreas Jaeger <aj@suse.de>
41662 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41664 2012-06-25 Andreas Jaeger <aj@suse.de>
41666 * sysdeps/s390/fpu/libm-test-ulps: Update.
41668 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41669 Thomas Schwinge <thomas@codesourcery.com>
41671 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41672 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41676 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41678 * sysdeps/mach/start.c: Remove file.
41679 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41680 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41681 * sysdeps/sh/init-first.c: Likewise.
41683 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41684 registers for frame unwinding purposes, add CFI directives.
41685 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41686 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41687 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41690 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41691 __fortify_fail returning.
41692 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41694 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41695 sysdeps/sh/____longjmp_chk.S.
41696 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41697 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41698 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41699 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41701 * sysdeps/sh/abort-instr.h: New file.
41702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41703 process in case exit returns.
41705 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41706 initialize the GOT register before use.
41708 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41709 calculation of ARGC > 4.
41711 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41712 meaningful names to some local labels.
41714 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41715 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41717 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41718 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41719 (__arch_compare_and_exchange_val_16_acq): Likewise.
41720 (__arch_compare_and_exchange_val_32_acq): Likewise.
41721 (atomic_exchange_and_add): Fix gUSA sequence.
41722 (atomic_add): Likewise.
41723 (atomic_add_negative): Likewise.
41724 (atomic_add_zero): Likewise.
41725 (atomic_bit_test_set): Likewise.
41727 2012-06-22 Andreas Schwab <schwab@redhat.com>
41730 * include/link.h (struct link_map): Add l_free_initfini.
41731 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41733 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41734 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41735 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41738 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41740 * configure.in: Use AC_LANG_SOURCE.
41741 * configure: Regenerate.
41743 2012-06-22 Roland McGrath <roland@hack.frob.com>
41745 * configure.in (libc_cv_localstatedir): New substituted variable.
41746 * configure: Regenerated.
41747 * config.make.in (localstatedir): New variable, substituted from
41748 libc_cv_localstatedir.
41749 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41750 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41751 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41752 * sysdeps/gnu/configure: Regenerated.
41754 2012-06-21 Jeff Law <law@redhat.com>
41757 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41758 free. Simplify list management for _LIBC case.
41760 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41763 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41764 Clear sign bit of 64-bit integer value before comparing against
41767 * sysdeps/mach/configure: Regenerated.
41769 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41772 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41774 2012-06-21 Jeff Law <law@redhat.com>
41777 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41778 uint16_t for elements in the "seen" array to avoid char overflows.
41779 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41780 * elf/dl-open.c (dl_open_worker): Likewise.
41782 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41784 * scripts/list-sources.sh: Scan PORTS for translations.
41785 * po/libc.pot: Regenerated.
41787 2012-06-21 Andreas Jaeger <aj@suse.de>
41790 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41792 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41793 * bits/byteswap-16.h (__bswap_16): Likewise.
41794 * bits/byteswap.h (__bswap_constant_16): Likewise.
41796 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41799 * sysdeps/i386/fpu_control.h: Removed.
41800 * sysdeps/x86_64/fpu_control.h: Moved to ...
41801 * sysdeps/x86/fpu_control.h: Here.
41803 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41804 (_FPU_SETCW): Likewise.
41806 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41809 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41810 * sysdeps/x86/fpu/bits/mathinline.h: This.
41811 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41815 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41816 functions if __x86_64__ is defined.
41818 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41820 * string/endian.h: Add !__ASSEMBLER__ condition for including
41821 conversion interfaces.
41823 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41827 of ABS(x) in calculating zero to negative powers other than odd
41829 * math/libm-test.inc (pow_test): Add more tests.
41831 2012-06-15 Andreas Jaeger <aj@suse.de>
41833 * manual/contrib.texi (Contributors): Update entry of Liubov
41834 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41837 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41839 * string/string.h: Add __wur to GNU version of strerror_r.
41841 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41844 * string/Makefile (tests): Add tst-strtok_r.
41845 * string/tst-strtok_r.c: New file.
41846 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41847 RAX_LP/RDX_LP on SAVE_PTR.
41849 2012-06-14 Roland McGrath <roland@hack.frob.com>
41851 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41853 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41855 * libm_test.inc (csqrt_test): Allow more spurious underflow
41857 (j0_test): Likewise.
41858 (j1_test): Likewise.
41859 (y0_test): Likewise.
41860 (y1_test): Likewise.
41862 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41864 * po/Makefile (libc.pot): Use UTF-8 charset.
41866 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41869 Suppress sign-conversion warning from FD_SET.
41870 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41871 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41872 not unsigned long int.
41873 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41875 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41879 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41880 __extern_always_inline instead of __extern_inline.
41881 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41882 (__signbit): Likewise.
41883 (__signbitl): Support C++ namespace.
41884 (lrintf): New inline function.
41886 (llrintf): Likewise.
41887 (llrint): Likewise.
41897 (floorf): Likewise.
41898 (nearbyint): Likewise.
41899 (nearbyintf): Likewise.
41901 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41904 non-default versions.
41906 2012-06-11 Roland McGrath <roland@hack.frob.com>
41909 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41911 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41913 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41914 (FE_UPWARD, FE_DOWNWARD): Don't define.
41915 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41916 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41918 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41920 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41923 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41927 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41928 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41930 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41933 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41934 * sysdeps/i386/fpu/Implies: New file.
41935 * sysdeps/x86_64/fpu/Implies: Likewise.
41936 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41937 * sysdeps/x86/fpu/bits/fenv.h: This.
41939 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41942 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41945 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41946 character 0xffff that matches the last element of the
41949 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41954 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41956 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41957 values higher than 25.6283.
41959 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41962 subnormal exponent extraction and add some __builtin_expect.
41963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41964 Fix for subnormal mantissa calculation.
41966 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41968 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41969 cpu2 is -1 and errno is not ENOSYS.
41971 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41974 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41975 * sysdeps/x86/bits/string.h: This.
41976 * sysdeps/x86_64/bits/string.h: Removed.
41978 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41979 if not compiling for x86-64, but compiling for >= i486.
41981 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41982 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41984 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41985 New macro from Linux kernel 3.4.0.
41986 (FP_XSTATE_MAGIC2): Likewise.
41987 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41988 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41989 (struct _fpx_sw_bytes): New struct.
41990 (struct _xsave_hdr): Likewise.
41991 (struct _ymmh_state): Likewise.
41992 (struct _xstate): Likewise.
41994 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41995 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41996 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41997 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41998 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41999 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42001 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42002 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42003 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42004 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42005 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42006 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42008 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42011 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42012 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42013 (sysdep_headers): Include sys/platform/ppc.h.
42014 * sysdeps/powerpc/test-gettimebase.c: Test for
42015 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42016 * manual/Makefile (appendices): Include platform.texi.
42017 * manual/contrib.texi (Contributors): Update @node pointers.
42018 * manual/maint.texi (Maintenance): Likewise.
42019 (Platform): New node.
42020 * manual/platform.texi: New file. Document the new features.
42022 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42023 Jakub Jelinek <jakub@redhat.com>
42026 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42027 where __builtin_expect is unavailable.
42029 2012-06-03 David S. Miller <davem@davemloft.net>
42031 * stdlib/longlong.h: Updated from GCC.
42033 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42036 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42037 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42040 (GLIBC_2.16): Likewise.
42042 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42046 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42049 (default-abi): New variable.
42050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42051 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42055 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42057 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42060 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42061 definition. Document in comment.
42063 2012-06-01 David S. Miller <davem@davemloft.net>
42065 * stdlib/longlong.h: Updated from GCC.
42067 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42070 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42071 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42072 sys/debugreg.h sys/io.h here.
42073 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42074 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42076 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42077 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42078 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42079 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42080 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42081 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42084 Define only if __x86_64__ is defined.
42086 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42089 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42090 Use int64_t for variable i.
42091 * math/libm-test.inc (fmod_test): Add more tests.
42093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42094 z computation is not scheduled after fetestexcept.
42095 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42096 Use math_force_eval instead of asm to ensure calculation scheduled
42097 before exception test.
42098 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42099 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42101 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42104 computation is not scheduled after fetestexcept.
42106 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42109 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42110 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42112 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42114 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42115 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42117 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42120 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42122 (__WCHAR_MIN): Support __WORDSIZE == 64.
42123 (__WCHAR_MAX): Likewise.
42125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42126 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42130 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42133 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42134 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42136 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42137 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42140 Defined to 1 if __x86_64__ isn't defined.
42141 (_STAT_VER_LINUX_OLD): New.
42142 (st_atime): Remove duplicate.
42143 (st_mtime): Likewise.
42144 (st_ctime): Likewise.
42146 2012-05-31 David S. Miller <davem@davemloft.net>
42148 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42151 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42153 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42157 * elf/dl-reloc.c: Include <_itoa.h>.
42158 (_dl_reloc_bad_type): Remove use of INTUSE.
42159 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42160 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42161 * stdio-common/psiginfo.c (psiginfo): Likewise.
42162 * stdio-common/psignal.c (psignal): Likewise.
42163 * string/strsignal.c (strsignal): Likewise.
42164 * include/signal.h (_sys_siglist): Declare hidden proto.
42165 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42166 INTVARDEF with libc_hidden_data_def.
42167 * stdio-common/itoa-udigits.c: Likewise.
42168 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42169 (_itoa_lower_digits_internal): Remove declaration.
42170 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42171 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42172 (_sys_sigabbrev_internal): Remove aliases.
42173 (_sys_siglist): Define hidden alias.
42175 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42180 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42183 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42184 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42186 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42187 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42188 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42189 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42191 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42193 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42194 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42195 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42197 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42205 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42206 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42207 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42209 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42210 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42212 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42213 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42214 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42216 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42217 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42219 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42220 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42222 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42224 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42226 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42227 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42229 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42231 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42232 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42233 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42235 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42237 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42239 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42241 * math/math.h (M_El): Use two more decimal places.
42242 (M_LOG2El): Likewise.
42243 (M_LOG10El): Likewise.
42244 (M_LN2l): Likewise.
42245 (M_LN10l): Likewise.
42247 (M_PI_2l): Likewise.
42248 (M_PI_4l): Likewise.
42249 (M_1_PIl): Likewise.
42250 (M_2_PIl): Likewise.
42251 (M_2_SQRTPIl): Likewise.
42252 (M_SQRT2l): Likewise.
42253 (M_SQRT1_2l): Likewise.
42255 2012-05-31 David S. Miller <davem@davemloft.net>
42257 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42258 values between float registers.
42259 * sysdeps/sparc/sparc64/memset.S: Likewise.
42260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42262 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42264 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42265 -D_FORTIFY_SOURCE=1.
42266 (CPPFLAGS-tst-longjmp_chk.c): Define.
42267 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42268 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42269 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42270 CFLAGS-tst-wchar-h.c.
42272 2012-05-31 Marek Polacek <polacek@redhat.com>
42275 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42276 __endmntent_internal): Remove declaration.
42277 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42278 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42279 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42281 2012-05-30 David S. Miller <davem@davemloft.net>
42283 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42284 (___Q_simulate_exceptions): Use real FP ops rather than writing
42286 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42289 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42292 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42293 * sysdeps/x86/bits/xtitypes.h: This.
42295 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42296 * sysdeps/x86/bits/wordsize.h: This.
42298 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42299 * sysdeps/x86/bits/huge_vall.h: This.
42301 * sysdeps/i386/bits/select.h: Removed.
42302 * sysdeps/x86_64/bits/select.h: Renamed to ...
42303 * sysdeps/x86/bits/select.h: This.
42305 * sysdeps/i386/bits/setjmp.h: Removed.
42306 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42307 * sysdeps/x86/bits/setjmp.h: This.
42309 * sysdeps/i386/bits/mathdef.h: Removed.
42310 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42311 * sysdeps/x86/bits/mathdef.h: This.
42313 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42316 * include/sys/socket.h (__connect_internal)
42317 (__libc_sa_len_internal): Remove declaration.
42318 (__connect, __libc_sa_len): Declare hidden_proto.
42319 (SA_LEN): Remove use of INTUSE.
42320 * socket/connect.c: Add libc_hidden_def.
42321 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42322 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42323 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42325 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42326 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42327 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42328 of adding _internal alias.
42330 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42333 * sysdeps/i386/bits/link.h: Removed.
42334 * sysdeps/i386/bits/linkmap.h: Likewise.
42335 * sysdeps/x86_64/bits/link.h: Renamed to ...
42336 * sysdeps/x86/bits/link.h: This.
42337 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42338 * sysdeps/x86/bits/linkmap.h: This.
42340 * sysdeps/i386/bits/endian.h: Removed.
42341 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42342 * sysdeps/x86/bits/endian.h: This.
42344 * sysdeps/i386/bits/byteswap.h: Removed.
42345 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42346 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42347 * sysdeps/x86/bits/byteswap.h: This.
42348 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42349 * sysdeps/x86/bits/byteswap-16.h: This.
42350 * sysdeps/i386/Implies: Add x86.
42351 * sysdeps/x86_64/Implies: Likewise.
42353 2012-05-30 David S. Miller <davem@davemloft.net>
42355 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42356 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42357 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42358 (FP_TRAPPING_EXCEPTIONS): Define.
42359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42360 (FP_TRAPPING_EXCEPTIONS): Define.
42361 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42362 subnormals only when inexact has been signalled or underflow
42363 exceptions are enabled.
42364 (_FP_PACK_CANONICAL): Likewise.
42366 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42370 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42372 2012-05-30 Richard Henderson <rth@twiddle.net>
42374 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42375 with #ifndef NOT_IN_libc.
42377 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42378 marked to avoid plt entry.
42380 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42383 * Makeconfig (default-abi): New macro.
42384 (abi-includes): Likewise.
42385 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42386 $(abi-$(default-abi)-lib-soname) for soname if defined.
42387 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42389 * Makefile (installed-stubs): Likewise.
42390 * include/stubs-biarch.h: Removed.
42391 * scripts/lib-names.awk: Only handle one library at a time.
42392 * scripts/soversions.awk: Remove WORDSIZE support.
42393 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42395 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42397 (syscall-list-default-condition): Likewise.
42398 (syscall-list-default-condition): Likewise.
42399 (syscall-list-includes): Likewise.
42400 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42401 syscall-list-* with abi-*. Handle undefined abi-variants.
42402 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42403 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42404 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42405 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42406 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42407 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42409 (syscall-list-32-options): Likewise.
42410 (syscall-list-32-condition): Likewise.
42411 (syscall-list-64-options): Likewise.
42412 (syscall-list-64-condition): Likewise.
42413 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42415 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42418 (abi-64-ld-soname): New macro.
42419 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42420 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42423 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42424 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42426 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42428 * sysdeps/unix/sysv/linux/kernel-features.h
42429 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42430 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42431 include <kernel-features.h>.
42432 [!__NR_ftruncate64]: Remove conditional code.
42433 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42434 [__NR_ftruncate64]: Make code unconditional.
42435 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42436 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42437 include <kernel-features.h>.
42438 [!__NR_ftruncate64]: Remove conditional code.
42439 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42440 [__NR_ftruncate64]: Make code unconditional.
42441 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42443 include <kernel-features.h>.
42444 [!__NR_ftruncate64]: Remove conditional code.
42445 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42446 [__NR_ftruncate64]: Make code unconditional.
42447 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42449 include <kernel-features.h>.
42450 [!__NR_ftruncate64]: Remove conditional code.
42451 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42452 [__NR_ftruncate64]: Make code unconditional.
42453 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42455 * configure.in (libc_cv_fpie): Weaken to a compile test using
42456 LIBC_TRY_CC_OPTION.
42457 * configure: Regenerated.
42459 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42474 2012-05-27 David S. Miller <davem@davemloft.net>
42476 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42478 (__Q_simulate_exceptions): Return void. Change to simulate
42479 exceptions by writing into the %fsr.
42480 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42481 (__Qp_handle_exceptions): Likewise.
42483 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42484 __Qp_handle_exceptions.
42485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42486 __Qp_handle_exceptions.
42487 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42488 as unused and give dummy FP_RND_NEAREST initializer.
42489 (FP_INHIBIT_RESULTS): Define.
42490 (___Q_simulate_exceptions): Update declaration.
42491 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42493 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42494 as unused and give dummy FP_RND_NEAREST initializer.
42495 (__Qp_handle_exceptions): Update declaration.
42496 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42499 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42502 the temporary FPU control word.
42503 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42504 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42505 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42506 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42507 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42508 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42509 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42510 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42511 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42512 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42513 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42515 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42520 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42522 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42523 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42524 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42525 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42527 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42528 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42531 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42533 * po/h.po: Update from translation team.
42535 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42537 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42539 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42540 handling of denormals.
42541 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42542 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42543 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42544 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42550 2012-05-26 Marek Polacek <polacek@redhat.com>
42553 * math/libm-test.inc (fma_test): Don't always expect underflow
42556 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42559 * elf/tst-execstack.c: Include stackinfo.h.
42560 (do_test): Adjust test case to ensure that pthread_getattr_np
42561 behaviour remains the same after marking stack executable.
42563 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42565 * sysdeps/unix/sysv/linux/kernel-features.h
42566 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42567 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42569 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42570 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42571 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42573 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42574 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42576 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42578 * configure.in: Define the default includes to being none.
42579 * configure: Regenerated.
42581 2012-05-25 Roland McGrath <roland@hack.frob.com>
42583 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42584 * sysdeps/x86_64/setjmp.S: Likewise.
42585 * sysdeps/i386/bsd-setjmp.S: Likewise.
42586 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42587 * sysdeps/i386/setjmp.S: Likewise.
42588 * sysdeps/i386/__longjmp.S: Likewise.
42589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42590 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42592 * include/stap-probe.h: New file.
42593 * configure.in: Handle --enable-systemtap.
42594 * configure: Regenerated.
42595 * config.h.in (USE_STAP_PROBE): New #undef.
42596 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42597 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42598 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42600 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42604 to 2.4.0 where earlier.
42605 * sysdeps/unix/sysv/linux/configure: Regenerated.
42606 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42607 <kernel-features.h>.
42608 [__ASSUME_32BITUIDS]: Make code unconditional.
42609 [!__ASSUME_32BITUIDS]: Remove conditional code.
42610 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42611 <kernel-features.h>.
42612 [__ASSUME_32BITUIDS]: Make code unconditional.
42613 [!__ASSUME_32BITUIDS]: Remove conditional code.
42614 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42615 [__ASSUME_32BITUIDS]: Make code unconditional.
42616 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42617 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42618 <kernel-features.h>.
42619 [__ASSUME_32BITUIDS]: Make code unconditional.
42620 [!__ASSUME_32BITUIDS]: Remove conditional code.
42621 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42622 <kernel-features.h>.
42623 [__ASSUME_32BITUIDS]: Make code unconditional.
42624 [!__ASSUME_32BITUIDS]: Remove conditional code.
42625 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42626 <kernel-features.h>.
42627 [__ASSUME_32BITUIDS]: Make code unconditional.
42628 [!__ASSUME_32BITUIDS]: Remove conditional code.
42629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42630 <kernel-features.h>.
42631 [__ASSUME_32BITUIDS]: Make code unconditional.
42632 [!__ASSUME_32BITUIDS]: Remove conditional code.
42633 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42634 <kernel-features.h>.
42635 [__ASSUME_32BITUIDS]: Make code unconditional.
42636 [!__ASSUME_32BITUIDS]: Remove conditional code.
42637 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42638 <kernel-features.h>.
42639 [__ASSUME_32BITUIDS]: Make code unconditional.
42640 [!__ASSUME_32BITUIDS]: Remove conditional code.
42641 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42642 <kernel-features.h>.
42643 [__ASSUME_32BITUIDS]: Make code unconditional.
42644 [!__ASSUME_32BITUIDS]: Remove conditional code.
42645 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42646 <kernel-features.h>.
42647 [__ASSUME_32BITUIDS]: Make code unconditional.
42648 [!__ASSUME_32BITUIDS]: Remove conditional code.
42649 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42650 <kernel-features.h>.
42651 [__ASSUME_32BITUIDS]: Make code unconditional.
42652 [!__ASSUME_32BITUIDS]: Remove conditional code.
42653 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42654 <kernel-features.h>.
42655 [__ASSUME_32BITUIDS]: Make code unconditional.
42656 [!__ASSUME_32BITUIDS]: Remove conditional code.
42657 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42658 <kernel-features.h>.
42659 [__NR_setresgid] (__setresgid): Do not declare.
42660 [__ASSUME_32BITUIDS]: Make code unconditional.
42661 [!__ASSUME_32BITUIDS]: Remove conditional code.
42662 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42663 <kernel-features.h>.
42664 [__NR_setresuid] (__setresuid): Do not declare.
42665 [__ASSUME_32BITUIDS]: Make code unconditional.
42666 [!__ASSUME_32BITUIDS]: Remove conditional code.
42667 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42668 <kernel-features.h>.
42669 [__ASSUME_32BITUIDS]: Make code unconditional.
42670 [!__ASSUME_32BITUIDS]: Remove conditional code.
42671 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42672 <kernel-features.h>.
42673 [__ASSUME_32BITUIDS]: Make code unconditional.
42674 [!__ASSUME_32BITUIDS]: Remove conditional code.
42675 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42676 <kernel-features.h>.
42677 [__ASSUME_32BITUIDS]: Make code unconditional.
42678 [!__ASSUME_32BITUIDS]: Remove conditional code.
42679 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42680 <kernel-features.h>.
42681 [__ASSUME_32BITUIDS]: Make code unconditional.
42682 [!__ASSUME_32BITUIDS]: Remove conditional code.
42683 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42684 <kernel-features.h>.
42685 [__ASSUME_32BITUIDS]: Make code unconditional.
42686 [!__ASSUME_32BITUIDS]: Remove conditional code.
42687 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42688 <kernel-features.h>.
42689 [__ASSUME_32BITUIDS]: Make code unconditional.
42690 [!__ASSUME_32BITUIDS]: Remove conditional code.
42691 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42692 <kernel-features.h>.
42693 [__ASSUME_32BITUIDS]: Make code unconditional.
42694 [!__ASSUME_32BITUIDS]: Remove conditional code.
42695 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42696 <kernel-features.h>.
42697 [__ASSUME_32BITUIDS]: Make code unconditional.
42698 [!__ASSUME_32BITUIDS]: Remove conditional code.
42699 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42700 <kernel-features.h>.
42701 [__ASSUME_32BITUIDS]: Make code unconditional.
42702 [!__ASSUME_32BITUIDS]: Remove conditional code.
42703 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42704 <kernel-features.h>.
42705 [__ASSUME_32BITUIDS]: Make code unconditional.
42706 [!__ASSUME_32BITUIDS]: Remove conditional code.
42707 * sysdeps/unix/sysv/linux/kernel-features.h
42708 (__ASSUME_SETRESUID_SYSCALL): Remove.
42709 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42710 (__ASSUME_32BITUIDS): Likewise.
42711 (__ASSUME_LDT_WORKS): Likewise.
42712 (__ASSUME_O_DIRECTORY): Likewise.
42713 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42714 architecture but not kernel version.
42715 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42716 (__ASSUME_MMAP2_SYSCALL): Likewise.
42717 (__ASSUME_STAT64_SYSCALL): Likewise.
42718 (__ASSUME_IPC64): Likewise.
42719 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42720 <kernel-features.h>.
42721 [__ASSUME_32BITUIDS]: Make code unconditional.
42722 [!__ASSUME_32BITUIDS]: Remove conditional code.
42723 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42724 <kernel-features.h>.
42725 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42726 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42727 132096]: Remove conditional code.
42728 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42729 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42730 <kernel-features.h>.
42731 [__ASSUME_32BITUIDS]: Make code unconditional.
42732 [!__ASSUME_32BITUIDS]: Remove conditional code.
42733 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42734 <kernel-features.h>.
42735 [__ASSUME_32BITUIDS]: Make code unconditional.
42736 [!__ASSUME_32BITUIDS]: Remove conditional code.
42737 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42738 <kernel-features.h>.
42739 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42741 (__setresgid): Do not declare.
42742 [__ASSUME_32BITUIDS]: Make code unconditional.
42743 [!__ASSUME_32BITUIDS]: Remove conditional code.
42744 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42745 <kernel-features.h>.
42746 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42748 (__setresuid): Do not declare.
42749 [__ASSUME_32BITUIDS]: Make code unconditional.
42750 [!__ASSUME_32BITUIDS]: Remove conditional code.
42751 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42752 <kernel-features.h>.
42753 [__ASSUME_32BITUIDS]: Make code unconditional.
42754 [!__ASSUME_32BITUIDS]: Remove conditional code.
42755 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42756 <kernel-features.h>.
42757 [__ASSUME_32BITUIDS]: Make code unconditional.
42758 [!__ASSUME_32BITUIDS]: Remove conditional code.
42760 2012-05-25 Richard Henderson <rth@twiddle.net>
42762 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42763 dl_hwcap to ifunc resolver.
42764 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42766 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42767 dl_hwcap to ifunc resolver.
42768 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42770 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42773 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42774 for |x| <= 2**-26, not 2**-57.
42775 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42778 2012-05-24 Jeff Law <law@redhat.com>
42780 * stdio-common/Makefile (tests): Add bug25.
42781 * stdio-common/bug25.c: New test.
42783 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42786 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42787 multiple of MALLOC_ALIGNMENT in size.
42788 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42790 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42792 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42794 (FILENAME_MAX): Use macro-int-constant.
42795 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42796 (_IOFBF): Use macro-int-constant.
42797 (_IOLBF): Likewise.
42798 (_IONBF): Likewise.
42799 (SEEK_CUR): Likewise.
42800 (SEEK_END): Likewise.
42801 (SEEK_SET): Likewise.
42802 (TMP_MAX): Likewise.
42803 (EOF): Use macro-int-constant. Require < 0.
42804 (NULL): Use macro-constant. Require == 0.
42805 (stdin): Require type to be FILE *.
42806 (stdout): Likewise.
42807 (stderr): Likewise.
42808 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42809 macro-int-constant.
42810 (EXIT_SUCCESS): Likewise.
42811 (NULL): Use macro-constant. Require == 0.
42812 (RAND_MAX): Use macro-int-constant.
42813 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42814 [C99-based standards] (strtof): Require function.
42815 [C99-based standards] (strtold): Likewise.
42816 [C99-based standards] (strtoll): Likewise.
42817 [C99-based standards] (strtoull): Likewise.
42818 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42819 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42820 [ISO || ISO99 || ISO11] (math.h): Likewise.
42821 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42822 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42825 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42828 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42829 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42830 * intl/dgettext.c (DCGETTEXT): Likewise.
42831 * intl/gettext.c (DCGETTEXT): Likewise.
42832 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42833 * posix/regex_internal.h (gettext): Likewise.
42834 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42835 Remove declaration.
42836 * include/argz.h (__argz_count_internal)
42837 (__argz_stringify_internal): Remove declaration.
42838 (__argz_count, __argz_stringify): Declare hidden proto.
42839 * intl/dcgettext.c: Remove use of INTDEF.
42840 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42841 * string/argz-stringify.c: Likewise.
42842 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42843 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42844 Declare hidden proto.
42845 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42846 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42847 Declare hidden proto.
42848 * include/stdio.h (__asprintf_internal): Don't declare.
42849 (__asprintf): Don't define as macro. Declare hidden proto.
42850 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42851 (__fsetlocking): Declare hidden proto.
42852 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42853 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42855 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42856 (_IO_setlinebuf): Remove use of INTUSE.
42857 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42858 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42859 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42860 Remove declaration.
42861 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42862 (_IO_do_flush): Remove use of INTUSE.
42863 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42864 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42865 (_IO_adjust_column, _IO_least_wmarker)
42866 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42867 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42868 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42869 (_IO_default_doallocate, _IO_wdefault_doallocate)
42870 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42871 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42872 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42873 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42874 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42875 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42876 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42877 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42878 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42879 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42880 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42881 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42882 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42884 (_IO_flush_all_internal, _IO_adjust_column_internal)
42885 (_IO_default_uflow_internal, _IO_default_finish_internal)
42886 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42887 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42888 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42889 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42890 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42891 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42892 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42893 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42894 (_IO_file_close_internal, _IO_file_close_it_internal)
42895 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42896 (_IO_file_init_internal, _IO_file_attach_internal)
42897 (_IO_file_fopen_internal, _IO_file_read_internal)
42898 (_IO_file_sync_internal, _IO_file_seek_internal)
42899 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42900 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42901 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42902 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42903 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42904 (_IO_list_all_internal, _IO_link_in_internal)
42905 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42906 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42907 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42908 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42909 (_IO_do_write_internal, _IO_padn_internal)
42910 (_IO_getline_info_internal, _IO_getline_internal)
42911 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42912 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42913 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42914 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42915 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42916 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42917 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42918 with libc_hidden_ver, remove use of INTUSE.
42919 * libio/genops.c: Likewise.
42920 * libio/freopen.c: Likewise.
42921 * libio/freopen64.c: Likewise.
42922 * libio/iofclose.c: Likewise.
42923 * libio/iofdopen.c: Likewise.
42924 * libio/iofflush.c: Likewise.
42925 * libio/iofflush_u.c: Likewise.
42926 * libio/iofgets.c: Likewise.
42927 * libio/iofgets_u.c: Likewise.
42928 * libio/iofopen.c: Likewise.
42929 * libio/iofopncook.c: Likewise.
42930 * libio/iofread.c: Likewise.
42931 * libio/iofread_u.c: Likewise.
42932 * libio/ioftell.c: Likewise.
42933 * libio/iofwrite.c: Likewise.
42934 * libio/iogetline.c: Likewise.
42935 * libio/iogets.c: Likewise.
42936 * libio/iogetwline.c: Likewise.
42937 * libio/iopadn.c: Likewise.
42938 * libio/iopopen.c: Likewise.
42939 * libio/ioseekoff.c: Likewise.
42940 * libio/ioseekpos.c: Likewise.
42941 * libio/iosetbuffer.c: Likewise.
42942 * libio/iosetvbuf.c: Likewise.
42943 * libio/ioungetc.c: Likewise.
42944 * libio/ioungetwc.c: Likewise.
42945 * libio/iovdprintf.c: Likewise.
42946 * libio/iovsprintf.c: Likewise.
42947 * libio/iovsscanf.c: Likewise.
42948 * libio/memstream.c: Likewise.
42949 * libio/obprintf.c: Likewise.
42950 * libio/oldfileops.c: Likewise.
42951 * libio/oldiofclose.c: Likewise.
42952 * libio/oldiofdopen.c: Likewise.
42953 * libio/oldiofopen.c: Likewise.
42954 * libio/oldiopopen.c: Likewise.
42955 * libio/oldstdfiles.c: Likewise.
42956 * libio/putc.c: Likewise.
42957 * libio/setbuf.c: Likewise.
42958 * libio/setlinebuf.c: Likewise.
42959 * libio/stdfiles.c: Likewise.
42960 * libio/strops.c: Likewise.
42961 * libio/vasprintf.c: Likewise.
42962 * libio/vscanf.c: Likewise.
42963 * libio/vsnprintf.c: Likewise.
42964 * libio/vswprintf.c: Likewise.
42965 * libio/wfiledoalloc.c: Likewise.
42966 * libio/wfileops.c: Likewise.
42967 * libio/wgenops.c: Likewise.
42968 * libio/wmemstream.c: Likewise.
42969 * libio/wstrops.c: Likewise.
42970 * libio/__fpurge.c: Likewise.
42971 * libio/__fsetlocking.c: Likewise.
42972 * assert/assert.c: Likewise.
42973 * debug/fgets_chk.c: Likewise.
42974 * debug/fgets_u_chk.c: Likewise.
42975 * debug/fread_chk.c: Likewise.
42976 * debug/fread_u_chk.c: Likewise.
42977 * debug/gets_chk.c: Likewise.
42978 * debug/obprintf_chk.c: Likewise.
42979 * debug/vasprintf_chk.c: Likewise.
42980 * debug/vdprintf_chk.c: Likewise.
42981 * debug/vsnprintf_chk.c: Likewise.
42982 * debug/vsprintf_chk.c: Likewise.
42983 * malloc/mtrace.c: Likewise.
42984 * misc/error.c: Likewise.
42985 * misc/syslog.c: Likewise.
42986 * stdio-common/asprintf.c: Likewise.
42987 * stdio-common/fxprintf.c: Likewise.
42988 * stdio-common/getw.c: Likewise.
42989 * stdio-common/isoc99_fscanf.c: Likewise.
42990 * stdio-common/isoc99_scanf.c: Likewise.
42991 * stdio-common/isoc99_vfscanf.c: Likewise.
42992 * stdio-common/isoc99_vscanf.c: Likewise.
42993 * stdio-common/isoc99_vsscanf.c: Likewise.
42994 * stdio-common/printf-prs.c: Likewise.
42995 * stdio-common/printf_fp.c: Likewise.
42996 * stdio-common/printf_fphex.c: Likewise.
42997 * stdio-common/printf_size.c: Likewise.
42998 * stdio-common/putw.c: Likewise.
42999 * stdio-common/scanf.c: Likewise.
43000 * stdio-common/sprintf.c: Likewise.
43001 * stdio-common/tmpfile.c: Likewise.
43002 * stdio-common/vfprintf.c: Likewise.
43003 * stdio-common/vfscanf.c: Likewise.
43004 * stdlib/strfmon_l.c: Likewise.
43005 * sunrpc/openchild.c: Likewise.
43006 * sunrpc/xdr_stdio.c: Likewise.
43007 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43008 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43010 2012-05-24 Roland McGrath <roland@hack.frob.com>
43012 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43014 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43015 in the third column, to generate for the shared library an IFUNC
43016 that uses _dl_vdso_vsym.
43017 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43018 * Makeconfig (object-suffixes-noshared): New variable.
43020 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43021 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43022 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43023 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43026 * include/sys/time.h (__gettimeofday): Remove macro.
43027 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43028 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43030 (__gettimeofday): Add libc_hidden_def.
43031 (gettimeofday): Add libc_hidden_weak.
43032 * sysdeps/mach/gettimeofday.c: Likewise.
43033 * sysdeps/posix/gettimeofday.c: Likewise.
43034 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43035 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43037 (__gettimeofday_internal): Remove strong_alias.
43038 (__gettimeofday): Add libc_hidden_def.
43039 (gettimeofday): Add libc_hidden_weak.
43040 * sysdeps/unix/syscalls.list (gettimeofday):
43041 Remove __gettimeofday_internal alias.
43043 2012-05-24 Daniel Jacobowitz <drow@false.org>
43044 H.J. Lu <hongjiu.lu@intel.com>
43047 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43048 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43049 (largebin_index_32_big): New.
43050 (largebin_index): Use it for 16-byte alignment.
43051 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43052 correction with front_misalign.
43054 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43082 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43083 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43085 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43089 * math/libm-test.inc (exp_test): Add test from bug 14036.
43090 (pow_test): Add test from bug 10846.
43092 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43094 (special_function): Do not include flags in test name.
43095 (parse_args): Likewise.
43096 * sysdeps/i386/fpu/libm-test-ulps: Update.
43097 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43098 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43099 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43102 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43104 * math/libm-test.inc ("Philosophy"): Update comment about
43106 (UNDERFLOW_EXCEPTION): New macro.
43107 (UNDERFLOW_EXCEPTION_OK): Likewise.
43108 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43109 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43110 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43111 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43112 (INVALID_EXCEPTION_OK): Update value.
43113 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43114 (OVERFLOW_EXCEPTION_OK): Likewise.
43115 (IGNORE_ZERO_INF_SIGN): Likewise.
43116 (test_exceptions): Handle underflow exceptions.
43117 (acos_test): Update for underflow exception expectations.
43118 (cexp_test): Likewise.
43119 (clog_test): Likewise.
43120 (clog10_test): Likewise.
43121 (csqrt_test): Likewise.
43122 (ctan_test): Likewise.
43123 (ctanh_test): Likewise.
43124 (exp_test): Likewise.
43125 (exp10_test): Likewise.
43126 (exp2_test): Likewise.
43127 (expm1_test): Likewise.
43128 (fma_test): Likewise.
43129 (j0_test): Likewise.
43130 (jn_test): Likewise.
43131 (nexttoward_test): Likewise.
43132 (pow_test): Likewise.
43133 (scalbn_test): Likewise.
43134 (scalbln_test): Likewise.
43135 (tan_test): Likewise.
43136 (y1_test): Likewise.
43137 * sysdeps/i386/fpu/libm-test-ulps: Update.
43138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43140 2012-05-23 David S. Miller <davem@davemloft.net>
43142 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43143 (__libc_sigaction): Remove unused local variables.
43145 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43147 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43149 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43151 mktime: avoid signed integer overflow
43152 * time/mktime.c (__mktime_internal): Do not mishandle the case
43153 where diff == INT_MIN.
43155 mktime: simplify computation of average
43156 * time/mktime.c (ranged_convert): Use new time_t_avg function
43157 instead of rolling our own (probably-slower) code.
43159 mktime: do not assume signed right shift propagates sign bit
43160 * time/mktime.c (isdst_differ): New static function.
43161 (__mktime_internal): No need to normalize tm_isdst now.
43162 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43165 mktime: merge another wrapv change from gnulib
43166 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43167 from some compilers.
43169 mktime: remove incorrect attempt at unusual arithmetics
43170 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43171 The code didn't really work on such machines anyway.
43172 (TYPE_MINIMUM): Assume two's complement.
43173 (twos_complement_arithmetic): Verify that long_int and time_t
43174 are two's complement (or unsigned, in the latter case).
43176 mktime: check signed shifts on long_int and time_t, too
43177 * time/mktime.c (SHR): Check that shifts work as desired
43178 on the types long_int and time_t too, as SHR is used on
43181 mktime: do not assume 'long' is wide enough
43182 * time/mktime.c (verify): Move decl up.
43183 (long_int): New type.
43184 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43185 to remove assumption in the code that 'long' is wide enough to
43186 store year values. This assumption is not true on x32 and on
43187 some non-glibc platforms.
43189 mktime: merge wrapv change from gnulib
43190 * time/mktime.c (WRAPV): New macro.
43191 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43192 (guess_time_tm, __mktime_internal): Do not assume that signed
43193 integer overflow wraps around; modern compilers generate code
43194 where this assumption is no longer valid.
43196 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43198 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43199 Replace "jmp L(pseudo_end)" with "ret".
43200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43203 2012-05-23 Andreas Jaeger <aj@suse.de>
43205 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43206 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43208 2012-05-23 Andreas Jaeger <aj@suse.de>
43209 Maximilian Attems <max@stro.at>
43211 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43214 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43217 code so that pseudo_end is just ret and the stack pointer is
43218 correct also for static library in error case.
43220 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43222 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43223 move to syscalls.list.
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43229 * manual/install.texi (Running make install): Do not mention Linux
43230 kernel version for which pt_chown is not needed.
43231 (Linux): Do not mention problems with nscd with 2.0 kernels.
43232 * INSTALL: Regenerated.
43234 2012-05-23 Andreas Jaeger <aj@suse.de>
43236 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43237 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43239 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43241 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43243 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43245 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43246 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43248 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43249 * sysdeps/unix/sysv/linux/bits/in.h
43250 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43252 2012-05-22 Roland McGrath <roland@hack.frob.com>
43254 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43255 (PREPARE_VERSION): Just use assert instead, it will be elided
43256 under [NDEBUG] anyway.
43258 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43260 * sysdeps/unix/sysv/linux/Makefile: Include
43261 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43262 (sysdep_routines): Remove sysctl.
43263 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43264 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43265 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43266 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43267 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43269 2012-05-22 Andreas Jaeger <aj@suse.de>
43271 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43272 that pseudo_end is just ret and the stack pointer is correct also
43273 for static library in error case.
43275 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43278 * nss/nsswitch.c (defconfig_entries): New variable.
43279 (__nss_database_lookup): Don't leak defconfig entries.
43280 (nss_parse_service_list): Don't leak on error paths.
43281 (free_database_entries): New function.
43282 (free_defconfig): New function.
43283 (free_mem): Move common code to free_database_entries.
43285 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43289 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43291 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43292 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43295 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43296 (INTERNAL_SYSCALL_TYPES): Likewise.
43297 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43298 (LOAD_REGS_TYPES_[1-6]): Likewise.
43299 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43300 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43302 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43305 copysignl for GLIBC_2_0.
43306 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43307 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43309 logbl for GLIBC_2_0.
43310 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43311 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43313 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43318 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43321 * time/mktime.c: Update copyright years.
43323 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43325 mktime: merge comment-quoting-style change from gnulib
43326 * time/mktime.c: Quote 'like this' in comments.
43327 The GNU coding standards suggest that we no longer quote `like this',
43328 as "`" and "'" are typically rendered asymmetrically nowadays.
43329 The typical gnulib style is to quote 'like this' when quoting
43330 code, and "like this" when quoting English.
43332 * time/mktime.c (compile-command): Add "-I.".
43334 mktime: merge mktime-internal.h change from gnulib
43335 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43337 mktime: merge time_r change from gnulib
43338 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43340 mktime: merge DEBUG change from gnulib
43341 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43342 case system <time.h> has a #define.
43344 mktime: merge <sys/types.h> change from gnulib
43345 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43346 since <time.t> is now guaranteed to define time_t.
43348 mktime: merge HAVE_CONFIG_H change from gnulib
43349 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43351 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43356 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43358 (struct rusage): Use anonymous union to pad each field to
43361 2012-05-21 David S. Miller <davem@davemloft.net>
43363 * Makefules (o-iterator): Remove .s cases.
43364 (compile-command.s): Delete.
43365 (COMPILE.s): Delete.
43366 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43368 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43370 * configure.in (libc_cv_predef_stack_protector): Only consider
43371 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43372 * configure: Regenerated.
43374 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43377 New macro. Use R*LP on int and pointer.
43378 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43379 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43380 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43381 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43383 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43384 [__WORDSIZE_TIME64_COMPAT32] instead of
43385 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43386 (struct utmp): Likewise.
43387 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43388 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43390 (__WORDSIZE_TIME64_COMPAT32): This.
43391 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43392 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43393 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43394 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43395 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43396 (__WORDSIZE_TIME64_COMPAT32): New macro.
43398 2012-05-21 Andreas Jaeger <aj@suse.de>
43400 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43401 only if [SHARED]. Add prototype for __wcschr_ia32.
43403 2012-05-21 Roland McGrath <roland@hack.frob.com>
43405 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43406 of %rbp unmolested in the jmp_buf while mangling the low bits.
43407 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43408 unmolested high bits of %rbp while demangling the low bits.
43409 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43411 2012-05-21 Andreas Jaeger <aj@suse.de>
43413 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43414 * sunrpc/svc_simple.c: Use it for registerrpc.
43415 * sunrpc/xcrypt.c: Use it for passwd2des.
43417 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43419 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43421 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43422 Don't define if [__SYSCALL_WORDSIZE != 32].
43423 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43426 2012-05-21 Bruno Haible <bruno@clisp.org>
43427 Andreas Jaeger <aj@suse.de>
43429 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43430 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43431 inptr and inend for must_buffer_ch.
43432 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43433 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43434 * stdio-common/Makefile (tests): Remove bug15.
43435 (bug15-ENV): Remove macro.
43436 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43439 2012-05-19 Andreas Jaeger <aj@suse.de>
43440 Roland McGrath <roland@hack.frob.com>
43442 * manual/contrib.texi: Completely rewritten. It contains now an
43443 alphabetical list of contributors and their contributions.
43445 2012-05-21 Richard Henderson <rth@twiddle.net>
43447 * misc/getauxval.c (__getauxval): Use unsigned long int.
43448 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43449 (getauxval): Use unsigned long int.
43451 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43453 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43455 2012-05-21 Roland McGrath <roland@hack.frob.com>
43457 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43458 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43459 __alignof__ (long double).
43461 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43465 2012-05-20 Richard Henderson <rth@twiddle.net>
43467 * misc/getauxval.c: New file.
43468 * misc/sys/auxv.h: New file.
43469 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43470 (routines): Add getauxval.
43471 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43472 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43473 * elf/dl-sysdep.c (_dl_auxv): Remove.
43474 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43475 * elf/dl-support.c (_dl_auxv): New variable.
43476 (_dl_aux_init): Initialize it.
43477 * manual/startup.texi (Auxiliary Vector): New node.
43478 * sysdeps/generic/bits/hwcap.h: New file.
43479 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43480 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43481 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43482 * sysdeps/sparc/sysdep.h: ... here. Include it.
43483 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43496 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43500 2012-05-19 David S. Miller <davem@davemloft.net>
43502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43504 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43507 * math/s_ccosh.c: Include <float.h>
43508 (__ccosh): Avoid internal overflow calculating sinh and cosh
43509 values before multiplying by sin and cos values.
43510 * math/s_ccoshf.c: Likewise.
43511 * math/s_ccoshl.c: Likewise.
43512 * math/s_csin.c: Likewise.
43513 * math/s_csinf.c: Likewise.
43514 * math/s_csinl.c: Likewise.
43515 * math/s_csinh.c: Likewise.
43516 * math/s_csinhf.c: Likewise.
43517 * math/s_csinhl.c: Likewise.
43518 * math/libm-test.inc (ccos_test): Add more tests.
43519 (ccosh_test): Likewise.
43520 (csin_test): Likewise.
43521 (csinh_test): Likewise.
43522 * sysdeps/i386/fpu/libm-test-ulps: Update.
43523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43525 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43527 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43528 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43530 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43532 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43534 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43535 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43536 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43537 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43538 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43539 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43540 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43541 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43542 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43543 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43544 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43545 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43546 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43547 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43548 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43549 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43550 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43551 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43552 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43553 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43554 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43555 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43556 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43557 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43558 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43559 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43560 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43561 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43562 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43563 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43564 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43566 2012-05-18 Andreas Jaeger <aj@suse.de>
43568 * csu/.gitignore: Delete.
43570 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43572 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43573 (timex): Use __syscall_slong_t.
43575 2012-05-18 Andreas Jaeger <aj@suse.de>
43576 Carlos O'Donell <carlos_odonell@mentor.com>
43578 * manual/install.texi (Configuring and compiling): Update
43579 description about files modified in the source directory.
43580 * INSTALL: Regenerated.
43582 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43584 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43585 value. Use "or" to set return value to -1.
43586 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43587 negate return value.
43589 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43591 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43592 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43593 failure if the compiler has Graphite support disabled.
43594 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43596 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43597 (CFLAGS-memmove.c): Likewise.
43598 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43601 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43603 * sysdeps/x86_64/x32/_itoa.h: New file.
43605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43606 getdents system call only if kernel and user dirents have the
43607 same d_ino and d_off.
43609 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43610 LLONG_MAX != LONG_MAX.
43611 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43612 (_fitoa_word): Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43616 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43617 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43618 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43620 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43621 include <bits/wordsize.h>. Check __x86_64__ instead of
43623 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43624 if __x86_64__ is defined. Use anonymous union on fpstate.
43626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43629 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43631 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43632 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43633 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43634 Refer to _rtld_local_ro instead of _rtld_global_ro.
43635 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43637 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43639 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43641 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43642 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43643 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43645 * sysdeps/powerpc/powerpc32/dl-machine.c
43646 (__elf_machine_runtime_setup) [PROF]: Don't reference
43649 2012-05-18 Andreas Jaeger <aj@suse.de>
43651 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43652 function only available for GCCs before 3.4 since GCC 3.4
43653 introduced a builtin.
43655 (llrintf): Likewise.
43656 (llrint): Likewise.
43663 (nearbyint): Likewise.
43664 (nearbyintf): Likewise.
43668 (floorf): Likewise.
43670 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43672 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43673 on both fields and cast pointer to __syscall_ulong_t.
43675 * bits/types.h (__fsword_t): New type.
43676 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43677 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43679 (__FSWORD_T_TYPE): Likewise.
43680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43681 (__FSWORD_T_TYPE): Likewise.
43682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43683 (__FSWORD_T_TYPE): Likewise.
43684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43685 (__FSWORD_T_TYPE): Likewise.
43686 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43687 __SWORD_TYPE with __fsword_t.
43688 (statfs64): Likewise.
43690 2012-05-17 David S. Miller <davem@davemloft.net>
43692 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43694 2012-05-17 Andreas Jaeger <aj@suse.de>
43696 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43701 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43703 2012-05-17 Andreas Jaeger <aj@suse.de>
43705 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43708 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43710 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43712 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43714 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43715 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43717 2012-05-17 Andreas Jaeger <aj@suse.de>
43718 Carlos O'Donell <carlos_odonell@mentor.com>
43721 * sysdeps/x86_64/multiarch/init-arch.h
43722 (bit_YMM_Usable): Rename to...
43723 (bit_AVX_Usable): ... this.
43724 (bit_FMA4_Usable): New macro.
43725 (bit_XMM_state): New macro.
43726 (bit_YMM_state): New macro.
43727 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43728 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43729 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43730 (CPUID_OSXSAVE): New macro.
43731 (CPUID_AVX): New macro.
43732 (CPUID_FMA4): New macro.
43733 (index_YMM_Usable): Rename to...
43734 (index_AVX_Usable): ... this.
43735 (HAS_AVX): Use HAS_ARCH_FEATURE.
43736 (HAS_FMA4): Likewise.
43737 (HAS_YMM_USABLE): Remove.
43738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43739 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43741 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43742 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43743 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43744 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43745 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43747 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43749 * math/libm-test.c: Support platforms without multiple rounding modes.
43750 * math/bug-nextafter.c: Support platforms without FP exceptions.
43751 * math/bug-nexttoward.c: Likewise.
43752 * math/test-fenv.c: Likewise.
43753 * math/test-misc.c: Likewise.
43754 * stdlib/bug-getcontext.c: Likewise.
43756 2012-05-17 Andreas Jaeger <aj@suse.de>
43758 * manual/examples/search.c (critter_cmp): Change signature to
43760 * manual/string.texi (Collation Functions): Likewise.
43762 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43764 * bits/types.h: Fold copyright years.
43765 * bits/typesizes.h: Likewise.
43766 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43767 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43770 * time/time.h: Likewise.
43772 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43775 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43776 in instead of returning them. Return void.
43777 (__libc_mallinfo): Accumulate over all arenas.
43778 (__malloc_stats): Adjust for change in int_mallinfo interface.
43780 2012-05-16 Roland McGrath <roland@hack.frob.com>
43783 * configure.in (NM): Add AC_CHECK_TOOL for it.
43784 (libc_extra_cflags): New substituted variable.
43785 Check for -fstack-protector being used implicitly.
43786 * configure: Regenerated.
43787 * config.make.in (config-extra-cflags): New variable,
43788 gets @libc_extra_cflags@.
43789 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43792 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43793 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43794 * configure: Regenerated.
43795 * config.make.in (CPPUNDEFS): New substituted variable.
43796 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43797 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43798 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43802 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43803 (mq_attr): Use __syscall_slong_t.
43805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43808 Check __x86_64__ instead of __WORDSIZE.
43809 (_STAT_VER_LINUX): Likewise.
43810 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43811 __syscall_ulong_t and __syscall_slong_t.
43812 (stat64): Likewise.
43814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43816 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43818 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43820 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43822 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43824 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43827 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43828 include <bits/wordsize.h>. Check __x86_64__ instead of
43830 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43832 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43835 include <bits/wordsize.h>. Check __x86_64__ instead of
43837 (user_regs_struct): Use "__extension__ unsigned long long"
43838 instead of "unsigned long" if __x86_64__ is defined.
43839 (user): Likewise. Pad after pointer field if __ILP32__ is
43842 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43844 * configure.in (makeinfo): Require version 4.5 or later. Allow
43846 * configure: Regenerated.
43847 * manual/install.texi (texinfo): Increase version requirement to
43849 * INSTALL: Regenerated.
43851 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43855 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43857 * sysdeps/x86_64/x32/ffs.c: New file.
43859 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43861 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43862 defined. Use __syscall_ulong_t.
43863 (shminfo): Use __syscall_ulong_t.
43864 (shm_info): Likewise.
43866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43869 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43871 (msgqnum_t): Use __syscall_ulong_t.
43872 (msglen_t): Likewise.
43873 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43876 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43877 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43879 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43881 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43882 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43884 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43887 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43888 include <bits/wordsize.h>. Check __x86_64__ instead of
43891 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43892 "unsigned long long int" if __x86_64__ is defined.
43893 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43895 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43897 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43901 (GET_PC): Cast to uintptr_t first.
43902 (GET_FRAME): Likewise.
43903 (GET_STACK): Likewise.
43905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43908 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43910 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43911 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43912 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43913 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43919 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43920 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43921 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43923 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43924 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43926 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43927 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43928 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43929 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43932 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43933 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43935 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43937 * Makerules (+depfiles): Also collect depfiles from .oS in
43939 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43940 .oS, $(libnldbl-routines)).
43942 * Makerules (native-compile-mkdep-flags): Define.
43943 * sunrpc/Makefile (extra-objs): Add $(addprefix
43944 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43945 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43946 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43947 calling $(make-target-directory).
43949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43951 * bits/types.h (__snseconds_t): Removed.
43952 * time/time.h (struct timespec): Replace __snseconds_t with
43954 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43955 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43958 (__SNSECONDS_T_TYPE): Likewise.
43959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43960 (__SNSECONDS_T_TYPE): Likewise.
43961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43962 (__SNSECONDS_T_TYPE): Likewise.
43964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43966 * sysdeps/mach/hurd/bits/typesizes.h
43967 (__SYSCALL_SLONG_TYPE): New macro.
43968 (__SYSCALL_ULONG_TYPE): Likewise.
43970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43972 * bits/types.h (__syscall_slong_t): New type.
43973 (__syscall_ulong_t): Likewise.
43975 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43976 (__SYSCALL_ULONG_TYPE): Likewise.
43977 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43978 (__SYSCALL_SLONG_TYPE): Likewise.
43979 (__SYSCALL_ULONG_TYPE): Likewise.
43980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43981 (__SYSCALL_SLONG_TYPE): Likewise.
43982 (__SYSCALL_ULONG_TYPE): Likewise.
43983 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43984 (__SYSCALL_SLONG_TYPE): Likewise.
43985 (__SYSCALL_ULONG_TYPE): Likewise.
43987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43989 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43990 Add sigaltstack-offsets.sym.
43991 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43992 <sigaltstack-offsets.h>.
43993 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43994 longjmp_msg pointer.
43995 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43996 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43998 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44000 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44002 * elf/stackguard-macros.h: Remove file.
44003 * sysdeps/generic/stackguard-macros.h: New file.
44004 * sysdeps/i386/stackguard-macros.h: Likewise.
44005 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44006 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44007 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44008 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44009 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44010 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44011 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44012 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44013 <elf/stackguard-macros.h>.
44016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44017 __aligned__ in attribute.
44018 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44019 (gregset_t): Likewise.
44021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44023 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44024 * sysdeps/x86_64/64/Implies-after: Here. New file.
44025 * sysdeps/x86_64/x32/Implies-after: New file.
44027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44029 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44030 and access return value for _dl_profile_fixup. Use R10_LP to
44033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44035 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44039 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44040 * sysdeps/x86_64/x32/sysdep.h: New file.
44042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44044 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44045 * sysdeps/x86_64/setjmp.S: Likewise.
44047 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44049 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44050 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44051 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44053 remove unused global constant.
44055 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44057 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44058 include of <not-cancel.h>.
44060 2012-05-15 Roland McGrath <roland@hack.frob.com>
44062 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44064 2012-05-15 Jeff Law <law@redhat.com>
44065 Andreas Jaeger <aj@suse.de>
44068 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44070 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44071 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44072 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44073 code changing __hst_map_handle.map.
44075 2012-05-15 Roland McGrath <roland@hack.frob.com>
44077 * configure.in (sysnames): Look for Implies-before and Implies-after
44079 * configure: Regenerated.
44081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44083 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44084 8-byte data alignment with LP_SIZE alignment.
44086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44088 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44093 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44097 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44098 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44101 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44105 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44106 (stackinfo_sub_sp): Likewise.
44108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44120 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44125 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44129 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44130 into R11_LP and load __x86_64_shared_cache_size_half into
44133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44138 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44147 powerpc32/power7/fpu/s_logb.c via #include.
44148 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44149 powerpc32/power7/fpu/s_logbf.c via #include.
44150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44151 powerpc32/power7/fpu/s_logbl.c via #include.
44153 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44155 * README.libm: Remove file.
44157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44159 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44160 count for x32. Use R*_LP and omit operand-size suffix.
44162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44164 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44165 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44166 * sysdeps/x86_64/x32/shlib-versions: New file.
44168 2012-05-14 Roland McGrath <roland@hack.frob.com>
44170 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44171 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44172 Use _dl_fatal_printf instead.
44174 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44176 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44177 set if not set by the user. Do not allow for being unset.
44178 * sysdeps/unix/sysv/linux/configure: Regenerated.
44180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44182 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44183 the `q' suffix from lea and replace .quad with ASM_ADDR.
44185 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44188 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44190 (PTR_DEMANGLE): Likewise.
44192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44194 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44196 (ASM_ADDR): Likewise.
44197 (RAX_LP): Likewise.
44198 (RBP_LP): Likewise.
44199 (RBX_LP): Likewise.
44200 (RCX_LP): Likewise.
44201 (RDI_LP): Likewise.
44202 (RSI_LP): Likewise.
44203 (RSP_LP): Likewise.
44206 (R10_LP): Likewise.
44207 (R10_LP): Likewise.
44208 (R11_LP): Likewise.
44209 (R12_LP): Likewise.
44210 (R13_LP): Likewise.
44211 (R14_LP): Likewise.
44212 (R15_LP): Likewise.
44214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44216 * sysdeps/x86_64/x32/dl-machine.h: New file.
44218 2012-05-14 Andreas Jaeger <aj@suse.de>
44220 * manual/Makefile (subdir): Remove export of subdir.
44221 (all): Remove target.
44222 (.PHONY): Remove all from list.
44223 (mkinstalldirs): Remove.
44224 (.PHONY): Remove installdirs from list.
44225 ($(inst_infodir)/libc.info): Use make-target-directory.
44226 (installdirs): Remove.
44227 (subdir_%): Remove.
44228 (glibc-targets): Remove.
44231 ($(objpfx)stubs ../po/manual.pot): Remove.
44232 ($(objpfx)stamp%): Remove.
44233 (make-target-directory): Remove.
44234 (subdir_install): Remove.
44235 (routines): Remove.
44242 * manual/.gitignore: Remove, it's not needed anymore.
44243 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44245 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44247 (texis): Renamed to $(objpfx)texis.
44248 (texis-path): New, contains path to generated files.
44249 (chapters.%): Use texis-path for complete path, add extra argument
44251 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44252 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44253 (summary,texi, stamp-summary): Use complete path of
44254 files. Generate files in build dir.
44255 (dir-add.texi): Build in build dir.
44256 (libm-err.texi,stamp-libm-err): Likewise.
44257 (version.texi, stamp-version): Likewise.
44258 (.%c.texi): Likewise.
44259 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44260 (mostlyclean): Remove target.
44261 (realclean): Remove target.
44262 (generated): Add new variable with contents from mostlyclean and
44263 realclean, remove entries duplicated in common-mostlyclean, add
44264 stamp-libm-err and stamp-version.
44265 (generated-dirs): Add libc directory.
44266 ($(inst_infodir)/libc.info): Install files from build dir.
44268 * manual/install.texi (Configuring and compiling): Adjust since
44269 the info files are not part of the tar ball anymore.
44271 2012-05-14 Andreas Jaeger <aj@suse.de>
44273 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44276 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44279 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44280 to 2.2.0 where earlier.
44281 * sysdeps/unix/sysv/linux/configure: Regenerated.
44282 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44283 Remove conditional code.
44284 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44285 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44286 Remove conditional code.
44287 [!__NR_lchown]: Likewise.
44288 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44289 [__NR_lchown]: Likewise.
44290 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44291 comment referencing __ASSUME_LCHOWN_SYSCALL.
44292 * sysdeps/unix/sysv/linux/i386/sigaction.c
44293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44295 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44296 Remove conditional code.
44297 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44298 (__protocol_available): Remove #if 0 code.
44299 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44301 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44302 * sysdeps/unix/sysv/linux/kernel-features.h
44303 (__ASSUME_GETCWD_SYSCALL): Don't define.
44304 (__ASSUME_REALTIME_SIGNALS): Likewise.
44305 (__ASSUME_PREAD_SYSCALL): Likewise.
44306 (__ASSUME_PWRITE_SYSCALL): Likewise.
44307 (__ASSUME_POLL_SYSCALL): Likewise.
44308 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44309 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44311 (__ASSUME_SIOCGIFNAME): Don't define.
44312 (__ASSUME_MSG_NOSIGNAL): Likewise.
44313 (__ASSUME_SENDFILE): Define unconditionally.
44314 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44315 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44317 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44318 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44319 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44320 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44321 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44322 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44323 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44325 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44337 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44338 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44343 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44344 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44348 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44349 Remove conditional code.
44350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44351 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44352 Remove conditional code.
44353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44354 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44355 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44356 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44357 Remove conditional code.
44358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44359 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44360 Remove conditional code.
44361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44362 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44363 Remove conditional code.
44364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44365 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44366 Remove conditional code.
44367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44368 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44369 Remove conditional code.
44370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44371 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44372 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44374 * sysdeps/unix/sysv/linux/sigaction.c
44375 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44376 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44377 * sysdeps/unix/sysv/linux/sigpending.c
44378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44380 * sysdeps/unix/sysv/linux/sigprocmask.c
44381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44383 * sysdeps/unix/sysv/linux/sigsuspend.c
44384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44387 (__libc_missing_rt_sigs): Remove.
44388 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44389 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44390 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44391 Remove conditional code.
44392 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44393 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44395 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44396 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44397 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44398 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44400 2012-05-14 Andreas Jaeger <aj@suse.de>
44402 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44403 it's not used in glibc.
44404 (__coshm1): Likewise.
44405 (__acosh1p): Likewise.
44408 * manual/string.texi (Copying and Concatenation): Add missing
44409 variable in concat example.
44410 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44412 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44416 __builtin_clzl with __builtin_clzll.
44418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44421 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44424 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44426 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44427 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44428 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44431 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44433 * NEWS: Update ia64 info.
44435 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44437 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44440 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44442 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44443 * sysdeps/unix/syscalls.list (dup3): Likewise.
44444 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44445 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44447 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44449 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44450 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44452 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44454 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44456 (TLS_IE): Use mov/add instead of movq/addq to load thread
44458 (TLS_GD_PREFIX): New.
44461 2012-05-11 David S. Miller <davem@davemloft.net>
44463 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44464 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44465 (_FPU_SETCW): Likewise.
44467 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44469 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44470 is 32-byte aligned.
44472 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44475 * iconvdata/gb18030.c: Update tables.
44476 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44477 characters specially.
44478 (BODY for TO_LOOP): Add encoding of missing ranges.
44480 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44483 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44484 * sysdeps/mach/hurd/dup3.c: Likewise.
44485 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44486 * sysdeps/powerpc/memmove.c:: Likewise.
44488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44491 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44493 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44495 * elf/elf.h (R_X86_64_RELATIVE64): New.
44496 (R_X86_64_NUM): Updated.
44497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44498 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44499 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44500 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44501 tst-quad1pie tst-quad2pie
44502 (modules-names): Add tst-quadmod1 tst-quadmod2.
44503 ($(objpfx)tst-quad1): New dependency.
44504 ($(objpfx)tst-quad2): Likewise.
44505 ($(objpfx)tst-quad1pie): Likewise.
44506 ($(objpfx)tst-quad2pie): Likewise.
44507 * sysdeps/x86_64/tst-quad1.c: New file.
44508 * sysdeps/x86_64/tst-quad1pie.c: New file.
44509 * sysdeps/x86_64/tst-quad2.c: Likewise.
44510 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44511 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44512 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44513 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44514 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44516 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44518 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44519 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44520 * streams/stropts.h (t_scalar_t): Define type.
44522 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44523 (_PATH_PRESERVE): Set to "/var/lib".
44524 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44526 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44529 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44530 if __dir_mkfile succeeded.
44532 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44533 checking for _hurd_dtablesize. Unlock it right after having
44534 finished _hurd_dtable allocation.
44536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44538 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44539 * sysdeps/mach/hurd/configure: Regenerated.
44540 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44541 special-casing to...
44542 * sysdeps/gnu/configure.in: ... this new file.
44543 * sysdeps/unix/sysv/linux/configure: Regenerated.
44544 * sysdeps/gnu/configure: New generated file.
44546 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44547 for Linux: use nsec instead of usec, as well as:
44548 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44549 members of type struct timespec.
44550 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44552 (struct stat64): Likewise.
44553 (_STATBUF_ST_NSEC): New macro.
44554 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44556 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44557 __strtoul_internal rather than strtoul.
44559 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44561 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44566 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44567 which preserves existing values.
44568 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44572 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44573 TIMEOUT values. Return EINVAL for NFDS values either negative or
44574 greater than FD_SETSIZE.
44576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44578 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44579 allocated, call __vm_protect to finish enabling the existing space, and
44580 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44581 allocate the remainder.
44583 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44585 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44586 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44590 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44591 sysdeps/mach/hurd/readlink.c.
44593 * posix/tst-sysconf.c (posix_options): Only use
44594 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44595 _POSIX_SYNCHRONIZED_IO when they are defined
44596 * sysdeps/mach/hurd/bits/posix_opt.h:
44597 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44598 (_XOPEN_REALTIME): Undefine macro.
44599 (_XOPEN_REALTIME_THREADS): Undefine macro.
44600 (_XOPEN_SHM): Undefine macro.
44601 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44603 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44605 (_POSIX_ASYNC_IO): Undefine macro.
44606 (_POSIX_PRIORITIZED_IO): Undefine macro.
44607 (_POSIX_SPIN_LOCKS): Define macro to -1.
44609 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44610 SA_NODEFER, SA_RESETHAND.
44611 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44612 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44615 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44617 * elf/Makefile (pldd-modules): Define unconditionally.
44619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44621 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44625 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44626 Return ENOENT when name is empty.
44627 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44631 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44633 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44637 Fix mlock in all cases except non-readable pages.
44638 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44639 instead of VM_PROT_ALL as parameter to __vm_wire function.
44641 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44642 (__mkdir): When path is `/', just fail with EEXIST.
44643 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44647 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44648 <sys/uio.h> (for writev).
44649 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44650 and <sys/param.h> (for MIN).
44652 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44654 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44655 REQUESTED_TIME. Properly set the remaining time and return EINTR
44658 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44660 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44661 Depend on against $(link-rpcuserlibs).
44663 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44665 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44666 (__libc_stack_end): Do not use attribute_relro.
44667 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44668 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44669 to libthread-provided value.
44670 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44673 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44676 * bits/libc-lock.h (__libc_once_get): New macro.
44677 * sysdeps/mach/bits/libc-lock.h: Likewise.
44678 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44680 instead of using implementation details.
44682 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44683 * libio/freopen.c: Likewise.
44684 * libio/freopen64.c: Likewise.
44685 * misc/syslog.c: Likewise.
44686 * nscd/connections.c: Likewise.
44687 * nscd/netgroupcache.c: Likewise.
44688 * sysdeps/posix/getcwd.c: Likewise.
44690 2012-05-10 Roland McGrath <roland@hack.frob.com>
44692 * math/w_ilogbf.c: Add #include <limits.h>.
44694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44696 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44697 path instead of returning without unlocking.
44699 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44700 immediate-write ioctls.
44701 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44703 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44705 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44706 __builtin_frame_address instead of making assumptions about the
44707 location of the return address relative to DATA. Force early load of
44708 the return address.
44709 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44710 __builtin_frame_address.
44713 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44714 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44715 implement dup3 and do some further code clean-ups.
44716 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44717 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44721 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44723 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44724 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44725 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44726 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44727 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44730 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44731 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44732 when handler == SIG_ERR, not when handler != SIG_ERR.
44734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44736 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44737 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44740 accept4 for GNU Hurd.
44741 * include/sys/socket.h (__libc_accept4): New prototype.
44742 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44743 to implement __libc_accept4.
44744 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44746 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44748 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44749 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44750 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44751 signal-defines.sym.
44753 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44755 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44757 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44759 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44760 assertion on O_CLOEXEC flag.
44761 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44762 * hurd/intern-fd.c: Likewise.
44763 * hurd/port2fd.c: Likewise.
44765 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44768 * bits/in.h (IPV6_PKTINFO): Define new macro.
44769 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44771 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44776 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44778 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44779 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44781 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44782 * math/libm-test.inc (logb_test) : Additional logb tests.
44784 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44785 Andreas Jaeger <aj@suse.de>
44787 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44788 * configure: Regenerated.
44789 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44790 * config.make.in (link-obsolete-rpc): New substituted variable.
44791 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44792 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44793 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44794 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44795 so that libc.a contains the symbols.
44796 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44797 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44798 * sunrpc/auth_none.c: Likewise.
44799 * sunrpc/auth_unix.c: Likewise.
44800 * sunrpc/authdes_prot.c: Likewise.
44801 * sunrpc/authuxprot.c: Likewise.
44802 * sunrpc/clnt_gen.c: Likewise.
44803 * sunrpc/clnt_perr.c: Likewise.
44804 * sunrpc/clnt_raw.c: Likewise.
44805 * sunrpc/clnt_simp.c: Likewise.
44806 * sunrpc/clnt_tcp.c: Likewise.
44807 * sunrpc/clnt_udp.c: Likewise.
44808 * sunrpc/clnt_unix.c: Likewise.
44809 * sunrpc/des_crypt.c: Likewise.
44810 * sunrpc/des_soft.c: Likewise.
44811 * sunrpc/get_myaddr.c: Likewise.
44812 * sunrpc/key_call.c: Likewise.
44813 * sunrpc/key_prot.c: Likewise.
44814 * sunrpc/netname.c: Likewise.
44815 * sunrpc/pm_getmaps.c: Likewise.
44816 * sunrpc/pm_getport.c: Likewise.
44817 * sunrpc/pmap_clnt.c: Likewise.
44818 * sunrpc/pmap_prot.c: Likewise.
44819 * sunrpc/pmap_prot2.c: Likewise.
44820 * sunrpc/pmap_rmt.c: Likewise.
44821 * sunrpc/publickey.c: Likewise.
44822 * sunrpc/rpc_cmsg.c: Likewise.
44823 * sunrpc/rpc_common.c: Likewise.
44824 * sunrpc/rpc_dtable.c: Likewise.
44825 * sunrpc/rpc_prot.c: Likewise.
44826 * sunrpc/rpc_thread.c: Likewise.
44827 * sunrpc/rtime.c: Likewise.
44828 * sunrpc/svc.c: Likewise.
44829 * sunrpc/svc_auth.c: Likewise.
44830 * sunrpc/svc_raw.c: Likewise.
44831 * sunrpc/svc_run.c: Likewise.
44832 * sunrpc/svc_tcp.c: Likewise.
44833 * sunrpc/svc_udp.c: Likewise.
44834 * sunrpc/svc_unix.c: Likewise.
44835 * sunrpc/svcauth_des.c: Likewise.
44836 * sunrpc/xcrypt.c: Likewise.
44837 * sunrpc/xdr.c: Likewise.
44838 * sunrpc/xdr_array.c: Likewise.
44839 * sunrpc/xdr_float.c: Likewise.
44840 * sunrpc/xdr_intXX_t.c: Likewise.
44841 * sunrpc/xdr_mem.c: Likewise.
44842 * sunrpc/xdr_rec.c: Likewise.
44843 * sunrpc/xdr_ref.c: Likewise.
44844 * sunrpc/xdr_sizeof.c: Likewise.
44845 * sunrpc/xdr_stdio.c: Likewise.
44847 2012-05-10 Roland McGrath <roland@hack.frob.com>
44849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44850 change. Update copyright years.
44852 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44854 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44856 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44857 Joseph Myers <joseph@codesourcery.com>
44858 Paul Pluzhnikov <ppluzhnikov@google.com>
44861 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44863 [cross-compiling] (extra-libs): Likewise.
44864 [cross-compiling] (extra-libs-others): Likewise.
44865 [cross-compiling] (librpcsvc-routines): Likewise.
44866 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44867 [cross-compiling] (omit-deps): Likewise.
44868 (sunrpc-CPPFLAGS): New variable.
44869 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44870 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44871 (cross-rpcgen-objs): New variable.
44872 (extra-objs): Append $(cross-rpcgen-objs).
44873 ($(cross-rpcgen-objs)): New rule.
44874 ($(objpfx)cross-rpcgen): Likewise.
44875 (rpcgen-cmd): Define to use $(built-program-file). Expand
44877 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44878 ($(objpfx)x%.stmp): Likewise.
44879 * sunrpc/proto.h [IS_IN_build] (_): Define.
44880 [IS_IN_build] (_libc_intl_domainname): Likewise.
44882 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44885 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44886 and R_X86_64_TPOFF64.
44888 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44890 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44891 sysdeps/unix/sysv/syscalls.list.
44894 * sysdeps/unix/sysv/syscalls.list: Remove file.
44896 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44899 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44900 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44901 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44902 (__LC_IDENTIFICATION): Make these macros useful in #if
44903 expressions, as required by C99.
44905 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44907 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44908 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44911 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44913 * stdlib/longlong.h: Updated from GCC.
44915 2012-05-09 Andreas Jaeger <aj@suse.de>
44917 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44918 default is first entry.
44919 (run_mode): Set type.
44920 (main): Remove informal message about syslog.
44921 (options): Fix typo.
44924 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44927 (llrintf): Likewise.
44928 (llrint): Likewise.
44931 (nearbyint): Likewise.
44932 (nearbyintf): Likewise.
44934 2012-05-09 Andreas Jaeger <aj@suse.de>
44935 Pedro Alves <palves@redhat.com>
44937 * nscd/nscd.c (run_mode): Use enum.
44938 (main): Cleanup coding style issue.
44940 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44941 Andreas Jaeger <aj@suse.de>
44943 * nscd/nscd.c (go_background): Replaced with...
44944 (run_mode): ... this.
44945 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44946 (options): Add -F --foreground.
44947 (main): Implement it.
44948 (parse_opt): Parse it.
44950 2012-05-09 Andreas Jaeger <aj@suse.de>
44953 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44954 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44955 -Wconversion warning.
44956 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44959 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44961 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44963 (LC_ALL): Use macro-int-constant.
44964 (LC_COLLATE): Likewise.
44965 (LC_CTYPE): Likewise.
44966 (LC_MESSAGES): Likewise.
44967 (LC_MONETARY): Likewise.
44968 (LC_NUMERIC): Likewise.
44969 (LC_TIME): Likewise.
44970 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44971 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44973 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44975 [C99-based standards] (float_t): Expect type.
44976 [C99-based standards] (double_t): Expect type.
44977 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44979 [C99-based standards] (HUGE_VALL): Likewise.
44980 [C99-based standards] (INFINITY): Likewise.
44981 [C99-based standards] (NAN): Likewise.
44982 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44983 [C99-based standards] (FP_NAN): Likewise.
44984 [C99-based standards] (FP_NORMAL): Likewise.
44985 [C99-based standards] (FP_SUBNORMAL): Likewise.
44986 [C99-based standards] (FP_ZERO): Likewise.
44987 [C99-based standards] (FP_FAST_FMA): Use
44988 optional-macro-int-constant. Specify type. Require == 1.
44989 [C99-based standards] (FP_FAST_FMAF): Likewise.
44990 [C99-based standards] (FP_FAST_FMAL): Likewise.
44991 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44992 [C99-based standards] (FP_ILOGBNAN): Likewise.
44993 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44995 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44996 [C99-based standards] (math_errhandling): Specify type.
44997 [ISO99 || ISO11] (signgam): Do not allow.
44998 [non-C99-based standards] (copysignf): Do not allow.
44999 [non-C99-based standards] (exp2f): Likewise.
45000 [non-C99-based standards] (log2f): Likewise.
45001 [non-C99-based standards] (modff): Allow.
45002 [non-C99-based standards] (erff): Do not allow.
45003 [non-C99-based standards] (erfcf): Likewise.
45004 [non-C99-based standards] (gammaf): Likewise.
45005 [non-C99-based standards] (hypotf): Likewise.
45006 [non-C99-based standards] (j0f): Likewise.
45007 [non-C99-based standards] (j1f): Likewise.
45008 [non-C99-based standards] (jnf): Likewise.
45009 [non-C99-based standards] (lgammaf): Likewise.
45010 [non-C99-based standards] (tgammaf): Likewise.
45011 [non-C99-based standards] (y0f): Likewise.
45012 [non-C99-based standards] (y1f): Likewise.
45013 [non-C99-based standards] (ynf): Likewise.
45014 [non-C99-based standards] (isnanf): Likewise.
45015 [non-C99-based standards] (acoshf): Likewise.
45016 [non-C99-based standards] (asinhf): Likewise.
45017 [non-C99-based standards] (atanhf): Likewise.
45018 [non-C99-based standards] (cbrtf): Likewise.
45019 [non-C99-based standards] (expm1f): Likewise.
45020 [non-C99-based standards] (ilogbf): Likewise.
45021 [non-C99-based standards] (log1pf): Likewise.
45022 [non-C99-based standards] (logbf): Likewise.
45023 [non-C99-based standards] (nextafterf): Likewise.
45024 [non-C99-based standards] (remainderf): Likewise.
45025 [non-C99-based standards] (rintf): Likewise.
45026 [non-C99-based standards] (scalbf): Likewise.
45027 [non-C99-based standards] (copysignl): Likewise.
45028 [non-C99-based standards] (exp2l): Likewise.
45029 [non-C99-based standards] (log2l): Likewise.
45030 [non-C99-based standards] (modfl): Allow.
45031 [non-C99-based standards] (erfl): Do not allow.
45032 [non-C99-based standards] (erfcl): Likewise.
45033 [non-C99-based standards] (gammal): Likewise.
45034 [non-C99-based standards] (hypotl): Likewise.
45035 [non-C99-based standards] (j0l): Likewise.
45036 [non-C99-based standards] (j1l): Likewise.
45037 [non-C99-based standards] (jnl): Likewise.
45038 [non-C99-based standards] (lgammal): Likewise.
45039 [non-C99-based standards] (tgammal): Likewise.
45040 [non-C99-based standards] (y0l): Likewise.
45041 [non-C99-based standards] (y1l): Likewise.
45042 [non-C99-based standards] (ynl): Likewise.
45043 [non-C99-based standards] (isnanl): Likewise.
45044 [non-C99-based standards] (acoshl): Likewise.
45045 [non-C99-based standards] (asinhl): Likewise.
45046 [non-C99-based standards] (atanhl): Likewise.
45047 [non-C99-based standards] (cbrtl): Likewise.
45048 [non-C99-based standards] (expm1l): Likewise.
45049 [non-C99-based standards] (ilogbl): Likewise.
45050 [non-C99-based standards] (log1pl): Likewise.
45051 [non-C99-based standards] (logbl): Likewise.
45052 [non-C99-based standards] (nextafterl): Likewise.
45053 [non-C99-based standards] (remainderl): Likewise.
45054 [non-C99-based standards] (rintl): Likewise.
45055 [non-C99-based standards] (scalbl): Likewise.
45056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45057 [non-C99-based standards] (FP_*): Do not allow.
45058 [C99-based standards] (FP_*): Change to
45059 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45060 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45062 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45063 (SIG_ERR): Likewise.
45064 [X/Open-based standards] (SIG_HOLD): Likewise.
45065 (SIG_IGN): Likewise.
45066 (SIGABRT): Use macro-int-constant. Specify type. Require
45068 (SIGFPE): Likewise.
45069 (SIGILL): Likewise.
45070 (SIGINT): Likewise.
45071 (SIGSEGV): Likewise.
45072 (SIGTER): Likewise.
45073 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45074 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45075 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45076 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45077 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45078 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45079 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45080 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45081 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45082 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45083 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45084 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45085 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45086 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45087 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45088 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45089 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45090 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45091 [X/Open-based standards] (SIGTRAP): Likewise.
45092 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45093 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45094 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45095 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45096 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45099 2012-05-08 Ian Wienand <ianw@vmware.com>
45102 * time/tzset.c (__tzset_parse_tz): Update default rules for
45103 daylight time changes in the Energy Policy Act of 2005.
45105 2012-05-09 Andreas Jaeger <aj@suse.de>
45108 * elf/ldconfig.c (parse_conf): Change string to make clear that
45109 ldconfig only issued a warning if ld.so.conf does not exist.
45111 2012-05-08 David S. Miller <davem@davemloft.net>
45113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45114 movxtod instead of popping the value on the stack.
45116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45118 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45120 * config.h.in: Add HAVE_ARM_PCS_VFP.
45122 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45125 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45126 checking but the checks are disabled for any reason.
45128 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45130 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45131 and ELF64_R_TYPE with ELFW(R_TYPE).
45133 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45135 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45136 (ulimit): Likewise.
45138 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45139 (settimeofday): Likewise.
45141 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45143 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45144 a struct th_u2 inside the union, and move tu_block/tu_code into
45145 a new th_u3 union of tu_block/tu_code inside of that. Move
45146 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45147 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45148 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45149 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45150 (th_stuff): Change to th_u1.tu_stuff.
45152 (th_msg): Change to th_u1.th_u2.tu_data.
45154 2012-05-07 David S. Miller <davem@davemloft.net>
45156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45159 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45160 (SETUP_PIC_REG): Use it.
45161 (SETUP_PIC_REG_LEAF): Use it.
45163 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45167 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45169 (EXPL_FINITE): Likewise.
45170 (FLDLOG): Likewise.
45171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45172 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45176 (EXPL_FINITE): Likewise.
45177 (FLDLOG): Likewise.
45178 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45179 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45181 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45182 test of -max_value argument for long double.
45183 * sysdeps/i386/fpu/libm-test-ulps: Update.
45184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45186 2012-05-06 David S. Miller <davem@davemloft.net>
45188 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45189 quad soft-float symbols whose references which are compiler
45191 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45193 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45197 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45199 (EXPL_FINITE): Likewise.
45200 (FLDLOG): Likewise.
45203 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45204 Adjust comments for base varying.
45205 (__expl_finite): Change alias to EXPL_FINITE.
45206 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45208 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45209 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45210 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45211 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45212 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45214 (EXPL_FINITE): Likewise.
45215 (FLDLOG): Likewise.
45218 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45219 Adjust comments for base varying.
45220 (__expl_finite): Change alias to EXPL_FINITE.
45221 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45223 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45226 * math/libm-test.inc (check_float_internal): Correct ulp
45227 calculation for subnormal expected results.
45229 2012-05-06 Andreas Jaeger <aj@suse.de>
45231 * Makeconfig (+math-flags): New, set to -frounding-math.
45232 (+cflags): Add +math-flags so that all of glibc gets compiled with
45235 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45237 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45239 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45245 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45246 (__ieee754_expl): Allow for and saturate large arguments.
45247 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45248 (u_threshold): Likewise.
45249 (__exp): Call __ieee754_exp before checking for overflow and
45251 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45252 (u_threshold): Likewise.
45253 (__expf): Call __ieee754_expf before checking for overflow and
45255 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45256 (u_threshold): Likewise.
45257 (__expl): Call __ieee754_expl before checking for overflow and
45259 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45260 (__ieee754_expl): Allow for and saturate large arguments.
45261 * math/libm-test.inc (exp_test): Add another test. Do not allow
45262 missing overflow exception on overflow.
45263 (expm1_test): Do not allow missing overflow exception on overflow.
45265 * sysdeps/i386/fpu/e_expl.c: Move to ...
45266 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45267 rather than using inline asm.
45268 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45269 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45270 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45272 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45275 (signal): Likewise.
45279 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45281 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45282 sysdeps/unix/common/syscalls.list.
45283 (fchmod): Likewise.
45284 (fchown): Likewise.
45285 (ftruncate): Likewise.
45286 (getrusage): Likewise.
45287 (gettimeofday): Likewise.
45288 (setpgid): Likewise.
45289 (setregid): Likewise.
45290 (setreuid): Likewise.
45291 (sigaction): Likewise.
45292 (truncate): Likewise.
45293 (vhangup): Likewise.
45294 * sysdeps/unix/common/syscalls.list: Remove file.
45295 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45296 * sysdeps/unix/sysv/linux/Implies: Likewise.
45298 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45300 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45302 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45306 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45309 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45312 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45315 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45318 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45321 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45328 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45332 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45335 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45339 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45343 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45345 * sysdeps/unix/common/bits/dirent.h: Remove file.
45346 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45348 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45349 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45350 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45351 * sysdeps/unix/bsd/isatty.c: Likewise.
45352 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45353 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45354 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45356 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45359 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45360 long double comparison inaccuracies.
45361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45364 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45366 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45367 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45369 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45373 nonzero digits before rounding a hex value.
45374 * stdlib/tst-strtod.c (tests): Add another test.
45376 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45378 * sysdeps/s390/fpu/libm-test-ulps: Update.
45380 2012-05-03 Andreas Jaeger <aj@suse.de>
45382 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45383 does not get optimized out.
45384 (malloc_opt_barrier): New.
45386 2012-05-03 Andreas Jaeger <aj@suse.de>
45387 Roland McGrath <roland@hack.frob.com>
45389 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45390 intermediate file deletion.
45391 (generated): Add .symlist files.
45393 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45396 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45397 Redirect under this condition.
45398 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45399 [__USE_GNU] (__dprintf_chk): Not under this condition.
45400 [__USE_GNU] (__vdprintf_chk): Likewise.
45401 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45402 under this condition.
45403 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45404 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45405 [__USE_XOPEN2K8] (vdprintf): Likewise.
45406 [__USE_GNU] (__dprintf_chk): Not under this condition.
45407 [__USE_GNU] (__vdprintf_chk): Likewise.
45408 [__USE_GNU] (dprintf): Likewise.
45409 [__USE_GNU] (vdprintf): Likewise.
45411 2012-05-03 Roland McGrath <roland@hack.frob.com>
45413 * elf/Makefile (common-generated): Set this instead of generated for
45414 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45415 $(all-built-dso)-derived lists.
45417 2012-05-03 Andreas Jaeger <aj@suse.de>
45419 * sysdeps/i386/fpu/libm-test-ulps: Update.
45422 * FAQ.in: Likewise.
45423 * scripts/gen-FAQ.pl: Likewise.
45424 * manual/install.texi (Installation): Point to online location of
45426 * Makefile (files-for-dist): Remove FAQ.
45429 2012-05-02 Allan McRae <allan@archlinux.org>
45431 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45432 (LDFLAGS-reldepmod5.so): Likewise.
45433 (LDFLAGS-reldep6mod1.so): Likewise.
45434 (LDFLAGS-reldep6mod4.so): Likewise.
45435 (LDFLAGS-reldep8mod3.so): Likewise.
45436 (LDFLAGS-unload4mod1.so): Likewise.
45437 (LDFLAGS-unload4mod2.so): Likewise.
45438 (LDFLAGS-tst-initorder): Likewise.
45439 (LDFLAGS-tst-initordera2.so): Likewise.
45440 (LDFLAGS-tst-initordera3.so): Likewise.
45441 (LDFLAGS-tst-initordera4.so): Likewise.
45442 (LDFLAGS-tst-initorderb2.so): Likewise.
45443 (LDFLAGS-noload): Likewise.
45444 (LDFLAGS-next): Likewise.
45445 (LDFLAGS-order2mod1.so): Likewise.
45446 (LDFLAGS-order2mod2.so): Likewise.
45447 (LDFLAGS-tst-initorder2): Likewise.
45448 (LDFLAGS-tst-initorder2a.so): Likewise.
45449 (LDFLAGS-tst-initorder2b.so): Likewise.
45450 (LDFLAGS-tst-initorder2c.so): Likewise.
45451 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45453 2012-05-02 David S. Miller <davem@davemloft.net>
45455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45457 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45460 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45462 2012-05-02 Andreas Jaeger <aj@suse.de>
45464 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45465 since we manipulate rounding mode.
45466 (CPPFLAGS-test-idouble.c): Likewise.
45467 (CPPFLAGS-test-ifloat.c): Likewise.
45468 (CFLAGS-test-ldouble.c): Likewise.
45469 (CFLAGS-test-double.c): Likewise.
45470 (CFLAGS-test-float.c): Likewise.
45471 (CFLAGS-test-misc.c): Likewise.
45472 (CFLAGS-test-test-fenv.c): Likewise.
45474 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45478 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45479 comparisons to determine direction to adjust input.
45481 2012-05-01 Roland McGrath <roland@hack.frob.com>
45483 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45484 output to the target.
45486 * scripts/localplt.awk: New file.
45487 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45488 (check-localplt-CFLAGS): Variable removed.
45489 ($(all-built-dso:=.jmprel)): New static pattern rule.
45490 (generated): Add those targets.
45491 (localplt-built-dso): New variable.
45492 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45494 * elf/check-localplt.c: File removed.
45496 * scripts/check-execstack.awk: New file.
45497 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45498 (check-execstack-CFLAGS): Variable removed.
45499 ($(objpfx)check-execstack.h): Target removed.
45500 ($(objpfx)execstack-default): New target.
45501 (generated): Add that instead of check-execstack.h.
45502 ($(all-built-dso:=.phdr)): New static pattern rule.
45503 (generated): Add those targets.
45504 * elf/check-execstack.c: File removed.
45506 * scripts/check-textrel.awk: New file.
45507 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45508 (check-textrel-CFLAGS): Variable removed.
45509 (all-built-dso): Use := to define.o
45510 ($(all-built-dso:=.dyn)): New static pattern rule.
45511 (generated): Add those targets.
45512 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45513 * config.make.in (READELF): New substituted variable.
45514 * elf/check-textrel.c: File removed.
45516 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45518 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45520 * conform/data/ctype.h-data [C99-based standards] (isblank):
45522 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45523 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45525 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45526 Specify type. Require positive value.
45527 (EILSEQ): Likewise.
45528 (ERANGE): Likewise.
45529 [ISO || POSIX] (EILSEQ): Do not expect.
45530 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45531 Specify type. Require positive value.
45532 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45533 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45534 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45535 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45536 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45537 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45538 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45539 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45540 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45541 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45542 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45543 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45544 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45545 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45546 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45547 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45548 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45549 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45550 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45551 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45552 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45553 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45554 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45555 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45556 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45557 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45558 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45559 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45560 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45561 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45562 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45563 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45564 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45565 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45566 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45567 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45568 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45569 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45570 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45571 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45572 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45573 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45574 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45575 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45576 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45577 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45578 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45579 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45580 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45581 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45582 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45583 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45584 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45585 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45586 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45587 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45588 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45589 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45590 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45591 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45592 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45593 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45594 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45595 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45596 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45597 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45598 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45599 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45600 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45601 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45602 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45603 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45604 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45605 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45606 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45607 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45608 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45610 (FLT_ROUNDS): Expect as macro, not constant.
45611 (FLT_MANT_DIG): Use macro-int-constant.
45612 (DBL_MANT_DIG): Likewise.
45613 (LDBL_MANT_DIG): Likewise.
45614 (FLT_DIG): Likewise.
45615 (DBL_DIG): Likewise.
45616 (LDBL_DIG): Likewise.
45617 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45618 (DBL_MIN_EXP): Likewise.
45619 (LDBL_MIN_EXP): Likewise.
45620 (FLT_MAX_EXP): Use macro-int-constant.
45621 (DBL_MAX_EXP): Likewise.
45622 (LDBL_MAX_EXP): Likewise.
45623 (FLT_MAX_10_EXP): Likewise.
45624 (DBL_MAX_10_EXP): Likewise.
45625 (LDBL_MAX_10_EXP): Likewise.
45626 (FLT_MAX): Use macro-constant.
45627 (DBL_MAX): Likewise.
45628 (LDBL_MAX): Likewise.
45629 (FLT_EPSILON): Use macro-constant. Give upper bound.
45630 (DBL_EPSILON): Likewise.
45631 (LDBL_EPSILON): Likewise.
45632 (FLT_MIN): Likewise.
45633 (DBL_MIN): Likewise.
45634 (LDBL_MIN): Likewise.
45635 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45636 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45637 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45638 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45639 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45640 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45641 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45642 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45643 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45644 [ISO11] (FLT_TRUE_MIN): Likewise.
45645 [ISO11] (LDBL_TRUE_MIN): Likewise.
45646 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45647 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45648 (SCHAR_MIN): Use macro-int-constant. Specify type.
45649 (SCHAR_MAX): Likewise.
45650 (UCHAR_MAX): Likewise.
45651 (CHAR_MIN): Likewise.
45652 (CHAR_MAX): Likewise.
45653 (MB_LEN_MAX): Use macro-int-constant.
45654 (SHRT_MIN): Use macro-int-constant. Specify type.
45655 (SHRT_MAX): Likewise.
45656 (USHRT_MAX): Likewise.
45657 (INT_MAX): Likewise.
45658 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45660 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45662 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45664 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45665 bound negative. Suffix upper bound with "L".
45666 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45668 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45670 [C99-based standards] (LLONG_MAX): Likewise.
45671 [C99-based standards] (ULLONG_MAX): Likewise.
45672 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45674 [ISO11] (max_align_t): Require type.
45675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45677 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45678 from $CFLAGS, without defining away __attribute__ calls.
45679 (checknamespace): Use $CFLAGS_namespace.
45681 * conform/conformtest.pl (@keywords): Only include C99 keywords
45682 for standards based on C99 or C11.
45684 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45686 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45689 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45690 usability of symbols in #if.
45692 * conform/conformtest.pl: If macro or constant types start
45693 "promoted:", expect the symbol to be of the following type
45694 promoted by the integer promotions.
45696 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45697 in one place. Also handle "macro-constant".
45699 * conform/conformtest.pl: Only accept expected macro values with
45700 "==". Parse all "macro" lines in one place.
45701 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45703 * conform/conformtest.pl: Handle braced types on "constant" lines
45704 instead of handling "typed-constant".
45705 * conform/data/signal.h-data: Use "constant" instead of
45708 * conform/conformtest.pl: Handle "optional-" at start of lines in
45709 one place rather than duplicating several cases. Handle each
45710 format of "macro" line with initial "optional-".
45712 * conform/conformtest.pl: Only accept expected constant or
45713 optional-constant values with "==". Parse all "constant" lines in
45714 one place. Parse all "optional-constant" lines in one place.
45715 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45716 * conform/data/fmtmsg.h-data: Likewise.
45717 * conform/data/netinet/in.h-data: Likewise.
45718 * conform/data/tar.h-data: Likewise.
45719 * conform/data/limits.h-data: Use "==" form on "constant" and
45720 "optional-constant" lines.
45722 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45723 Use -std=c99 for XOPEN2K.
45724 (@knownproblems): Remove.
45725 (newtoken): Don't check %isknown.
45727 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45728 Do not expect macro.
45729 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45741 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45742 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45759 [XPG3] (acosh): Likewise.
45760 [XPG3] (asinh): Likewise.
45761 [XPG3] (atanh): Likewise.
45762 [XPG3] (cbrt): Likewise.
45763 [XPG3] (expm1): Likewise.
45764 [XPG3] (ilogb): Likewise.
45765 [XPG3] (log1p): Likewise.
45766 [XPG3] (logb): Likewise.
45767 [XPG3] (nextafter): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45770 [XPG3] (remainder): Likewise.
45771 [XPG3] (rint): Likewise.
45772 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45773 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45774 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45775 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45776 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45777 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45778 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45779 [UNIX98 || XOPEN2K] (scalb): Expect.
45780 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45781 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45782 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45783 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45784 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45785 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45786 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45787 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45788 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45789 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45790 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45791 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45792 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45793 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45794 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45795 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45796 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45797 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45798 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45799 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45800 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45801 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45802 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45803 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45804 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45805 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45806 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45807 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45808 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45809 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45810 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45811 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45812 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45813 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45814 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45815 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45816 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45817 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45818 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45819 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45820 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45821 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45822 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45823 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45824 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45825 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45826 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45827 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45828 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45829 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45830 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45831 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45832 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45833 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45834 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45835 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45836 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45837 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45838 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45839 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45840 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45841 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45842 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45843 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45844 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45845 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45846 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45847 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45848 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45849 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45850 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45851 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45852 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45853 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45854 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45855 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45856 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45857 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45858 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45859 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45860 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45861 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45862 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45863 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45864 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45865 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45866 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45867 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45868 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45869 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45870 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45871 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45872 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45873 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45874 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45875 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45876 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45877 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45878 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45879 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45880 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45881 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45882 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45883 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45884 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45885 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45886 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45887 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45888 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45889 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45890 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45891 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45892 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45893 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45894 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45895 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45896 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45897 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45898 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45899 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45900 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45901 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45902 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45903 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45904 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45905 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45906 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45907 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45908 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45909 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45910 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45911 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45912 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45913 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45914 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45915 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45916 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45918 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45919 _XOPEN_SOURCE_EXTENDED for XPG4.
45921 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45923 * Makeconfig (localtime): Remove variable.
45924 (inst_localtime-file): Likewise.
45926 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45947 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45951 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45952 comparisons to determine direction to adjust input.
45953 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45954 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45964 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45966 * math/libm-test.inc (nexttoward_test): Add more tests.
45968 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45972 in version GLIBC_2.1, not GLIBC_2.0.
45973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45976 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45979 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45981 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45982 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45983 * math/libm-test.inc (acos_test): Add more tests.
45984 (asin_test): Likewise.
45985 * sysdeps/i386/fpu/libm-test-ulps: Update.
45986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45989 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45991 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45992 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45993 * math/libm-test.inc (acos_test_tonearest): New function.
45994 (acos_test_towardzero): Likewise.
45995 (acos_test_downward): Likewise.
45996 (acos_test_upward): Likewise.
45997 (asin_test_tonearest): Likewise.
45998 (asin_test_towardzero): Likewise.
45999 (asin_test_downward): Likewise.
46000 (asin_test_upward): Likewise.
46001 (main): Call the new functions.
46002 * sysdeps/i386/fpu/libm-test-ulps: Update.
46003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46007 * math/e_exp10.c: Include <float.h>.
46008 (__ieee754_exp10): Handle underflow here rather than multiplying
46009 large negative argument by M_LN10.
46010 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46012 * math/e_exp10l.c: Include <float.h>.
46013 (__ieee754_exp10l): Handle underflow here rather than multiplying
46014 large negative argument by M_LN10l.
46015 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46016 spurious overflow exception on underflow.
46018 2012-04-29 Marek Polacek <polacek@redhat.com>
46020 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46021 (__fortify_function): New macro.
46022 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46023 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46024 __extern_always_inline.
46025 * libio/bits/stdio2.h: Likewise.
46026 * libio/bits/stdio.h: Likewise.
46027 * string/string.h: Likewise.
46028 * string/bits/string3.h: Likewise.
46029 * include/stdio.h: Likewise.
46030 * stdlib/bits/stdlib.h: Likewise.
46031 * stdlib/stdlib.h: Likewise.
46032 * rt/bits/mqueue2.h: Likewise.
46033 * rt/mqueue.h: Likewise.
46034 * posix/bits/unistd.h: Likewise.
46035 * posix/unistd.h: Likewise.
46036 * io/bits/poll2.h: Likewise.
46037 * io/bits/fcntl2.h: Likewise.
46038 * io/fcntl.h: Likewise.
46039 * io/sys/poll.h: Likewise.
46040 * misc/bits/syslog.h: Likewise.
46041 * misc/bits/syslog-ldbl.h: Likewise.
46042 * misc/sys/syslog.h: Likewise.
46043 * socket/bits/socket2.h: Likewise.
46044 * socket/sys/socket.h: Likewise.
46045 * debug/tst-chk1.c: Likewise.
46046 * wcsmbs/bits/wchar2.h: Likewise.
46047 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46048 * wcsmbs/wchar.h: Likewise.
46050 2012-04-29 Andreas Jaeger <aj@suse.de>
46052 * Makerules (tests): Remove enable-check-abi protection.
46053 (check-abi-warn): Remove.
46054 (check-abi-%): Remove check-abi-warn usage.
46056 * configure.in: Remove check-abi configure option.
46057 * configure: Regenerated.
46058 * config.make.in (enable-check-abi): Remove.
46060 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46063 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46064 double functions to double *_finite functions.
46067 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46068 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46070 * stdio-common/Makefile (tests): Add tst-sprintf3.
46071 * stdio-common/tst-sprintf3.c: New file.
46073 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46074 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46076 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46078 * conform/conformtest.pl: Remove duplicate typed-constant
46081 2012-04-28 David S. Miller <davem@davemloft.net>
46083 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46084 (check-abi-%): Remove AWK script prerequisite and explicit
46086 (check-abi): Rewrite to just diff the symlist with the abilist.
46087 (config-tls, config-abi-config): Delete, no longer used.
46088 (update-abi-%): Remove AWK script and explicit abilist directory.
46089 (update-abi): Rewrite to simply compare and conditionally copy the
46090 symlist and the sysdep abilist file. Remove update-abi-config
46092 * abilist/ld.abilist: Remove.
46093 * abilist/libBrokenLocale.abilist: Remove.
46094 * abilist/libanl.abilist: Remove.
46095 * abilist/libcrypt.abilist: Remove.
46096 * abilist/libdl.abilist: Remove.
46097 * abilist/librt.abilist: Remove.
46098 * abilist/libthread_db.abilist: Remove.
46099 * abilist/libutil.abilist: Remove.
46100 * scripts/extract-abilist.awk: Remove.
46101 * scripts/merge-abilist.awk: Remove.
46102 * sysdeps/generic/libcidn.abilist: New file.
46103 * sysdeps/generic/libnss_compat.abilist: New file.
46104 * sysdeps/generic/libnss_db.abilist: New file.
46105 * sysdeps/generic/libnss_dns.abilist: New file.
46106 * sysdeps/generic/libnss_files.abilist: New file.
46107 * sysdeps/generic/libnss_hesiod.abilist: New file.
46108 * sysdeps/generic/libnss_nis.abilist: New file.
46109 * sysdeps/generic/libnss_nisplus.abilist: New file.
46110 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46111 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46112 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46114 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46115 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46116 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46117 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46118 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46119 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46120 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46121 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46122 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46124 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46125 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46126 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46127 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46129 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46130 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46131 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46133 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46134 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46137 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46138 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46140 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46244 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46245 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46248 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46249 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46250 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46251 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46252 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46253 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46255 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46256 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46308 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46310 * conform/conformtest.pl: Fix typo in handling typed-constant from
46313 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46315 * README: Cut down references to pre-2.6 Linux kernels and
46316 Linuxthreads. Update lists of configurations in libc and ports
46317 and sort alphabetically. Say "or newer" with Linux kernel version
46320 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46322 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46325 * math/libm-test.inc (logb_test_downward): New test to expose
46326 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46329 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46332 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46334 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46335 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46337 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46339 * sysdeps/unix/i386/brk.S: Remove file.
46340 * sysdeps/unix/i386/dl-brk.S: Likewise.
46341 * sysdeps/unix/i386/pipe.S: Likewise.
46342 * sysdeps/unix/i386/sigreturn.S: Likewise.
46343 * sysdeps/unix/i386/syscall.S: Likewise.
46344 * sysdeps/unix/i386/vfork.S: Likewise.
46345 * sysdeps/unix/i386/wait.S: Likewise.
46347 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46348 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46350 * configure.in (arm*-none*): Do not allow without
46351 --enable-hacker-mode.
46352 (netbsd*): Remove case setting base_os.
46353 (386bsd*): Likewise.
46354 (freebsd*): Likewise.
46357 (sunos*): Likewise.
46358 (ultrix*): Likewise.
46359 (newsos*): Likewise.
46360 (dynix*): Likewise.
46366 (minix*): Likewise.
46367 (irix4*): Likewise.
46368 (irix6*): Likewise.
46369 (solaris[2-9]*): Likewise.
46371 * configure: Regenerated.
46373 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46376 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46377 overflow or cancellation in calculating denominator.
46378 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46380 down expression to avoid unexpected rounding in newer GCCs.
46381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46383 2012-04-26 David S. Miller <davem@davemloft.net>
46385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46386 long-double compat symbols.
46387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46401 2012-04-25 David S. Miller <davem@davemloft.net>
46403 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46404 HWCAP_* values only after the memory barriers have been defined.
46405 (atomic_full_barrier): Define.
46406 (atomic_read_barrier): Define.
46407 (atomic_write_barrier): Define.
46409 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46411 * shlib-versions: Add libgcc_s version information.
46412 * sysdeps/generic/libgcc_s.h: Remove.
46413 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46415 * sysdeps/gnu/unwind-resume.c: Likewise.
46416 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46418 2012-04-25 David S. Miller <davem@davemloft.net>
46420 * sysdeps/unix/sparc/brk.S: Delete.
46421 * sysdeps/unix/sparc/dl-brk.S: Delete.
46422 * sysdeps/unix/sparc/pipe.S: Delete.
46423 * sysdeps/unix/sparc/sysdep.S: Delete.
46424 * sysdeps/unix/sparc/sysdep.h: Delete.
46425 * sysdeps/unix/sparc/vfork.S: Delete.
46426 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46427 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46429 (ret_ERRVAL, r0, r1, MOVE): Define.
46430 (JUMPTARGET): Remove.
46431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46432 sysdeps/unix/sparc/sysdep.h
46433 (ENTRY, END): Remove.
46434 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46436 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46438 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46439 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46442 * timezone/README: Update upstream location and email address for
46444 * timezone/zdump.c: Update from tzcode 2012b.
46445 * timezone/zic.c: Likewise.
46447 * configure.in (libc_cv_as_needed): Remove test.
46448 * configure: Regenerated.
46449 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46450 conditional definition.
46451 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46452 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46453 * config.make.in (have-as-needed): Remove variable.
46455 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46456 Paul Pluzhnikov <ppluzhnikov@google.com>
46458 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46461 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46463 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46464 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46465 * sysdeps/sh/strlen.S: Likewise.
46467 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46469 * sysdeps/unix/fork.S: Remove file.
46470 * sysdeps/unix/i386/fork.S: Likewise.
46471 * sysdeps/unix/sparc/fork.S: Likewise.
46473 * sysdeps/unix/system.c: Remove file.
46474 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46476 * sysdeps/unix/getegid.S: Remove file.
46477 * sysdeps/unix/geteuid.S: Likewise.
46479 2012-04-24 Roland McGrath <roland@hack.frob.com>
46481 * scripts/check-localplt.awk: New file.
46482 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46484 * scripts/data/localplt-generic.data: Add a comment.
46486 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46487 NODE when __dir_mkfile failed.
46488 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46489 Reported by Ludovic Courtès <ludo@gnu.org>.
46491 2012-04-24 Andreas Jaeger <aj@suse.de>
46493 * Makerules (common-clean): Also remove gen-as-const-headers
46496 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46498 * Makerules (native-compile): Do not change working directory for
46499 build. Use $(OUTPUT_OPTION) in command.
46500 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46502 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46505 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46506 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46507 * math/libm-test.inc (floor_test): Add more tests.
46508 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46512 * sysdeps/unix/getdents.c: Remove file.
46513 * sysdeps/unix/sysv/getdents.c: Likewise.
46514 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46516 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46517 sysdeps/unix/mman/syscalls.list.
46519 (mprotect): Likewise.
46521 (munmap): Likewise.
46522 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46523 * sysdeps/unix/mman/syscalls.list: Remove.
46524 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46526 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46527 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46528 * configure: Regenerated.
46529 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46530 $(libgcc_s_suffix).
46531 * config.make.in (libgcc_s_suffix): Remove variable.
46533 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46535 * sysdeps/unix/sysv/gethostname.c: Move to ...
46536 * sysdeps/posix/gethostname.c: ... here.
46538 * sysdeps/unix/execve.S: Remove file.
46540 * sysdeps/unix/_exit.S: Remove file.
46542 2012-04-23 Andreas Jaeger <aj@suse.de>
46545 * manual/Makefile: Remove make dist support, there's no
46546 need for a stand-alone documentation tar ball.
46547 (TEXI2DVI): Define always, it's not in Makeconfig.
46550 (edition): Removed.
46551 (glibc-doc-$(edition).tar): Removed
46555 (ETAGS): Remove, it's in Makeconfig.
46556 (move-if-change): Remove, it's in Makeconfig.
46558 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46561 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46562 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46563 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46564 (strtod_l, strtof_l, strtold_l): Remove __wur.
46565 It is not necessarily an error to ignore strtol's return value.
46566 One can reliably look at the stored endptr to decide whether
46567 the number had valid syntax.
46569 2012-04-21 Andreas Jaeger <aj@suse.de>
46572 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46574 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46576 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46577 * sysdeps/unix/sysv/Versions: Remove file.
46579 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46584 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46588 version from __vm86.
46590 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46592 * sysdeps/unix/common/lxstat.c: Remove file.
46593 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46595 * sysdeps/unix/sysv/Makefile: Remove file.
46597 * sysdeps/unix/sysv/direct.h: Remove file.
46599 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46600 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46601 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46602 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46603 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46604 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46605 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46607 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46609 * sysdeps/unix/xmknod.c: Remove file.
46610 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46612 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46614 * sysdeps/unix/sysv/i386/time.S: Remove file.
46616 * sysdeps/unix/fxstat.c: Remove file.
46617 * sysdeps/unix/xstat.c: Likewise.
46618 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46620 * sysdeps/unix/sysv/sigaction.c: Remove file.
46622 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46623 (sysdep_headers): Remove variable.
46624 [termio.h not in sysdep_headers] (generated): Likewise.
46625 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46626 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46627 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46628 * sysdeps/unix/sysv/tcflow.c: Likewise.
46629 * sysdeps/unix/sysv/tcflush.c: Likewise.
46630 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46631 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46632 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46633 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46634 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46636 * sysdeps/unix/siglist.c: Remove file.
46638 * sysdeps/unix/getppid.S: Remove file.
46640 * sysdeps/unix/mkdir.c: Remove file.
46641 * sysdeps/unix/rmdir.c: Likewise.
46643 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46645 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46647 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46648 errlist-compat value.
46650 2012-04-18 David S. Miller <davem@davemloft.net>
46652 * sysdeps/generic/memcopy.h (reg_char): Delete.
46653 * debug/strcat_chk.c: Use char, not reg_char.
46654 * debug/strcpy_chk.c: Likewise.
46655 * debug/strncat_chk.c: Likewise.
46656 * debug/strncpy_chk.c: Likewise.
46657 * string/memchr.c: Likewise.
46658 * string/memrchr.c: Likewise.
46659 * string/rawmemchr.c: Likewise.
46660 * string/strcat.c: Likewise.
46661 * string/strchr.c: Likewise.
46662 * string/strchrnul.c: Likewise.
46663 * string/strcmp.c: Likewise.
46664 * string/strcpy.c: Likewise.
46665 * string/strncat.c: Likewise.
46666 * string/strncmp.c: Likewise.
46667 * string/strncpy.c: Likewise.
46669 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46671 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46672 __builtin_memcopy is called when src and dest ranges are known to not
46675 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46677 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46678 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46679 fwd_align_merge macro call.
46680 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46681 bwd_align_merge macro call.
46682 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46684 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46686 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46687 bwd_align_merge macros.
46688 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46689 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46690 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46692 2012-04-18 David S. Miller <davem@davemloft.net>
46694 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46696 2012-04-18 Andreas Jaeger <aj@suse.de>
46699 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46700 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46701 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46704 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46705 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46707 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46708 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46709 Adjust for changed ldbl-128 files.
46711 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46712 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46713 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46715 2012-04-17 David S. Miller <davem@davemloft.net>
46717 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46719 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46721 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46722 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46723 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46724 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46725 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46726 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46728 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46731 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46732 * math/libm-test.inc: Add ilogb errno and exception tests.
46733 * math/w_ilogb.c: New file: ilogb wrapper.
46734 * math/w_ilogbf.c: New file: ilogbf wrapper.
46735 * math/w_ilogbl.c: New file: ilogbl wrapper.
46736 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46737 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46738 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46739 exception being thrown with 0.0 as argument.
46740 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46741 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46742 exception being thrown with 0.0 as argument.
46743 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46744 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46745 exception being thrown with 0.0 as argument.
46746 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46747 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46748 exception being thrown with 0.0 as argument.
46749 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46750 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46751 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46752 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46753 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46754 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46755 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46756 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46757 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46759 2012-04-17 Petr Baudis <pasky@ucw.cz>
46761 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46764 2012-04-16 Marek Polacek <polacek@redhat.com>
46766 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46768 2012-04-16 Marek Polacek <polacek@redhat.com>
46770 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46771 operands of fdivp instruction.
46773 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46775 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46776 * elf/tst-auditmod3b.c: Likewise.
46777 * elf/tst-auditmod4b.c: Likewise.
46778 * elf/tst-auditmod5b.c: Likewise.
46779 * elf/tst-auditmod6b.c: Likewise.
46780 * elf/tst-auditmod6c.c: Likewise.
46781 * elf/tst-auditmod7b.c: Likewise.
46782 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46783 * sysdeps/x86_64/preconfigure.in: Likewise.
46784 * sysdeps/x86_64/preconfigure: Regenerated.
46786 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46788 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46791 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46793 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46794 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46796 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46799 * locale/iso-639.def: Fix gl language name. Spotted by
46802 2012-04-12 Roland McGrath <roland@hack.frob.com>
46805 * libio/libio.h (__io_write_fn): Update comment.
46807 2012-04-12 Petr Baudis <pasky@ucw.cz>
46810 * stdio.texi (Hook Functions): The user provided writer function
46811 is not allowed to return -1.
46813 2012-04-11 David S. Miller <davem@davemloft.net>
46815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46817 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46819 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46820 Add a leading slash to rtkaio.
46822 2012-04-11 Jim Meyering <meyering@redhat.com>
46825 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46826 It is not necessarily an error to ignore fwrite's return
46827 value. One can reliably use ferror to test for errors after
46830 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46832 * bits/types.h (__snseconds_t): New type.
46833 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46835 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46837 (__SNSECONDS_T_TYPE): Likewise.
46838 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46839 (__SNSECONDS_T_TYPE): Likewise.
46840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46841 (__SNSECONDS_T_TYPE): Likewise.
46843 2012-04-10 Andreas Jaeger <aj@suse.de>
46846 * manual/time.texi (Processor Time): Return type of times is
46847 elapsed real time since an arbitrary point in the past.
46848 (CPU Time): Move CLK_TCK from here...
46849 (Processor Time): ...to here. Correct description.
46850 * manual/conf.texi (Constants for Sysconf): Correct description of
46853 2012-04-10 David S. Miller <davem@davemloft.net>
46856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46857 where the is a gap between DT_REL(A) and DT_JMPREL.
46859 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46861 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46862 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46863 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46865 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46867 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46868 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46869 (dl_main): Handle --inhibit-cache.
46870 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46872 * elf/dl-load.c (_dl_map_object): Use it.
46873 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46875 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46878 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46879 (__ieee754_powl): Saturate large exponents rather than testing for
46880 overflow of y*log2(x).
46881 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46882 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46886 * math/s_ctan.c: Include <float.h>.
46887 (__ctan): Avoid internal overflow or cancellation in calculating
46889 * math/s_ctanf.c: Likewise.
46890 * math/s_ctanl.c: Likewise.
46891 * math/s_ctanh.c: Likewise.
46892 * math/s_ctanhf.c: Likewise.
46893 * math/s_ctanhl.c: Likewise.
46894 * math/libm-test.inc (ctan_test): Add more tests.
46895 (ctanh_test): Likewise.
46896 * sysdeps/i386/fpu/libm-test-ulps: Update.
46897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46899 2012-04-09 Andreas Jaeger <aj@suse.de>
46902 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46903 is an optional BSD extension.
46906 * manual/stdio.texi (Opening Streams): Document additional fopen
46909 2012-04-09 Roland McGrath <roland@hack.frob.com>
46911 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46912 %eax without telling the compiler.
46914 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46917 * manual/install.texi: Use sourceware.org.
46919 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46922 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46923 (__ieee754_pow): Generate overflow and underflow using huge*huge
46924 and tiny*tiny rather than just returning constant infinity or zero
46925 for large exponents.
46926 * math/libm-test.inc (pow_test): Require overflow exceptions for
46927 applicable cases of large exponents.
46930 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46931 (__ieee754_pow): Use iterative multiplication algorithm only for
46932 integer exponents with absolute value below 1024. Check for odd
46933 integer exponents when using algorithm for real exponents.
46934 * math/libm-test.inc (pow_test): Add more tests.
46935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46937 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46940 * math/libm-test.inc (exp_test): Do not allow overflow exception
46943 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46946 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46947 instead of __kernel_standard_f.
46949 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46951 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46952 * sysdeps/x86_64/memset_chk.S: Likewise.
46954 2012-04-08 Andreas Jaeger <aj@suse.de>
46957 * manual/startup.texi (Environment Access): Describe return value
46958 for putenv and setenv.
46961 * manual/filesys.texi (Directory Entries): Add description for
46965 * manual/filesys.texi (Directory Entries): Clarify that it's file
46966 system not operating system in the description of DT_UNKNOWN.
46969 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46971 2012-04-08 Stephen Compall <s11@member.fsf.org>
46974 * manual/llio.texi (Opening and Closing Files): Add cross
46975 reference to explain mode argument.
46977 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46979 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46980 * sysdeps/x86_64/memset_chk.S: Likewise.
46982 2012-04-07 David S. Miller <davem@davemloft.net>
46984 * elf/elf.h (R_SPARC_WDISP10): Define.
46985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46987 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46988 R_SPARC_SIZE64 and R_SPARC_H34.
46990 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46992 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46993 conditions and remove no longer applicable assertion.
46995 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46997 * bits/byteswap.h: Include <features.h>.
46998 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46999 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47001 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47003 * bits/byteswap.h (__bswap_16): Removed.
47004 Include <bits/byteswap-16.h> to get __bswap_16.
47005 * sysdeps/i386/bits/byteswap.h: Likewise.
47006 * sysdeps/s390/bits/byteswap.h: Likewise.
47007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47008 * bits/byteswap-16.h: New file.
47009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47010 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47011 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47012 * string/Makefile (headers): Add bits/byteswap-16.h.
47014 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47017 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47019 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47020 * nss/tst-nss-static.c: New.
47022 2012-04-06 Robert Millan <rmh@gnu.org>
47025 * manual/llio.texi (File Position Primitive): lseek
47026 refers to WHENCE when it really means OFFSET.
47028 2012-04-06 Andreas Jaeger <aj@suse.de>
47030 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47031 strncmp declarations.
47033 * abilist/libc.abilist: Add __poll and __ppoll.
47035 2012-04-05 David S. Miller <davem@davemloft.net>
47037 * scripts/check-local-headers.sh: Accept a host triplet in the
47038 path matched by the exclude regexp.
47040 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47042 * sysdeps/powerpc/powerpc32/dl-machine.h
47043 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47044 * sysdeps/s390/s390-32/dl-machine.h
47045 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47046 * sysdeps/sparc/sparc32/dl-machine.h
47047 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47048 * sysdeps/sparc/sparc64/dl-machine.h
47049 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47051 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47053 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47054 undefined symbol errors.
47056 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47059 2012-04-05 Michael Matz <matz@suse.de>
47062 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47064 2012-04-05 Andreas Jaeger <aj@suse.de>
47067 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47070 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47072 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47073 which ROUND is no valid rounding mode.
47075 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47077 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47079 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47081 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47084 an exception using FPU order intentionally.
47086 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47088 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47089 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47090 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47091 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47093 2012-04-05 Simon Josefsson <simon@josefsson.org>
47096 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47097 EINVAL when BUFLEN is too smal.
47099 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47102 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47103 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47105 2012-04-03 Andreas Jaeger <aj@suse.de>
47108 * manual/setjmp.texi (System V contexts): Fix sentence.
47111 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47112 New macro for this case.
47113 [!__GNUC__] (__bswap_64): New inline function for this case.
47114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47115 * bits/byteswap.h: Likewise.
47116 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47117 ull, guard with __GLIBC_HAVE_LONG_LONG.
47119 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47120 __GLIBC_HAVE_LONG_LONG.
47122 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47123 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47125 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47128 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47129 inptr and inend, rather than using last_ch.
47131 2012-04-02 David S. Miller <davem@davemloft.net>
47133 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47134 * stdio-common/printf-parse.h (read_int): Change return type to
47135 'int', return -1 on INT_MAX overflow.
47136 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47137 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47138 overflows INT_MAX. Check for overflow of in-format-string precision
47139 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47140 SIZE_MAX not INT_MAX for integer overflow test.
47141 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47142 skip the construct in the format string but do not record anything.
47143 * stdio-common/bug22.c: Adjust to test both width/prevision
47144 INT_MAX overflow as well as total length INT_MAX overflow. Check
47145 explicitly for proper errno values.
47147 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47149 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47151 * string/test-strcmp.c [! WIDE]: Likewise.
47152 * time/tst-mktime2.c: Likewise for INT_MAX.
47153 * string/test-string.h: #include <sys/param.h> for MIN.
47155 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47156 * sysdeps/i386/init-first.c (init): Likewise.
47157 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47158 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47159 * sysdeps/sh/init-first.c (init): Likewise.
47161 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47163 * po/ru.po: Update from translation team.
47164 * po/vi.po: Likewise.
47166 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47168 * resolv/nss_dns/dns-host.c: Merge copyright years.
47170 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47173 Optimize memcpy with prefetch if
47174 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47175 src, dst pointers have unequal 16 byte alignments.
47177 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47180 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47181 from a CNAME entry and return the minimum ttl for the query.
47182 (gaih_getanswer_slice): Likewise.
47184 2012-03-30 Jeff Law <law@redhat.com>
47186 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47188 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47189 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47191 * resolv/nss_dns/dns-host.c: Update copyright year.
47193 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47195 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47196 requests to save a system call. Fix check that all bytes are sent.
47198 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47199 comments for sendmmsg.
47201 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47204 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47205 with only 1 character between 0x0041 and 0x01b0.
47206 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47207 * wcsmbs/tst-mbsnrtowcs.c: New file.
47209 2012-03-29 David S. Miller <davem@davemloft.net>
47211 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47212 small copies by hand.
47214 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47217 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47218 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47221 2012-03-28 David S. Miller <davem@davemloft.net>
47223 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47224 that branches into memcpy.
47225 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47227 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47228 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47231 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47232 implementation too.
47233 * sysdeps/sparc/mempcpy.S: New file.
47235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47236 the IFUNC routine in the libc case.
47237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47239 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47240 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47241 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47242 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47243 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47244 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47245 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47246 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47248 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47249 loop to 256 bytes instead of 64 bytes and fix test signedness.
47251 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47252 * sysdeps/sparc/sparc32/Makefile: rather than here...
47253 * sysdeps/sparc/sparc64/Makefile: and here.
47255 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47257 * malloc/mallocbug.c: Avoid warnings about unused variables.
47259 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47262 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47263 in the right place. Discard and retry query if response is
47264 larger than input buffer size.
47266 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47272 x for large integer exponent.
47273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47275 sign of result as needed afterwards.
47276 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47277 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47278 result for underflowing pow the same as for overflow.
47279 (__kernel_standard_l): Handle powl overflow and underflow here
47280 rather than calling __kernel_standard.
47281 * math/libm-test.inc (pow_test): Add more tests.
47296 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47297 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47298 (__kernel_standard_l): New function.
47299 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47301 * math/w_acosl.c (__acosl): Likewise.
47302 * math/w_asinl.c (__asinl): Likewise.
47303 * math/w_atan2l.c (__atan2l): Likewise.
47304 * math/w_atanhl.c (__atanhl): Likewise.
47305 * math/w_coshl.c (__coshl): Likewise.
47306 * math/w_exp10l.c (__exp10l): Likewise.
47307 * math/w_exp2l.c (__exp2l): Likewise.
47308 * math/w_fmodl.c (__fmodl): Likewise.
47309 * math/w_hypotl.c (__hypotl): Likewise.
47310 * math/w_j0l.c (__j0l, __y0l): Likewise.
47311 * math/w_j1l.c (__j1l, __y1l): Likewise.
47312 * math/w_jnl.c (__jnl, __ynl): Likewise.
47313 * math/w_lgammal.c (__lgammal): Likewise.
47314 * math/w_log10l.c (__log10l): Likewise.
47315 * math/w_log2l.c (__log2l): Likewise.
47316 * math/w_logl.c (__logl): Likewise.
47317 * math/w_powl.c (__powl): Likewise.
47318 * math/w_remainderl.c (__remainderl): Likewise.
47319 * math/w_scalbl.c (sysv_scalbl): Likewise.
47320 * math/w_sinhl.c (__sinhl): Likewise.
47321 * math/w_sqrtl.c (__sqrtl): Likewise.
47322 * math/w_tgammal.c (__tgammal): Likewise.
47323 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47324 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47325 * math/libm-test.inc (acos_test): Add more tests.
47326 (acosh_test): Likewise.
47327 (asin_test): Likewise.
47328 (atanh_test): Likewise.
47329 (exp_test): Likewise.
47330 (exp10_test): Likewise.
47331 (exp2_test): Likewise.
47332 (expm1_test): Likewise.
47333 (lgamma_test): Likewise.
47334 (log_test): Likewise.
47335 (log10_test): Likewise.
47336 (log1p_test): Likewise.
47337 (log2_test): Likewise.
47338 (pow_test): Do not allow some spurious overflow exceptions.
47339 (sqrt_test): Add more tests.
47340 (tgamma_test): Likewise.
47341 (y0_test): Likewise.
47342 (y1_test): Likewise.
47343 (yn_test): Likewise.
47345 2012-03-27 Anton Blanchard <anton@samba.org>
47347 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47349 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47350 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47351 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47353 2012-03-27 David S. Miller <davem@davemloft.net>
47355 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47357 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47358 have-as-vis3 check.
47360 2012-03-27 Andreas Jaeger <aj@suse.de>
47362 * sysdeps/x86_64/elf/configure.in: Moved to ...
47363 * sysdeps/x86_64/configure.in: ... here.
47364 * sysdeps/x86_64/elf/start.S: Moved to ...
47365 * sysdeps/x86_64/start.S: ... here.
47366 * sysdeps/x86_64/elf/configure: Delete.
47368 * sysdeps/x86_64/configure.in: Merge contents from
47369 sysdeps/i386/configure.in (without i686 check).
47371 * sysdeps/i386/elf/Versions: Merge into ...
47372 * sysdeps/i386/Versions: ... this.
47373 * sysdeps/i386/elf/Versions: Delete file.
47374 * sysdeps/i386/elf/start.S: Moved to ...
47375 * sysdeps/i386/start.S: ...here.
47376 * sysdeps/i386/elf/configure.in: Merge into...
47377 * sysdeps/i386/configure.in: ...here.
47378 * sysdeps/i386/elf/configure.in: Delete file.
47379 * sysdeps/i386/elf/configure: Delete file.
47381 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47382 * debug/backtracesyms.c: ... here.
47383 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47384 * debug/backtracesymsfd.c: ... here.
47385 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47386 * sysdeps/generic/ifunc-sel.h: ... here.
47388 * sysdeps/unix/i386/start.c: Delete file.
47389 * sysdeps/unix/sparc/start.c: Delete file.
47390 * sysdeps/unix/start.c: Delete file.
47392 * sysdeps/sh/elf/configure.in: Moved to ...
47393 * sysdeps/sh/configure.in: ... here.
47394 * sysdeps/sh/elf/start.S: Moved to ...
47395 * sysdeps/sh/start.S: ... here.
47396 * sysdeps/sh/elf/configure: Delete file.
47398 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47399 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47400 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47401 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47402 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47403 * sysdeps/powerpc/powerpc64/start.S: here.
47404 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47405 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47406 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47407 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47408 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47410 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47411 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47412 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47413 * sysdeps/powerpc/powerpc32/start.S: ... here.
47414 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47415 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47416 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47418 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47419 * sysdeps/powerpc/ifunc-sel.h: ... here.
47420 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47421 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47423 * sysdeps/sparc/elf/configure.in: Moved to ...
47424 * sysdeps/sparc/configure.in: ... here.
47425 * sysdeps/sparc/elf/configure: Delete file.
47426 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47427 * sysdeps/sparc/sparc32/start.S: ... here.
47428 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47429 * sysdeps/sparc/sparc64/start.S: ... here.
47430 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47431 * sysdeps/sparc/sparc32/Makefile: ... this.
47432 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47433 * sysdeps/sparc/sparc64/Makefile: ... this.
47435 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47436 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47437 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47438 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47439 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47440 * sysdeps/s390/s390-32/setjmp.S: ... here.
47441 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47442 * sysdeps/s390/s390-32/configure.in: ... here.
47443 * sysdeps/s390/s390-32/elf/configure: Delete file.
47444 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47445 * sysdeps/s390/s390-32/start.S: ... here.
47447 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47448 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47449 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47450 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47451 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47452 * sysdeps/s390/s390-64/setjmp.S: ... here.
47453 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47454 * sysdeps/s390/s390-64/configure.in: ... here
47455 * sysdeps/s390/s390-64/elf/configure: Delete file.
47456 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47457 * sysdeps/s390/s390-64/start.S: ... here.
47458 * sysdeps/s390/s390-64/elf/configure: Delete.
47460 * configure.in: Remove support for elf directories in sysdeps.
47462 * configure: Regenerated.
47463 * sysdeps/i386/configure: Regenerated.
47464 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47465 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47466 * sysdeps/s390/s390-32/configure: Regenerated.
47467 * sysdeps/s390/s390-64/configure: Regenerated.
47468 * sysdeps/sh/configure: Regenerated.
47469 * sysdeps/sparc/configure: Regenerated.
47470 * sysdeps/x86_64/configure: Regenerated.
47472 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47476 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47477 denormal result into account.
47479 2012-03-25 Roland McGrath <roland@hack.frob.com>
47481 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47482 Reported by Allan McRae <allan@archlinux.org>.
47484 2012-03-23 Jeff Law <law@redhat.com>
47486 * nss/getnssent.c (__nss_getent): Fix typo.
47488 2012-03-23 David S. Miller <davem@davemloft.net>
47490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47492 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47494 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47495 to pad to uint64_t for each field.
47496 (dl_tls_index): Replace unsigned long with uint64_t.
47498 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47499 Paul Pluzhnikov <ppluzhnikov@google.com>
47502 * grp/Makefile (otherlibs): Don't set it.
47503 * inet/Makefile (otherlibs): Likewise.
47504 * login/Makefile (otherlibs): Likewise.
47505 * nscd/Makefile (otherlibs): Likewise.
47506 * posix/Makefile (otherlibs): Likewise.
47507 * pwd/Makefile (otherlibs): Likewise.
47508 * rt/Makefile (otherlibs): Likewise.
47509 * sunrpc/Makefile (otherlibs): Likewise.
47510 * nss/Makefile (otherlibs): Likewise.
47511 Add libnss_files to routines and static-only-routines.
47512 ($(objpfx)getent): Remove rule.
47513 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47514 static-only-routines.
47516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47519 * math/s_cexp.c: Include <float.h>.
47520 (__cexp): Handle exp result overflowing not necessarily
47521 overflowing both real and imaginary parts of result.
47522 * math/s_cexpf.c: Likewise.
47523 * math/s_cexpl.c: Likewise.
47524 * math/libm-test.inc (cexp_test): Add more tests.
47525 * sysdeps/i386/fpu/libm-test-ulps: Update.
47526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47528 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47530 * include/link.h (ELFW): New macro.
47531 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47532 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47536 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47539 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47541 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47543 (struct La_x32_retval): Likewise.
47545 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47547 * sysdeps/x86_64/preconfigure.in: New file.
47548 * sysdeps/x86_64/preconfigure: New generated file.
47550 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47553 * math/e_exp2l.c: Include <float.h>.
47554 (__ieee754_exp2l): Handle overflow and underflow cases
47555 separately. Only pass fractional part of argument to
47557 * math/libm-test.inc (exp2_test): Add more tests.
47559 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47560 negating x to take absolute value.
47561 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47563 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47564 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47566 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47567 computing low part if x was negated.
47568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47570 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47572 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47573 la_x32_gnu_pltexit.
47574 (pltexit): Cast int_retval to ptrdiff_t.
47575 * elf/tst-auditmod3b.c: Likewise.
47576 * elf/tst-auditmod4b.c: Likewise.
47577 * elf/tst-auditmod5b.c: Likewise.
47578 * elf/tst-auditmod6b.c: Likewise.
47579 * elf/tst-auditmod6c.c: Likewise.
47580 * elf/tst-auditmod7b.c: Likewise.
47582 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47583 and x32_gnu_pltexit.
47585 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47586 __ELF_NATIVE_CLASS.
47587 (La_x32_regs): New macro.
47588 (La_x32_retval): Likewise.
47589 (la_x32_gnu_pltenter): New function prototype.
47590 (la_x32_gnu_pltexit): Likewise.
47592 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47594 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47599 * configure.in (libc_cv_cc_nofma): Check for option to disable
47600 generation of FMA instructions.
47601 * configure: Regenerate.
47602 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47603 * sysdeps/ieee754/dbl-64/Makefile: New file.
47604 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47605 Remove brandred-fma4.
47606 (CFLAGS-brandred-fma4.c): Remove.
47607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47613 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47615 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47616 LLONG_MAX != LONG_MAX.
47617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47618 (_fitoa_word): Likewise.
47619 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47620 LLONG_MAX != LONG_MAX.
47621 * stdio-common/_itowa.h: Include <_itoa.h>.
47622 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47623 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47624 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47625 only if not defined.
47626 (_ITOA_WORD_TYPE): Likewise.
47627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47628 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47630 2012-03-21 David S. Miller <davem@davemloft.net>
47632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47636 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47637 of x86_64 when setting libc_cv_slibdir, libdir and
47639 * sysdeps/unix/sysv/linux/configure: Regenerated.
47641 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47643 * manual/lang.texi (Old Varargs): Remove section.
47644 (How Variadic): Update menu.
47645 (va_start): Do not mention varargs.h.
47647 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47648 Joseph Myers <joseph@codesourcery.com>
47650 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47652 * configure: Regenerated.
47654 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47656 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47657 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47663 * Makefile (files-for-dist): Remove NOTES.
47664 (NOTES): Remove rule.
47665 * README: Don't refer to NOTES.
47666 * manual/creature.texi: Don't include macros.texi.
47667 * manual/intro.texi (creature.texi): Remove comment referring to
47670 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47671 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47672 * configure: Regenerated.
47673 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47674 LIBC_TRY_CC_OPTION.
47675 (libc_cv_as_i686): Likewise.
47676 (libc_cv_cc_avx): Likewise.
47677 (libc_cv_cc_sse2avx): Likewise.
47678 (libc_cv_cc_fma4): Likewise.
47679 (libc_cv_cc_novzeroupper): Likewise.
47680 * sysdeps/i386/configure: Regenerated.
47683 * sysdeps/i386/fpu/s_cexp.S: Remove.
47684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47685 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47686 * math/libm-test.inc (cexp_test): Add more tests.
47687 * sysdeps/i386/fpu/libm-test-ulps: Update.
47688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47690 2012-03-21 Allan McRae <allan@archlinux.org>
47692 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47697 * math/w_exp2.c: Do not include <float.h>.
47698 (o_threshold, u_threshold): Remove.
47699 (__exp2): Calculate result before checking finiteness and calling
47701 * math/w_exp2f.c: Likewise.
47702 * math/w_exp2l.c: Likewise.
47703 * math/libm-test.inc (exp2_test): Require overflow exception for
47707 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47708 range of signed 64-bit integers before using fistpll. Remove
47709 checks for whether integers fit in mantissa bits.
47710 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47711 the range of signed 32-bit integers before using fistpl. Remove
47712 checks for whether integers fit in mantissa bits.
47713 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47714 (__ieee754_powl): Test for y outside the range of signed 64-bit
47715 integers before using fistpll. Reduce 64-bit values to 63-bit
47717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47718 divide-by-zero is raised for zero to large negative powers.
47719 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47720 (__ieee754_powl): Test for y outside the range of signed 64-bit
47721 integers before using fistpll. Reduce 64-bit values to 63-bit
47723 * math/libm-test.inc (pow_test): Add more tests.
47725 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47727 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47728 <stdio-common/_itoa.h>.
47729 * debug/segfault.c: Likewise.
47730 * elf/dl-cache.c: Likewise.
47731 * elf/dl-minimal.c: Likewise.
47732 * elf/dl-misc.c: Likewise.
47733 * elf/dl-sysdep.c: Likewise.
47734 * elf/dl-version.c: Likewise.
47735 * elf/rtld.c: Likewise.
47736 * hurd/hurdsock.c: Likewise.
47737 * hurd/lookup-retry.c: Likewise.
47738 * malloc/malloc.c: Likewise.
47739 * malloc/mtrace.c: Likewise.
47740 * nscd/nscd_getgr_r.c: Likewise.
47741 * nscd/nscd_getpw_r.c: Likewise.
47742 * nscd/nscd_getserv_r.c: Likewise.
47743 * posix/getopt_init.c: Likewise.
47744 * posix/wordexp.c: Likewise.
47745 * stdio-common/_itoa.c: Likewise.
47746 * stdio-common/printf_fphex.c: Likewise.
47747 * stdio-common/vfprintf.c: Likewise.
47748 * string/_strerror.c: Likewise.
47749 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47750 * sysdeps/i386/i686/hp-timing.h: Likewise.
47751 * sysdeps/mach/_strerror.c: Likewise.
47752 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47753 * sysdeps/mach/hurd/sethostid.c: Likewise.
47754 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47755 * sysdeps/mach/xpg-strerror.c: Likewise.
47756 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47758 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47759 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47760 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47761 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47762 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47763 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47764 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47765 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47766 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47767 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47768 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47769 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47770 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47771 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47772 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47773 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47774 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47775 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47776 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47778 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47780 * stdio-common/_itoa.h: Moved to ...
47781 * sysdeps/generic/_itoa.h: Here.
47783 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47785 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47786 instead of "_itoa.h" and "_itowa.h".
47787 * stdio-common/vfprintf.: Likewise.
47789 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47791 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47793 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47794 (__signbit): Likwise.
47795 (llrintf): Likwise.
47798 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47800 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47803 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47805 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47806 OVERFLOW_EXCEPTION_OK.
47807 * math/libm-test.inc ("Philosophy"): Update comment about
47809 (OVERFLOW_EXCEPTION): Define.
47810 (OVERFLOW_EXCEPTION_OK): Likewise.
47811 (INVALID_EXCEPTION_OK): Renumber.
47812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47813 (IGNORE_ZERO_INF_SIGN): Likewise.
47814 (test_exceptions): Handle FE_OVERFLOW.
47815 (exp10_test): Expect overflow exceptions.
47816 (exp2_test): Likewise.
47817 (expm1_test): Likewise.
47818 (nextafter_test): Likewise.
47819 (pow_test): Likewise.
47820 (scalbn_test): Likewise.
47821 (scalbln_test): Likewise.
47823 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47825 * sysdeps/x86_64/bits/atomic.h
47826 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47828 (atomic_exchange_acq): Likewise.
47829 (__arch_exchange_and_add_body): Likewise.
47830 (__arch_add_body): Likewise.
47831 (atomic_add_negative): Likewise.
47832 (atomic_add_zero): Likewise.
47834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47836 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47837 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47841 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47842 Check __x86_64__ instead of __WORDSIZE.
47844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47846 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47848 2012-03-19 David S. Miller <davem@davemloft.net>
47850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47852 * sysdeps/sparc/fpu/fenv_private.h: New file.
47853 * sysdeps/sparc/fpu/math_private.h: Use it.
47854 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47857 (libc_feholdexcept_setroundl): Remove.
47858 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47863 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47865 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47866 int64_t instead of long int.
47867 (INSERT_WORDS64): Likwise.
47869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47871 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47872 _Unwind_GetCFA return to _Unwind_Ptr first.
47874 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47877 * math/s_clog.c: Include <float.h>.
47878 (__clog): Scale large or subnormal inputs.
47879 * math/s_clogf.c: Likewise.
47880 * math/s_clogl.c: Likewise.
47881 * math/s_clog10.c: Include <float.h>.
47882 (M_LOG10_2): Define.
47883 (__clog10): Scale large or subnormal inputs.
47884 * math/s_clog10f.c: Likewise.
47885 * math/s_clog10l.c: Likewise.
47886 * math/libm-test.inc (clog_test): Add more tests.
47887 (clog10_test): Likewise.
47888 * sysdeps/i386/fpu/libm-test-ulps: Update.
47889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47892 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47894 * math/libm-test.inc (atan2_test): Add another test.
47896 * Makerules (common-objdir-compile): Remove.
47897 * sysdeps/unix/Makefile (config-generated): Do not add
47898 $(unix-generated) to variable.
47899 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47900 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47902 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47904 [generic bits/local_lim.h] (before-compile): Do not append to
47906 [generic bits/local_lim.h] (common-generated): Likewise.
47907 [generic sys/param.h] (before-compile): Do not append to variable.
47908 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47909 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47910 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47911 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47913 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47914 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47915 [generic sys/param.h] ($(addprefix
47916 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47917 [generic sys/param.h] (common-generated): Do not append to
47919 [generic sys/param.h] (sysdep_headers): Likewise.
47920 [generic bits/errno.h] (before-compile): Do not append to
47922 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47924 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47925 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47926 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47927 [generic bits/errno.h] (common-generated): Do not append to
47929 [generic bits/ioctls.h] (before-compile): Do not append to
47931 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47933 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47934 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47935 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47937 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47938 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47939 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47940 [generic bits/ioctls.h] (common-generated): Do not append to
47942 [generic sys/syscall.h] (syscall.h): Remove variable.
47943 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47945 [generic sys/syscall.h] (before-compile): Do not append to
47947 [generic sys/syscall.h] (common-generated): Likewise.
47948 * sysdeps/unix/errnos-tmpl.c: Remove file.
47949 * sysdeps/unix/errnos.awk: Likewise.
47950 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47951 * sysdeps/unix/ioctls.awk: Likewise.
47952 * sysdeps/unix/mk-local_lim.c: Likewise.
47953 * sysdeps/unix/snarf-ioctls: Likewise.
47955 2012-03-19 Richard Henderson <rth@twiddle.net>
47957 * sysdeps/i386/fpu/fenv_private.h: New file.
47958 * sysdeps/i386/fpu/math_private.h: Use it.
47959 (math_opt_barrier, math_force_eval): Remove.
47960 (libc_feholdexcept_setround_53bit): Remove.
47961 (libc_feupdateenv_53bit): Remove.
47962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47963 (math_opt_barrier, math_force_eval): Remove.
47964 (libc_feholdexcept): Remove.
47965 (libc_feholdexcept_setround): Remove.
47966 (libc_fetestexcept, libc_fesetenv): Remove.
47967 (libc_feupdateenv_test): Remove.
47968 (libc_feupdateenv, libc_feholdsetround): Remove.
47969 (libc_feresetround): Remove.
47971 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47972 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47974 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47975 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47976 (libc_feupdateenv_testl): New.
47977 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47978 (libc_feupdateenv_testf): New.
47979 (libc_feupdateenv): Use libc_feupdateenv_test.
47980 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47983 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47984 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47985 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47986 (libc_feresetround_noex): New.
47987 (libc_feresetround_noexf): New.
47988 (libc_feresetround_noexl): New.
47989 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47990 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47991 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47992 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47995 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47997 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47999 SET_RESTORE_ROUND_NOEX.
48000 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48001 SET_RESTORE_ROUND_NOEXF.
48002 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48003 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48004 (libc_feholdsetroundf): New.
48005 (libc_feresetround, libc_feresetroundf): New.
48007 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48008 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48009 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48011 * sysdeps/generic/math_private.h: Include <fenv.h>.
48012 (default_libc_feholdexcept): New.
48013 (default_libc_feholdexcept_setround): New.
48014 (default_libc_fesetenv, default_libc_feupdateenv): New.
48015 (libc_feholdexcept): Only define if undefined.
48016 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48017 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48018 (libc_feholdexcept_setroundl): Likewise.
48019 (libc_feholdexcept_setround_53bit): Likewise.
48020 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48021 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48022 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48023 (libc_feupdateenv_53bit): Likewise.
48024 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48025 (libc_feholdexcept): Convert from macro to inline function.
48026 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48027 (libc_fesetenv, libc_feupdateenv): Likewise.
48029 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48030 not previously defined.
48031 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48032 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48033 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48034 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48035 * sysdeps/ieee754/flt-32/math_private.h: New file.
48036 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48037 math_private.h below SET_FLOAT_WORD.
48038 (__isnan, __isinf_ns, __finite): Remove.
48039 (__isnanf, __isinf_nsf, __finitef): Remove.
48041 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48045 2012-03-17 David S. Miller <davem@davemloft.net>
48048 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48051 2012-03-16 David S. Miller <davem@davemloft.net>
48053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48057 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48059 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48060 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48061 sysdep_routines when subdir is sysvipc.
48062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48063 __getshmlba helper.
48065 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48069 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48072 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48075 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48076 (__lround): Renamed to ...
48077 (__llround): This. Replace long int with long long int.
48078 Define lround functions as aliases of llround functions.
48079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48083 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48084 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48085 adresses to uintptr_t. Replace "long int" and "unsigned long
48086 int" with "greg_t" on va_arg.
48088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48090 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48091 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48093 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48094 Move e_machine check before EI_CLASS check. Handle x32
48095 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48096 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48097 SKIP_EM_IA_64 and include
48098 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48100 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48101 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48102 (add_system_dir): New macro.
48104 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48105 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48107 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48118 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48120 * math/w_j0f.c (j0f): Likewise.
48122 * math/w_j0l.c (__j0l): Likewise.
48124 * math/w_j1.c (j1): Likewise.
48126 * math/w_j1f.c (j1f): Likewise.
48128 * math/w_j1l.c (__j1l): Likewise.
48130 * math/w_jn.c (jn): Likewise.
48132 * math/w_jnf.c (jnf): Likewise.
48134 * math/w_jnl.c (__jnl): Likewise.
48136 * math/libm-test.inc (j0_test): Add more tests.
48137 (j1_test): Likewise.
48138 (jn_test): Likewise. Add trailing semicolon to existing test.
48139 (y0_test): Likewise.
48140 (y1_test): Likewise.
48141 * sysdeps/i386/fpu/libm-test-ulps: Update.
48142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48146 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48147 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48148 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48149 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48150 (__tanl): Set errno for infinite argument.
48151 * sysdeps/i386/fpu/mptan.c: Remove.
48152 * sysdeps/i386/fpu/s_tan.S: Likewise.
48153 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48154 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48155 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48156 * math/libm-test.inc (tan_test): Add more tests and enable more
48157 tests for double and long double.
48158 * sysdeps/i386/fpu/libm-test-ulps: Update.
48159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48161 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48163 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48164 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48166 2012-03-16 Roland McGrath <roland@hack.frob.com>
48168 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48169 * configure.in: Use it for both main tree and add-ons.
48170 * configure: Regenerated.
48172 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48174 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48176 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48178 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48182 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48183 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48188 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48190 != 0 for prec == 2.
48191 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48192 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48193 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48194 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48195 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48196 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48197 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48198 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48199 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48200 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48201 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48202 * math/libm-test.inc (cos_test): Add more tests and enable more
48203 tests for long double.
48204 (sin_test): Likewise.
48205 (sincos_test): Likewise.
48206 * sysdeps/i386/fpu/libm-test-ulps: Update.
48207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48209 2012-03-16 David S. Miller <davem@davemloft.net>
48211 * sysdeps/sparc/fpu/math_private.h: New file.
48213 2012-03-15 David S. Miller <davem@davemloft.net>
48215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48229 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48230 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48232 * sysdeps/sparc/sparc-ifunc.h: New file.
48233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48259 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48275 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48278 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48280 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48284 2012-03-15 Andreas Jaeger <aj@suse.de>
48287 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48288 ieee754/flt-32 implementation for sin, cos and sincos.
48289 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48290 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48291 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48292 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48293 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48294 ieee754/flt-32 implementation for tan.
48296 * math/libm-test.inc (cos_test): Enable some large input tests for
48298 (sin_test): Likewise.
48299 (sincos_test): Likewise.
48300 (tan_test): Add tests for large input.
48302 * sysdeps/i386/fpu/libm-test-ulps: Update.
48304 2012-03-15 Andreas Jaeger <aj@suse.de>
48307 * math/libm-test.inc (cos_test): Add more test cases.
48308 (sin_test): Likewise.
48309 (sincos_test): Likewise.
48311 2012-03-15 Andreas Jaeger <aj@suse.de>
48314 * math/libm-test.inc (cos_test): Add a test case for large input
48316 (sin_test): Likewise.
48317 (sincos_test): Likewise.
48319 2012-03-15 Andreas Jaeger <aj@suse.de>
48320 Joseph Myers <joseph@codesourcery.com>
48323 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48324 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48325 * sysdeps/i386/fpu/branred.c: Likewise.
48326 * sysdeps/i386/fpu/dosincos.c: Likewise.
48327 * sysdeps/i386/fpu/mpa.c: Likewise.
48328 * sysdeps/i386/fpu/s_cos.S: Likewise.
48329 * sysdeps/i386/fpu/s_sin.S: Likewise.
48330 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48331 * sysdeps/i386/fpu/sincos32.c: Likewise.
48333 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48335 (libc_feupdateenv_53bit): Define.
48336 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48338 (libc_feupdateenv_53bit): Define.
48340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48341 53 bit (without extend i386 double precision).
48343 * math/libm-test.inc (sincos_test): Add tests for large input.
48347 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48349 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48353 2012-03-15 David S. Miller <davem@davemloft.net>
48355 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48356 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48357 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48358 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48383 fmin/fmax sysdep routines.
48384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48386 2012-03-14 David S. Miller <davem@davemloft.net>
48388 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48409 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48460 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48465 * sysdeps/sparc/configure.in: New file.
48466 * sysdeps/sparc/configure: Generate.
48467 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48468 * configure: Regenerate.
48469 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48470 * config.make.in (have-as-vis3): New.
48471 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48472 available use -Av9d instead of -Av9a.
48473 * sysdeps/sparc/sparc64/Makefile: Likewise.
48474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48486 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48489 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48490 fzeros/fnegs to load 0x80000000 into a float register instead of
48492 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48494 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48498 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48499 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48500 ($(inst_includedir)/bits/syscall.h): Remove rule.
48501 ($(objpfx)bits/syscall.d): Include instead of
48502 $(objpfx)syscall-list.d.
48503 (generated): Change syscall-list.h and syscall-list.d to
48504 bits/syscall.h and bits/syscall.d.
48506 2012-03-14 Roland McGrath <roland@hack.frob.com>
48509 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48511 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48514 * math/s_csqrt.c: Include <float.h>.
48515 (__csqrt): Scale large or subnormal inputs.
48516 * math/s_csqrtf.c: Likewise.
48517 * math/s_csqrtl.c: Likewise.
48518 * math/libm-test.inc (csqrt_test): Add more tests.
48519 * sysdeps/i386/fpu/libm-test-ulps: Update.
48520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48523 * math/libm-test.inc (hypot_test): Add more tests.
48525 2012-03-13 David S. Miller <davem@davemloft.net>
48528 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48529 double-precision for the calculation instead of scaling.
48531 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48533 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48534 manipulate bits before adding and subtracting TWO52[sx].
48535 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48536 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48538 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48540 2012-03-13 David S. Miller <davem@davemloft.net>
48542 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48543 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48545 rtld-global-offsets.h
48546 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48548 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48551 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48554 'err' in the ifdef scope in which it is actually used.
48556 * nss/nss_db/db-init.c: Include string.h
48558 2012-03-12 David S. Miller <davem@davemloft.net>
48560 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48561 masking out of the most significant byte of random value used.
48562 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48563 Fix coding style in previous change.
48565 * sysdeps/unix/sysv/linux/kernel-features.h
48566 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48567 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48569 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48572 2012-03-11 David S. Miller <davem@davemloft.net>
48574 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48575 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48576 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48577 for 'resultvar' otherwise things get truncated on 64-bit.
48579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48580 Fix masking out of the most significant byte of random value used.
48582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48584 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48588 2012-03-09 David S. Miller <davem@davemloft.net>
48590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48591 variables with appropriate CPP guards.
48592 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48593 from the frame pointer, not the stack pointer. Correct layout
48594 comments. Fix test on resulting framesize and the management of
48595 the outregs buffer for pltexit. Preserve floating point return
48596 values across _dl_call_pltexit call.
48597 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48598 framesize and the management of the outregs buffer for pltexit.
48599 Preserve floating point return values across _dl_call_pltexit
48601 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48602 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48603 (la_sparc64_gnu_pltexit): New functions.
48604 (print_exit): Fix format string for return register value.
48606 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48608 * sunrpc/Makefile (others): Add rpcgen.
48609 ($(objpfx)rpcgen): Remove special build rule and dependency on
48611 * sunrpc/rpcgen.c: New file.
48613 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48616 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48617 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48618 * sysdeps/i386/crti.S: Likewise.
48619 * sysdeps/i386/crtn.S: Likewise.
48620 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48621 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48622 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48623 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48624 * sysdeps/sh/crti.S: Likewise.
48625 * sysdeps/sh/crtn.S: Likewise.
48626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48629 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48631 * locale/programs/locfile-kw.gperf: Likewise.
48632 * locale/programs/charmap-kw.h: Regenerated.
48633 * locale/programs/locfile-kw.h: Likewise.
48636 * intl/plural.y: Replace FSF snail mail address with URL.
48637 * intl/plural.c: Regenerated.
48639 2012-03-09 Richard Henderson <rth@twiddle.net>
48641 * include/math_private.h: Remove file.
48642 * math/math_private.h: Move file ...
48643 * sysdeps/generic/math_private.h: ... here.
48645 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48646 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48647 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48649 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48650 and <math_private.h>.
48651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48656 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48659 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48662 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48663 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48665 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48667 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48668 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48669 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48670 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48672 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48673 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48676 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48677 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48678 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48691 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48692 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48693 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48694 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48695 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48696 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48697 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48702 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48703 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48705 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48706 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48707 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48709 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48710 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48715 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48720 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48725 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48738 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48739 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48740 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48741 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48742 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48744 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48745 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48746 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48747 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48748 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48750 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48751 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48752 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48753 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48754 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48755 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48756 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48757 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48758 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48763 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48764 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48765 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48767 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48768 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48769 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48771 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48772 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48774 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48778 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48780 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48781 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48782 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48784 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48785 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48787 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48788 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48789 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48790 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48791 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48792 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48793 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48794 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48795 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48796 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48797 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48798 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48799 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48800 * sysdeps/ieee754/k_standard.c: Likewise.
48801 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48804 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48805 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48807 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48811 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48813 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48814 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48815 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48817 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48818 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48820 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48832 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48833 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48834 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48838 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48841 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48845 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48847 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48849 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48853 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48854 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48857 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48858 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48859 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48861 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48862 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48883 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48886 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48888 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48892 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48893 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48894 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48898 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48900 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48904 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48905 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48906 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48907 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48908 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48909 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48910 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48911 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48912 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48913 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48914 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48915 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48916 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48917 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48918 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48919 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48920 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48921 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48922 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48923 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48924 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48925 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48926 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48927 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48928 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48929 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48930 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48931 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48932 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48933 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48934 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48935 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48938 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48939 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48940 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48941 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48950 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48952 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48954 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48955 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48960 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48961 * sysdeps/ieee754/s_lib_version.c: Likewise.
48962 * sysdeps/ieee754/s_matherr.c: Likewise.
48963 * sysdeps/ieee754/s_signgam.c: Likewise.
48964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48966 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48967 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48968 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48970 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48971 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48972 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48973 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48974 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48975 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48976 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48977 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48978 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48979 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48980 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48982 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48986 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48988 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48989 * sunrpc/rpc_main.c: Likewise.
48990 * sunrpc/rpc_svcout.c: Likewise.
48992 2012-03-09 David S. Miller <davem@davemloft.net>
48994 * include/math_private.h: New file.
48996 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48998 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48999 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49000 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49001 from <bits/socket_type.h>.
49002 (enum __socket_type): Don't define here.
49003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49005 bits/socket_type.h.
49008 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49009 checking __USE_GNU.
49011 * Makerules ($(inst_includedir)/%.h): New rule.
49012 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49013 (install-others): Remove variable setting.
49014 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49016 2012-03-08 Richard Henderson <rth@twiddle.net>
49018 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49019 from macro to inline function; merge with the
49020 !__LIBC_INTERNAL_MATH_INLINES version.
49021 (__ieee754_sqrtf): Likewise.
49023 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49024 to inline function.
49025 (__rintf, __floor, __floorf): Likewise.
49027 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49028 macro to inline function.
49029 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49032 not <math/math_private.h>.
49034 2012-03-08 David S. Miller <davem@davemloft.net>
49036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49038 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49040 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49042 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49044 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49045 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49047 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49049 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49050 be defined individually, they must be defined as a block. Define
49051 S for printing a string instead of hidint the different by using a
49052 macro for adding the 'l'.
49053 * stdio-common/tst-fphex-wide.c: Adjust.
49055 2012-03-07 Marek Polacek <polacek@redhat.com>
49057 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49059 2012-03-08 Marek Polacek <polacek@redhat.com>
49062 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49063 * stdio-common/tst-fphex.c: Define a few macros to make the
49064 test reusable. Use them.
49065 * stdio-common/tst-fphex-wide.c: New file.
49067 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49070 * manual/macros.texi (gnusystems): New macro.
49071 (nongnusystems): Likewise.
49072 (gnulinuxhurdsystems): Likewise.
49073 (gnuhurdsystems): Likewise..
49074 (gnulinuxsystems): Likewise.
49075 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49076 variants of the GNU system, not "GNU system".
49077 * manual/conf.texi: Likewise.
49078 * manual/errno.texi: Likewise. Update example of errno macro
49080 * manual/filesys.texi: Likewise.
49081 (getumask): Document as specific to GNU/Hurd.
49082 * manual/install.texi: Likewise. Reword some references to
49084 * manual/intro.texi: Likewise.
49085 * manual/io.texi: Likewise.
49086 (File Name Portability): Detail which constraints are inapplicable
49087 to all GNU systems and which are only inapplicable to GNU/Hurd.
49088 * manual/job.texi: Likewise.
49089 * manual/llio.texi: Likewise.
49090 (O_NOCTTY): Document as present on GNU/Linux.
49091 * manual/maint.texi: Likewise.
49092 * manual/memory.texi: Likewise.
49093 * manual/pattern.texi: Likewise.
49094 * manual/pipe.texi: Likewise.
49095 * manual/process.texi: Likewise.
49096 * manual/resource.texi: Likewise.
49097 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49099 * manual/setjmp.texi: Likewise.
49100 * manual/signal.texi: Likewise.
49101 * manual/startup.texi: Likewise.
49102 * manual/stdio.texi: Likewise.
49103 * manual/terminal.texi: Likewise.
49104 (ONLCR): Document as POSIX.
49105 (OXTABS): Document availability on GNU/Linux as XTABS.
49106 (ONOEOT): Document availability separately from other bits.
49107 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49108 * manual/time.texi: Likewise.
49109 * manual/users.texi: Likewise.
49110 * INSTALL: Regenerated.
49111 * sysdeps/gnu/errlist.c: Regenerated.
49113 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49114 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49115 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49117 * configure: Regenerated.
49119 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49121 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49122 default includes instead of AC_HEADER_CHECK.
49123 * sysdeps/i386/configure: Regenerated.
49126 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49127 * math/s_cacoshf.c (__cacoshf): Likewise.
49128 * math/s_cacoshl.c (__cacoshl): Likewise.
49129 * math/s_casinh.c (__casinh): Set signs of result from argument.
49130 * math/s_casinhf.c (__casinhf): Likewise.
49131 * math/s_casinhl.c (__casinhl): Likewise.
49132 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49133 (casinh_test): Add more tests.
49134 * sysdeps/i386/fpu/libm-test-ulps: Update.
49135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49137 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49139 * po/zh_TW.po: Update from translation team.
49141 * login/Makefile (distribute): Remove variable.
49142 * catgets/Makefile: Likewise.
49143 * mach/Makefile: Likewise.
49144 * malloc/Makefile: Likewise.
49145 * misc/Makefile: Likewise.
49146 * iconv/Makefile: Likewise.
49147 * nscd/Makefile: Likewise.
49148 * hurd/Makefile: Likewise.
49149 * manual/Makefile: Likewise.
49150 * locale/Makefile: Likewise.
49151 * intl/Makefile: Likewise.
49152 * conform/Makefile: Likewise.
49153 * nss/Makefile: Likewise.
49154 * time/Makefile: Likewise.
49155 * soft-fp/Makefile: Likewise.
49156 * dirent/Makefile: Likewise.
49157 * gmon/Makefile: Likewise.
49158 * po/Makefile: Likewise.
49159 * rt/Makefile: Likewise.
49160 * socket/Makefile: Likewise.
49161 * math/Makefile: Likewise.
49162 * signal/Makefile: Likewise.
49163 * debug/Makefile: Likewise.
49164 * elf/Makefile: Likewise.
49165 * timezone/Makefile: Likewise.
49166 * stdlib/Makefile: Likewise.
49167 * iconvdata/Makefile: Likewise.
49168 * sunrpc/Makefile: Likewise.
49169 * io/Makefile: Likewise.
49170 * argp/Makefile: Likewise.
49171 * inet/Makefile: Likewise.
49172 * hesiod/Makefile: Likewise.
49173 * grp/Makefile: Likewise.
49174 * csu/Makefile: Likewise.
49175 * wctype/Makefile: Likewise.
49176 * crypt/Makefile: Likewise.
49177 * libio/Makefile: Likewise.
49178 * string/Makefile: Likewise.
49179 * nis/Makefile: Likewise.
49180 * resolv/Makefile: Likewise.
49181 * stdio-common/Makefile: Likewise.
49182 * wcsmbs/Makefile: Likewise.
49183 * dlfcn/Makefile: Likewise.
49184 * posix/Makefile: Likewise.
49187 * timezone/Makefile: Don't install timezone files, just the programs
49190 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49192 * nss/databases.def: Add missing gshadow entry.
49194 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49196 2012-03-06 Marek Polacek <polacek@redhat.com>
49199 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49200 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49201 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49202 * stdio-common/tst-long-dbl-fphex.c: New file.
49204 2012-03-06 David S. Miller <davem@davemloft.net>
49206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49207 (set_obp_int): New function.
49208 (get_obp_int): New function.
49209 (__get_clockfreq_via_dev_openprom): Likewise.
49210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49211 Avoid unused variable warnings on 'val' and use builtin_expect.
49212 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49214 (INLINE_CLONE_SYSCALL): Likewise.
49216 2012-03-05 David S. Miller <davem@davemloft.net>
49218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49220 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49225 only for |x| >= 40.
49226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49228 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49231 Replace gettimeofday with __vdso_gettimeofday.
49233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49234 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49235 __vdso_clock_gettime and __vdso_getcpu.
49237 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49238 time with __vdso_time.
49240 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49242 * manual/lang.texi (size_t): Note types to which size_t may be
49243 equivalent with the GNU C Library, but do not describe when
49244 differences between them are significant.
49246 2012-03-05 Andreas Jaeger <aj@suse.de>
49248 * sysdeps/i386/fpu/libm-test-ulps: Update.
49250 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49253 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49254 (__ieee754_pow): Save and restore rounding mode and use
49255 round-to-nearest for main computations.
49256 * math/libm-test.inc (pow_test_tonearest): New function.
49257 (pow_test_towardzero): Likewise.
49258 (pow_test_downward): Likewise.
49259 (pow_test_upward): Likewise.
49260 (main): Call the new functions.
49261 * sysdeps/i386/fpu/libm-test-ulps: Update.
49262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49265 * math/libm-test.inc (cosh_test_tonearest): New function.
49266 (cosh_test_towardzero): Likewise.
49267 (cosh_test_downward): Likewise.
49268 (cosh_test_upward): Likewise.
49269 (sinh_test_tonearest): Likewise.
49270 (sinh_test_towardzero): Likewise.
49271 (sinh_test_downward): Likewise.
49272 (sinh_test_upward): Likewise.
49273 (main): Call the new functions.
49274 * sysdeps/i386/fpu/libm-test-ulps: Update.
49275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49277 2012-03-05 Tom de Vries <tom@codesourcery.com>
49279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49280 default stack guard is set in last bytes.
49281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49283 2012-03-05 Kees Cook <keescook@chromium.org>
49285 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49288 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49289 possibly allocate from heap instead of stack.
49290 * stdio-common/bug-vfprintf-nargs.c: New file.
49291 * stdio-common/Makefile (tests): Add nargs overflow test.
49293 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49297 2012-03-03 Marek Polacek <polacek@redhat.com>
49299 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49300 * math/math_private.h: Likewise.
49301 * stdlib/tst-strtod.c: Likewise.
49302 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49303 * sysdeps/x86_64/bits/atomic.h: Likewise.
49305 2012-03-02 David S. Miller <davem@davemloft.net>
49307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49311 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49312 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49313 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49314 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49316 2012-03-02 Roland McGrath <roland@hack.frob.com>
49319 * manual/examples/README: New file, says the example source files
49320 can be used under GPL>=2.
49321 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49322 line containing just "*/".
49323 * manual/examples/add.c: Add copyright header (GPL>=2).
49324 * manual/examples/argp-ex1.c: Likewise.
49325 * manual/examples/argp-ex2.c: Likewise.
49326 * manual/examples/argp-ex3.c: Likewise.
49327 * manual/examples/argp-ex4.c: Likewise.
49328 * manual/examples/atexit.c: Likewise.
49329 * manual/examples/db.c: Likewise.
49330 * manual/examples/dir.c: Likewise.
49331 * manual/examples/dir2.c: Likewise.
49332 * manual/examples/execinfo.c: Likewise.
49333 * manual/examples/filecli.c: Likewise.
49334 * manual/examples/filesrv.c: Likewise.
49335 * manual/examples/fmtmsgexpl.c: Likewise.
49336 * manual/examples/genpass.c: Likewise.
49337 * manual/examples/inetcli.c: Likewise.
49338 * manual/examples/inetsrv.c: Likewise.
49339 * manual/examples/isockad.c: Likewise.
49340 * manual/examples/longopt.c: Likewise.
49341 * manual/examples/memopen.c: Likewise.
49342 * manual/examples/memstrm.c: Likewise.
49343 * manual/examples/mkfsock.c: Likewise.
49344 * manual/examples/mkisock.c: Likewise.
49345 * manual/examples/mygetpass.c: Likewise.
49346 * manual/examples/pipe.c: Likewise.
49347 * manual/examples/popen.c: Likewise.
49348 * manual/examples/rprintf.c: Likewise.
49349 * manual/examples/search.c: Likewise.
49350 * manual/examples/select.c: Likewise.
49351 * manual/examples/setjmp.c: Likewise.
49352 * manual/examples/sigh1.c: Likewise.
49353 * manual/examples/sigusr.c: Likewise.
49354 * manual/examples/stpcpy.c: Likewise.
49355 * manual/examples/strdupa.c: Likewise.
49356 * manual/examples/strftim.c: Likewise.
49357 * manual/examples/strncat.c: Likewise.
49358 * manual/examples/subopt.c: Likewise.
49359 * manual/examples/swapcontext.c: Likewise.
49360 * manual/examples/termios.c: Likewise.
49361 * manual/examples/testopt.c: Likewise.
49362 * manual/examples/testpass.c: Likewise.
49363 * manual/examples/timeval_subtract.c: Likewise.
49366 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49368 * manual/timeval_subtract.c.texi: ... here, new file.
49370 2012-03-02 David S. Miller <davem@davemloft.net>
49372 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49374 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49377 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49378 (__sin): Save and restore rounding mode and use round-to-nearest
49379 for all computations.
49380 (__cos): Save and restore rounding mode and use round-to-nearest
49381 for all computations.
49382 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49384 (tan): Save and restore rounding mode and use round-to-nearest for
49386 * math/libm-test.inc (cos_test_tonearest): New function.
49387 (cos_test_towardzero): Likewise.
49388 (cos_test_downward): Likewise.
49389 (cos_test_upward): Likewise.
49390 (sin_test_tonearest): Likewise.
49391 (sin_test_towardzero): Likewise.
49392 (sin_test_downward): Likewise.
49393 (sin_test_upward): Likewise.
49394 (tan_test_tonearest): Likewise.
49395 (tan_test_towardzero): Likewise.
49396 (tan_test_downward): Likewise.
49397 (tan_test_upward): Likewise.
49398 (main): Call the new functions.
49399 * sysdeps/i386/fpu/libm-test-ulps: Update.
49400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49403 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49404 small n, then large n, before computing and testing k+n.
49405 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49410 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49411 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49412 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49413 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49417 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49418 * math/libm-test.inc (scalbn_test): Add more tests.
49419 (scalbln_test): Likewise.
49421 * manual/filesys.texi (mode_t): Describe constraints on size and
49422 signedness, not exact equivalence to a particular type.
49424 (ino64_t): Likewise.
49426 (nlink_t): Likewise.
49427 (blkcnt_t): Likewise.
49428 (blkcnt64_t): Likewise.
49429 * manual/llio.texi (off_t): Likewise.
49432 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49433 (__ieee754_exp): Save and restore rounding mode and use
49434 round-to-nearest for all computations.
49435 * math/libm-test.inc (exp_test_tonearest): New function.
49436 (exp_test_towardzero): Likewise.
49437 (exp_test_downward): Likewise.
49438 (exp_test_upward): Likewise.
49439 (main): Call the new functions.
49440 * sysdeps/i386/fpu/libm-test-ulps: Update.
49441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49443 2012-03-01 Chris Demetriou <cgd@google.com>
49445 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49446 have predictable order.
49448 2012-03-01 David S. Miller <davem@davemloft.net>
49450 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49452 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49453 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49454 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49455 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49457 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49458 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49459 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49461 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49462 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49463 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49464 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49465 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49469 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49470 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49473 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49476 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49477 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49480 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49481 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49482 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49483 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49489 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49490 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49491 * sysdeps/sparc/elf/configure: Regenerated.
49493 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49495 * configure.in (AS, LD): Require binutils 2.20 or later.
49496 * configure: Regenerated.
49497 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49498 as required minimum version.
49499 * INSTALL: Regenerated.
49503 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49504 before squaring exponent.
49505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49506 bottom long double and 27 bits of top long double before squaring
49508 * math/libm-test.inc (erfc_test): Add more tests.
49509 * sysdeps/i386/fpu/libm-test-ulps: Update.
49510 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49513 2012-03-01 Kai Tietz <ktietz@redhat.com>
49515 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49516 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49517 containing bit-fields.
49518 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49519 * soft-fp/single.h (_FP_UNION_S): Likewise.
49520 * soft-fp/double.h (_FP_UNION_D): Likewise.
49522 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49525 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49526 not include ../strcmp.S.
49527 [USE_AS_STRNCASECMP_L]: Likewise.
49528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49529 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49530 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49531 (__strncasecmp_l_ia32): Define as alias to
49532 __strncasecmp_l_nonascii.
49535 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49536 * sysdeps/i386/fpu/libm-test-ulps: Update.
49537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49539 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49542 2012-02-29 Jeff Law <law@redhat.com>
49544 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49545 out of bounds read.
49547 2012-02-29 Marek Polacek <polacek@redhat.com>
49550 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49551 * elf/Makefile: Add rules to run tst-unused-dep.out.
49553 2012-02-28 David S. Miller <davem@davemloft.net>
49555 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49556 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49559 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49560 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49562 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49564 * math/libm-test.inc (llround_test): Move one test from
49565 lround_test. Use TEST_f_L in moved test.
49566 (lround_test): Move misplaced test to llround_test. Add testcase
49569 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49571 * sysdeps/x86_64/fpu/e_expf.S: New file.
49572 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49574 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49577 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49578 of remain_len that may cause incomplete multi-byte character and
49580 * posix/bug-regex33.c: New file.
49581 * posix/Makefile (tests): Add bug-regex33.
49583 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49585 * manual/macros.texi: New file.
49586 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49587 * manual/libc.texinfo: Include macros.texi.
49588 * manual/creatute.texi: Likewise.
49589 * manual/install.texi: Likewise.
49590 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49591 @glibcadj{} in references to the GNU C Library.
49592 * manual/charset.texi: Likewise.
49593 * manual/conf.texi: Likewise.
49594 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49595 when not using those macros.
49596 * manual/creature.texi: Likewise.
49597 * manual/crypt.texi: Likewise.
49598 * manual/errno.texi: Likewise.
49599 * manual/filesys.texi: Likewise.
49600 * manual/header.texi: Likewise.
49601 * manual/install.texi: Likewise.
49602 * manual/intro.texi: Likewise.
49603 * manual/io.texi: Likewise.
49604 * manual/job.texi: Likewise.
49605 * manual/lang.texi: Likewise.
49606 * manual/libc.texiinfo: Likewise.
49607 * manual/llio.texi: Likewise.
49608 * manual/locale.texi: Likewise.
49609 * manual/maint.texi: Likewise.
49610 * manual/math.texi: Likewise.
49611 * manual/memory.texi: Likewise.
49612 * manual/message.texi: Likewise.
49613 * manual/nss.texi: Likewise.
49614 * manual/pattern.texi: Likewise.
49615 * manual/process.texi: Likewise.
49616 * manual/resource.texi: Likewise.
49617 * manual/search.texi: Likewise.
49618 * manual/setjmp.texi: Likewise.
49619 * manual/signal.texi: Likewise.
49620 * manual/socket.texi: Likewise.
49621 * manual/startup.texi: Likewise.
49622 * manual/stdio.texi: Likewise.
49623 * manual/string.texi: Likewise.
49624 * manual/sysinfo.texi: Likewise.
49625 * manual/syslog.texi: Likewise.
49626 * manual/terminal.texi: Likewise.
49627 * manual/time.texi: Likewise.
49628 * manual/users.texi: Likewise.
49629 * INSTALL: Regenerated.
49630 * NOTES: Regenerated.
49631 * sysdeps/gnu/errlist.c: Regenerated.
49633 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49635 * include/dirent.h: Include <dirstream.h> before
49638 2012-02-28 David S. Miller <davem@davemloft.net>
49640 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49641 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49642 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49643 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49645 2012-02-27 David S. Miller <davem@davemloft.net>
49647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49649 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49650 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49653 frame pointer instead of stack pointer relative arg slot.
49654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49655 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49656 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49658 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49661 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49663 2012-02-27 David S. Miller <davem@davemloft.net>
49665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49671 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49672 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49674 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49676 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49677 later. Allow versions 5-9.
49678 * configure: Regenerated.
49679 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49680 required minimum version and 4.6 as recommended version. Do not
49681 mention bugs in GCC 2.7 and 2.8.
49682 * INSTALL: Regenerated.
49684 2012-02-27 David S. Miller <davem@davemloft.net>
49686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49692 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49696 manipulate bits before adding and subtracting TWO112[sx].
49697 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49699 2012-02-27 Roland McGrath <roland@hack.frob.com>
49702 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49703 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49704 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49705 being in POSIX, because they are in 1003.1-2008.
49707 * rt/tst-aio.c: Include <fcntl.h>.
49708 * rt/tst-aio7.c: Likewise.
49709 * rt/tst-aio64.c: Likewise.
49711 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49713 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49715 * manual/install.texi (--with-headers): Describe headers as
49716 interface headers, not private headers.
49717 (Specific advice for GNU/Linux systems): Describe use of headers
49718 from "make headers_install", not private headers from older
49720 * INSTALL: Regenerated.
49721 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49723 * sysdeps/unix/sysv/linux/configure: Regenerated.
49725 * manual/llio.texi (fclean): Remove documentation.
49727 * manual/Makefile (libc-texi-generated): New variable. Include
49729 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49730 $(libc-texi-generated), not duplicated list of files.
49731 (version.texi, stamp-version): New rules.
49732 (realclean): Remove $(libc-texi-generated), not individual files
49733 from that list. Do not remove dir-add.texinfo.
49734 * manual/libc.texinfo: Comment out uses of edition numbers and
49735 references to printed manual. Remove last-updated dates.
49736 (EDITION): Comment out.
49738 (VERSION, UPDATED): Remove.
49739 (version.texi): Include.
49741 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49743 * sysdeps/posix/spawni.c: Include <signal.h>.
49744 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49745 * sysdeps/pthread/aio_fsync.c: Likewise.
49747 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49749 * conform/Makefile (tests): Run only when not cross-compiling and
49750 when fast-check is not defined.
49752 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49753 * conform/data/limits.h-data: Fixes for POSIX2008.
49754 * conform/run-conformtest.sh: Run all tests.
49755 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49757 * include/bits/dlfcn.h: Likewise.
49758 * include/langinfo.h: Likewise.
49759 * include/monetary.h: Likewise.
49760 * include/sys/poll.h: Likewise.
49762 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49764 * posix/spawn.h: Define __need_sigset_t.
49765 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49766 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49767 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49768 to get sigevent_t only.
49769 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49770 only for __USE_GNU.
49771 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49772 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49773 process_vm_writev only for __USE_GNU.
49774 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49776 * conform/Makefile: For now ignore errors from run-conformtest.
49777 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49778 POSIX to avoid namespace pollution. Don't prepend headers.
49779 * conform/data/aio.h-data: Fixes for POSIX testing.
49780 * conform/data/fcntl.h-data: Likewise.
49781 * conform/data/glob.h-data: Likewise.
49782 * conform/data/grp.h-data: Likewise.
49783 * conform/data/pthread.h-data: Likewise.
49784 * conform/data/pwd.h-data: Likewise.
49785 * conform/data/signal.h-data: Likewise.
49786 * conform/data/spawn.h-data: Likewise.
49787 * conform/data/stdio.h-data: Likewise.
49788 * conform/data/stdlib.h-data: Likewise.
49789 * conform/data/stropts.h-data: Likewise.
49790 * conform/data/sys/mman.h-data: Likewise.
49791 * conform/data/sys/stat.h-data: Likewise.
49792 * conform/data/sys/types.h-data: Likewise.
49793 * conform/data/sys/wait.h-data: Likewise.
49794 * conform/data/time.h-data: Likewise.
49795 * conform/data/unistd.h-data: Likewise.
49796 * conform/data/utime.h-data: Likewise.
49798 * io/sys/stat.h: fchmod was always in POSIX.
49799 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49800 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49801 * rt/aio.h: Define __need_timespec before including <time.h>.
49802 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49803 struct. Add forward declaration of pthread_attr_t and use it in
49805 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49806 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49807 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49808 always remove CLK_TCK definition.
49810 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49812 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49814 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49816 * conform/run-conformtest.sh: New file.
49817 * conform/Makefile: Run run-conformtest for tests.
49818 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49821 * conform/data/uchar.h-data: New file.
49822 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49823 * conform/data/arpa/inet.h-data: Likewise.
49824 * conform/data/assert.h-data: Likewise.
49825 * conform/data/complex.h-data: Likewise.
49826 * conform/data/cpio.h-data: Likewise.
49827 * conform/data/ctype.h-data: Likewise.
49828 * conform/data/dirent.h-data: Likewise.
49829 * conform/data/dlfcn.h-data: Likewise.
49830 * conform/data/errno.h-data: Likewise.
49831 * conform/data/fcntl.h-data: Likewise.
49832 * conform/data/float.h-data: Likewise.
49833 * conform/data/fmtmsg.h-data: Likewise.
49834 * conform/data/fnmatch.h-data: Likewise.
49835 * conform/data/ftw.h-data: Likewise.
49836 * conform/data/glob.h-data: Likewise.
49837 * conform/data/grp.h-data: Likewise.
49838 * conform/data/iconv.h-data: Likewise.
49839 * conform/data/inttypes.h-data: Likewise.
49840 * conform/data/langinfo.h-data: Likewise.
49841 * conform/data/libgen.h-data: Likewise.
49842 * conform/data/limits.h-data: Likewise.
49843 * conform/data/locale.h-data: Likewise.
49844 * conform/data/math.h-data: Likewise.
49845 * conform/data/monetary.h-data: Likewise.
49846 * conform/data/mqueue.h-data: Likewise.
49847 * conform/data/ndbm.h-data: Likewise.
49848 * conform/data/net/if.h-data: Likewise.
49849 * conform/data/netdb.h-data: Likewise.
49850 * conform/data/netinet/in.h-data: Likewise.
49851 * conform/data/nl_types.h-data: Likewise.
49852 * conform/data/poll.h-data: Likewise.
49853 * conform/data/pthread.h-data: Likewise.
49854 * conform/data/pwd.h-data: Likewise.
49855 * conform/data/regex.h-data: Likewise.
49856 * conform/data/sched.h-data: Likewise.
49857 * conform/data/search.h-data: Likewise.
49858 * conform/data/semaphore.h-data: Likewise.
49859 * conform/data/setjmp.h-data: Likewise.
49860 * conform/data/signal.h-data: Likewise.
49861 * conform/data/spawn.h-data: Likewise.
49862 * conform/data/stdarg.h-data: Likewise.
49863 * conform/data/stdio.h-data: Likewise.
49864 * conform/data/stdlib.h-data: Likewise.
49865 * conform/data/string.h-data: Likewise.
49866 * conform/data/strings.h-data: Likewise.
49867 * conform/data/stropts.h-data: Likewise.
49868 * conform/data/sys/ipc.h-data: Likewise.
49869 * conform/data/sys/mman.h-data: Likewise.
49870 * conform/data/sys/msg.h-data: Likewise.
49871 * conform/data/sys/resource.h-data: Likewise.
49872 * conform/data/sys/select.h-data: Likewise.
49873 * conform/data/sys/sem.h-data: Likewise.
49874 * conform/data/sys/shm.h-data: Likewise.
49875 * conform/data/sys/socket.h-data: Likewise.
49876 * conform/data/sys/stat.h-data: Likewise.
49877 * conform/data/sys/statvfs.h-data: Likewise.
49878 * conform/data/sys/time.h-data: Likewise.
49879 * conform/data/sys/timeb.h-data: Likewise.
49880 * conform/data/sys/times.h-data: Likewise.
49881 * conform/data/sys/types.h-data: Likewise.
49882 * conform/data/sys/uio.h-data: Likewise.
49883 * conform/data/sys/un.h-data: Likewise.
49884 * conform/data/sys/utsname.h-data: Likewise.
49885 * conform/data/sys/wait.h-data: Likewise.
49886 * conform/data/syslog.h-data: Likewise.
49887 * conform/data/tar.h-data: Likewise.
49888 * conform/data/termios.h-data: Likewise.
49889 * conform/data/utime.h-data: Likewise.
49890 * conform/data/utmpx.h-data: Likewise.
49891 * conform/data/varargs.h-data: Likewise.
49892 * conform/data/wchar.h-data: Likewise.
49893 * conform/data/wctype.h-data: Likewise.
49894 * conform/data/wordexp.h-data: Likewise.
49896 * include/stropts.h: New file.
49897 * include/uchar.h: New file.
49898 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49899 * include/assert.h: Likewise.
49900 * include/ctype.h: Likewise.
49901 * include/dirent.h: Likewise.
49902 * include/dlfcn.h: Likewise.
49903 * include/fcntl.h: Likewise.
49904 * include/fnmatch.h: Likewise.
49905 * include/glob.h: Likewise.
49906 * include/grp.h: Likewise.
49907 * include/libio.h: Likewise.
49908 * include/locale.h: Likewise.
49909 * include/math.h: Likewise.
49910 * include/net/if.h: Likewise.
49911 * include/netdb.h: Likewise.
49912 * include/netinet/in.h: Likewise.
49913 * include/pthread.h: Likewise.
49914 * include/pwd.h: Likewise.
49915 * include/regex.h: Likewise.
49916 * include/sched.h: Likewise.
49917 * include/search.h: Likewise.
49918 * include/setjmp.h: Likewise.
49919 * include/signal.h: Likewise.
49920 * include/stdio.h: Likewise.
49921 * include/stdlib.h: Likewise.
49922 * include/string.h: Likewise.
49923 * include/sys/cdefs.h: Likewise.
49924 * include/sys/mman.h: Likewise.
49925 * include/sys/msg.h: Likewise.
49926 * include/sys/resource.h: Likewise.
49927 * include/sys/select.h: Likewise.
49928 * include/sys/socket.h: Likewise.
49929 * include/sys/stat.h: Likewise.
49930 * include/sys/statvfs.h: Likewise.
49931 * include/sys/time.h: Likewise.
49932 * include/sys/times.h: Likewise.
49933 * include/sys/uio.h: Likewise.
49934 * include/sys/utsname.h: Likewise.
49935 * include/sys/wait.h: Likewise.
49936 * include/termios.h: Likewise.
49937 * include/time.h: Likewise.
49938 * include/ulimit.h: Likewise.
49939 * include/unistd.h: Likewise.
49940 * include/utime.h: Likewise.
49941 * include/wchar.h: Likewise.
49942 * include/wctype.h: Likewise.
49943 * include/wordexp.h: Likewise.
49945 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49947 * time/time.h: TIME_UTC must be a macro.
49948 Make timespec_get available for ISO C11 only as well.
49950 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49952 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49953 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49955 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49957 * configure.in: Use -o not -a in test for unsupported multi-arch.
49959 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49961 * manual/texinfo.tex: Update to version 2012-01-19.16.
49963 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49965 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49967 2012-02-24 Roland McGrath <roland@hack.frob.com>
49970 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49971 * manual/fdl-1.3.texi: New file.
49972 * manual/fdl-1.1.texi: File removed.
49975 * manual/libc.texinfo (FDL_VERSION): New @set.
49976 Use it for mention of FDL in cover text.
49977 (Documentation License): Use it in @include file name.
49979 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49980 Roland McGrath <roland@hack.frob.com>
49983 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49984 (not LONG_LONG_MAX and LONG_LONG_MIN.
49985 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49986 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49988 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49994 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49995 manipulate bits before adding and subtracting TWO23[sx].
49996 * math/libm-test.inc (nearbyint_test): Add more tests.
49998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50001 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50002 bits before adding and subtracting TWO23[sx].
50003 * math/libm-test.inc (rint_test): Add more tests.
50004 (rint_test_tonearest): Likewise.
50005 (rint_test_towardzero): Likewise.
50006 (rint_test_downward): Likewise.
50007 (rint_test_upward: Likewise.
50009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50012 * include/stdc-predef.h: New file. Extracted from features.h.
50013 * include/features.h: Include stdc-predef.h.
50014 * Makefile (headers): Add stdc-predef.h.
50015 * CONFORMANCE (Compiler limitations): Update.
50017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50019 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50021 2012-02-21 David S. Miller <davem@davemloft.net>
50023 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50026 2012-02-20 David S. Miller <davem@davemloft.net>
50028 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50029 using a normal save/restore sequence, rather than allocating a
50030 dummy stack frame just to store a frame pointer and restore.
50031 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50033 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50035 * manual/install.texi: Fix stray word in line-wrapped comment.
50037 2012-02-20 David S. Miller <davem@davemloft.net>
50039 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50040 both binutils and gcc support GOTDATA.
50042 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50043 "rd %pc" in the PIC register setup sequences.
50045 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50046 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50047 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50048 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50049 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50054 (SYSCALL_ERROR_HANDLER): Likewise.
50055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50058 (SYSCALL_ERROR_HANDLER): Likewise.
50060 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50061 (HAVE_GCC_GOTDATA): New.
50062 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50063 relocation support in both binutils and gcc.
50064 * sysdeps/sparc/elf/configure: Regenerate.
50066 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50067 * sysdeps/sparc/sparc32/elf/configure: Delete.
50068 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50069 * sysdeps/sparc/sparc64/elf/configure: Delete.
50070 * sysdeps/sparc/elf/configure.in: New file.
50071 * sysdeps/sparc/elf/configure: Generate.
50073 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50074 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50076 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50077 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50081 * manual/install.texi: Do not mention specific glibc version
50083 * manual/libc.texinfo (VERSION, UPDATED): Update.
50084 (@copying): Use @copyright{} and range of years.
50086 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50089 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50090 [crti.S not in sysdirs] (generated): Do not append.
50091 [crti.S not in sysdirs] (omit-deps): Likewise.
50092 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50093 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50094 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50095 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50096 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50098 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50099 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50100 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50101 * csu/defs.awk: Remove file.
50102 * sysdeps/generic/initfini.c: Likewise.
50103 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50105 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50108 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50110 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50112 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50115 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50117 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50118 (__EPOLL_PACKED): Define to empty if not defined by
50120 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50124 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50126 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50127 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50128 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50129 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50131 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50135 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50137 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50141 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50144 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50147 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50149 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50151 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50152 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50154 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50156 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50159 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50161 * math/w_acos.c: Use non-signaling floating-point comparisons.
50162 * math/w_acosf.c: Likewise.
50163 * math/w_acosh.c: Likewise.
50164 * math/w_acoshf.c: Likewise.
50165 * math/w_acoshl.c: Likewise.
50166 * math/w_acosl.c: Likewise.
50167 * math/w_asin.c: Likewise.
50168 * math/w_asinf.c: Likewise.
50169 * math/w_asinl.c: Likewise.
50170 * math/w_atanh.c: Likewise.
50171 * math/w_atanhf.c: Likewise.
50172 * math/w_atanhl.c: Likewise.
50173 * math/w_exp2.c: Likewise.
50174 * math/w_exp2f.c: Likewise.
50175 * math/w_exp2l.c: Likewise.
50176 * math/w_j0.c: Likewise.
50177 * math/w_j0f.c: Likewise.
50178 * math/w_j0l.c: Likewise.
50179 * math/w_j1.c: Likewise.
50180 * math/w_j1f.c: Likewise.
50181 * math/w_j1l.c: Likewise.
50182 * math/w_jn.c: Likewise.
50183 * math/w_jnf.c: Likewise.
50184 * math/w_log.c: Likewise.
50185 * math/w_log10.c: Likewise.
50186 * math/w_log10f.c: Likewise.
50187 * math/w_log10l.c: Likewise.
50188 * math/w_log2.c: Likewise.
50189 * math/w_log2f.c: Likewise.
50190 * math/w_log2l.c: Likewise.
50191 * math/w_logf.c: Likewise.
50192 * math/w_logl.c: Likewise.
50193 * math/w_sqrt.c: Likewise.
50194 * math/w_sqrtf.c: Likewise.
50195 * math/w_sqrtl.c: Likewise.
50196 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50197 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50198 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50199 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50200 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50202 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50205 * manual/string.texi (strnlen): Use correct parameter name in
50206 equivalent expression.
50208 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50211 * manual/users.texi (seteuid): Consistently use neweuid for
50214 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50217 * manual/nss.texi (Services in the NSS configuration): Correct
50218 list of services in example configuration file.
50220 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50223 * manual/arith.texi: Remove statements about negative zero
50224 behaving identically to zero.
50226 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50229 * manual/install.texi: Do not document upgrading from libc5.
50231 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50234 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50236 2012-02-18 David S. Miller <davem@davemloft.net>
50238 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50239 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50240 %o7 across the call.
50241 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50244 SETUP_PIC_REG_LEAF.
50245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50246 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50247 * sysdeps/sparc/crtn.S: Likewise.
50249 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50251 * aout/Makefile: Remove.
50253 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50256 * manual/examples/argp-ex1.c (main): Format definition in GNU
50258 * manual/examples/argp-ex2.c (main): Likewise.
50259 * manual/examples/argp-ex3.c (main): Likewise.
50260 * manual/examples/argp-ex4.c (main): Likewise.
50261 * manual/examples/longopt.c (main): Use new-style prototype
50263 * manual/examples/strncat.c (main): Specify return type and use
50264 (void) for arguments.
50265 * manual/examples/subopt.c (main): Use char **argv argument.
50267 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50270 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50273 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50276 * manual/string.texi (strchr): Change when strchrnul is
50279 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50282 * manual/locale.texi (setlocale): Document LOCPATH.
50284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50287 * manual/process.texi (execle): Move @dots{} before last argument.
50289 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50292 * manual/charset.texi (Generic Charset Conversion): Fix typo
50293 (LC_TYPE -> LC_CTYPE).
50295 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50298 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50299 (scalbnf): Likewise.
50300 (scalbnl): Likewise.
50301 (scalbln): Likewise.
50302 (scalblnf): Likewise.
50303 (scalblnl): Likewise.
50304 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50305 (vwarnx): Likewise.
50308 * manual/filesys.texi (telldir): Use braces around return type.
50309 * manual/llio.texi (mmap): Add space after comma.
50310 (mmap64): Likewise.
50311 * manual/math.texi (jn): Use @var{} on parameter names.
50317 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50319 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50321 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50322 (sched_get_priority_max): Likewise.
50323 * manual/signal.texi (sigvec): Add space after comma.
50324 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50326 (if_indextoname): Likewise.
50327 (if_freenameindex): Likewise.
50328 (sendto): Use ',' instead of '.' in prototype.
50329 * manual/startup.texi (syscall): Use @dots{} instead of literal
50331 * manual/stdio.texi (__fpending): Separate initial words of
50332 paragraph from @deftypefun line.
50333 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50335 (vsyslog): Use @var{} on parameter names.
50336 * manual/terminal.texi (stty): Use @var{} on parameter names.
50337 * manual/users.texi (getutmp): Use @var{} on parameter names.
50338 (getutmpx): Likewise.
50340 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50343 * manual/stdio.texi (fopen): Fix typos in description of
50346 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50349 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50350 get clock_id definition.
50352 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50355 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50356 (madvise): Cast every argument to void on its own.
50358 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50361 * manual/startup.texi (Exit Status): Fix typo.
50363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50366 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50367 * manual/examples/argp-ex2.c: Likewise.
50368 * manual/examples/argp-ex3.c: Likewise.
50370 2012-02-16 Richard Henderson <rth@redhat.com>
50372 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50373 * sysdeps/s390/s390-32/initfini.c: Remove.
50374 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50375 * sysdeps/s390/s390-64/initfini.c: Remove.
50377 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50379 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50380 compiler output for sysdeps/generic/initfini.c.
50381 * sysdeps/sh/elf/initfini.c: Remove file.
50383 2012-02-16 David S. Miller <davem@davemloft.net>
50386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50388 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50389 * sysdeps/sparc/crti.S: New file.
50390 * sysdeps/sparc/crtn.S: New file.
50391 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50392 * sysdeps/sparc/sparc64/Makefile: Likewise.
50394 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50397 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50399 2012-02-15 Roland McGrath <roland@hack.frob.com>
50402 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50404 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50405 (write, read, close): Likewise.
50406 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50408 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50410 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50411 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50412 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50413 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50415 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50419 2012-02-14 Marek Polacek <polacek@redhat.com>
50421 * sysdeps/x86_64/crti.S: New file.
50422 * sysdeps/x86_64/crtn.S: New file.
50423 * sysdeps/x86_64/elf/initfini.c: Remove file.
50425 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50427 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50428 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50429 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50430 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50432 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50436 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50438 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50439 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50440 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50441 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50443 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50447 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50449 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50450 __feraiseexcept instead of feraiseexcept.
50452 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50453 nanosleep invocations.
50454 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50455 strings, and add error checking for a nanosleep invocations.
50457 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50459 Replace FSF snail mail address with URLs, as per GNU coding standards.
50460 Most of the snail mail addresses were wrong anyway, and omitting
50461 them makes the source code easier to maintain. Almost all of the
50462 changes are to license notices and to locale LC_IDENTIFICATION
50463 addresses, except for this one:
50464 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50465 not its snail mail address.
50467 2012-02-09 Richard Henderson <rth@twiddle.net>
50469 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50470 of kernel-features.h.
50472 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50474 2012-02-08 Marek Polacek <polacek@redhat.com>
50476 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50477 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50478 * sysdeps/gnu/_G_config.h: Likewise.
50479 * sysdeps/generic/_G_config.h: Likewise.
50481 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50483 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50487 * sysdeps/powerpc/powerpc32/crti.S: New file.
50488 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50489 * sysdeps/powerpc/powerpc64/crti.S: New file.
50490 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50492 * Makeconfig (have-initfini): Don't set.
50493 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50494 * configure.in (nopic_initfini): Don't substitute.
50495 * config.h.in (HAVE_INITFINI): Don't #undef.
50496 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50497 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50499 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50501 Support crti.S and crtn.S provided directly by architectures.
50502 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50503 [crti.S in sysdirs] (omit-deps): Likewise.
50504 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50505 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50506 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50507 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50508 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50509 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50510 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50511 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50512 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50513 compiler output for sysdeps/generic/initfini.c.
50514 * sysdeps/i386/elf/Makefile: Remove file.
50515 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50517 2012-02-07 Marek Polacek <polacek@redhat.com>
50519 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50520 * sysdeps/gnu/_G_config.h: Likewise.
50521 * sysdeps/mach/hurd/_G_config.h: Likewise.
50523 2012-02-07 Marek Polacek <polacek@redhat.com>
50525 * math/Makefile (tests): Add tst-CMPLX2.
50526 * math/tst-CMPLX2.c: New file.
50528 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50532 * math/libm-test.inc (jn_test): Add missing L suffix.
50534 2012-02-06 Marek Polacek <polacek@redhat.com>
50536 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50537 * sysdeps/i386/fpu/e_powf.S: Likewise.
50538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50540 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50541 * sysdeps/i386/fpu/e_pow.S: Likewise.
50542 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50543 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50544 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50545 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50546 * sysdeps/i386/fpu/e_log2.S: Likewise.
50547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50549 * sysdeps/i386/fpu/e_powl.S: Likewise.
50550 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50551 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50552 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50553 * sysdeps/i386/fpu/e_logl.S: Likewise.
50554 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50555 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50560 * sysdeps/i386/fpu/e_log.S: Likewise.
50561 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50563 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50564 * sysdeps/i386/fpu/e_logf.S: Likewise.
50565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50567 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50568 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50569 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50570 * sysdeps/i386/fpu/e_log10.S: Likewise.
50571 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50572 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50573 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50574 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50575 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50576 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50577 * sysdeps/i386/asm-syntax.h: Likewise.
50578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50581 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50582 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50583 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50584 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50585 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50587 * sysdeps/powerpc/sysdep.h: Likewise.
50588 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50589 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50591 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50594 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50596 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50598 * sysdeps/i386/sysdep.h: Include <features.h>.
50599 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50602 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50604 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50606 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50609 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50611 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50612 (SETUP_PIC_REG): Use GET_PC_THUNK.
50613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50616 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50619 for non-PIC compilation.
50620 (SETUP_PIC_REG): Add .p2align directive.
50621 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50622 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50623 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50624 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50625 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50626 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50629 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50630 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50631 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50632 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50633 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50634 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50635 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50636 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50637 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50638 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50639 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50640 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50641 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50642 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50643 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50644 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50648 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50649 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50650 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50651 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50652 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50653 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50654 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50655 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50656 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50657 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50658 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50659 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50661 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50663 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50665 * math/tst-CMPLX.c: Include <stdio.h>.
50667 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50669 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50671 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50672 * sysdeps/sparc/bits/mathdef.h: Likewise.
50674 2012-01-31 Marek Polacek <polacek@redhat.com>
50676 * libio/libio.h: Don't define _PARAMS.
50677 * locale/programs/config.h: Don't define PARAMS.
50678 * stdlib/strtol_l.c: Likewise.
50679 (__strtol_l): Remove PARAMS from the prototype.
50681 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50683 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50684 names. Just use the correct names. Remove unnecessary wrapper
50686 * malloc/arena.c: Likewise.
50687 * malloc/hooks.c: Likewise.
50689 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50690 ARENA_TEST says not to. Simplify test for creation of a new arena.
50691 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50693 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50695 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50697 (update_get_addr): New function.
50698 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50699 GET_ADDR_MODULE parameter.
50701 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50703 * crypt/cert.c: Remove __STDC__ conditionals.
50704 * crypt/crypt-entry.c: Likewise.
50705 * crypt/crypt_util.c: Likewise.
50706 * libio/filedoalloc.c: Likewise.
50707 * libio/fileops.c: Likewise.
50708 * libio/genops.c: Likewise.
50709 * libio/iofclose.c: Likewise.
50710 * libio/iofdopen.c: Likewise.
50711 * libio/iofopen.c: Likewise.
50712 * libio/iofopen64.c: Likewise.
50713 * libio/iogetdelim.c: Likewise.
50714 * libio/iopopen.c: Likewise.
50715 * libio/obprintf.c: Likewise.
50716 * libio/oldfileops.c: Likewise.
50717 * libio/oldiofclose.c: Likewise.
50718 * libio/oldiofdopen.c: Likewise.
50719 * libio/oldiofopen.c: Likewise.
50720 * libio/oldiopopen.c: Likewise.
50721 * libio/wfiledoalloc.c: Likewise.
50722 * libio/wgenops.c: Likewise.
50723 * locale/programs/xmalloc.c: Likewise.
50724 * misc/syslog.c: Likewise.
50725 * stdio-common/xbug.c: Likewise.
50726 * string/memchr.c: Likewise.
50727 * string/memcmp.c: Likewise.
50728 * string/memrchr.c: Likewise.
50729 * string/rawmemchr.c: Likewise.
50730 * sysdeps/posix/getcwd.c: Likewise.
50731 * time/strftime_l.c: Likewise.
50733 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50735 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50736 * config.make.in (config-cflags-sse2avx): Define.
50737 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50740 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50742 * scripts/config.guess: Update from upstream config git repository.
50743 * scripts/config.sub: Likewise.
50745 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50747 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50749 (R_TILEPRO_*, R_TILEGX_*): New macros.
50751 * scripts/firstversions.awk: Fix bug in version range handling.
50753 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50757 * include/sys/epoll.h: New file.
50758 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50761 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50763 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50764 Avoid unnecessary __WORDSIZE == 64 test.
50765 (fmaxf): Use VEX format if possible.
50770 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50771 * math/math_private.h: Remove libc_fegetround* and
50773 * sysdeps/i386/configure.in: Check for -msse2avx.
50774 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50775 also if SSE2AVX is defined.
50776 Remove libc_fegetround* and libc_fesetround*.
50777 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50778 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50782 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50785 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50787 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50789 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50793 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50795 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50798 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50800 * Makeconfig (libm): Define.
50801 * elf/Makefile: Add rules to build and run tst-relsort1.
50802 * elf/tst-relsort1.c: New file.
50803 * elf/tst-relsort1mod1.c: New file.
50804 * elf/tst-relsort1mod2.c: New file.
50806 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50808 * math/s_ldexp.c: Remove __STDC__ conditionals.
50809 * math/s_ldexpf.c: Likewise.
50810 * math/s_ldexpl.c: Likewise.
50811 * math/s_nextafter.c: Likewise.
50812 * math/s_nexttowardf.c: Likewise.
50813 * math/s_significand.c: Likewise.
50814 * math/s_significandf.c: Likewise.
50815 * math/s_significandl.c: Likewise.
50816 * math/w_jnl.c: Likewise.
50817 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50818 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50819 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50820 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50821 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50823 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50824 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50825 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50826 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50827 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50831 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50832 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50833 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50834 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50835 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50836 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50837 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50845 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50848 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50849 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50850 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50851 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50853 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50854 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50855 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50856 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50857 * sysdeps/ieee754/k_standard.c: Likewise.
50858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50860 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50861 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50862 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50863 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50868 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50869 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50872 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50873 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50874 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50877 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50880 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50881 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50882 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50883 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50887 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50888 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50889 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50890 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50891 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50894 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50896 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50897 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50898 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50900 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50901 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50902 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50905 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50906 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50908 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50909 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50910 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50914 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50916 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50917 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50918 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50919 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50920 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50922 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50923 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50924 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50927 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50928 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50929 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50930 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50931 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50933 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50934 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50935 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50937 * sysdeps/ieee754/s_matherr.c: Likewise.
50938 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50939 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50943 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50945 * crypt/md5.h: Remove __STDC__ conditionals.
50946 * libio/libioP.h: Likewise.
50947 * locale/programs/config.h: Likewise.
50948 * sysdeps/generic/sysdep.h: Likewise.
50949 * sysdeps/i386/asm-syntax.h: Likewise.
50950 * sysdeps/s390/asm-syntax.h: Likewise.
50951 * sysdeps/unix/sysdep.h: Likewise.
50952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50955 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50957 * libio/libio.h: Remove __STDC__ conditionals.
50958 * malloc/obstack.h: Likewise.
50959 * math/complex.h: Likewise.
50960 * math/math.h: Likewise.
50961 * sysdeps/generic/_G_config.h: Likewise.
50962 * sysdeps/gnu/_G_config.h: Likewise.
50963 * sysdeps/mach/hurd/_G_config.h: Likewise.
50964 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50965 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50966 * sysdeps/sparc/bits/mathdef.h: Likewise.
50968 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50971 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50972 Clean up HAS_* macros.
50973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50974 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50984 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50986 * elf/tst-unique3.cc (gets): Remove declaration.
50987 * elf/tst-unique3lib.cc (gets): Likewise.
50988 * elf/tst-unique3lib2.cc (gets): Likewise.
50989 * elf/tst-unique4.cc (gets): Likewise.
50991 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50993 * include/stdio.h: Add C++ protection. Add gets declarations and
50995 * debug/tst-chk1.c: Don't declare gets here.
50996 * stdio-common/tst-gets.c: Likewise.
50998 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51000 * posix/glob: Remove directory.
51002 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51004 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51006 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51008 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51009 of the non-standard EPFNOSUPPORT.
51011 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51013 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51014 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51015 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51017 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51019 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51021 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51023 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51025 * nscd/grpcache.c (cache_addgr): Likewise.
51026 * nscd/hstcache.c (cache_addhst): Likewise.
51027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51028 * nscd/pwdcache.c (cache_addpw): Likewise.
51029 * nscd/servicescache.c (cache_addserv): Likewise.
51031 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51033 * malloc/malloc.c: Various cleanups.
51034 * malloc/hooks.c: Likewise.
51036 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51037 * stdlib/bug-fmtmsg1.c: New file.
51039 * stdlib/fmtmsg.c (init): Add missing unlock.
51040 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51042 2012-01-12 Marek Polacek <polacek@redhat.com>
51044 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51047 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51049 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51051 macro to ensure uniqueness of label name.
51052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51055 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51057 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51060 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51064 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51068 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51069 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51072 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51079 * math/bits/math-finite.h: Add ldexp support.
51081 2012-01-10 Marek Polacek <polacek@redhat.com>
51083 * locale/programs/localedef.h (show_archive_content): Add noreturn
51086 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51088 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51090 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51092 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51094 * io/Makefile (headers): Add bits/poll2.h.
51096 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51099 typo #include statement.
51101 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51103 * include/sys/cdefs.h: Define __attribute_alloc_size.
51104 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51105 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51106 * elf/pldd.c: Likewise.
51107 * iconv/iconv_charmap.c: Likewise.
51108 * iconv/iconvconfig.c: Likewise.
51109 * iconv/strtab.c: Likewise.
51110 * locale/programs/locale.c: Likewise.
51111 * locale/programs/localedef.h: Likewise.
51112 * locale/programs/simple-hash.c: Likewise.
51113 * nscd/nscd.h: Likewise.
51114 * nss/makedb.c: Likewise.
51115 * sysdeps/generic/ldconfig.h: Likewise.
51116 * locale/programs/localedef.c: Remove xmalloc prototype.
51117 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51119 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51126 * math/Makefile (tests): Add tst-CMPLX.
51127 * math/tst-CMPLX.c: New file.
51129 * math/complex.h (CMPLXL): Fix typo.
51131 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51132 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51134 * debug/tst-chk1.c: Add poll and ppoll tests.
51135 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51136 * include/sys/poll.h: Add hidden proto for ppoll.
51137 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51138 * sysdeps/mach/hurd/ppoll.c: Likewise.
51139 * io/ppoll.c: Likewise.
51140 * debug/poll_chk.c: New file.
51141 * debug/ppoll_chk.c: New file.
51142 * include/bits/poll2.h: New file.
51143 * io/bits/poll2.h: New file.
51146 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51148 * configure.in: static is always set to yes. Remove.
51149 * config.make.in: Don't set build-static.
51150 * Makeconfig: Remove use of build-static.
51151 * dlfcn/Makefile: Likewise.
51152 * elf/Makefile: Likewise.
51153 * math/Makefile: Likewise.
51154 * misc/Makefile: Likewise.
51155 * nptl/Makefile: Likewise.
51156 * sysdeps/mach/hurd/Makefile: Likewise.
51158 * configure.in: PWD_P is not used anymore.
51159 * config.make.in: Remove PWD_P entry.
51161 * configure.in: Remove last remnants of RANLIB.
51162 No need to check for signed size_t anymore.
51163 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51165 Remove __builtin_expect test because we require at least gcc 3.4.
51166 * aclocal.m4: Likewise.
51168 * wcsmbs/mbrtoc16.c: Implement using towc function.
51169 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51170 * wcsmbs/wcsmbsload.c: Likewise.
51171 * iconv/gconv_simple.c: Likewise.
51172 * iconv/gconv_int.h: Likewise.
51173 * iconv/gconv_builtin.h: Likewise.
51174 * iconv/iconv_prog.c: Remove CHAR16 handling.
51176 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51178 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51180 * configure.in: Remove --with-elf and --enable-bounded options.
51181 Dont set base_machine for ia64. More non-ELF conditions removed.
51182 Remove testing and setting of leading underscore information.
51183 * config.make.in (build-bounded): Set to no.
51184 * config.h.in: Remove NO_UNDERSCORES entry.
51185 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51187 * csu/start.c: Remove !NO_UNDERSCORE code.
51188 * locale/localeinfo.h: Likewise.
51189 * sysdeps/generic/machine-gmon.h: Likewise.
51190 * sysdeps/generic/sysdep.h: Likewise.
51191 * sysdeps/i386/sysdep.h: Likewise.
51192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51193 * sysdeps/mach/sysdep.h: Likewise.
51194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51196 * sysdeps/sh/sysdep.h: Likewise.
51197 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51198 * sysdeps/unix/i386/sysdep.S: Likewise.
51199 * sysdeps/unix/sparc/start.c: Likewise.
51200 * sysdeps/unix/sparc/sysdep.S: Likewise.
51201 * sysdeps/unix/sparc/sysdep.h: Likewise.
51202 * sysdeps/unix/start.c: Likewise.
51203 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51204 * sysdeps/x86_64/sysdep.h: Likewise.
51206 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51209 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51211 * argp/argp-fmtstream.h: Use const instead __const.
51212 * argp/argp.h: Likewise.
51213 * assert/assert.h: Likewise.
51214 * bits/fenv.h: Likewise.
51215 * bits/sched.h: Likewise.
51216 * bits/sigset.h: Likewise.
51217 * bits/sigthread.h: Likewise.
51218 * catgets/nl_types.h: Likewise.
51219 * conform/data/pthread.h-data: Likewise.
51220 * crypt/crypt-private.h: Likewise.
51221 * crypt/crypt.h: Likewise.
51222 * crypt/crypt_util.c: Likewise.
51223 * ctype/ctype.h: Likewise.
51224 * debug/execinfo.h: Likewise.
51225 * debug/mbsnrtowcs_chk.c: Likewise.
51226 * debug/mbsrtowcs_chk.c: Likewise.
51227 * debug/wcsnrtombs_chk.c: Likewise.
51228 * debug/wcsrtombs_chk.c: Likewise.
51229 * debug/wcstombs_chk.c: Likewise.
51230 * dirent/dirent.h: Likewise.
51231 * dlfcn/dlfcn.h: Likewise.
51232 * elf/neededtest4.c: Likewise.
51233 * grp/grp.h: Likewise.
51234 * gshadow/gshadow.h: Likewise.
51235 * iconv/gconv.h: Likewise.
51236 * iconv/gconv_int.h: Likewise.
51237 * iconv/gconv_simple.c: Likewise.
51238 * iconv/iconv.h: Likewise.
51239 * iconv/loop.c: Likewise.
51240 * iconv/skeleton.c: Likewise.
51241 * include/aio.h: Likewise.
51242 * include/aliases.h: Likewise.
51243 * include/argz.h: Likewise.
51244 * include/arpa/inet.h: Likewise.
51245 * include/assert.h: Likewise.
51246 * include/dirent.h: Likewise.
51247 * include/dlfcn.h: Likewise.
51248 * include/execinfo.h: Likewise.
51249 * include/fcntl.h: Likewise.
51250 * include/fenv.h: Likewise.
51251 * include/glob.h: Likewise.
51252 * include/grp.h: Likewise.
51253 * include/libintl.h: Likewise.
51254 * include/mntent.h: Likewise.
51255 * include/netdb.h: Likewise.
51256 * include/pwd.h: Likewise.
51257 * include/rpc/netdb.h: Likewise.
51258 * include/sched.h: Likewise.
51259 * include/search.h: Likewise.
51260 * include/shadow.h: Likewise.
51261 * include/signal.h: Likewise.
51262 * include/stdio.h: Likewise.
51263 * include/stdlib.h: Likewise.
51264 * include/string.h: Likewise.
51265 * include/sys/socket.h: Likewise.
51266 * include/sys/stat.h: Likewise.
51267 * include/sys/statfs.h: Likewise.
51268 * include/sys/statvfs.h: Likewise.
51269 * include/sys/syslog.h: Likewise.
51270 * include/sys/time.h: Likewise.
51271 * include/sys/uio.h: Likewise.
51272 * include/time.h: Likewise.
51273 * include/unistd.h: Likewise.
51274 * include/utmp.h: Likewise.
51275 * include/wchar.h: Likewise.
51276 * include/wctype.h: Likewise.
51277 * inet/aliases.h: Likewise.
51278 * inet/arpa/inet.h: Likewise.
51279 * inet/netinet/ether.h: Likewise.
51280 * inet/netinet/in.h: Likewise.
51281 * intl/libintl.h: Likewise.
51282 * io/bits/fcntl2.h: Likewise.
51283 * io/fcntl.h: Likewise.
51284 * io/ftw.h: Likewise.
51285 * io/sys/poll.h: Likewise.
51286 * io/sys/stat.h: Likewise.
51287 * io/sys/statfs.h: Likewise.
51288 * io/sys/statvfs.h: Likewise.
51289 * io/utime.h: Likewise.
51290 * libio/bits/stdio.h: Likewise.
51291 * libio/bits/stdio2.h: Likewise.
51292 * libio/libio.h: Likewise.
51293 * libio/libioP.h: Likewise.
51294 * libio/stdio.h: Likewise.
51295 * locale/lc-ctype.c: Likewise.
51296 * locale/locale.h: Likewise.
51297 * login/utmp.h: Likewise.
51298 * malloc/arena.c: Likewise.
51299 * malloc/malloc.c: Likewise.
51300 * malloc/malloc.h: Likewise.
51301 * malloc/mcheck.c: Likewise.
51302 * malloc/mtrace.c: Likewise.
51303 * math/bits/mathcalls.h: Likewise.
51304 * math/fenv.h: Likewise.
51305 * math/math_private.h: Likewise.
51306 * misc/bits/error.h: Likewise.
51307 * misc/bits/syslog.h: Likewise.
51308 * misc/err.h: Likewise.
51309 * misc/error.h: Likewise.
51310 * misc/fstab.h: Likewise.
51311 * misc/mntent.h: Likewise.
51312 * misc/regexp.h: Likewise.
51313 * misc/search.h: Likewise.
51314 * misc/sgtty.h: Likewise.
51315 * misc/sys/mman.h: Likewise.
51316 * misc/sys/syslog.h: Likewise.
51317 * misc/sys/uio.h: Likewise.
51318 * misc/sys/xattr.h: Likewise.
51319 * misc/ttyent.h: Likewise.
51320 * nis/rpcsvc/ypclnt.h: Likewise.
51321 * nss/nss.h: Likewise.
51322 * posix/bits/unistd.h: Likewise.
51323 * posix/fnmatch.h: Likewise.
51324 * posix/glob.h: Likewise.
51325 * posix/sched.h: Likewise.
51326 * posix/spawn.h: Likewise.
51327 * posix/sys/wait.h: Likewise.
51328 * posix/unistd.h: Likewise.
51329 * posix/wordexp.h: Likewise.
51330 * pwd/pwd.h: Likewise.
51331 * resolv/netdb.h: Likewise.
51332 * resource/sys/resource.h: Likewise.
51333 * rt/aio.h: Likewise.
51334 * rt/bits/mqueue2.h: Likewise.
51335 * rt/mqueue.h: Likewise.
51336 * shadow/shadow.h: Likewise.
51337 * signal/signal.h: Likewise.
51338 * socket/send.c: Likewise.
51339 * socket/sendto.c: Likewise.
51340 * socket/sys/socket.h: Likewise.
51341 * stdio-common/printf.h: Likewise.
51342 * stdlib/bits/stdlib.h: Likewise.
51343 * stdlib/fmtmsg.h: Likewise.
51344 * stdlib/monetary.h: Likewise.
51345 * stdlib/stdlib.h: Likewise.
51346 * stdlib/ucontext.h: Likewise.
51347 * streams/stropts.h: Likewise.
51348 * string/argz.h: Likewise.
51349 * string/bits/string2.h: Likewise.
51350 * string/string.h: Likewise.
51351 * string/strings.h: Likewise.
51352 * sunrpc/rpc/auth.h: Likewise.
51353 * sunrpc/rpc/auth_des.h: Likewise.
51354 * sunrpc/rpc/clnt.h: Likewise.
51355 * sunrpc/rpc/netdb.h: Likewise.
51356 * sunrpc/rpc/pmap_clnt.h: Likewise.
51357 * sunrpc/rpc/xdr.h: Likewise.
51358 * sysdeps/generic/inttypes.h: Likewise.
51359 * sysdeps/generic/net/if.h: Likewise.
51360 * sysdeps/generic/sys/swap.h: Likewise.
51361 * sysdeps/gnu/net/if.h: Likewise.
51362 * sysdeps/gnu/utmpx.h: Likewise.
51363 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51364 * sysdeps/i386/i486/bits/string.h: Likewise.
51365 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51366 * sysdeps/s390/bits/string.h: Likewise.
51367 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51368 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51369 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51370 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51371 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51372 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51373 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51374 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51375 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51376 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51377 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51378 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51379 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51380 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51381 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51385 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51386 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51387 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51388 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51389 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51390 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51391 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51392 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51393 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51395 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51397 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51398 * sysvipc/sys/ipc.h: Likewise.
51399 * sysvipc/sys/msg.h: Likewise.
51400 * sysvipc/sys/sem.h: Likewise.
51401 * sysvipc/sys/shm.h: Likewise.
51402 * termios/termios.h: Likewise.
51403 * time/sys/time.h: Likewise.
51404 * time/time.h: Likewise.
51405 * wcsmbs/bits/wchar2.h: Likewise.
51406 * wcsmbs/uchar.h: Likewise.
51407 * wcsmbs/wchar.h: Likewise.
51408 * wctype/wctype.h: Likewise.
51411 * Makeconfig: Remove all but ELF support including AIX support.
51412 * Makerules: Likewise.
51413 * config.h.in: Likewise.
51414 * config.make.in: Likewise.
51415 * configure: Likewise.
51416 * configure.in: Likewise.
51417 * csu/Makefile: Likewise.
51418 * csu/version.c: Likewise.
51419 * debug/Makefile: Likewise.
51420 * dlfcn/Makefile: Likewise.
51421 * elf/Makefile: Likewise.
51422 * extra-lib.mk: Likewise.
51423 * iconv/Makefile: Likewise.
51424 * include/libc-symbols.h: Likewise.
51425 * include/shlib-compat.h: Likewise.
51426 * resolv/Makefile: Likewise.
51427 * resolv/res_libc.c: Likewise.
51428 * rt/Makefile: Likewise.
51429 * sysdeps/i386/asm-syntax.h: Likewise.
51430 * sysdeps/i386/sysdep.h: Likewise.
51431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51432 * sysdeps/mach/sysdep.h: Likewise.
51433 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51434 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51435 * sysdeps/s390/asm-syntax.h: Likewise.
51436 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51438 * sysdeps/sh/sysdep.h: Likewise.
51439 * sysdeps/unix/sparc/sysdep.h: Likewise.
51440 * sysdeps/wordsize-32/divdi3.c: Likewise.
51441 * sysdeps/x86_64/sysdep.h: Likewise.
51443 * argp/Versions: Remove _argp_unlock_xxx.
51446 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51447 * abilist/libBrokenLocale.abilist: Likewise.
51448 * abilist/libanl.abilist: Likewise.
51449 * abilist/libc.abilist: Likewise.
51450 * abilist/libcrypt.abilist: Likewise.
51451 * abilist/libdl.abilist: Likewise.
51452 * abilist/libm.abilist: Likewise.
51453 * abilist/libnsl.abilist: Likewise.
51454 * abilist/libpthread.abilist: Likewise.
51455 * abilist/libresolv.abilist: Likewise.
51456 * abilist/librt.abilist: Likewise.
51457 * abilist/libthread_db.abilist: Likewise.
51458 * abilist/libutil.abilist: Likewise.
51459 * abilist/libnss_db.abilist: New file.
51461 * scripts/abilist.awk: Add support for indirect functions.
51463 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51465 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51467 * shlib-versions: Remove entries for ports architectures.
51469 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51471 * elf/stackguard-macros.h: Remove support for IA-64.
51472 * elf/tst-auditmod1.c: Likewise.
51473 * sysdeps/generic/ldsodefs.h: Likewise.
51475 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51476 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51480 * configure.in: Remove --enable-omitfp support.
51482 * config.make.in: Likewise.
51483 * Makeconfig: Likewise.
51484 * manual/install.texi: Likewise.
51486 In case anyone cares, the IA-64 architecture could move to ports.
51487 * sysdeps/ia64/*: Removed.
51488 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51489 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51492 * configure.in: Remove entries for unsupported architectures.
51495 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51496 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51498 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51499 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51500 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51501 fall back to using wcrtomb.
51502 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51503 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51505 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51506 * wcsmbs/tst-c16c32-1.c: New file.
51508 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51511 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51513 * elf/tst-unique3.cc: Add explicit declaration of gets.
51514 * elf/tst-unique3lib.cc: Likewise.
51515 * elf/tst-unique3lib2.cc: Likewise.
51516 * elf/tst-unique4.cc: Likewise.
51518 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51520 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51523 * assert/assert.h (static_assert): Don't define for C++.
51524 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51525 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51527 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51529 * iconv/loop.c (single loop): Fix assertion in storing of
51532 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51534 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51536 * posix/getconf.c: Update copyright year.
51537 * nss/getent.c: Likewise.
51538 * nss/makedb.c: Likewise.
51539 * iconv/iconvconfig.c: Likewise.
51540 * iconv/iconv_prog.c: Likewise.
51541 * elf/ldconfig.c: Likewise.
51542 * elf/pldd.c: Likewise.
51543 * elf/sotruss.ksh: Likewise.
51544 * catgets/gencat.c: Likewise.
51545 * csu/version.c: Likewise.
51546 * elf/ldd.bash.in: Likewise.
51547 * elf/sprof.c (print_version): Likewise.
51548 * locale/programs/locale.c: Likewise.
51549 * locale/programs/localedef.c: Likewise.
51550 * login/programs/pt_chown.c: Likewise.
51551 * nscd/nscd.c (print_version): Likewise.
51552 * debug/xtrace.sh: Likewise.
51553 * malloc/memusage.sh: Likewise.
51554 * malloc/mtrace.pl: Likewise.
51555 * debug/catchsegv.sh: Likewise.
51557 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51559 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51562 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51565 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51566 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51568 * iconv/gconv_int.h: Likewise.
51569 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51570 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51571 from libc for GLIBC_2.16.
51572 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51573 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51574 * wcsmbs/uchar.h: Really define mbstate_t.
51575 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51576 * wcsmbs/c16rtomb.c: New file.
51577 * wcsmbs/mbrtoc16.c: New file.
51578 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51579 for C/POSIX locale.
51580 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51581 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51583 * wcsmbs/wchar.h: Add missing __restrict.
51585 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51588 * time/Makefile (routines): Add timespec_get.
51589 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51590 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51591 timespec for ISO C11.
51592 * time/timespec_get.c: New file.
51593 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51594 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51597 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51598 * stdlib/stdlib.h: Declare aligned_alloc.
51599 * Versions.def: Add GLIBC_2.16 for libc.
51600 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51603 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51606 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51610 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51613 * assert/assert.h (static_assert): Define.
51615 * version.h: Update for 2.16 development version.
51618 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51621 * version.h (RELEASE): Bump for 2.15 release.
51622 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51624 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51625 Patch by Marek Polacek <mpolacek@redhat.com>.
51627 * bits/byteswap.h: Protect long long constants with __extension__.
51628 * sysdeps/i386/bits/byteswap.h: Likewise.
51629 * sysdeps/ia64/bits/byteswap.h: Likewise.
51630 * sysdeps/s390/bits/byteswap.h: Likewise.
51631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51633 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51636 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51637 destination buffer.
51638 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51640 2011-12-23 Marek Polacek <polacek@redhat.com>
51642 * elf/dl-addr.c (determine_info): Add inline keyword.
51643 * elf/tst-auditmod4b.c (check_avx): Likewise.
51644 * elf/tst-auditmod6b.c (check_avx): Likewise.
51645 * elf/tst-auditmod6c.c (check_avx): Likewise.
51646 * elf/tst-auditmod7b.c (check_avx): Likewise.
51648 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51650 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51653 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51656 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51657 processing for last bytes.
51659 2011-08-06 Bruno Haible <bruno@clisp.org>
51662 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51663 U+0385, not to U+1FEE.
51666 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51667 entry for U+00A5 U+0301.
51669 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51672 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51673 buffer for the output is too small.
51675 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51679 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51680 SSE flags if possible.
51682 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51686 processing for last bytes.
51688 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51690 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51691 (syscall-list-default-options, syscall-list-default-condition)
51692 (syscall-list-includes): Define.
51693 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51694 list of ABIs and options and #if conditions for each ABI. Do not
51695 handle common syscalls between ABIs specially.
51696 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51698 (syscall-list-variants, syscall-list-32bit-options)
51699 (syscall-list-32bit-condition, syscall-list-64bit-options)
51700 (syscall-list-64bit-condition): Define.
51701 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51702 (syscall-list-variants, syscall-list-32bit-options)
51703 (syscall-list-32bit-condition, syscall-list-64bit-options)
51704 (syscall-list-64bit-condition): Define.
51705 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51707 (syscall-list-variants, syscall-list-32bit-options)
51708 (syscall-list-32bit-condition, syscall-list-64bit-options)
51709 (syscall-list-64bit-condition): Define.
51710 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51712 (syscall-list-variants, syscall-list-32bit-options)
51713 (syscall-list-32bit-condition, syscall-list-64bit-options)
51714 (syscall-list-64bit-condition): Define.
51716 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51718 * locale/iso-639.def: Add brx entry.
51721 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51722 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51724 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51725 __feraiseexcept_renamed.
51727 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51730 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51731 EPOLLET with unsigned values.
51732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51735 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51736 to large cancellation.
51737 * math/s_cacoshf.c: Likewise.
51738 * math/s_cacoshl.c: Likewise.
51740 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51744 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51745 * math/s_cacoshf.c: Likewise.
51746 * math/s_cacoshl.c: Likewise.
51748 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51751 * iconv/gconv.h: Define __GCONV_SWAP.
51752 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51753 * iconvdata/utf-16.c: Likewise.
51754 * iconvdata/utf-32.c: Likewise.
51756 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51759 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51760 numerator after shifting it by one limb.
51762 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51764 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51765 under [__USE_EXTERN_INLINES].
51767 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51770 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51772 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51774 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51775 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51777 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51779 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51780 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51781 for strncasecmp/strncasecmp_l compilation.
51782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51783 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51785 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51788 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51791 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51794 * time/tzfile.c (__tzfile_read): Check values from file header.
51796 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51798 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51799 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51800 * powerpc/powerpc32/dl-start.S: Likewise.
51801 * powerpc/powerpc32/elf/start.S: Likewise.
51802 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51803 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51804 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51805 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51806 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51807 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51808 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51809 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51810 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51811 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51812 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51813 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51814 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51815 * powerpc/powerpc32/memset.S: Likewise.
51816 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51817 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51818 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51819 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51820 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51821 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51822 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51823 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51824 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51825 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51826 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51827 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51828 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51830 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51832 * math/libm-test.inc: Added more nearbyint tests.
51833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51838 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51840 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51843 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51845 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51846 Add wcscpy-ssse3 wcscpy-c.
51847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51848 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51849 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51850 * sysdeps/x86_64/wcschr.S: New file.
51851 * sysdeps/x86_64/wcsrchr.S: New file.
51852 * string/test-strcmp.c: Remove checking of wcscmp function for
51854 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51855 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51856 wcsrchr-sse2 wcsrchr-c.
51857 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51858 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51859 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51860 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51861 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51862 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51863 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51866 * wcsmbc/wcschr.c (WCSCHR): New macro.
51868 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51870 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51871 * wcsmbs/test-wcsrchr.c: New file.
51872 * string/test-strrchr.c: Add wcsrchr support.
51874 * wcsmbs/test-wcscpy.c: New file.
51875 * string/test-strcpy.c: Add wcscpy support.
51878 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51883 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51886 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51888 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51890 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51891 Minor optimizations.
51893 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51894 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51895 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51897 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51899 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51900 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51901 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51902 for gcc to avoid warnings.
51903 * inet/Makefile (tests): Add tst-checks.
51904 * inet/tst-checks.c: New file.
51906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51909 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51912 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51913 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51915 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51917 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51919 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51922 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51924 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51927 conditional on GCC version.
51928 (__arch_compare_and_exchange_val_8_acq)
51929 (__arch_compare_and_exchange_val_16_acq)
51930 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51931 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51932 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51934 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51936 * sysdeps/sh/backtrace.c: New file.
51938 2011-12-02 Andreas Schwab <schwab@redhat.com>
51940 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51943 2011-12-01 Andreas Schwab <schwab@redhat.com>
51945 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51946 falling back to utime.
51948 2011-11-30 Andreas Schwab <schwab@redhat.com>
51950 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51951 expectations for float.
51953 2011-11-29 Andreas Schwab <schwab@redhat.com>
51955 * locale/weight.h (findidx): Add parameter len.
51956 * locale/weightwc.h (findidx): Likewise.
51957 * posix/fnmatch_loop.c (FCT): Adjust caller.
51958 * posix/regcomp.c (build_equiv_class): Likewise.
51959 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51960 * posix/regexec.c (check_node_accept_bytes): Likewise.
51961 * string/strcoll_l.c (STRCOLL): Likewise.
51962 * string/strxfrm_l.c (STRXFRM): Likewise.
51964 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51966 * Makefile.in: Remove CVSOPT handling.
51967 * configure.in: Remove use of AC_REVISION.
51968 * iconvdata/Makefile (distribute): No need to filter out CVS.
51969 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51972 2011-11-16 Andreas Schwab <schwab@redhat.com>
51974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51975 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51976 [USE_AS_STRNCASECMP_L]: Likewise.
51977 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51978 NO_TLS_DIRECT_SEG_REFS.
51979 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51980 Fix argument offsets for non-PIC.
51981 [USE_AS_STRNCASECMP_L]: Likewise.
51982 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51983 NO_TLS_DIRECT_SEG_REFS.
51985 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51987 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51989 * locale/loadlocale.c (_nl_load_locale): Likewise.
51991 2011-11-15 Andreas Schwab <schwab@redhat.com>
51993 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51994 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51996 (SYSCALL_GETTIME): Set errno on error.
51998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51999 count references to noai6ai_cached.
52001 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52003 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52005 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52006 FD_CLOEXEC for /proc/self/maps.
52008 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52009 FD_CLOEXEC for /proc/meminfo.
52011 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52014 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52015 FD_CLOEXEC for given file.
52017 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52019 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52020 FD_CLOEXEC for /etc/hosts.
52021 (_gethtent): Likewise.
52023 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52025 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52026 cancellation and set FD_CLOEXEC for /etc/netgroup.
52028 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52029 reading /etc/publickey.
52031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52032 allow cancellation when reading /etc/group.
52034 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52036 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52038 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52039 when using data file.
52041 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52043 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52044 (write_nis_obj): Use "c" and "e" in fopen.
52046 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52048 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52050 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52052 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52054 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52057 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52059 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52061 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52063 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52064 file parsing and set FD_CLOEXEC.
52066 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52068 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52070 2011-11-14 Andreas Schwab <schwab@redhat.com>
52072 * malloc/arena.c (arena_get2): Don't call reused_arena when
52073 _int_new_arena failed.
52075 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52077 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52078 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52079 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52080 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52082 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52083 to compile strcasecmp and strncasecmp.
52084 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52085 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52089 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52092 locale-defines.sym to gen-as-const-headers.
52093 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52094 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52095 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52096 to compile strcasecmp and strncasecmp.
52097 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52098 strcasecmp_l and strncasecmp_l.
52099 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52100 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52101 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52102 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52103 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52105 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52106 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52107 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52108 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52109 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52111 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52113 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52114 result of SYSDEP_GETTIME_CPU to retval.
52115 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52116 parameter list to macro. Remove trailing semicolon. Adjust users.
52118 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52121 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52123 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52126 from unused variable.
52128 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52130 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52133 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52136 * sunrpc/rpc_prot.c (rejected): Fix case value.
52138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52139 unsigned long long int to avoid warnings in shift.
52141 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52143 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52146 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52147 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52150 * nis/nis_table.c (nis_list): Use variable of correct type for
52151 result of __follow_path call.
52153 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52155 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52156 of math functions ceil, trunc, floor, round, and sqrt, when
52157 avaliable on the platform.
52158 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52160 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52161 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52162 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52164 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52166 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52167 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52169 2011-11-11 Roland McGrath <roland@hack.frob.com>
52171 * include/unistd.h: Fix __readlink return type.
52172 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52174 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52176 * stdlib/ucontext.h: Undo last change for makecontext.
52178 2011-11-11 Andreas Schwab <schwab@redhat.com>
52180 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52182 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52183 * setjmp/setjmp.h: Mark functions as non-leaf.
52184 * setjmp/bits/setjmp2.h: Likewise.
52185 * stdlib/ucontext.h: Likewise.
52187 2011-11-10 Andreas Schwab <schwab@redhat.com>
52189 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52190 (reused_arena): Don't check arena limit.
52191 (arena_get2): Atomically check arena limit.
52193 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52195 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52196 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52201 2011-11-07 Andreas Schwab <schwab@redhat.com>
52203 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52204 handler when locking.
52206 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52207 Fix size of allocated buffer.
52209 2011-11-04 Andreas Schwab <schwab@redhat.com>
52212 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52213 declarations for long double functions.
52214 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52216 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52218 2011-11-03 Andreas Schwab <schwab@redhat.com>
52220 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52223 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52226 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52228 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52230 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52232 * include/alloca.h (stackinfo_alloca_round): Define.
52233 (extend_alloca): Use it.
52234 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52235 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52238 * scripts/check-local-headers.sh: Ignore libaudit.h.
52240 * nscd/Makefile (extra-objs): Make recursively expanded.
52242 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52244 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52247 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52248 * posix/tst-rfc3484-2.c: Likewise.
52249 * posix/tst-rfc3484-3.c: Likewise.
52251 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52253 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52255 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52256 process_vm_writev from libc using GLIBC_2.15 version.
52258 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52260 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52262 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52265 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52268 * nss/getent.c (initgroups_keys): Show error message in case no group
52271 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52272 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52273 __bump_nl_timestamp.
52274 * nscd/connections (nscd_init): When host database is served open
52275 netlink socket and request notification about configuration changes.
52276 (main_loop_poll): Track netlink file descriptor and bump timestamp
52277 in case data becomes available.
52278 (main_loop_epoll): Likewise.
52279 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52280 (database_pers_head): Add extra_data fileds.
52281 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52282 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52283 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52285 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52286 in6ai data, call __free_in6ai.
52287 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52288 Add -DHAVE_NETLINK.
52289 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52290 interface information. Reuse previous data if netlink timestamp
52292 (__bump_nl_timestamp): New function.
52293 (__free_in6ai): New function.
52295 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52298 close_not_cancel_no_status here.
52299 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52301 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52304 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52307 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52308 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52309 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52311 2011-07-03 Andreas Jaeger <aj@suse.de>
52314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52315 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52316 * math/libm-test.inc (sin_test): Add test case.
52318 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52321 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52322 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52324 * elf/chroot_canon.c (chroot_canon): Cleanups.
52326 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52329 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52330 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52332 * string/test-strchr.c: Make usable for strchrnul testing.
52333 * string/test-strchrnul.c: New file.
52334 * string/Makefile (strop-tests): Add strchrnul.
52336 * po/it.po: Update from translation team.
52337 * po/es.po: Likewise.
52339 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52341 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52342 the three constants needed as parameters. Drop the others.
52343 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52344 __m128i_strloadu_tolower.
52345 Create and initialize variable zero and use it in all the places
52346 where _mm_setzero_si128 was used.
52348 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52349 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52350 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52353 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52354 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52355 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52356 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52357 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52358 __mpranred, __mptan.
52359 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52360 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52361 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52362 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52363 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52364 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52366 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52367 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52369 2011-10-28 Andreas Schwab <schwab@redhat.com>
52371 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52372 redefine if SHARED.
52373 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52376 wide char related routines to wcsmbs subdir.
52378 2011-10-27 Andreas Schwab <schwab@redhat.com>
52381 * misc/sys/cdefs.h (__THROWNL): Define.
52382 * posix/unistd.h: Use __THREADNL instead of __THREAD
52383 for memory synchronization functions.
52385 2011-10-26 Roland McGrath <roland@hack.frob.com>
52388 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52390 * manual/stdio.texi (Obstack Streams): Node removed.
52392 2011-10-26 Andreas Schwab <schwab@redhat.com>
52394 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52395 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52398 * math/math_private.h (math_force_eval): Allow non-addressable
52400 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52402 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52404 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52405 file is not needed.
52407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52414 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52416 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52417 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52418 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52419 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52420 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52421 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52422 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52424 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52425 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52426 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52427 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52429 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52430 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52431 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52432 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52433 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52434 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52436 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52437 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52439 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52440 place. Use VEX encoding when compiling for AVX.
52442 2011-10-25 Andreas Schwab <schwab@redhat.com>
52444 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52447 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52449 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52451 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52452 useless if() expression.
52453 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52455 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52456 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52459 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52460 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52461 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52462 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52463 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52465 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52467 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52471 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52473 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52475 2011-10-25 Andreas Schwab <schwab@redhat.com>
52477 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52481 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52483 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52484 .text section. Avoid duplicate constants.
52485 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52493 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52494 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52495 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52496 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52497 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52498 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52501 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52502 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52503 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52505 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52506 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52512 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52513 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52515 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52516 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52517 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52518 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52519 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52520 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52521 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52522 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52523 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52524 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52525 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52531 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52533 * sysdeps/x86_64/dla.h: Move to ...
52534 * sysdeps/x86_64/fpu/dla.h: ...here.
52535 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52536 situations. Use __builtin_fma only for gcc 4.6 and up.
52538 * config.make.in: Add have-mfma4 entry.
52539 * configure.in: Substitute libc_cv_cc_fma4.
52540 * math/Makefile (dbl-only-routines): Add sincostab.
52541 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52542 Use __sincostab not sincos.
52543 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52550 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52551 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52552 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52553 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52556 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52558 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52559 define aliases when function name is a macro.
52560 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52561 sysdeps/ieee754/dbl-64/sincos.tbl.
52562 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52563 fma4-enabled routines.
52564 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52565 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52566 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52567 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52569 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52570 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52571 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52572 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52574 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52575 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52576 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52577 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52578 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52579 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52580 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52581 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52582 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52583 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52584 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52585 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52586 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52587 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52589 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52590 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52591 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52593 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52595 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52597 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52606 2011-10-24 Andreas Schwab <schwab@redhat.com>
52608 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52610 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52612 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52616 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52618 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52619 Remove unused variable magic_bits.
52620 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52622 * string/strnlen.c: Define and use STRNLEN macro.
52623 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52624 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52626 * wcsmbs/wcslen.c: Define and use WCSLEN.
52627 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52628 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52629 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52630 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52631 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52632 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52633 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52635 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52638 strnlen-sse2-no-bsf.
52639 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52641 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52642 Add strnlen support.
52643 (USE_AS_STRNLEN): New macro.
52644 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52646 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52647 * sysdeps/x86_64/wcslen.S: New file.
52649 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52652 XMM-moves are used for copying on small sizes.
52654 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52656 * wcsmbs/Makefile (strop-tests): Add wcschr.
52657 * wcsmbs/test-wcschr.c: New file.
52658 * string/test-strchr.c: Update.
52659 Add wcschr support.
52662 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52664 * wcsmbs/Makefile (strop-tests): Add wcslen.
52665 * wcsmbs/test-wcslen.c: New file.
52666 * string/test-strlen.c: Update.
52667 Add wcslen support.
52670 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52672 * po/it.po: Update from translation team.
52674 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52676 * sysdeps/x86_64/wcscmp.S: Update.
52677 Fix wrong comparison semantics.
52678 wcscmp shall use signed comparison not unsigned.
52679 Don't use substraction to avoid overflow bug.
52680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52681 * wcsmbc/wcscmp.c: Likewise.
52682 * string/test-strcmp.c: Likewise.
52683 Add new tests to check cases with negative values.
52685 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52687 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52688 * sysdeps/x86_64/dla.h: ...here. New file.
52689 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52694 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52695 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52699 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52702 __ynl_finite aliases.
52704 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52708 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52710 [DLA_FMA] (EMULV): Use DLA_FMA.
52711 [DLA_FMA] (MUL12): Use EMULV.
52712 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52713 that are not needed.
52714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52722 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52724 * math/s_nan.c: Undef __nan.
52725 * math/s_nanf.c: Undef __nanf.
52726 * math/s_nanl.c: Undef __nanl.
52727 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52730 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52732 * math/s_catan.c: Add branch predictions.
52733 * math/s_catanf.c: Likewise.
52734 * math/s_catanh.c: Likewise.
52735 * math/s_catanhf.c: Likewise.
52736 * math/s_catanhl.c: Likewise.
52737 * math/s_catanl.c: Likewise.
52738 * math/s_cexp.c: Likewise.
52739 * math/s_cexpf.c: Likewise.
52740 * math/s_cexpl.c: Likewise.
52741 * math/s_clog.c: Likewise.
52742 * math/s_clog10.c: Likewise.
52743 * math/s_clog10f.c: Likewise.
52744 * math/s_clog10l.c: Likewise.
52745 * math/s_clogf.c: Likewise.
52746 * math/s_clogl.c: Likewise.
52747 * math/s_csqrt.c: Likewise.
52748 * math/s_csqrtf.c: Likewise.
52749 * math/s_csqrtl.c: Likewise.
52750 * math/s_ctanf.c: Likewise.
52751 * math/s_ctanh.c: Likewise.
52752 * math/s_ctanhf.c: Likewise.
52753 * math/s_ctanhl.c: Likewise.
52754 * math/s_ctanl.c: Likewise.
52756 * math/math_private.h: Define __nan, __nanf, __nanl.
52757 * math/s_cacosh.c: Include <math_private.h>.
52758 * math/s_cacoshl.c: Likewise.
52759 * math/s_casinh.c: Likewise.
52760 * math/s_casinhf.c: Likewise.
52761 * math/s_casinhl.c: Likewise.
52762 * math/s_ccos.c: Rely entire on ccosh.
52763 * math/s_ccosf.c: Rely entire on ccoshf.
52764 * math/s_ccosl.c: Rely entirely on ccoshl.
52765 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52766 Remove tests for FE_INVALID.
52767 * math/s_ccoshf.c: Likewise.
52768 * math/s_ccoshl.c: Likewise.
52769 * math/s_csin.c: Likewise.
52770 * math/s_csinf.c: Likewise.
52771 * math/s_csinh.c Likewise.
52772 * math/s_csinhf.c: Likewise.
52773 * math/s_csinhl.c: Likewise.
52774 * math/s_csinl.c: Likewise.
52775 * math/s_ctan.c: Likewise.
52776 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52777 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52778 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52780 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52783 compilation problems.
52785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52788 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52790 * sysdeps/i386/configure.in: Test for -mfma4 option.
52791 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52792 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52793 COMMON_CPUID_INDEX_80000001.
52794 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52795 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52796 use it if FMA3 is not supported.
52797 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52799 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52800 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52802 2011-10-20 Andreas Schwab <schwab@redhat.com>
52805 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52806 it would create a cycle with a link time dependency.
52808 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52810 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52812 * string/Makefile (strop-tests): Add rawmemchr.
52813 * string/test-rawmemchr.c: New file.
52815 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52817 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52818 when compiling str{,n}casecmp and when AVX is available. Hook up
52819 new optimized code in initializers.
52821 2011-10-19 Andreas Schwab <schwab@redhat.com>
52823 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52824 __feraiseexcept instead of feraiseexcept.
52826 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52828 * math/math_private.h: Define defaults for libc_fetestexcept and
52830 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52831 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52832 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52834 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52836 libc_fetestexcept and libc_feupdateenv.
52838 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52839 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52840 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52841 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52842 libc_feholdexcept_setround.
52844 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52845 Add s_nearbyint-c and s_nearbyintf-c.
52846 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52847 nearbyintf inlines.
52848 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52850 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52853 * math/math_private.h: Define defaults for libc_fegetround,
52854 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52855 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52856 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52858 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52859 standard functions.
52860 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52861 Remove comments and hacks for old compiler versions.
52862 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52863 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52864 libc_feholdexceptl.
52866 2011-10-18 Andreas Schwab <schwab@redhat.com>
52868 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52869 (__feraiseexcept_renamed): Add __NTH.
52870 (feraiseexcept): Add __NTH. Rename local variables to fix
52871 namespace violations.
52873 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52875 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52879 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52880 recently added interfaces.
52881 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52883 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52884 about macro parameter expansion.
52886 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52887 __NO_MATH_INLINES is defined. Cleanups.
52889 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52890 and __floorf is target has SSE4.1.
52891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52893 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52894 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52896 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52898 (floorf): Likewise.
52900 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52902 2011-10-17 Andreas Schwab <schwab@redhat.com>
52904 * misc/sys/cdefs.h: Fix last change.
52906 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52909 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52911 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52913 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52916 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52918 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52919 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52920 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52921 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52922 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52923 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52924 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52925 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52926 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52927 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52928 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52930 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52931 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52932 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52933 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52934 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52936 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52937 ceil, ceilf, floor, floorf.
52939 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52940 Perform IRELATIVE relocations last.
52942 * elf/do-rel.h: Add another parameter nrelative, replacing the
52943 local variable with the same name. Change name of the function
52944 to end in Rel or Rela (uppercase).
52945 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52946 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52947 elf_dynamic_do_##reloc function.
52949 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52951 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52952 is sufficient, at least on modern CPUs.
52954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52956 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52957 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52959 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52961 * math/bits/math-finite.h: Add entries for exp.
52962 * math/e_expl.c: Add __*_finite alias.
52963 * sysdeps/i386/fpu/e_exp.S: Likewise.
52964 * sysdeps/i386/fpu/e_expf.S: Likewise.
52965 * sysdeps/i386/fpu/e_expl.c: Likewise.
52966 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52968 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52970 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52971 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52972 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52974 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52975 is sufficient, at least on modern CPUs.
52977 * ctype/ctype-info.c (__ctype_init): Define.
52978 * include/ctype.h (__ctype_init): Declare.
52979 (__ctype_b_loc): The variable is always initialized.
52980 (__ctype_toupper_loc): Likewise.
52981 (__ctype_tolower_loc): Likewise.
52982 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52983 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52985 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52987 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52989 * configure.in: Also look in $cxxmachine/include for C++ system
52992 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52994 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52995 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52996 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52997 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52999 (USE_AS_WMEMCMP): New macro.
53001 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53002 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53003 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53004 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53006 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53007 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53008 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53009 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53010 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53012 (USE_AS_WMEMCMP): New macro.
53013 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53014 * sysdeps/string/test-memcmp.c: Update.
53015 Fix simple_wmemcmp.
53017 * wcsmbs/wmemcmp.c: Update.
53018 (WMEMCMP): New macro.
53021 2011-10-12 Andreas Jaeger <aj@suse.de>
53024 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53026 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53028 * libio/iofwide.c (do_length): Avoid warning.
53030 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53032 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53034 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53036 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53037 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53038 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53039 * sysdeps/i386/i686/fpu/e_log.S: New file.
53040 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53041 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53043 * ctype/ctype.h: Add support for inlined isXXX functions when
53044 compiling C++ code.
53046 2011-10-14 Andreas Schwab <schwab@redhat.com>
53048 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53050 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53052 2011-10-13 Roland McGrath <roland@hack.frob.com>
53055 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53057 2011-10-13 Andreas Schwab <schwab@redhat.com>
53059 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53060 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53063 * sysdeps/x86_64/memrchr.S: Check for zero size.
53065 * string/stratcliff.c: Add memrchr tests.
53067 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53070 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53071 rawmemchr-sse2 rawmemchr-sse2-bsf.
53072 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53073 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53074 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53075 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53076 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53077 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53078 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53079 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53080 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53082 * string/memrchr.c (MEMRCHR): New macro.
53084 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53086 Add integration with gcc's -ffinite-math-only and optimize wrapper
53088 * Versions.def: Define GLIBC_2.15 version for libm.
53089 * math/Makefile (headers): Add bits/math-finite.h.
53090 * math/bits/math-finite.h: New file.
53091 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53092 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53093 * math/e_acoshl.c: Add __*_finite alias.
53094 * math/e_acosl.c: Likewise.
53095 * math/e_asinl.c: Likewise.
53096 * math/e_atan2l.c: Likewise.
53097 * math/e_atanhl.c: Likewise.
53098 * math/e_coshl.c: Likewise.
53099 * math/e_exp10.c: Likewise.
53100 * math/e_exp10f.c: Likewise.
53101 * math/e_exp10l.c: Likewise.
53102 * math/e_exp2l.c: Likewise.
53103 * math/e_fmodl.c: Likewise.
53104 * math/e_gammal_r.c: Likewise.
53105 * math/e_hypotl.c: Likewise.
53106 * math/e_j0l.c: Likewise.
53107 * math/e_j1l.c: Likewise.
53108 * math/e_jnl.c: Likewise.
53109 * math/e_lgammal_r.c: Likewise.
53110 * math/e_log10l.c: Likewise.
53111 * math/e_log2l.c: Likewise.
53112 * math/e_logl.c: Likewise.
53113 * math/e_powl.c: Likewise.
53114 * math/e_sinhl.c: Likewise.
53115 * math/e_sqrtl.c: Likewise.
53116 * math/e_scalb.c: Completely rewritten and optimized.
53117 * math/e_scalbf.c: Likewise.
53118 * math/e_scalbl.c: Likewise.
53119 * math/w_acos.c: Likewise.
53120 * math/w_acosf.c: Likewise.
53121 * math/w_acosl.c: Likewise.
53122 * math/w_acosh.c: Likewise.
53123 * math/w_acoshf.c: Likewise.
53124 * math/w_acoshl.c: Likewise.
53125 * math/w_asin.c: Likewise.
53126 * math/w_asinf.c: Likewise.
53127 * math/w_asinl.c: Likewise.
53128 * math/w_atan2.c: Likewise.
53129 * math/w_atan2f.c: Likewise.
53130 * math/w_atan2l.c: Likewise.
53131 * math/w_atanh.c: Likewise.
53132 * math/w_atanhf.c: Likewise.
53133 * math/w_atanhl.c: Likewise.
53134 * math/w_exp10.c: Likewise.
53135 * math/w_exp10f.c: Likewise.
53136 * math/w_exp10l.c: Likewise.
53137 * math/w_fmod.c: Likewise.
53138 * math/w_fmodf.c: Likewise.
53139 * math/w_fmodl.c: Likewise.
53140 * math/w_j0.c: Likewise.
53141 * math/w_j0f.c: Likewise.
53142 * math/w_j0l.c: Likewise.
53143 * math/w_j1.c: Likewise.
53144 * math/w_j1f.c: Likewise.
53145 * math/w_j1l.c: Likewise.
53146 * math/w_jn.c: Likewise.
53147 * math/w_jnf.c: Likewise.
53148 * math/w_log.c: Likewise.
53149 * math/w_logf.c: Likewise.
53150 * math/w_logl.c: Likewise.
53151 * math/w_log10.c: Likewise.
53152 * math/w_log10f.c: Likewise.
53153 * math/w_log10l.c: Likewise.
53154 * math/w_log2.c: Likewise.
53155 * math/w_log2f.c: Likewise.
53156 * math/w_log2l.c: Likewise.
53157 * math/w_pow.c: Likewise.
53158 * math/w_powf.c: Likewise.
53159 * math/w_powl.c: Likewise.
53160 * math/w_remainder.c: Likewise.
53161 * math/w_remainderf.c: Likewise.
53162 * math/w_remainderl.c: Likewise.
53163 * math/w_scalb.c: Likewise.
53164 * math/w_scalbf.c: Likewise.
53165 * math/w_scalbl.c: Likewise.
53166 * math/w_sqrt.c: Likewise.
53167 * math/w_sqrtf.c: Likewise.
53168 * math/w_sqrtl.c: Likewise.
53169 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53170 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53172 * math/math_private.h: Declare __kernel_standard_f.
53173 * math/w_cosh.c: Remove cruft and optimize a bit.
53174 * math/w_coshf.c: Likewise.
53175 * math/w_coshl.c: Likewise.
53176 * math/w_exp2.c: Likewise.
53177 * math/w_exp2f.c: Likewise.
53178 * math/w_exp2l.c: Likewise.
53179 * math/w_hypot.c: Likewise.
53180 * math/w_hypotf.c: Likewise.
53181 * math/w_hypotl.c: Likewise.
53182 * math/w_lgamma.c: Likewise.
53183 * math/w_lgamma_r.c: Likewise.
53184 * math/w_lgammaf.c: Likewise.
53185 * math/w_lgammaf_r.c: Likewise.
53186 * math/w_lgammal.c: Likewise.
53187 * math/w_lgammal_r.c: Likewise.
53188 * math/w_sinh.c: Likewise.
53189 * math/w_sinhf.c: Likewise.
53190 * math/w_sinhl.c: Likewise.
53191 * math/w_tgamma.c: Likewise.
53192 * math/w_tgammaf.c: Likewise.
53193 * math/w_tgammal.c: Likewise.
53194 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53195 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53196 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53197 Minor optimizations. Pretty printing. Remove cruft.
53198 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53200 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53202 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53203 * sysdeps/i386/fpu/e_asin.S: Likewise.
53204 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53205 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53206 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53207 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53208 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53211 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53212 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53213 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53214 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53215 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53216 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53217 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53218 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53219 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53220 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53221 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53222 * sysdeps/i386/fpu/e_log.S: Likewise.
53223 * sysdeps/i386/fpu/e_log10.S: Likewise.
53224 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53225 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53226 * sysdeps/i386/fpu/e_log2.S: Likewise.
53227 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53229 * sysdeps/i386/fpu/e_logf.S: Likewise.
53230 * sysdeps/i386/fpu/e_logl.S: Likewise.
53231 * sysdeps/i386/fpu/e_pow.S: Likewise.
53232 * sysdeps/i386/fpu/e_powf.S: Likewise.
53233 * sysdeps/i386/fpu/e_powl.S: Likewise.
53234 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53235 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53236 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53237 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53238 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53240 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53241 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53242 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53244 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53246 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53247 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53248 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53249 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53250 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53254 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53256 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53257 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53258 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53259 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53260 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53261 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53263 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53264 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53265 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53267 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53269 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53270 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53271 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53281 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53282 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53283 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53284 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53285 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53286 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53287 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53288 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53289 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53290 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53291 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53292 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53293 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53294 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53295 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53296 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53297 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53298 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53299 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53300 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53301 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53302 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53303 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53304 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53307 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53309 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53313 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53317 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53319 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53320 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53322 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53323 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53324 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53325 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53336 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53337 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53338 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53339 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53340 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53341 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53342 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53343 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53344 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53345 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53346 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53347 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53348 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53349 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53350 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53351 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53352 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53353 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53354 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53355 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53356 (__isnanf): Likewise.
53357 (__isinf_ns): Likewise.
53358 (__isinf_nsf): Likewise.
53359 (__finite): Likewise.
53360 (__finitef): Likewise.
53361 (__ieee754_sqrt): Define as macro.
53362 (__ieee754_sqrtf): Define as macro.
53363 (__ieee754_sqrtl): Define as macro.
53364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53366 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53367 __FINITE_MATH_ONLY__ consistent.
53368 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53370 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53372 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53375 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53377 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53379 * po/ja.po: Update from translation team.
53381 2011-10-08 Roland McGrath <roland@hack.frob.com>
53383 * locale/programs/locarchive.c (prepare_address_space): New function.
53384 (create_archive, enlarge_archive, open_archive): Use it.
53386 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53387 inside [SHARED], where it is used.
53389 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53391 * nss/getent.c (netgroup_keys): Remove unused variable.
53392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53394 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53396 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53399 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53400 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53402 * math/Makefile (libm-calls): Add s_isinf_ns.
53403 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53404 * math/multc3.c: Likewise.
53405 * math/s_casin.c: Likewise.
53406 * math/s_casinf.c: Likewise.
53407 * math/s_casinl.c: Likewise.
53408 * math/s_ccos.c: Likewise.
53409 * math/s_ccosf.c: Likewise.
53410 * math/s_ccosl.c: Likewise.
53411 * math/s_ctan.c: Likewise.
53412 * math/s_ctanf.c: Likewise.
53413 * math/s_ctanh.c: Likewise.
53414 * math/s_ctanhf.c: Likewise.
53415 * math/s_ctanhl.c: Likewise.
53416 * math/s_ctanl.c: Likewise.
53417 * math/w_fmod.c: Likewise.
53418 * math/w_fmodf.c: Likewise.
53419 * math/w_fmodl.c: Likewise.
53420 * math/w_remainder.c: Likewise.
53421 * math/w_remainderf.c: Likewise.
53422 * math/w_remainderl.c: Likewise.
53423 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53424 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53427 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53428 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53429 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53430 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53432 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53434 * stdio-common/printf_fphex.c: Likewise.
53435 * stdio-common/printf_size.c: Likewise.
53437 * math/e_exp10.c: Include math_private.h using <...> not "...".
53438 * math/e_exp10f.c: Likewise.
53439 * math/e_exp10l.c: Likewise.
53440 * math/e_exp2l.c: Likewise.
53441 * math/e_j0l.c: Likewise.
53442 * math/e_j1l.c: Likewise.
53443 * math/e_jnl.c: Likewise.
53444 * math/e_lgammal_r.c: Likewise.
53445 * math/e_rem_pio2l.c: Likewise.
53446 * math/e_scalb.c: Likewise.
53447 * math/e_scalbf.c: Likewise.
53448 * math/e_scalbl.c: Likewise.
53449 * math/k_cosl.c: Likewise.
53450 * math/k_sinl.c: Likewise.
53451 * math/k_tanl.c: Likewise.
53452 * math/s_cacoshf.c: Likewise.
53453 * math/s_catan.c: Likewise.
53454 * math/s_catanf.c: Likewise.
53455 * math/s_catanh.c: Likewise.
53456 * math/s_catanhf.c: Likewise.
53457 * math/s_catanhl.c: Likewise.
53458 * math/s_catanl.c: Likewise.
53459 * math/s_ccosh.c: Likewise.
53460 * math/s_ccoshf.c: Likewise.
53461 * math/s_ccoshl.c: Likewise.
53462 * math/s_cexp.c: Likewise.
53463 * math/s_cexpf.c: Likewise.
53464 * math/s_cexpl.c: Likewise.
53465 * math/s_clog.c: Likewise.
53466 * math/s_clog10.c: Likewise.
53467 * math/s_clog10f.c: Likewise.
53468 * math/s_clog10l.c: Likewise.
53469 * math/s_clogf.c: Likewise.
53470 * math/s_clogl.c: Likewise.
53471 * math/s_csin.c: Likewise.
53472 * math/s_csinf.c: Likewise.
53473 * math/s_csinh.c: Likewise.
53474 * math/s_csinhf.c: Likewise.
53475 * math/s_csinhl.c: Likewise.
53476 * math/s_csinl.c: Likewise.
53477 * math/s_csqrt.c: Likewise.
53478 * math/s_csqrtf.c: Likewise.
53479 * math/s_csqrtl.c: Likewise.
53480 * math/s_ctan.c: Likewise.
53481 * math/s_ctanf.c: Likewise.
53482 * math/s_ctanh.c: Likewise.
53483 * math/s_ctanhf.c: Likewise.
53484 * math/s_ctanhl.c: Likewise.
53485 * math/s_ctanl.c: Likewise.
53486 * math/s_ldexp.c: Likewise.
53487 * math/s_ldexpf.c: Likewise.
53488 * math/s_ldexpl.c: Likewise.
53489 * math/s_significand.c: Likewise.
53490 * math/s_significandf.c: Likewise.
53491 * math/s_significandl.c: Likewise.
53492 * math/w_acos.c: Likewise.
53493 * math/w_acosf.c: Likewise.
53494 * math/w_acosh.c: Likewise.
53495 * math/w_acoshf.c: Likewise.
53496 * math/w_acoshl.c: Likewise.
53497 * math/w_acosl.c: Likewise.
53498 * math/w_asin.c: Likewise.
53499 * math/w_asinf.c: Likewise.
53500 * math/w_asinl.c: Likewise.
53501 * math/w_atan2.c: Likewise.
53502 * math/w_atan2f.c: Likewise.
53503 * math/w_atan2l.c: Likewise.
53504 * math/w_atanh.c: Likewise.
53505 * math/w_atanhf.c: Likewise.
53506 * math/w_atanhl.c: Likewise.
53507 * math/w_cosh.c: Likewise.
53508 * math/w_coshf.c: Likewise.
53509 * math/w_coshl.c: Likewise.
53510 * math/w_dremf.c: Likewise.
53511 * math/w_exp10.c: Likewise.
53512 * math/w_exp10f.c: Likewise.
53513 * math/w_exp10l.c: Likewise.
53514 * math/w_exp2.c: Likewise.
53515 * math/w_exp2f.c: Likewise.
53516 * math/w_fmod.c: Likewise.
53517 * math/w_fmodf.c: Likewise.
53518 * math/w_fmodl.c: Likewise.
53519 * math/w_hypot.c: Likewise.
53520 * math/w_hypotf.c: Likewise.
53521 * math/w_hypotl.c: Likewise.
53522 * math/w_j0.c: Likewise.
53523 * math/w_j0f.c: Likewise.
53524 * math/w_j0l.c: Likewise.
53525 * math/w_j1.c: Likewise.
53526 * math/w_j1f.c: Likewise.
53527 * math/w_j1l.c: Likewise.
53528 * math/w_jn.c: Likewise.
53529 * math/w_jnf.c: Likewise.
53530 * math/w_jnl.c: Likewise.
53531 * math/w_lgamma.c: Likewise.
53532 * math/w_lgamma_r.c: Likewise.
53533 * math/w_lgammaf.c: Likewise.
53534 * math/w_lgammaf_r.c: Likewise.
53535 * math/w_lgammal.c: Likewise.
53536 * math/w_lgammal_r.c: Likewise.
53537 * math/w_log.c: Likewise.
53538 * math/w_log10.c: Likewise.
53539 * math/w_log10f.c: Likewise.
53540 * math/w_log10l.c: Likewise.
53541 * math/w_log2.c: Likewise.
53542 * math/w_log2f.c: Likewise.
53543 * math/w_log2l.c: Likewise.
53544 * math/w_logf.c: Likewise.
53545 * math/w_logl.c: Likewise.
53546 * math/w_pow.c: Likewise.
53547 * math/w_powf.c: Likewise.
53548 * math/w_powl.c: Likewise.
53549 * math/w_remainder.c: Likewise.
53550 * math/w_remainderf.c: Likewise.
53551 * math/w_remainderl.c: Likewise.
53552 * math/w_scalb.c: Likewise.
53553 * math/w_scalbf.c: Likewise.
53554 * math/w_scalbl.c: Likewise.
53555 * math/w_sinh.c: Likewise.
53556 * math/w_sinhf.c: Likewise.
53557 * math/w_sinhl.c: Likewise.
53558 * math/w_sqrt.c: Likewise.
53559 * math/w_sqrtf.c: Likewise.
53560 * math/w_sqrtl.c: Likewise.
53561 * math/w_tgamma.c: Likewise.
53562 * math/w_tgammaf.c: Likewise.
53563 * math/w_tgammal.c: Likewise.
53565 * po/ja.po: Update from translation team.
53567 2011-09-29 Andreas Jaeger <aj@suse.de>
53570 * sunrpc/netname.c (netname2host): Fix logic.
53574 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53576 * math/w_remainder.c (__remainder): Likewise.
53577 * math/w_remainderf.c (__remainderf): Likewise.
53578 * math/libm-test.inc (remainder_test): Add test cases.
53580 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53582 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53585 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53587 * string/test-memcmp.c: Avoid unncessary #defines.
53588 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53590 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53592 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53593 Use new sse2 version for core i3 - i7 as it's faster
53594 than sse42 version.
53595 (bit_Prefer_PMINUB_for_stringop): New.
53596 * sysdeps/x86_64/rawmemchr.S: Update.
53597 Replace with faster SSE2 version.
53598 * sysdeps/x86_64/memrchr.S: New file.
53599 * sysdeps/x86_64/memchr.S: Update.
53600 Replace with faster SSE2 version.
53602 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53604 * elf/dl-load.c (lose): Add cast to avoid warning.
53606 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53608 * po/ca.po: Update from translation team.
53610 * inet/getnetgrent_r.c: Hook up nscd.
53611 * nscd/Makefile (routines): Add nscd_netgroup.
53612 (nscd-modules): Add netgroupcache.
53613 (CFLAGS-netgroupcache.c): Define.
53614 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53615 (cache_search): Add const to second parameter.
53616 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53618 (dbs): Add netgrdb entry.
53619 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53620 (verify_persistent_db): Handle netgrdb.
53621 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53622 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53624 (netgroup_response_header): Define.
53625 (innetgroup_response_header): Define.
53626 (datahead): Add netgroup_response_header and innetgroup_response_header
53628 * nscd/nscd.conf: Add entries for netgroup cache.
53629 * nscd/nscd.h (dbtype): Add netgrdb.
53630 (_PATH_NSCD_NETGROUP_DB): Define.
53631 (netgroup_iov_disabled): Declare.
53632 (xmalloc, xcalloc, xrealloc): Move declarations here.
53633 (cache_search): Adjust prototype.
53634 Add netgroup-related prototypes.
53635 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53636 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53637 (__nscd_innetgr): Declare.
53638 * nscd/selinux.c (perms): Use access_vector_t as element type and
53639 add netgroup-related initializers.
53640 * nscd/netgroupcache.c: New file.
53641 * nscd/nscd_netgroup.c: New file.
53642 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53643 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53644 For four parameters use innetgr.
53645 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53646 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53647 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53648 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53650 * nscd/connections.c (register_traced_file): Don't register file
53651 for disabled databases.
53653 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53655 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53657 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53658 from tree and freeing node.
53660 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53662 * nss/nsswitch.c (__nss_database_lookup): Handle
53663 nss_parse_service_list out of memory case.
53665 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53667 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53668 out of memory case.
53670 2011-10-04 Andreas Schwab <schwab@redhat.com>
53672 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53673 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53675 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53676 elf_machine_rela, elf_machine_lazy_rel.
53677 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53678 (ELF_DYNAMIC_DO_REL): Likewise.
53679 (ELF_DYNAMIC_DO_RELA): Likewise.
53680 (ELF_DYNAMIC_RELOCATE): Likewise.
53681 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53682 to ELF_DYNAMIC_DO_REL.
53683 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53684 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53685 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53688 skip_ifunc, don't call ifunc function if non-zero.
53689 (elf_machine_rela): Likewise.
53690 (elf_machine_lazy_rel): Likewise.
53691 (elf_machine_lazy_rela): Likewise.
53692 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53693 (elf_machine_lazy_rel): Likewise.
53694 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53696 (elf_machine_lazy_rel): Likewise.
53697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53699 (elf_machine_lazy_rel): Likewise.
53700 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53701 (elf_machine_lazy_rel): Likewise.
53702 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53703 (elf_machine_lazy_rel): Likewise.
53704 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53705 (elf_machine_lazy_rel): Likewise.
53706 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53707 (elf_machine_lazy_rel): Likewise.
53708 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53709 (elf_machine_lazy_rel): Likewise.
53710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53711 (elf_machine_lazy_rel): Likewise.
53713 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53715 * nss/nss_files/files-init.c (_nss_files_init): Use static
53716 initialization for all the *_traced_file variables.
53718 2011-09-28 Andreas Schwab <schwab@redhat.com>
53720 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53722 2011-09-27 Roland McGrath <roland@hack.frob.com>
53725 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53727 2011-09-27 Andreas Schwab <schwab@redhat.com>
53729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53730 Reread the line before reparsing it.
53732 2011-09-26 Andreas Schwab <schwab@redhat.com>
53734 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53736 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53737 Maxim Kuvyrkov <maxim@codesourcery.com>
53738 Joseph Myers <joseph@codesourcery.com>
53740 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53741 if needed for __stack_chk_guard.
53743 2011-09-19 Roland McGrath <roland@hack.frob.com>
53745 * sysdeps/posix/spawni.c (script_execute): Always define it.
53746 It will be optimized away if unused.
53747 (maybe_script_execute): New function.
53748 (__spawni): Call it.
53750 * Makerules: Don't include tls.make.
53751 (config-tls): Always set to thread.
53752 * tls.make.c: File removed.
53754 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53756 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53757 * config.make.in (CPPFLAGS-config): New substituted variable.
53759 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53764 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53765 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53767 2011-09-15 Roland McGrath <roland@hack.frob.com>
53769 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53770 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53771 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53772 (CALL_FAIL): Likewise.
53773 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53774 (CALL_FAIL): Macro removed.
53775 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53777 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53780 for __FINITE_MATH_ONLY__ == 1.
53782 2011-09-15 Andreas Schwab <schwab@redhat.com>
53784 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53785 __ieee754_sqrt instead of sqrt.
53786 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53787 __ieee754_sqrtf instead of sqrtf.
53788 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53789 __floorf instead of floorf.
53790 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53791 __floorf, __truncf instead of floorf, truncf.
53793 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53795 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53797 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53798 __extern_always_inline.
53799 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53802 2011-09-14 Andreas Schwab <schwab@redhat.com>
53804 * elf/rtld.c (dl_main): Also relocate in dependency order when
53805 doing symbol dependency testing.
53807 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53810 Always define `refsym'.
53812 2011-09-13 Andreas Schwab <schwab@redhat.com>
53814 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53815 (__FD_ELT): Renamed from __FDELT.
53816 * misc/bits/select2.h (__FD_ELT): Likewise.
53817 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53818 __FD_MASK instead of __FDELT, __FDMASK.
53819 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53821 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53824 * elf/Makefile (gen-ldd): Fix pattern.
53826 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53827 (init_tls): Likewise.
53829 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53833 2011-09-12 Andreas Schwab <schwab@redhat.com>
53835 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53836 `struct cmsghdr *' instead of `void *'.
53837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53840 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53842 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53844 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53845 ldd_rewrite_script.
53847 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53849 * configure.in: Remove --with-tls option.
53850 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53851 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53852 out in case it is missing.
53853 * sysdeps/ia64/elf/configure.in: Likewise.
53854 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53855 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53856 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53857 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53858 * sysdeps/sh/elf/configure.in: Likewise.
53859 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53861 * sysdeps/x86_64/elf/configure.in: Likewise.
53862 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53863 * sysdeps/mach/hurd/tls.h: Likewise.
53866 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53869 * configure.in: Fix use of AC_INIT.
53871 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53873 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53875 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53877 * malloc/hooks.c: Likewise.
53880 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53881 variables statically.
53882 (narenas): Initialize.
53883 (list_lock): Initialize.
53884 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53885 initializtion of main_arena and list_lock. Small cleanups.
53886 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53887 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53888 Add initializers to main_arena and mp_.
53889 (malloc_state): Remove pagesize member. Change all users to use
53892 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53893 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53894 is always initialized.
53896 * malloc/malloc.c: Removed unused configurations and dead code.
53897 * malloc/arena.c: Likewise.
53898 * malloc/hooks.c: Likewise.
53899 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53901 * include/tls.h: Removed. USE___THREAD must always be defined.
53902 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53903 * elf/dl-libc.c: Likewise.
53904 * elf/dl-tsd.c: Likewise.
53905 * include/errno.h: Likewise.
53906 * include/netdb.h: Likewise.
53907 * include/resolv.h: Likewise.
53908 * inet/herrno-loc.c: Likewise.
53909 * inet/herrno.c: Likewise.
53910 * malloc/arena.c: Likewise.
53911 * malloc/hooks.c: Likewise.
53912 * malloc/malloc.c: Likewise.
53913 * resolv/res-state.c: Likewise.
53914 * resolv/res_libc.c: Likewise.
53915 * sysdeps/i386/dl-machine.h: Likewise.
53916 * sysdeps/ia64/dl-machine.h: Likewise.
53917 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53918 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53919 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53920 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53921 * sysdeps/sh/dl-machine.h: Likewise.
53922 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53924 * sysdeps/unix/i386/sysdep.S: Likewise.
53925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53926 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53931 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53935 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53936 * sysdeps/x86_64/dl-machine.h: Likewise.
53937 * tls.make.c: Likewise.
53939 * configure.in: Remove --with-__thread option. Make tests for
53940 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53941 tls_model attribute fail if no support is available. Remove
53943 * Makeconfig: Adjust for dropped configure option. All features are
53945 * Makerules: Likewise.
53946 * Versions.def: Likewise.
53947 * argp/argp-fmtstream.c: Likewise.
53948 * argp/argp-fmtstream.h: Likewise.
53949 * argp/argp-help.c: Likewise.
53950 * assert/assert.c: Likewise.
53951 * config.h.in: Likewise.
53952 * config.make.in: Likewise.
53953 * configure: Likewise.
53954 * configure.in: Likewise.
53955 * csu/Versions: Likewise.
53956 * csu/init.c: Likewise.
53957 * elf/tst-audit2.c: Likewise.
53958 * elf/tst-tls10.c: Likewise.
53959 * elf/tst-tls10.h: Likewise.
53960 * elf/tst-tls11.c: Likewise.
53961 * elf/tst-tls12.c: Likewise.
53962 * elf/tst-tls14.c: Likewise.
53963 * elf/tst-tlsmod11.c: Likewise.
53964 * elf/tst-tlsmod12.c: Likewise.
53965 * elf/tst-tlsmod13.c: Likewise.
53966 * elf/tst-tlsmod13a.c: Likewise.
53967 * elf/tst-tlsmod14a.c: Likewise.
53968 * elf/tst-tlsmod15b.c: Likewise.
53969 * elf/tst-tlsmod16a.c: Likewise.
53970 * elf/tst-tlsmod16b.c: Likewise.
53971 * elf/tst-tlsmod7.c: Likewise.
53972 * elf/tst-tlsmod8.c: Likewise.
53973 * elf/tst-tlsmod9.c: Likewise.
53974 * gmon/gmon.c: Likewise.
53975 * grp/fgetgrent_r.c: Likewise.
53976 * grp/putgrent.c: Likewise.
53977 * hurd/fopenport.c: Likewise.
53978 * include/libc-symbols.h: Likewise.
53979 * include/tls.h: Likewise.
53980 * intl/gettextP.h: Likewise.
53981 * intl/loadinfo.h: Likewise.
53982 * locale/global-locale.c: Likewise.
53983 * locale/localeinfo.h: Likewise.
53984 * mach/devstream.c: Likewise.
53985 * malloc/arena.c: Likewise.
53986 * malloc/set-freeres.c: Likewise.
53987 * misc/err.c: Likewise.
53988 * misc/getttyent.c: Likewise.
53989 * misc/mntent_r.c: Likewise.
53990 * posix/getopt.c: Likewise.
53991 * posix/wordexp.c: Likewise.
53992 * pwd/fgetpwent_r.c: Likewise.
53993 * resolv/Versions: Likewise.
53994 * resolv/res_hconf.c: Likewise.
53995 * shadow/fgetspent_r.c: Likewise.
53996 * shadow/putspent.c: Likewise.
53997 * stdio-common/printf_fphex.c: Likewise.
53998 * stdio-common/tmpfile.c: Likewise.
53999 * stdlib/abort.c: Likewise.
54000 * stdlib/fmtmsg.c: Likewise.
54001 * sunrpc/auth_unix.c: Likewise.
54002 * sunrpc/clnt_perr.c: Likewise.
54003 * sunrpc/clnt_tcp.c: Likewise.
54004 * sunrpc/clnt_udp.c: Likewise.
54005 * sunrpc/clnt_unix.c: Likewise.
54006 * sunrpc/openchild.c: Likewise.
54007 * sunrpc/svc_simple.c: Likewise.
54008 * sunrpc/svc_tcp.c: Likewise.
54009 * sunrpc/svc_udp.c: Likewise.
54010 * sunrpc/svc_unix.c: Likewise.
54011 * sunrpc/xdr.c: Likewise.
54012 * sunrpc/xdr_array.c: Likewise.
54013 * sunrpc/xdr_rec.c: Likewise.
54014 * sunrpc/xdr_ref.c: Likewise.
54015 * sunrpc/xdr_stdio.c: Likewise.
54017 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54019 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54021 2011-07-03 Andreas Jaeger <aj@suse.de>
54023 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54024 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54025 regenerate with gen-libm-tests.pl.
54027 2010-05-12 Petr Baudis <pasky@suse.cz>
54030 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54031 around j0() zero points by switching to j1().
54032 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54033 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54035 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54037 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54039 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54041 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54044 Patch in part by Pavel Roskin <proski@gnu.org>.
54047 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54049 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54050 Free memory block if necessary.
54053 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54054 be NULL. Don't lock in this case.
54056 2011-09-09 Roland McGrath <roland@hack.frob.com>
54058 * elf/elf.h (ELFOSABI_GNU): New macro.
54059 (ELFOSABI_LINUX): Define to that.
54061 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54063 * string/strncat.c (strncat): Undef the symbol in case it has been
54064 defined in bits/string.h.
54066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54068 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54073 2011-08-17 Andreas Jaeger <aj@suse.de>
54075 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54077 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54078 Ian Lance Taylor <iant@google.com>
54080 * math/libm-test.inc (lround_test): New testcase.
54081 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54083 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54085 * Makefile: Remove support for automatic cvs check-ins.
54086 * Makerules: Likewise.
54087 * config.make.in: Likewise.
54088 * configure.in: Likewise.
54089 * intl/Makefile: Likewise.
54090 * locale/Makefile: Likewise.
54091 * po/Makefile: Likewise.
54092 * posix/Makefile: Likewise.
54093 * sysdeps/gnu/Makefile: Likewise.
54094 * sysdeps/mach/hurd/Makefile: Likewise.
54095 * sysdeps/sparc/sparc32/Makefile: Likewise.
54098 * posix/Makefile (bug-regex32-ENV): Define.
54099 Patch by John Stanley <jpsinthemix@verizon.net>.
54101 * misc/Makefile (headers): Add bits/select2.h.
54102 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54103 * misc/bits/select2.h: New file.
54104 * include/bits/select2.h: New file.
54105 * debug/Makefile (routines): Add fdelt_chk.
54106 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54107 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54109 * debug/fdelt_chk.c: New file.
54111 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54112 * wcsmbs/test-wmemcmp.c: Likewise.
54113 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54114 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54116 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54118 * string/Makefile (strop-tests): Add memcmp.
54119 * string/test-wmemcmp.c: New file.
54120 * string/test-memcmp.c: Add wmemcmp support.
54122 2011-09-08 Roland McGrath <roland@hack.frob.com>
54125 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54128 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54129 garbage value in a __mach_port_mod_refs call in the cases of the
54130 task-self and thread-self ports.
54132 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54134 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54136 2011-09-08 Andreas Schwab <schwab@redhat.com>
54138 * elf/dl-load.c (lose): Check for non-null L.
54140 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54142 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54144 * elf/dl-libc.c (dlerror_run): Pass back error code from
54148 * elf/dl-load.c (lose): Free l_origin if it is valid.
54150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54152 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54157 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54159 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54161 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54162 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54165 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54166 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54167 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54168 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54169 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54170 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54172 2011-08-15 Alan Modra <amodra@gmail.com>
54175 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54176 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54177 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54178 ppc_mcount to static-only-routines.
54179 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54181 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54182 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54184 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54186 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54187 for finite and infinity parameters.
54189 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54192 and add nop instructions for throughput optimization.
54193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54195 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54197 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54198 aligned copy for power7 with vector-scalar instructions.
54199 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54201 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54206 2011-09-07 Andreas Schwab <schwab@redhat.com>
54209 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54212 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54214 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54215 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54216 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54220 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54222 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54223 Forgot to demangle the pointer.
54225 * sysdeps/i386/sysdep.h: Define atom_text_section.
54226 * sysdeps/x86_64/sysdep.h: Likewise.
54227 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54228 section with atom_text_section.
54229 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54230 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54231 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54232 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54233 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54236 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54237 already be defined. Change to take two parameters and don't assign
54238 result to variable. Adjust all users.
54239 Define INTERNAL_GETTIME if not already defined.
54240 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54243 HAVE_CLOCK_GETTIME_VSYSCALL.
54244 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54247 gettimeofday vsyscall, just use time.
54249 2011-09-06 Andreas Schwab <schwab@redhat.com>
54251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54254 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54256 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54260 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54262 syscall if possible.
54264 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54266 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54267 e_ident. Don't pass to find_mapsXX.
54268 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54270 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54273 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54274 * sysdeps/x86_64/multiarch/strchr.S: Update.
54275 Check bit_slow_BSF bit.
54276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54277 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54278 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54280 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54283 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54285 (tryshell): Define.
54286 (__spawni): Change last parameter to be flag. Test
54287 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54288 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54289 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54290 * posix/spawni.c: Likewise.
54291 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54292 * posix/spawnp.c: Likewise. Change normal version to use
54293 SPAWN_XFLAGS_USE_PATH.
54294 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54295 SPAWN_XFLAGS_TRY_SHELL.
54298 * posix/glob.h: Remove gcc 1.x support.
54301 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54306 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54308 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54309 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54312 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54315 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54317 * sysdeps/x86_64/wcscmp.S: New file.
54319 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54320 wcscmp-c wcscmp-sse2
54321 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54322 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54323 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54324 * wcsmbs/wcscmp.c: Allow renaming.
54326 2011-09-05 David S. Miller <davem@davemloft.net>
54328 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54329 stack slot, rather than the struct return pointer slot.
54330 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54331 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54333 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54337 * po/ja.po: Update from translation team.
54340 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54341 kernel in 64-bit binaries.
54343 2011-09-01 David S. Miller <davem@davemloft.net>
54345 * elf/elf.h (HWCAP_SPARC_*): Move to..
54346 * sysdeps/sparc/sysdep.h: this new file and add new values.
54347 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54348 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54349 _DL_HWCAP_COUNT to 24.
54350 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54352 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54353 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54354 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54356 instead of magic constants.
54357 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54359 2011-08-31 David S. Miller <davem@davemloft.net>
54361 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54363 Reimplement to do errno handling inline.
54364 (SYSCALL_ERROR_HANDLER): New macro.
54365 (__SYSCALL_STRING): Do not do errno handling in asm.
54366 (__CLONE_SYSCALL_STRING): Delete.
54367 (__INTERNAL_SYSCALL_STRING): Delete.
54368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54369 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54370 (PSEUDO): Reimplement to do errno handling inline.
54371 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54372 (SYSCALL_ERROR_HANDLER): New macro.
54373 (__SYSCALL_STRING): Do not do errno handling in asm.
54374 (__CLONE_SYSCALL_STRING): Delete.
54375 (__INTERNAL_SYSCALL_STRING): Delete.
54376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54377 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54379 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54380 (inline_syscall*): Add 'err' argument.
54381 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54382 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54383 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54384 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54386 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54389 2011-08-30 Andreas Schwab <schwab@redhat.com>
54391 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54393 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54395 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54398 2011-08-24 David S. Miller <davem@davemloft.net>
54400 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54402 2011-08-24 Andreas Schwab <schwab@redhat.com>
54404 * elf/Makefile: Add rules to build and run unload8 test.
54405 * elf/unload8.c: New file.
54406 * elf/unload8mod1.c: New file.
54407 * elf/unload8mod1x.c: New file.
54408 * elf/unload8mod2.c: New file.
54409 * elf/unload8mod3.c: New file.
54411 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54414 2011-08-23 David S. Miller <davem@davemloft.net>
54416 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54417 subtract stack bias.
54418 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54419 %sp not %fp in calculations.
54420 (_JMPBUF_UNWINDS_ADJ): Likewise.
54422 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54423 (aio_suspend): Call it to force an exception region around the
54424 AIO_MISC_WAIT() invocation.
54426 2011-08-23 Andreas Schwab <schwab@redhat.com>
54428 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54431 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54433 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54435 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54436 and <dl-machine.h>.
54437 (Elf64_FuncDesc): Remove.
54439 2011-08-22 David S. Miller <davem@davemloft.net>
54441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54442 sigaltstack check, add missing cfi directives.
54443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54444 missing cfi directives, and sigaltstack handling.
54446 2011-08-16 Andreas Schwab <schwab@redhat.com>
54449 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54450 object is seen twice.
54451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54453 * elf/Makefile (distribute): Add tst-initorder2.c.
54454 (tests): Add tst-initorder2.
54455 (modules-names): Add tst-initorder2a tst-initorder2b
54456 tst-initorder2c tst-initorder2d. Add rules to build them.
54457 ($(objpfx)tst-initorder2.out): New rule.
54458 * elf/tst-initorder2.c: New file.
54459 * elf/tst-initorder2.exp: New file.
54461 2011-08-22 Andreas Schwab <schwab@redhat.com>
54463 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54465 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54466 dependencies back to end of function.
54468 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54469 $(elfobjdir)/ld.so.
54471 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54474 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54476 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54477 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54478 of __vdso_gettimeofday.
54479 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54480 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54482 (_libc_vdso_platform_setup): Remove initialization of
54483 __vdso_gettimeofday and __vdso_time.
54485 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54487 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54488 and fgetc_unlocked.
54489 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54492 * elf/dl-open.c (add_to_global): Report additions to the global scope
54493 for LD_DEBUG=scopes.
54494 (dl_open_worker): Also print scope of newly loaded dependencies.
54495 (_dl_show_scope): Indicate if there is no scope.
54498 * stdio-common/Makefile (tests): Add bug24.
54499 * stdio-common/bug24.c: New file.
54501 2011-08-19 Andreas Jaeger <aj@suse.de>
54504 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54505 non-existant file when using close-on-exec mode.
54507 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54509 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54510 the very first instruction.
54512 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54513 the CFI state in the end.
54514 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54515 inclusion of dl-trampoline.h.
54516 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54518 2011-08-19 Andreas Schwab <schwab@redhat.com>
54520 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54521 expectations for long double.
54523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54524 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54526 2011-08-14 David S. Miller <davem@davemloft.net>
54528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54529 artificual limit depends upon the system page size.
54531 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54533 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54534 * resolv/Makefile: Define CFLAGS-libresolv.
54536 2011-08-17 Andreas Schwab <schwab@redhat.com>
54538 * nss/makedb.c (compute_tables): Make variables used in nested
54541 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54543 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54544 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54545 if buffer was too small.
54547 * elf/pldd.c (main): Attach to all threads in the process.
54548 Rewrite /proc handling to use *at functions.
54550 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54552 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54553 specifies first scope to show.
54554 (dl_open_worker): Update callers. Move printing scope of new
54555 object to before the relocation.
54556 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54557 * sysdeps/generic/ldsodefs.h: Update declaration.
54559 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54560 string for the scope number.
54562 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54564 * nscd/servicescache.c (cache_addserv): Make sure written is always
54567 2011-08-14 Roland McGrath <roland@hack.frob.com>
54569 * sysdeps/i386/i486/bits/atomic.h
54570 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54571 statement expression, so as to suppress "set but not used" warning.
54572 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54574 * string/strncat.c (STRNCAT): Use prototype definition.
54576 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54577 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54579 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54580 (localedef-modules): Add localedef.
54581 (locale-modules): Add locale.
54583 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54584 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54585 to avoid a warning.
54587 2011-08-14 David S. Miller <davem@davemloft.net>
54589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54590 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54592 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54594 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54595 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54596 * elf/rtld.c (dl_main): Set l_name of vDSO.
54597 Call _dl_show_scope when DL_DEBUG_SCOPES.
54598 (process_dl_debug): Recognize scopes flag and also set it for all.
54599 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54600 Declare _dl_show_scope.
54602 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54603 (do_dlopen): Pass caller_dlopen to dl_open.
54604 (__libc_dlopen_mode): Initialize caller_dlopen.
54606 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54607 of libc. Make tolower call locale-independent. Optimize a bit by
54608 using isdigit instead of isalnum.
54609 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54611 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54613 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54614 was a dependency or dynamically loaded.
54616 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54618 * intl/l10nflist.c: Allow architecture-specific pop function.
54619 * sysdeps/x86_64/l10nflist.c: New file.
54621 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54624 2011-08-10 Andreas Schwab <schwab@redhat.com>
54626 * include/dirent.h: Add libc_hidden_proto for scandirat and
54627 scandirat64. Don't declare __scandirat64.
54628 * dirent/scandirat.c: Add libc_hidden_def.
54629 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54630 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54632 2011-08-10 David S. Miller <davem@davemloft.net>
54634 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54636 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54640 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54642 * Versions.def [libc]: Add GLIBC_2.15.
54643 * dirent/Makefile (routines): Add scandirat and scandirat64.
54644 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54646 * dirent/dirent.h: Declare scandirat and scandirat64.
54647 * dirent/scandirat.c: New file.
54648 * dirent/scandirat64.c: New file.
54649 * sysdeps/wordsize-64/scandirat.c: New file.
54650 * sysdeps/wordsize-64/scandirat64.c: New file.
54651 * dirent/opendir.c: Define opendirat.
54652 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54654 * dirent/scandir64.c: Adjust for scandir.c change.
54655 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54656 __scandirat64, and __scandir_cancel_handler.
54657 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54658 additional parameter and use openat instead of open (outside of ld.so).
54659 Add new __opendir as wrapper around __opendirat.
54660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54661 here without requiring old scandirat implementation.
54663 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54665 * dirent/scandir.c (cancel_handler): Renamed to
54666 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54667 defined. Adjust users.
54668 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54669 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54671 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54673 * string/test-string.h (IMPL): Use __STRING to expand name and then
54676 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54679 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54681 * string/Makefile: Update.
54682 (strop-tests): Append strncat.
54683 * string/test-wcscmp.c: New file.
54684 New comprehensive test for wcscmp.
54685 * string/test-strcmp.c: Update.
54686 (WIDE): New define.
54688 2011-07-22 Andreas Schwab <schwab@redhat.com>
54690 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54693 2011-07-26 Andreas Schwab <schwab@redhat.com>
54695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54696 encoding to ACE if AI_IDN.
54698 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54701 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54703 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54705 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54706 Fix overflow bug in strncat.
54707 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54709 * string/test-strncat.c: Update.
54710 Add new tests for checking overflow bugs.
54712 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54715 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54716 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54717 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54718 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54719 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54720 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54721 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54722 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54725 (USE_AS_STRCAT): Define.
54726 Add strcat and strncat support.
54727 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54729 2011-07-25 Andreas Schwab <schwab@redhat.com>
54731 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54732 __n bigger than INT_MAX+1.
54733 (__strncmp_g): Likewise.
54735 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54737 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54738 * libio/stido.h: Likewise.
54740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54745 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54748 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54752 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54757 (_dl_x86_64_save_sse): Likewise.
54759 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54763 (_dl_x86_64_save_sse): Likewise.
54765 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54767 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54769 2011-07-21 Andreas Schwab <schwab@redhat.com>
54771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54773 (_dl_x86_64_save_sse): Use correct AVX check.
54775 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54778 bug in strncpy/strncat.
54779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54781 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54783 * string/tester.c (test_strcat): Add tests for different alignments
54784 of source and destination.
54785 (test_strncat): Likewise.
54787 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54790 * posix/glob.c (glob): Check passed in values before using them in
54791 expressions to avoid some overflows.
54792 (glob_in_dir): Likewise.
54795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54796 check for AVX enablement so that we don't crash with old kernels and
54798 * elf/tst-audit4.c: Add same checks here.
54799 * elf/tst-audit6.c: Likewise.
54801 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54803 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54805 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54807 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54809 * po/cs.po: Update from translation team.
54810 * po/bg.po: Likewise.
54812 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54814 * misc/sys/cdefs.h: Add support for const attribute.
54815 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54816 to gnu_dev_{major,minor,makedev} functions.
54818 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54820 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54822 2011-07-20 Andreas Schwab <schwab@redhat.com>
54824 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54827 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54830 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54831 register in order to avoid conflicts with the soft frame pointer
54832 being held in r11 when necessary.
54833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54834 (INTERNAL_VSYSCALL_NCS): Likewise.
54836 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54838 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54839 * elf/dl-fini.c (_dl_fini): Adjust caller.
54840 * elf/dl-close.c (_dl_close_worker): Likewise.
54841 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54843 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54845 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54846 "aux_cache->nlibs < 0".
54848 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54849 in the reload-count case.
54851 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54854 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54855 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54856 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54857 * sysdeps/x86_64/multiarch/strcat.S: New file.
54858 * sysdeps/x86_64/multiarch/strncat.S: New file.
54859 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54861 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54862 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54863 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54864 (USE_AS_STRCAT): Define.
54865 Add strcat and strncat support.
54866 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54867 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54868 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54869 * string/strncat.c: Update.
54870 (USE_AS_STRNCAT): Define.
54871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54872 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54874 * sysdeps/x86_64/multiarch/init-arch.h
54875 (bit_Prefer_PMINUB_for_stringop): New.
54876 (index_Prefer_PMINUB_for_stringop): Likewise.
54877 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54878 bit_Prefer_PMINUB_for_stringop.
54880 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54882 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54884 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54885 of casting of buffer.
54886 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54887 buffer32 and buffer64.
54888 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54889 writes instead of casting of buffer.
54890 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54892 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54895 2011-07-19 Andreas Schwab <schwab@redhat.com>
54897 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54899 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54901 * nscd/nscd.c (termination_handler): Don't do anything for a database
54902 if it has not yet been initialized.
54904 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54906 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54908 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54910 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54912 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54914 * po/nl.po: Update from translation team.
54915 * po/sv.po: Likewise.
54917 2011-07-16 Roland McGrath <roland@hack.frob.com>
54919 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54920 now disallowed by GCC.
54922 * configure.in (use-default-link): Default to yes if a test -shared
54923 link meets our qualifications.
54924 * configure: Regenerated.
54926 * config.make.in (output-format): New variable.
54927 * configure.in: Check for ld --print-output-format support.
54928 * configure: Regenerated.
54929 * Makerules ($(common-objpfx)format.lds)
54930 [$(output-format) != unknown]: Just use $(output-format),
54931 instead of the linker-script munging.
54933 2011-07-14 Roland McGrath <roland@hack.frob.com>
54935 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54936 of $(common-objpfx)shlib.lds.
54937 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54939 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54940 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54942 * configure.in (-z relro check): Adjust test code to add a large
54943 writable data section after it.
54944 * configure: Regenerated.
54946 2011-07-11 Roland McGrath <roland@hack.frob.com>
54948 * configure.in (-z relro check): Fix test code to make the variable
54950 * configure: Regenerated.
54952 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54954 * nscd/nscd.h (struct traced_file): Define.
54955 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54956 elements. Add traced_files.
54957 (inotify_fd): Declare.
54958 (register_traced_file): Declare.
54959 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54960 (inotify_fd): Export.
54961 (resolv_conf_descr): Remove.
54962 (nscd_init): Move inotify descriptor creation to main.
54963 Don't register files for notification here.
54964 (register_traced_file): New function.
54965 (invalidate_cache): Don't use reset_res to determine whether to call
54966 res_init, go through the list of registered files.
54967 (main_loop_poll): The inotify descriptors are now stored in the
54968 structures for the traced files.
54969 (main_loop_epoll): Likewise
54970 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54971 to __nss_disable_nscd.
54972 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54973 for a database anymore. Check the records for all the registered
54975 * nss/Makefile (libnss_files-routines): Add files-init.
54976 (libnss_db-routines): Add db-init.
54977 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54978 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54979 * nss/nss_db/db-init.c: New file.
54980 * nss/nss_files/files-init.c: New file.
54981 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54982 __nss_lookup_function.
54983 (__nss_lookup_function): Call nss_load_library.
54984 (nss_load_all_libraries): New function.
54985 (__nss_disable_nscd): Take parameter with callback function for files
54986 to register. Set is_nscd. Load all the DSOs for the NSS modules
54987 used for the cached services.
54988 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54989 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54990 options for features to all the files in nscd.
54992 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54994 2011-07-10 Roland McGrath <roland@hack.frob.com>
54996 * csu/elf-init.c (__libc_csu_init): Comment typo.
54998 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55000 * po/pl.po: Update from translation team.
55001 * po/ja.po: Likewise.
55002 * po/ru.po: Likewise.
55003 * po/ko.po: Likewise.
55004 * po/fr.po: Likewise.
55006 2011-07-09 Roland McGrath <roland@hack.frob.com>
55008 * configure.in (.ctors/.dtors header and trailer check):
55009 Use an empirical test on a built program.
55010 * configure: Regenerated.
55012 * configure.in (-z relro check): Use an empirical test on a built DSO.
55013 Detect, but do not require, on ia64.
55014 * configure: Regenerated.
55016 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55017 Update tests that use readelf to use $READELF instead.
55018 * configure: Regenerated.
55020 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55022 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55023 if the result is not used.
55025 2011-07-05 Andreas Jaeger <aj@suse.de>
55028 * stdlib/tst-strtod.c: Add testcase.
55030 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55032 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55033 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55034 The latter has a higher limit. Take additional parameter to pass to
55036 (__pathconf): Pass file to __statfs_link_max.
55037 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55039 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55043 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55047 (__statfs_filesize_max): Likewise.
55048 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55050 2011-07-05 Andreas Jaeger <aj@suse.de>
55052 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55054 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55056 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55058 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55061 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55063 * Makefile (strop-tests): Add strncat.
55064 * string/test-strncat.c: New file.
55066 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55068 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55070 2011-06-21 Andreas Jaeger <aj@suse.de>
55072 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55073 Copy rule from iconvdata/Makefile.
55075 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55078 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55079 but no long options are defined, just return 'W'.
55081 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55084 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55086 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55088 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55090 (innetgr): Likewise.
55092 2011-07-05 Roland McGrath <roland@hack.frob.com>
55094 * config.make.in (install_root): Default to $(DESTDIR).
55096 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55098 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55100 2011-07-02 Roland McGrath <roland@hack.frob.com>
55102 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55104 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55105 containing directory rather than embedding absolute directory names.
55107 * scripts/check-local-headers.sh: Rewritten using awk.
55108 Match by word, not by line. Print error messages for matches.
55109 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55111 * Makerules [shlib-lds-flags empty]:
55112 ($(common-objpfx)libc_pic.opts): New target.
55113 ($(common-objpfx)libc_pic.os.clean): New target.
55114 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55116 * config.make.in (OBJCOPY): New variable.
55117 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55118 * configure: Regenerated.
55120 * config.make.in (use-default-link): New variable.
55121 * configure.in (use_default_link): Grok --with-default-link to set it.
55122 * configure: Regenerated.
55123 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55124 (shlib-lds, shlib-lds-flags): Define to empty.
55126 * Makerules (shlib-lds): New variable.
55127 (shlib-lds-flags): New variable.
55128 (build-shlib, build-moduile, build-module-asneeded): Use it.
55129 ($(common-objpfx)libc.so): Use $(shlib-lds).
55130 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55131 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55133 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55134 DT_FLAGS/DT_FLAGS_1 with zero flags.
55136 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55137 linker script munging.
55139 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55141 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55143 * crypt/sha512.c (sha512_process_block): Perform total addition using
55144 128-bit if possible.
55145 (__sha512_finish_ctx): Likewise.
55146 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55148 * crypt/sha256.c (SWAP64): Define.
55149 (sha256_process_block): Perform total addition using 64-bit if
55151 (__sha256_finish_ctx): Likewise.
55153 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55155 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55156 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55157 * nscd/hstcache.c (cache_addhst): Likewise.
55158 * nscd/grpcache.c (cache_addgr): Likewise.
55159 * nscd/aicache.c (addhstaiX): Likewise
55160 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55162 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55164 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55166 * nscd/hstcache.c (cache_addhst): Likewise.
55167 * nscd/grpcache.c (cache_addgr): Likewise.
55168 * nscd/aicache.c (addhstaiX): Likewise
55170 2011-07-01 Andreas Schwab <schwab@redhat.com>
55172 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55173 domain only when needed.
55175 2011-06-30 Andreas Schwab <schwab@redhat.com>
55177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55178 is always restored.
55180 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55182 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55183 are re-adding the entry.
55184 * nscd/servicescache.c (cache_addserv): Likewise.
55186 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55188 * sysdeps/generic/dl-irel.h: fix protection against multiple
55190 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55192 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55195 * malloc/memusage.sh: Fix quoting in message.
55196 * debug/xtrace.sh: Likewise.
55198 * configure.in: Remove support for --experimental-malloc option, make
55200 * config.make.in: Likewise.
55201 * malloc/Makefile: Likewise.
55203 2011-06-27 Andreas Schwab <schwab@redhat.com>
55205 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55206 two-byte characters.
55208 2011-06-27 Roland McGrath <roland@hack.frob.com>
55210 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55211 AC_CACHE_CHECK invocation.
55212 * configure: Regenerated.
55214 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55216 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55219 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55220 bit from old_res_options.
55222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55224 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55225 value type for setfct.
55227 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55230 __gettimeofday instead of gettimeofday.
55232 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55234 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55236 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55240 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55243 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55246 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55247 strcpy-sse2-unaligned strncpy-sse2-unaligned
55248 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55249 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55250 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55251 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55252 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55254 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55255 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55256 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55257 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55258 (STRCPY): Support SSE2 and SSSE3 versions.
55260 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55263 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55264 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55265 kernels which artificially limit size of requests.
55267 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55270 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55271 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55272 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55273 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55274 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55275 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55276 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55277 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55278 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55279 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55280 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55281 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55282 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55283 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55285 Enable unaligned load optimization for Intel Core i3, i5 and i7
55287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55289 (index_Fast_Unaligned_Load): Define.
55290 (HAS_FAST_UNALIGNED_LOAD): Define.
55292 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55294 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55296 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55300 until it is clear that the information is realy needed.
55301 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55303 2011-06-22 Andreas Schwab <schwab@redhat.com>
55305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55307 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55310 /sys/devices/system/cpu/online if it is usable.
55312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55313 reading the information from the /proc filesystem to once a second.
55315 2011-06-21 Andreas Jaeger <aj@suse.de>
55317 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55318 NULL after inclusion of kernel headers.
55320 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55322 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55323 calls to internal_setent.
55326 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55327 addresses using gethostbyname4_r ignore IPv4 addresses.
55329 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55330 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55332 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55334 2011-06-20 David S. Miller <davem@davemloft.net>
55336 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55338 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55340 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55341 (elf_irel): Use it.
55342 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55343 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55344 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55345 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55346 * sysdeps/x86_64/dl-irel.h: Likewise.
55348 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55349 * elf/dl-sym.c: Likewise.
55351 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55353 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55354 need to dereference resplen2.
55356 2011-06-14 Andreas Schwab <schwab@redhat.com>
55358 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55360 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55362 * Makeconfig: Define vardbdir and inst_vardbdir.
55363 * nss/Makefile: Add rules to install db-Makefile.
55365 * nss/nss_db/db-XXX.c: Cleanup.
55367 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55368 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55370 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55371 * nss/makedb.c: Implement -g option to specify that value strings
55372 are generated and should not be added to table iterated over for
55374 * nss/nss_db/db-initgroups.c: New file.
55376 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55379 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55380 (internal_getgrouplist): Adjust to name change.
55381 Update use_initgroups_entry if this is not the first call.
55382 * nss/databases.def: Add initgroups entry.
55384 * nss/makedb.c (compute_tables): Check result of multiple hash table
55385 sizes to minimize maximum chain length.
55387 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55389 * Versions.def: Add entry for libnss_db.
55390 * shlib-versions: Likewise.
55391 * nss/Makefile: Add rules to build libnss_db.
55392 * nss/Versions: Add libnss_db information. Organize libnss_files
55394 * nss/db-Makefile: Add gshadow support. Change rules for the new
55395 makedb progra. Some minor improvements to generate smaller files.
55396 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55398 * nss/makedb.c: ...here.
55399 Improve database format to be smaller and require less memory at
55401 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55403 * nss/nss_db/db-netgrp.c: Likewise.
55404 * nss/nss_db/db-open.c: Likewise.
55405 * nss/nss_files/flies-XXX.x: Adjust comments.
55406 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55407 * nss/nss_files/files-grp.c: Likewise.
55408 * nss/nss_files/files-hosts.c: Likewise.
55409 * nss/nss_files/files-network.c: Likewise.
55410 * nss/nss_files/files-proto.c: Likewise.
55411 * nss/nss_files/files-pwd.c: Likewise.
55412 * nss/nss_files/files-rpc.c: Likewise.
55413 * nss/nss_files/files-service.c: Likewise.
55414 * nss/nss_files/files-sgrp.c: Likewise.
55415 * nss/nss_files/files-spwd.c: Likewise.
55416 * nss/nss_db/db-alias.c: Removed.
55417 * nss/nss_db/dummy-db.h: Removed.
55419 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55421 * nss/makedb.c: Rewritten to not use database library.
55422 * nss/Makefile: Update to build new makedb program.
55424 2011-06-14 Andreas Jaeger <aj@suse.de>
55426 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55427 memset declaration.
55429 2011-06-10 Andreas Schwab <schwab@redhat.com>
55431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55434 2011-06-10 Roland McGrath <roland@hack.frob.com>
55436 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55437 * elf/Makefile ($(objpfx)ld.so): Likewise.
55439 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55440 Don't list ld.so twice in dependencies.
55442 * posix/bug-regex31.c: Include <stdlib.h>.
55444 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55446 * nis/nss_compat/compat-spwd.c
55447 (getspent_next_nss_netgr): Remove unused variable.
55448 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55450 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55451 nonmembers" output to use the right array.
55453 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55455 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55457 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55458 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55459 * catgets/gencat.c (read_input_file): Likewise.
55460 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55462 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55463 variable definition inside #if's controlling its use.
55465 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55467 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55469 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55471 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55474 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55476 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55477 * configure: Regenerated.
55479 * Makerules: Revert last change.
55480 * elf/Makefile: Likewise.
55482 2011-06-09 Roland McGrath <roland@hack.frob.com>
55484 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55485 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55486 (reloc-link): Likewise.
55488 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55490 * elf/Makefile: Add rules to build pldd.
55491 * elf/pldd.c: New file.
55492 * elf/pldd-xx.c: New file.
55494 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55496 * version.h: Update for 2.15 development version.
55498 2011-06-07 David S. Miller <davem@davemloft.net>
55500 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55503 elf_machine_lazy_rel): Likewise.
55504 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55506 elf_machine_lazy_rel): Likewise.
55507 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55508 dl_hwcap via passed in argument.
55509 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55512 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55514 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55516 2011-06-06 Roland McGrath <roland@hack.frob.com>
55519 * manual/fdl-1.1.texi: New file, verbatim from:
55520 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55521 * manual/lgpl-2.1.texi: New file, verbatim from:
55522 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55523 * manual/Makefile (licenses): New variable, list those new file names.
55525 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55527 * manual/fdl.texi: File removed.
55528 * manual/lesser.texi: File removed.
55529 * manual/libc.texinfo (Copying, Documentation License):
55530 Use new @include file names, put @appendix directive before @include.
55532 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55535 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55536 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55537 (mq_open): Add __NTH.
55539 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55542 Assume Intel Core i3/i5/i7 processor if AVX is available.
55544 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55549 2011-05-31 Andreas Schwab <schwab@redhat.com>
55551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55552 memory. Use alloca_account. Fix memory leak when retrying.
55554 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55556 * version.h (RELEASE): Bump for 2.14 release.
55557 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55559 * config.make.in (RANLIB): Remove entry.
55561 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55563 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55564 (libc.pot): Work around missing support for .ksh extension in xgettext.
55567 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55568 if both request failed.
55569 (send_dg): In case of server errors clear resplen or *resplen2.
55572 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55573 when there are multiple maps.
55574 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55575 (_dl_fini): Remove test here.
55577 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55579 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55582 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55583 bit from old_res_options.
55584 (gaih_inet): Likewise.
55587 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55590 * resolv/res_init.c (res_setoptions): Make the code more compact.
55593 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55597 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55599 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55602 * malloc/malloc.h: Declare malloc hook variables as volatile.
55604 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55608 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55609 raise in the comment.
55610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55611 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55612 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55614 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55617 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55618 grow the buffers more if it already has to be sufficient.
55619 (build_wcs_upper_buffer): Likewise.
55620 * posix/regexec.c (check_matching): Likewise.
55621 (clean_state_log_if_needed): Likewise.
55622 (extend_buffers): Don't enlarge buffers beyond size of the input
55624 Patches mostly by Emil Wojak <emil@wojak.eu>.
55625 * posix/bug-regex32.c: New file.
55626 * posix/Makefile (tests): Add bug-regex32.
55628 * locale/findlocale.c (_nl_find_locale): Return right away if
55629 _nl_explode_name failed.
55630 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55634 * debug/xtrace.sh: Unify messages.
55635 * malloc/memusage.sh: Likewise.
55638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55639 time symbol from vDSO. Substitute with vsyscall if not available.
55640 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55643 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55644 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55645 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55646 Add sendmmsg and internal_sendmmsg.
55647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55648 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55649 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55651 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55652 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55653 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55655 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55658 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55659 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55665 * iconvdata/Makefile (tests): Add bug-iconv9.
55666 * iconvdata/bug-iconv9.c: New file.
55668 2011-05-27 Andreas Schwab <schwab@redhat.com>
55671 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55673 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55676 (struct user_regs_struct): Change intcs field back to cs.
55678 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55680 * po/ja.po: Update from translation team.
55682 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55685 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55686 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55688 2011-05-20 Andreas Schwab <schwab@redhat.com>
55690 * stdlib/longlong.h: Update from GCC.
55692 2011-05-23 Andreas Schwab <schwab@redhat.com>
55694 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55696 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55697 Add parameter name.
55698 (__sysconf): Pass it down.
55700 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55703 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55705 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55706 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55707 add in in __libc_use_alloca calls. Adjust callers.
55708 (glob): Use malloc in some situations.
55710 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55711 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55714 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55716 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55717 and CLOCK_BOOTTIME_ALARM.
55720 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55723 * string/_strerror.c (__strerror_r): Print negative errors as signed
55727 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55728 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55729 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55731 * configure.in: Fix typo in redirection and correct removal of test
55732 files in two cases.
55735 * locale/setlocale.c (new_composite_name): Fix test to check for
55736 identical name of all categories.
55739 * libio/filedoalloc.c (local_isatty): New function.
55740 (_IO_file_doallocate): Use local_isatty.
55741 * stdio-common/perror.c (perror): In case a new stream is used
55742 forward the stream error.
55743 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55746 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55751 * include/alloca.h (extend_alloca_account): Define.
55754 * posix/regex.h: Fix comments with documentation of user-accessible
55755 fields after compilation and describe correct free'ing of pattern
55756 after re_compile_pattern.
55757 Patch by Reuben Thomas <rrt@sc3d.org>.
55759 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55761 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55762 and -mno-altivec to prevent the compiler from using Altivec and/or
55763 VSX instructions when the corresponding registers are not available.
55765 2011-05-19 Andreas Schwab <schwab@redhat.com>
55767 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55769 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55771 * libio/freopen.c (freopen): Use __dup2, not dup2.
55772 * libio/freopen64.c (freopen64): Likewise.
55774 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55777 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55778 * math/Makefile (tests): Add test-powl.
55779 (CFLAGS-test-powl.c): Define.
55780 * math/test-powl.c: New file.
55782 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55784 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55786 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55789 * iconvdata/gb18030.c: Update to GB18020-2005.
55791 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55793 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55794 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55795 Patch by Aharon Robbins <arnold@skeeve.com>.
55798 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55802 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55803 through underflows.
55806 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55807 point to strings before performing equality test for error_one_per_line
55811 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55815 (struct user_fpregs_struct): Avoid __uint*_t types.
55818 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55819 symbol info. Use it instead of calling _dl_addr locally.
55820 (lock_and_info): New function.
55821 (tr_freehook): Call lock_and_info and pass symbol info as additional
55822 parameter to tr_where.
55823 (tr_mallochook): Likewise.
55824 (tr_reallochook): Likewise.
55825 (tr_memalignhook): Likewise.
55827 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55828 used and couldn't be at all thread-safe.
55830 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55832 * libio/freopen.c (freopen): Don't close old file descriptor
55833 before the new one is opened. Instead dup the new file descriptor
55834 to the old one after the new stream is created.
55835 * libio/freopen64.c (freopen64): Likewise.
55836 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55837 * libio/fileops.c (_IO_new_file_close_it): Handle new
55838 _IO_FLAGS2_NOCLOSE flag.
55839 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55840 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55841 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55842 _IO_FLAGS2_NOCLOSE flag.
55843 * include/unistd.h: Add hidden_proto for dup3.
55844 Define __have_dup3.
55845 * io/dup3.c: Define hidden symbol.
55846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55849 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55850 when an incomplete long option is used.
55851 * posix/tst-getopt_long1.c: New file.
55852 * posix/Makefile (tests): Add tst-getopt_long1.
55855 * scripts/config.guess: Update from autoconf-2.68.
55856 * scripts/config.sub: Likewise.
55859 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55861 (has_cpuclock): ...this. New function.
55862 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55863 macro here based on has_cpuclock code.
55866 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55867 First byte (not low byte) is now always NUL.
55868 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55871 Use non-cancelable interfaces.
55874 * locale/iso-639.def: Add entry for Sorani.
55877 * include/stdlib.h: Move include protection to the right place.
55878 Define abort_msg_s. Declare __abort_msg with it.
55879 * stdlib/abort.c (__abort_msg): Adjust type.
55880 * assert/assert.c (__assert_fail_base): New function. Majority
55881 of code from __assert_fail. Allocate memory for __abort_msg with
55883 (__assert_fail): Now call __assert_fail_base.
55884 * assert/assert-perr.c: Remove bulk of implementation. Use
55885 __assert_fail_base.
55886 * include/assert.hL Declare __assert_fail_base.
55887 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55889 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55891 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55895 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55896 until all modules are registered in the DTV.
55897 * elf/Makefile: Add rules to build and run tst-tls19.
55898 * elf/tst-tls19.c: New file.
55899 * elf/tst-tls19mod1.c: New file.
55900 * elf/tst-tls19mod2.c: New file.
55901 * elf/tst-tls19mod3.c: New file.
55902 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55905 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55909 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55910 two-byte sequence errors.
55911 * iconvdata/Makefile (tests): Add bug-iconv8.
55912 * iconvdata/bug-iconv8.c: New file.
55915 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55918 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55921 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55922 (dummy_getcfa): New function.
55923 (init): Get _Unwind_GetCFA address, use dummy if not found.
55924 (backtrace_helper): In recursion check, also check whether CFA changes.
55925 (__backtrace): Completely initialize arg.
55927 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55928 storing incomplete byte sequence in state object. Avoid testing for
55929 guaranteed too small input if we know there is enough data available.
55931 2011-05-11 Andreas Schwab <schwab@redhat.com>
55933 * Makeconfig (+link-pie): Indent.
55934 * Rules (binaries-pie): Define if $(have-fpie) and
55936 (binaries-shared): Also filter out $(binaries-pie).
55937 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55938 * nscd/Makefile (others-pie): Add nscd.
55939 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55940 ($(objpfx)nscd): Remove command override.
55941 * login/Makefile (others-pie): Add pt_chown.
55942 ($(objpfx)pt_chown): Remove command override.
55943 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55944 remove command overrides.
55946 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55948 * libio/tst_putwc.c: Fix error messages.
55951 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55952 currently writing and seek to current position when not.
55953 * libio/Makefile (tests): Add bug-fclose1.
55954 * libio/bug-fclose1.c: New file.
55956 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55959 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55960 don't set DF_1_NODELETE here.
55961 (do_lookup_x): When entering new entry test for copy relocation
55962 and if necessary set DF_1_NODELETE flag.
55963 * elf/tst-unique4.cc: New file.
55964 * elf/tst-unique4.h: New file.
55965 * elf/tst-unique4lib.cc: New file.
55966 * elf/Makefile: Add rules to build and run tst-unique4.
55967 Patch by Piotr Bury <pbury@goahead.com>.
55969 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55972 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55975 * misc/mntent_r.c (addmntent): Flush the stream after the output
55978 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55979 (is_trusted_path_normalize): Skip initial colon. Append slash
55980 to empty buffer. Duplicate is_trusted_path code but allow
55981 constructed patch to be prefix.
55982 (is_dst): Allow $ORIGIN followed by /.
55983 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55984 Correct testing of result of is_trusted_path_normalize
55985 (decompose_rpath): Fix warning.
55987 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55990 * grp/initgroups.c (internal_getgrouplist): When we found the service
55991 list through the initgroups entry in nsswitch.conf do not always
55992 continue on a successful lookup. Don't always use the
55993 __nss_group_database value if it is set.
55994 * nss/nsswitch.conf (initgroups): Change action for successful db
55995 lookup to continue for compatibility.
55997 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56000 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56002 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56004 * iconvdata/tst-tables.sh: Likewise.
56005 * iconvdata/cp770.c: New file.
56006 * iconvdata/cp771.c: New file.
56007 * iconvdata/cp772.c: New file.
56008 * iconvdata/cp773.c: New file.
56009 * iconvdata/cp774.c: New file.
56010 * iconvdata/testdata/CP770: New file.
56011 * iconvdata/testdata/CP770..UTF8: New file.
56012 * iconvdata/testdata/CP771: New file.
56013 * iconvdata/testdata/CP771..UTF8: New file.
56014 * iconvdata/testdata/CP772: New file.
56015 * iconvdata/testdata/CP772..UTF8: New file.
56016 * iconvdata/testdata/CP773: New file.
56017 * iconvdata/testdata/CP773..UTF8: New file.
56018 * iconvdata/testdata/CP774: New file.
56019 * iconvdata/testdata/CP774..UTF8: New file.
56021 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56023 * iconvdata/gen-8bit-gap.sh: Likewise.
56024 * iconvdata/gen-8bit.sh: Likewise.
56026 * locale/iso-639.def: Add ary entry.
56029 * locale/C-translit.h.in: Add U20A1 transliteration.
56032 * locale/iso-639.def: Add wae entry.
56033 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56036 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56040 * locale/C-translit.h.in: Add entry for U20B9.
56041 Patch by pravin.d.s@gmail.com.
56043 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56046 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56047 ENAMETOOLONG use generic getcwd.
56048 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56049 in rtld. Use *stat64.
56050 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56051 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56052 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56053 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56054 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56055 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56056 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56057 __fstatat64 macros.
56058 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56059 * dirent/rewinddir.c: Add libc_hidden_def.
56060 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56061 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56063 * include/dirent.h (__alloc_dir): Add flags parameter.
56064 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56065 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56067 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56068 from fdopendir if O_CLOEXEC is already set.
56070 2011-03-15 Alan Modra <amodra@gmail.com>
56072 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56073 l_tls_firstbyte_offset non-zero. Save padding offset in
56074 l_tls_firstbyte_offset for later use.
56075 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56076 freeing static tls block.
56078 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56080 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56081 where #ifdef was intended. The intent is to prevent ARG_MAX from
56082 being defined by the kernel headers.
56084 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56087 * resolv/resolv.h: Define RES_NOTLDQUERY.
56088 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56089 no-tld-query and set RES_NOTLDQUERY.
56090 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56091 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56092 modern BIND to search name as TLD unless forbidden.
56094 2011-05-07 Petr Baudis <pasky@suse.cz>
56095 Ulrich Drepper <drepper@gmail.com>
56098 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56099 (is_trusted_path): ...to here.
56100 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56101 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56102 using is_trusted_path_normalize() in setuid scripts.
56104 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56106 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56107 __BEGIN/__END_DECLS.
56109 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56112 NSS_STATUS_NOTFOUND if no record was found.
56114 2011-05-05 Andreas Schwab <schwab@redhat.com>
56116 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56117 (headers-not-in-tirpc): Remove rpc/netdb.h
56118 * resolv/netdb.h: Revert last change.
56120 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56122 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56123 circular dependency between libgcc.a and libc.a.
56125 2011-05-05 Andreas Schwab <schwab@redhat.com>
56127 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56128 * nis/Makefile: Don't install rpcsvc/*.
56129 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56130 instead of <rpc/types.h>.
56131 (MAXHOSTNAMELEN): Define.
56133 2011-05-03 Andreas Schwab <schwab@redhat.com>
56135 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56137 2011-04-28 Maciej Babinski <mbabinski@google.com>
56140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56141 gethostbyname4_r when IPv6 results are possible.
56143 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56146 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56147 _PC_PIPE_BUF handling.
56149 2011-04-30 Bruno Haible <bruno@clisp.org>
56152 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56153 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56155 * inet/getnameinfo.c (getnameinfo): Likewise.
56157 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56159 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56160 to groups setting in database lookup.
56161 * nss/nsswitch.conf: Add initgroups entry.
56163 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56166 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56168 Patch by Eric Blake <eblake@redhat.com>.
56170 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56172 * sunrpc/Makefile (need-export-routines): Add svc_run.
56173 (routines): Remove svc_run.
56174 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56175 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56176 * sunrpc/svc_run.c (svc_run): Likewise.
56177 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56179 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56182 problem in reallocation in last patch.
56184 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56186 * sunrpc/Makefile: Move inclusion of Rules.
56188 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56190 * nss/nss_files/files-initgroups.c: New file.
56191 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56192 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56193 _nss_files_initgroups_dyn.
56195 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56197 * elf/elf.h (R_ARM_IRELATIVE): Define.
56199 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56201 * po/ru.po: Update from translation team.
56203 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56205 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56208 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56211 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56212 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56217 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56219 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56222 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56225 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56228 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56230 * stdlib/bug-getcontext.c: New file.
56231 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56233 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56235 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56236 instructions into .machine "z9-109".
56237 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56238 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56240 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56242 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56243 between environment variables and auxiliary vector.
56245 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56247 * Makefile: Add rules to build linkobj/libc.so.
56248 * include/libc-symbols.h: Define libc_hidden_nolink.
56249 * include/rpc/auth.h: Mark functions which are to be hidden.
56250 * include/rpc/auth_des.h: Likewise.
56251 * include/rpc/auth_unix.h: Likewise.
56252 * include/rpc/clnt.h: Likewise.
56253 * include/rpc/des_crypt.h: Likewise.
56254 * include/rpc/key_prot.h: Likewise.
56255 * include/rpc/pmap_clnt.h: Likewise.
56256 * include/rpc/pmap_prot.h: Likewise.
56257 * include/rpc/pmap_rmt.h: Likewise.
56258 * include/rpc/rpc_msg.h: Likewise.
56259 * include/rpc/svc.h: Likewise.
56260 * include/rpc/svc_auth.h: Likewise.
56261 * include/rpc/xdr.h: Likewise.
56262 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56263 * nss/Makefile: Likewise.
56264 * sunrpc/Makefile: Don't install headers. Build library with normal
56265 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56266 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56267 for the compat linking library. Remove use of INTDEF/INTUSE.
56268 * sunrpc/auth_none.c: Likewise.
56269 * sunrpc/auth_unix.c: Likewise.
56270 * sunrpc/authdes_prot.c: Likewise.
56271 * sunrpc/authuxprot.c: Likewise.
56272 * sunrpc/clnt_gen.c: Likewise.
56273 * sunrpc/clnt_perr.c: Likewise.
56274 * sunrpc/clnt_raw.c: Likewise.
56275 * sunrpc/clnt_simp.c: Likewise.
56276 * sunrpc/clnt_tcp.c: Likewise.
56277 * sunrpc/clnt_udp.c: Likewise.
56278 * sunrpc/clnt_unix.c: Likewise.
56279 * sunrpc/des_crypt.c: Likewise.
56280 * sunrpc/des_soft.c: Likewise.
56281 * sunrpc/get_myaddr.c: Likewise.
56282 * sunrpc/key_call.c: Likewise.
56283 * sunrpc/key_prot.c: Likewise.
56284 * sunrpc/netname.c: Likewise.
56285 * sunrpc/pm_getmaps.c: Likewise.
56286 * sunrpc/pm_getport.c: Likewise.
56287 * sunrpc/pmap_clnt.c: Likewise.
56288 * sunrpc/pmap_prot.c: Likewise.
56289 * sunrpc/pmap_prot2.c: Likewise.
56290 * sunrpc/pmap_rmt.c: Likewise.
56291 * sunrpc/publickey.c: Likewise.
56292 * sunrpc/rpc_cmsg.c: Likewise.
56293 * sunrpc/rpc_common.c: Likewise.
56294 * sunrpc/rpc_dtable.c: Likewise.
56295 * sunrpc/rpc_prot.c: Likewise.
56296 * sunrpc/rpc_thread.c: Likewise.
56297 * sunrpc/rtime.c: Likewise.
56298 * sunrpc/svc.c: Likewise.
56299 * sunrpc/svc_auth.c: Likewise.
56300 * sunrpc/svc_authux.c: Likewise.
56301 * sunrpc/svc_raw.c: Likewise.
56302 * sunrpc/svc_run.c: Likewise.
56303 * sunrpc/svc_simple.c: Likewise.
56304 * sunrpc/svc_tcp.c: Likewise.
56305 * sunrpc/svc_udp.c: Likewise.
56306 * sunrpc/svc_unix.c: Likewise.
56307 * sunrpc/svcauth_des.c: Likewise.
56308 * sunrpc/xcrypt.c: Likewise.
56309 * sunrpc/xdr.c: Likewise.
56310 * sunrpc/xdr_array.c: Likewise.
56311 * sunrpc/xdr_float.c: Likewise.
56312 * sunrpc/xdr_intXX_t.c: Likewise.
56313 * sunrpc/xdr_mem.c: Likewise.
56314 * sunrpc/xdr_rec.c: Likewise.
56315 * sunrpc/xdr_ref.c: Likewise.
56316 * sunrpc/xdr_sizeof.c: Likewise.
56317 * sunrpc/xdr_stdio.c: Likewise.
56319 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56322 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56323 * sysdeps/ia64/dl-tls.h: Likewise.
56324 * sysdeps/powerpc/dl-tls.h: Likewise.
56325 * sysdeps/s390/dl-tls.h: Likewise.
56326 * sysdeps/sh/dl-tls.h: Likewise.
56327 * sysdeps/sparc/dl-tls.h: Likewise.
56328 * sysdeps/x86_64/dl-tls.h: Likewise.
56329 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56331 2011-03-14 Andreas Schwab <schwab@redhat.com>
56333 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56334 rpath element also skip the following colon.
56335 (expand_dynamic_string_token): Add is_path parameter and pass
56336 down to DL_DST_REQUIRED and _dl_dst_substitute.
56337 (decompose_rpath): Call expand_dynamic_string_token with
56338 non-zero is_path. Ignore empty rpaths.
56339 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56342 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56347 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56350 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56351 Patch by Filipe David Manana <fdmanana@apache.org>.
56353 2011-04-07 Andreas Schwab <schwab@redhat.com>
56355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56356 Maintain aligned stack.
56357 (CHECK_RSP): Remove unused macro.
56359 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56361 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56362 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56364 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56366 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56368 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56370 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56373 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56374 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56375 * sysdeps/x86_64/memmove.c: New file.
56376 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56377 (memcpy): Renamed to ...
56378 (__new_memcpy): This.
56379 (memcpy): Provide GLIBC_2_14 memcpy.
56380 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56381 (memcpy): Provide GLIBC_2_2_5 memcpy.
56383 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56386 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56388 2011-03-30 Andreas Schwab <schwab@redhat.com>
56390 * misc/syncfs.c: New file.
56391 * misc/Makefile (routines): Add syncfs.
56392 * posix/unistd.h: Declare syncfs.
56393 * sysdeps/unix/syscalls.list: Add syncfs.
56395 2011-04-01 Andreas Schwab <schwab@redhat.com>
56397 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56404 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56407 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56410 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56411 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56412 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56413 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56415 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56417 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56418 sync_file_range.c with -fexceptions.
56419 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56420 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56421 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56422 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56423 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56426 sync_file_range as cancellation point
56427 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56428 now a wrapper around __call_sync_file_range with cancellation handling.
56429 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56431 function name to __call_sync_file_range.
56432 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56433 Add call_sync_file_range.
56435 2011-04-01 Andreas Schwab <schwab@redhat.com>
56437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56442 * iconv/iconv.h: Fix typo in comment.
56443 * io/fcntl.h: Likewise.
56444 * libio/stdio.h: Likewise.
56445 * posix/spawn.h: Likewise.
56446 * posix/unistd.h: Likewise.
56447 * stdlib/stdlib.h: Likewise.
56448 * time/time.h: Likewise.
56449 * wcsmbs/wchar.h: Likewise.
56451 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56452 open_by_handle): Add.
56453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56454 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56455 Augment a few comments.
56456 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56461 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56464 * io/fcntl.h (AT_EMPTY_PATH): Define.
56466 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56468 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56469 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56470 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56472 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56473 * Versions.def: Add GLIBC_2.14.
56474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56477 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56483 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56486 * string/test-strncmp.c (do_page_test): New function.
56487 (check2): Likewise.
56488 (test_main): Call check2.
56489 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56491 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56494 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56495 Handle cache information in CPU leaf 4.
56496 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56498 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56501 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56502 character representation.
56503 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56505 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56507 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56508 END(__isnan) to END(__isnanf) to match function entry point/label
56509 EALIGN(__isnanf,...).
56511 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56513 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56515 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56518 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56519 copy from the symbol referenced in the relocation to initialize the
56521 Patch by Piotr Bury <pbury@goahead.com>.
56522 * elf/Makefile: Add rules to build and tst-unique3.
56523 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56524 * elf/tst-unique3.cc: New file.
56525 * elf/tst-unique3.h: New file.
56526 * elf/tst-unique3lib.cc: New file.
56527 * elf/tst-unique3lib2.cc: New file.
56529 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56531 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56533 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56534 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56537 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56539 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56540 to-be-loaded object along a path to loader is ld.so.
56542 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56543 Ulrich Drepper <drepper@gmail.com>
56545 * sysdeps/x86_64/memset.S: After aligning destination, code
56546 branches to different locations depending on the value of
56547 misalignment, when multiarch is enabled. Fix this.
56549 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56551 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56552 Set _x86_64_preferred_memory_instruction for AMD processsors.
56553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56554 Set bit_Prefer_SSE_for_memop for AMD processors.
56556 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56558 * libio/fmemopen.c (fmemopen): Optimize a bit.
56560 2011-03-03 Andreas Schwab <schwab@redhat.com>
56562 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56564 2011-03-03 Roland McGrath <roland@redhat.com>
56566 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56568 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56570 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56571 __bzero_ultra1 instead of __memset_ultra1.
56573 2011-02-23 Andreas Schwab <schwab@redhat.com>
56574 Ulrich Drepper <drepper@gmail.com>
56577 * include/link.h (struct link_map): Add l_orig_initfini.
56578 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56579 returning unsuccessfully.
56580 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56581 close of a file loaded at startup, restore the original l_initfini
56583 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56584 list, store the pointer.
56585 * elf/Makefile ($(objpfx)noload-mem): New rule.
56586 (noload-ENV): Define.
56587 (tests): Add $(objpfx)noload-mem.
56588 * elf/noload.c: Include <memcheck.h>.
56589 (main): Call mtrace. Close all opened handles.
56591 2011-02-17 Andreas Schwab <schwab@redhat.com>
56594 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56595 dependencies are missing.
56597 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56599 Fix __if_freereq crash: Unlike the generic version which uses free,
56601 * sysdeps/mach/hurd/ifreq.h: New file.
56603 2011-01-27 Petr Baudis <pasky@suse.cz>
56604 Ulrich Drepper <drepper@gmail.com>
56607 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56608 to extend_alloca().
56609 * stdio-common/bug23.c: New file.
56610 * stdio-common/Makefile (tests): Add bug23.
56612 2010-09-28 Andreas Schwab <schwab@redhat.com>
56613 Ulrich Drepper <drepper@gmail.com>
56616 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56617 before performing relro protection. At old place add assertion
56618 to make sure nothing changed.
56620 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56621 Glauber de Oliveira Costa <glommer@gmail.com>
56623 * elf/elf.h: Add new ARM TLS relocs.
56625 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56628 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56630 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56632 * sysdeps/wordsize-64/tst-writev.c: New file.
56634 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56636 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56637 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56638 insns in _dl_start to prevent a TOC reference before relocs are
56641 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56644 * Makeconfig: Remove RANLIB definition.
56645 * Makerules: Don't use RANLIB.
56646 * aclocal.m4: Remove ranlib test.
56647 * configure.in: No need to check for ranlib.
56648 * elf/rtld-Rules: Don't use RANLIB.
56650 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56652 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56654 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56655 inclusion protection macro.
56657 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56658 SIGRTMIN and SIGRTMAX and print information in that case only when
56659 SIGRTMIN is defined.
56661 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56663 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56664 arginfo fn returning -1.
56666 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56667 and thousands string is zero terminated.
56669 2011-02-03 Andreas Schwab <schwab@redhat.com>
56671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56672 sysdeps/unix/sysv/linux/bits/socket.h.
56674 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56676 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56677 (__CPU_COUNT): Remove old macros.
56678 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56679 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56680 (__CPU_ALLOC, __CPU_FREE): Add macros.
56681 (__sched_cpualloc, __sched_cpufree): Add declarations.
56683 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56685 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56686 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56687 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56688 (readdhstai): Return value of addhstaiX call.
56689 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56690 (addgrbyX): Return value returned by cache_addgr.
56691 (readdgrbyname): Return value returned by addgrbyX.
56692 (readdgrbygid): Likewise.
56693 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56694 (addpwbyX): Return value returned by cache_addpw.
56695 (readdpwbyname): Return value returned by addhstbyX.
56696 (readdpwbyuid): Likewise.
56697 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56698 (addservbyX): Return value returned by cache_addserv.
56699 (readdservbyname): Return value returned by addservbyX:
56700 (readdservbyport): Likewise.
56701 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56702 (addhstbyX): Return value returned by cache_addhst.
56703 (readdhstbyname): Return value returned by addhstbyX.
56704 (readdhstbyaddr): Likewise.
56705 (readdhstbynamev6): Likewise.
56706 (readdhstbyaddrv6): Likewise.
56707 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56708 (readdinitgroups): Return value returned by addinitgroupsX.
56709 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56710 (prune_cache): Keep track of timeout value of re-added entries.
56711 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56712 * nscd/nscd.h: Adjust prototypes of readd* functions.
56714 2011-02-04 Roland McGrath <roland@redhat.com>
56716 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56717 (nis_stats): Likewise.
56718 * nis/nis_modify.c (nis_modify): Likewise.
56719 * nis/nis_remove.c (nis_remove): Likewise.
56720 * nis/nis_add.c (nis_add): Likewise.
56722 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56724 * posix/fnmatch_loop.c: Add some consts.
56726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56728 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56731 * config.make.in (config-cflags-novzeroupper): Define.
56732 * configure.in: Substitute libc_cv_cc_novzeroupper.
56733 * elf/Makefile (AVX-CFLAGS): Define.
56734 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56735 (CFLAGS-tst-auditmod4a.c): Likewise.
56736 (CFLAGS-tst-auditmod4b.c): Likewise.
56737 (CFLAGS-tst-auditmod6b.c): Likewise.
56738 (CFLAGS-tst-auditmod6c.c): Likewise.
56739 (CFLAGS-tst-auditmod7b.c): Likewise.
56740 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56742 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56744 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56745 function to the callback.
56746 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56748 2011-02-02 Andreas Schwab <schwab@redhat.com>
56750 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56753 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56756 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56758 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56760 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56763 * elf/Makefile: Add rules to build and run new test.
56764 * elf/tst-initorder.c: New file.
56765 * elf/tst-initorder.exp: New file.
56766 * elf/tst-initordera1.c: New file.
56767 * elf/tst-initordera2.c: New file.
56768 * elf/tst-initordera3.c: New file.
56769 * elf/tst-initordera4.c: New file.
56770 * elf/tst-initorderb1.c: New file.
56771 * elf/tst-initorderb2.c: New file.
56772 * elf/tst-order-a1.c: New file.
56773 * elf/tst-order-a2.c: New file.
56774 * elf/tst-order-a3.c: New file.
56775 * elf/tst-order-a4.c: New file.
56776 * elf/tst-order-b1.c: New file.
56777 * elf/tst-order-b2.c: New file.
56778 * elf/tst-order-main.c: New file.
56779 New test case by George Gensure <werkt0@gmail.com>.
56781 2010-10-01 Andreas Schwab <schwab@redhat.com>
56783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56784 decoding ACE if AI_CANONIDN.
56786 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56788 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56790 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56792 * version.h (RELEASE): Bump for 2.13 release.
56793 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56795 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56797 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56799 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56801 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56802 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56803 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56804 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56806 * posix/getconf.c: Update copyright year.
56807 * catgets/gencat.c: Likewise.
56808 * csu/version.c: Likewise.
56809 * debug/catchsegv.sh: Likewise.
56810 * debug/xtrace.sh: Likewise.
56811 * elf/ldconfig.c: Likewise.
56812 * elf/ldd.bash.in: Likewise.
56813 * elf/sprof.c (print_version): Likewise.
56814 * iconv/iconv_prog.c: Likewise.
56815 * iconv/iconvconfig.c: Likewise.
56816 * locale/programs/locale.c: Likewise.
56817 * locale/programs/localedef.c: Likewise.
56818 * malloc/memusage.sh: Likewise.
56819 * malloc/mtrace.pl: Likewise.
56820 * nscd/nscd.c (print_version): Likewise.
56821 * nss/getent.c: Likewise.
56823 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56824 PF_CAIF, and PF_ALG.
56825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56827 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56829 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56830 (modules-names): Use them.
56831 (ifunc-test-modules, ifunc-pie-tests): Define.
56832 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56833 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56834 (test-extras): Likewise.
56835 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56836 $(compile-command.c).
56837 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56838 (all-built-dso): Define.
56839 (check-textrel.out, check-execstack.out): Depend on it.
56841 * configure.in: Don't override --enable-multi-arch.
56843 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56846 * nscd/hstcache.c (tryagain): Define.
56847 (cache_addhst): Return tryagain not notfound for temporary errors.
56848 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56851 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56854 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56855 to make the syscall.
56856 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56859 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56860 and fall back to matching as normal character if the string ends before
56861 the matching ']' is found. This is what POSIX requires.
56862 * posix/testfnm.c: Adjust test result.
56863 * posix/globtest.sh: Adjust test result. Add new test.
56864 * posix/tst-fnmatch.input: Likewise.
56865 * posix/tst-fnmatch2.c: Add new test.
56867 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56869 * elf/Makefile (check-execstack): Revert last change. Depend on
56871 (check-execstack.h): New target.
56872 (generated): Add check-execstack.h.
56873 * elf/check-execstack.c: Include "check-execstack.h".
56874 (main): Revert last change.
56875 (handle_file): Return zero if GNU_STACK is absent and
56876 DEFAULT_STACK_PERMS doesn't include PF_X.
56878 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56880 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56881 in child fails because the descriptor is already closed.
56882 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56883 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56884 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56891 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56892 temporary buffer used to handle multi lookups locally.
56893 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56895 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56897 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56900 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56902 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56903 alignment for SSE2.
56905 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56908 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56909 characters. When rounding increased number of integer digits recompute
56911 * stdio-common/tst-grouping.c: New file.
56912 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56914 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56916 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56917 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56919 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56921 * bits/select.h: Likewise.
56923 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56925 * po/ja.po: Update from translation team.
56927 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56930 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56931 implementation just like for lxstat, fxstatat, et al.
56933 2010-12-27 Jim Meyering <meyering@redhat.com>
56936 * posix/regexec.c (build_trtable): Return failure indication upon
56937 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56939 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56942 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56943 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56944 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56948 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56951 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56952 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56954 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56956 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56957 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56958 script has SORT_BY_INIT_PRIORITY.
56959 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56960 NO_CTORS_DTORS_SECTIONS is defined.
56961 * elf/soinit.c: Likewise.
56962 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56963 NO_CTORS_DTORS_SECTIONS is defined.
56964 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56965 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56966 * sysdeps/sh/init-first.c: Likewise.
56967 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56969 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56971 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56972 always use the slow path.
56974 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56976 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56977 similar rule which adds the sysdep directories to the header search in
56978 order to pick up the correct platform stackinfo.h.
56979 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56980 perform test if it is, otherwise return successfully without testing.
56981 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56982 DEFAULT_STACK_PERMS define in stackinfo.h.
56983 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56984 defined in stackinfo.h.
56985 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56986 DEFAULT_STACK_PERMS defined in stackinfo.h.
56987 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56988 * sysdeps/ia64/stackinfo.h: Likewise.
56989 * sysdeps/s390/stackinfo.h: Likewise.
56990 * sysdeps/sh/stackinfo.h: Likewise.
56991 * sysdeps/sparc/stackinfo.h: Likewise.
56992 * sysdeps/x86_64/stackinfo.h: Likewise.
56993 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56994 PF_X for powerpc64. Retain PF_X for powerpc32.
56996 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56998 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57000 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57001 GETDENTS_64BIT_ALIGNED.
57003 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57005 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57007 2010-12-10 Andreas Schwab <schwab@redhat.com>
57009 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57012 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57013 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57015 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57016 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57018 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57021 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57024 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57026 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57028 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57030 * po/it.po: Update from translation team.
57032 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57037 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57039 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57041 2010-11-24 Andreas Schwab <schwab@redhat.com>
57043 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57045 (gaih_getanswer_slice): Likewise.
57047 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57051 2010-05-31 Petr Baudis <pasky@suse.cz>
57054 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57055 silently even in the chroot mode.
57057 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57060 last patch a bit. Pretty printing
57062 2010-05-31 Petr Baudis <pasky@suse.cz>
57065 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57066 initialization of skip_initgroups_dyn.
57068 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57070 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57071 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57073 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57075 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57077 2010-11-11 Andreas Schwab <schwab@redhat.com>
57079 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57080 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57081 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57082 ($(objpfx)tst-fnmatch-mem): New rule.
57083 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57084 * posix/tst-fnmatch.c (main): Call mtrace.
57086 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57089 Support Intel processor model 6 and model 0x2c.
57091 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57096 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57099 * string/test-strncasecmp.c (check_result): New function.
57100 (do_one_test): Use it.
57101 (check1): New function.
57102 (test_main): Use it.
57103 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57104 Support strcasecmp and strncasecmp.
57106 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57109 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57112 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57114 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57118 * sysdeps/x86_64/multiarch/bzero.S: New file.
57119 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57120 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57121 * sysdeps/x86_64/multiarch/memset.S: New file.
57122 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57124 Set bit_Prefer_SSE_for_memop for Intel processors.
57125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57127 (index_Prefer_SSE_for_memop): Define.
57128 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57130 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57132 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57133 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57135 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57138 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57139 (__x86_64_raw_data_cache_size_half): Likewise.
57140 (__x86_64_raw_shared_cache_size): Likewise.
57141 (__x86_64_raw_shared_cache_size_half): Likewise.
57143 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57144 (__x86_64_raw_data_cache_size_half): Likewise.
57145 (__x86_64_raw_shared_cache_size): Likewise.
57146 (__x86_64_raw_shared_cache_size_half): Likewise.
57147 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57148 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57149 and __x86_64_raw_shared_cache_size_half. Round
57150 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57151 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57152 to multiple of 256 bytes.
57154 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57158 of inacessible symlinks. Verify result of symlink before returning it.
57159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57160 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57162 2010-10-28 Erich Ritz <erichritz@gmail.com>
57164 * math/math.h (isinf): Fix typo in comment.
57166 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57168 * po/da.po: Update from translation team.
57170 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57172 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57173 is added to the list.
57175 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57176 Ulrich Drepper <drepper@gmail.com>
57178 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57179 the global list here. Move code to...
57180 (_dl_add_to_namespace_list): ...here. New function.
57181 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57182 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57183 * elf/dl-load.c (lose): Don't remove the element from the list.
57184 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57185 (_dl_map_object): Likewise.
57187 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57190 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57191 into all bytes of SSE register.
57192 Patch by Richard Li <richardpku@gmail.com>.
57194 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57197 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57200 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57202 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57203 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57205 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57210 2010-10-22 Andreas Schwab <schwab@redhat.com>
57212 * include/dlfcn.h (__RTLD_SECURE): Define.
57213 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57214 mode & __RTLD_SECURE instead.
57215 (open_path): Rename preloaded parameter to secure.
57216 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57217 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57218 * elf/dl-deps.c (openaux): Likewise.
57219 * elf/rtld.c (struct map_args): Remove is_preloaded.
57220 (map_doit): Don't use it.
57221 (dl_main): Likewise.
57222 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57223 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57225 2010-09-09 Andreas Schwab <schwab@redhat.com>
57227 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57228 (sysd-rules-targets): Remove duplicates.
57229 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57230 rtld-%.$o dependency.
57232 2010-10-18 Andreas Schwab <schwab@redhat.com>
57234 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57235 _dl_map_object do it.
57237 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57239 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57240 fast fma builtins, define the macros in the C99 standard.
57241 (FP_FAST_FMAF): Likewise.
57242 (FP_FAST_FMAL): Likewise.
57243 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57245 * bits/mathdef.h: Update copyright year.
57246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57248 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57250 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57251 builtins, define the macros in the C99 standard.
57252 (FP_FAST_FMAF): Likewise.
57253 (FP_FAST_FMAL): Likewise.
57254 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57256 (FP_FAST_FMAF): Likewise.
57258 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57261 * math/libm-test.inc (fma_test): Some new testcases.
57262 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57264 y and infinite z. Do multiplication by C already in long double.
57265 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57267 y and infinite z. Do bitwise or of inexact bit into u.d.
57268 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57269 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57270 * sysdeps/i386/fpu/s_fma.S: Removed.
57271 * sysdeps/i386/fpu/s_fmal.S: Removed.
57273 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57276 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57277 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57278 computation is not scheduled after fetestexcept. Fix value
57279 of minimum denormal long double.
57281 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57284 * math/libm-test.inc (fma_test): Add some more tests.
57285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57288 2010-10-15 Andreas Schwab <schwab@redhat.com>
57290 * scripts/data/localplt-s390-linux-gnu.data: New file.
57291 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57293 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57296 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57297 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57299 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57301 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57303 if one of x and y is very large and the other is subnormal.
57304 * sysdeps/s390/fpu/s_fmaf.c: New file.
57305 * sysdeps/s390/fpu/s_fma.c: New file.
57306 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57307 * sysdeps/powerpc/fpu/s_fma.S: New file.
57308 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57309 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57310 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57312 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57315 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57317 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57318 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57319 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57320 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57321 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57322 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57323 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57325 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57328 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57329 * posix/bug-regex31.input: Add test case.
57331 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57333 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57334 * posix/bug-regex31.input: New file.
57337 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57338 (parse_sub_exp): Fix last change, use postorder.
57340 * posix/bug-regex31.c: New file.
57341 * posix/Makefile: Add rules to build and run bug-regex31.
57343 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57346 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57349 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57350 to have entries in sys_siglist.
57353 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57356 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57359 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57360 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57361 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57362 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57363 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57364 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57365 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57366 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57367 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57368 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57369 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57370 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57371 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57372 * math/ftestexcept.c (fetestexcept): Likewise.
57373 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57374 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57375 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57376 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57377 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57378 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57379 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57381 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57384 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57387 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57389 * string/bug-strstr1.c: New file.
57390 * string/Makefile: Add rules to build and run bug-strstr1.
57392 2010-10-05 Eric Blake <eblake@redhat.com>
57395 * string/str-two-way.h (two_way_long_needle): Always clear memory
57396 when skipping input due to the shift table.
57398 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57401 * malloc/mcheck.c: Handle large requests.
57404 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57405 for strncmp and strncasecmp.
57406 * string/stratcliff.c: Add tests for strcmp and strncmp.
57407 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57409 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57411 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57414 2010-09-30 Andreas Jaeger <aj@suse.de>
57416 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57417 (CGROUP_SUPER_MAGIC): Define.
57418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57419 Handle btrfs and cgroup file systems.
57420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57423 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57425 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57426 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57428 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57431 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57432 trying to locate the ELF header.
57434 2010-09-27 Andreas Schwab <schwab@redhat.com>
57437 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57438 Mask out sign-bit copies when constructing f_fsid.
57440 2010-09-24 Petr Baudis <pasky@suse.cz>
57442 * debug/stack_chk_fail_local.c: Add missing licence exception.
57443 * debug/warning-nop.c: Likewise.
57445 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57448 implementing getdents64 using getdents syscall, set d_type if
57449 __ASSUME_GETDENTS32_D_TYPE.
57451 2010-09-16 Andreas Schwab <schwab@redhat.com>
57453 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57454 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57456 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57459 * posix/unistd.h: Undo change of feature selection for ftruncate from
57462 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57464 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57467 2010-09-20 Andreas Schwab <schwab@redhat.com>
57469 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57471 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57473 2010-09-14 Andreas Schwab <schwab@redhat.com>
57475 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57476 variables after CHECK_SP call.
57477 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57479 2010-09-13 Andreas Schwab <schwab@redhat.com>
57480 Ulrich Drepper <drepper@redhat.com>
57482 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57483 re-relocationg ld.so.
57484 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57485 _dl_init_paths call.
57486 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57489 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57491 * resolv/res_init.c (__res_vinit): Count the default server we added.
57493 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57494 Ulrich Drepper <drepper@redhat.com>
57497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57498 (____longjmp_chk): Use %ebx for saving value across system call.
57501 2010-09-06 Andreas Schwab <schwab@redhat.com>
57503 * manual/Makefile: Don't mix pattern rules with normal rules.
57505 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57507 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57509 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57510 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57511 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57512 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57516 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57519 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57520 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57522 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57524 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57525 * sysdeps/x86_64/addmul_1.S: Likewise.
57526 * sysdeps/x86_64/lshift.S: Likewise.
57527 * sysdeps/x86_64/mul_1.S: Likewise.
57528 * sysdeps/x86_64/rshift.S: Likewise.
57529 * sysdeps/x86_64/sub_n.S: Likewise.
57530 * sysdeps/x86_64/submul_1.S: Likewise.
57532 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57534 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57535 Define __sched_param instead of SCHED_* and sched_param when
57536 <bits/sched.h> is included with __need_schedparam defined.
57537 * bits/sched.h [__need_schedparam]
57538 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57539 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57540 (__defined_schedparam): Define to 1.
57541 (__sched_param): New structure, identical to sched_param.
57542 (__need_schedparam): Undefine.
57544 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57547 (epoll_create1): Declare.
57549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57551 2010-08-31 Andreas Schwab <schwab@redhat.com>
57554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57555 shifting retval into place.
57557 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57559 * nis/rpcsvc/nis.h: Update copyright notice.
57560 * nis/rpcsvc/nis.x: Likewise.
57561 * nis/rpcsvc/nis_callback.h: Likewise.
57562 * nis/rpcsvc/nis_callback.x: Likewise.
57563 * nis/rpcsvc/nis_object.x: Likewise.
57564 * nis/rpcsvc/nis_tags.h: Likewise.
57565 * nis/rpcsvc/yp.h: Likewise.
57566 * nis/rpcsvc/yp.x: Likewise.
57567 * nis/rpcsvc/ypupd.h: Likewise.
57568 * nis/yp_xdr.c: Likewise.
57569 * nis/ypupdate_xdr.c: Likewise.
57571 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57572 mainly the body of pmap_getport. Add parameters to specify timeouts.
57573 (pmap_getport): Use __libc_rpc_getport.
57574 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57575 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57576 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57578 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57583 2010-08-27 Roland McGrath <roland@redhat.com>
57585 * sysdeps/i386/i686/multiarch/Makefile
57586 (CFLAGS-varshift.c): New variable.
57588 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57590 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57591 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57595 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57597 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57599 * sysdeps/x86_64/strlen.S: Unroll the loop.
57600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57601 strlen-sse2 strlen-sse2-bsf.
57602 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57603 __strlen_no_bsf if bit_Slow_BSF is set.
57604 (__strlen_sse42): Removed.
57605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57606 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57608 2010-08-25 Roland McGrath <roland@redhat.com>
57610 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57611 * sysdeps/x86_64/multiarch/varshift.c: New file.
57612 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57613 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57614 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57617 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57620 strlen-sse2 strlen-sse2-bsf.
57621 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57622 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57623 (__strlen_sse2): Removed.
57624 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57625 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57627 bit_Slow_BSF for Atom.
57628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57629 (index_Slow_BSF): Define.
57630 (HAS_SLOW_BSF): Define.
57632 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57635 * resolv/res_init.c (__res_vinit): When no server address at all
57636 is given default to loopback.
57638 2010-08-24 Roland McGrath <roland@redhat.com>
57640 * configure.in: Remove config-name.h generation.
57641 * configure: Regenerated.
57642 * config-name.in: File removed.
57643 * scripts/config-uname.sh: New file.
57644 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57645 ($(objdir)config-name.h): New target.
57647 * sunrpc/rpc_parse.h: Avoid nested comment.
57649 2010-08-24 Richard Henderson <rth@redhat.com>
57650 Ulrich Drepper <drepper@redhat.com>
57651 H.J. Lu <hongjiu.lu@intel.com>
57653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57655 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57656 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57657 _mm_alignr_epi8 with _mm_loadu_si128.
57658 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57659 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57660 (__m128i_shift_right): Removed.
57661 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57662 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57663 * sysdeps/x86_64/multiarch/varshift.h: New file.
57664 * sysdeps/x86_64/multiarch/varshift.S: New file.
57666 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57668 * configure.in: Move assembler checks to before sysdep dir checking.
57670 2010-08-20 Petr Baudis <pasky@suse.cz>
57672 * LICENSES: Sync the sunrpc license.
57674 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57676 * sunrpc/auth_des.c: Update copyright notice once again.
57677 * sunrpc/auth_none.c: Likewise.
57678 * sunrpc/auth_unix.c: Likewise.
57679 * sunrpc/authdes_prot.c: Likewise.
57680 * sunrpc/authuxprot.c: Likewise.
57681 * sunrpc/bindrsvprt.c: Likewise.
57682 * sunrpc/clnt_gen.c: Likewise.
57683 * sunrpc/clnt_perr.c: Likewise.
57684 * sunrpc/clnt_raw.c: Likewise.
57685 * sunrpc/clnt_simp.c: Likewise.
57686 * sunrpc/clnt_tcp.c: Likewise.
57687 * sunrpc/clnt_udp.c: Likewise.
57688 * sunrpc/clnt_unix.c: Likewise.
57689 * sunrpc/des_crypt.c: Likewise.
57690 * sunrpc/des_soft.c: Likewise.
57691 * sunrpc/get_myaddr.c: Likewise.
57692 * sunrpc/getrpcport.c: Likewise.
57693 * sunrpc/key_call.c: Likewise.
57694 * sunrpc/key_prot.c: Likewise.
57695 * sunrpc/openchild.c: Likewise.
57696 * sunrpc/pm_getmaps.c: Likewise.
57697 * sunrpc/pm_getport.c: Likewise.
57698 * sunrpc/pmap_clnt.c: Likewise.
57699 * sunrpc/pmap_prot.c: Likewise.
57700 * sunrpc/pmap_prot2.c: Likewise.
57701 * sunrpc/pmap_rmt.c: Likewise.
57702 * sunrpc/rpc/auth.h: Likewise.
57703 * sunrpc/rpc/auth_unix.h: Likewise.
57704 * sunrpc/rpc/clnt.h: Likewise.
57705 * sunrpc/rpc/des_crypt.h: Likewise.
57706 * sunrpc/rpc/key_prot.h: Likewise.
57707 * sunrpc/rpc/netdb.h: Likewise.
57708 * sunrpc/rpc/pmap_clnt.h: Likewise.
57709 * sunrpc/rpc/pmap_prot.h: Likewise.
57710 * sunrpc/rpc/pmap_rmt.h: Likewise.
57711 * sunrpc/rpc/rpc.h: Likewise.
57712 * sunrpc/rpc/rpc_des.h: Likewise.
57713 * sunrpc/rpc/rpc_msg.h: Likewise.
57714 * sunrpc/rpc/svc.h: Likewise.
57715 * sunrpc/rpc/svc_auth.h: Likewise.
57716 * sunrpc/rpc/types.h: Likewise.
57717 * sunrpc/rpc/xdr.h: Likewise.
57718 * sunrpc/rpc_clntout.c: Likewise.
57719 * sunrpc/rpc_cmsg.c: Likewise.
57720 * sunrpc/rpc_common.c: Likewise.
57721 * sunrpc/rpc_cout.c: Likewise.
57722 * sunrpc/rpc_dtable.c: Likewise.
57723 * sunrpc/rpc_hout.c: Likewise.
57724 * sunrpc/rpc_main.c: Likewise.
57725 * sunrpc/rpc_parse.c: Likewise.
57726 * sunrpc/rpc_parse.h: Likewise.
57727 * sunrpc/rpc_prot.c: Likewise.
57728 * sunrpc/rpc_sample.c: Likewise.
57729 * sunrpc/rpc_scan.c: Likewise.
57730 * sunrpc/rpc_scan.h: Likewise.
57731 * sunrpc/rpc_svcout.c: Likewise.
57732 * sunrpc/rpc_tblout.c: Likewise.
57733 * sunrpc/rpc_util.c: Likewise.
57734 * sunrpc/rpc_util.h: Likewise.
57735 * sunrpc/rpcinfo.c: Likewise.
57736 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57737 * sunrpc/rpcsvc/key_prot.x: Likewise.
57738 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57739 * sunrpc/rpcsvc/mount.x: Likewise.
57740 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57741 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57742 * sunrpc/rpcsvc/rex.x: Likewise.
57743 * sunrpc/rpcsvc/rstat.x: Likewise.
57744 * sunrpc/rpcsvc/rusers.x: Likewise.
57745 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57746 * sunrpc/rpcsvc/spray.x: Likewise.
57747 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57748 * sunrpc/rtime.c: Likewise.
57749 * sunrpc/svc.c: Likewise.
57750 * sunrpc/svc_auth.c: Likewise.
57751 * sunrpc/svc_authux.c: Likewise.
57752 * sunrpc/svc_raw.c: Likewise.
57753 * sunrpc/svc_run.c: Likewise.
57754 * sunrpc/svc_simple.c: Likewise.
57755 * sunrpc/svc_tcp.c: Likewise.
57756 * sunrpc/svc_udp.c: Likewise.
57757 * sunrpc/svc_unix.c: Likewise.
57758 * sunrpc/svcauth_des.c: Likewise.
57759 * sunrpc/xcrypt.c: Likewise.
57760 * sunrpc/xdr.c: Likewise.
57761 * sunrpc/xdr_array.c: Likewise.
57762 * sunrpc/xdr_float.c: Likewise.
57763 * sunrpc/xdr_mem.c: Likewise.
57764 * sunrpc/xdr_rec.c: Likewise.
57765 * sunrpc/xdr_ref.c: Likewise.
57766 * sunrpc/xdr_sizeof.c: Likewise.
57767 * sunrpc/xdr_stdio.c: Likewise.
57769 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57772 2010-08-19 Andreas Schwab <schwab@redhat.com>
57774 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57776 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57778 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57781 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57783 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57784 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57785 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57786 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57787 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57788 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57790 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57791 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57793 2010-07-26 Anton Blanchard <anton@samba.org>
57795 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57796 * malloc/arena.c (heap_trim): Likewise.
57798 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57800 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57803 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57805 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57807 * sysdeps/i386/elf/Makefile: New file.
57809 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57811 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57812 from fanotify_init.
57813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57814 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57816 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57818 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57820 * sysdeps/multiarch/strcmp.S: Likewise.
57822 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57825 strncase_l-nonascii.
57826 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57827 Add strncase_l-ssse3.
57828 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57829 * sysdeps/x86_64/strcmp.S: Likewise.
57830 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57831 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57832 * sysdeps/x86_64/strncase.S: New file.
57833 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57834 * sysdeps/x86_64/strncase_l.S: New file.
57835 * string/Makefile (strop-tests): Add strncasecmp.
57836 * string/test-strncasecmp.c: New file.
57838 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57841 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57844 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57846 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57848 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57850 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57851 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57852 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57854 2010-05-01 Alan Modra <amodra@gmail.com>
57856 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57857 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57858 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57859 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57860 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57861 tidying. Don't tail-call __sigjmp_save for static lib.
57862 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57864 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57865 (CALL_MCOUNT): Add eh info, and nop after bl.
57866 (TAIL_CALL_SYSCALL_ERROR): New macro.
57867 (PSEUDO_RET): Use it.
57868 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57869 Correct save location of integer regs and cr.
57870 (_dl_profile_resolve): Correct cr save location. Delete nops
57871 after bl when SHARED. Reduce cfi size a little by better
57872 placement of cfi directives.
57873 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57874 make a stack frame. Instead use parm save area as a temp.
57875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57876 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57878 Don't make a stack frame for parent, use parm save area.
57879 Increase child stack frame to 112 bytes. Don't save unused reg,
57880 and adjust reg usage. Set up cfi on error recovery and
57881 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57883 (__makecontext): Add dummy nop after jump to exit.
57884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57885 Use correct parm save area and cr save, reduce stack frame.
57886 Correct cfi for possible PSEUDO_RET frame setup.
57887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57888 Branch to local label emitted by PSEUDO_RET rather than
57891 2010-08-12 Andreas Schwab <schwab@redhat.com>
57894 * locale/programs/locale.c (print_assignment): New function.
57895 (show_locale_vars): Use it.
57897 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57899 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57901 (struct statfs64): Likewise.
57902 (_STATFS_F_FLAGS): Define.
57903 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57904 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57905 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57906 (ST_VALID): Define locally.
57907 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57908 __statvfs_getflags, use the provided value.
57909 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57910 __ASSUME_STATFS_F_FLAGS.
57912 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57914 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57915 Add sys/fanotify.h.
57916 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57917 fanotify_mask for GLIBC_2.13.
57918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57919 fanotify_init and fanotify_mark.
57920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57921 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57923 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57925 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57926 prlimit64 for GLIBC_2.13.
57927 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57932 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57937 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57940 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57941 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57943 * nss/Makefile: Add rules to build and run tst-nss-test1.
57944 * shlib-versions: Add entry for libnss_test1.
57945 * nss/nss_test1.c: New file.
57946 * nss/tst-nss-test1.c: New file.
57948 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57949 (__nss_configure_lookup): Set appropriate entry in
57950 __nss_configure_lookup to true.
57951 * nss/nsswitch.h: Define enum with indeces of databases in
57952 databases and __nss_database_custom arrays. Declare
57953 __nss_database_custom.
57954 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57955 to avoid using nscd when custom rules are installed.
57956 * nss/getXXbyYY_r.c: Likewise.
57957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57959 * nss/nss_files/files-parse.c: Whitespace fixes.
57961 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57964 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57965 * posix/fnmatch_loop.c: Likewise.
57967 2010-07-17 Andi Kleen <ak@linux.intel.com>
57969 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57970 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57971 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57972 * Versions.def [GLIBC_2.13]: Add.
57974 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57977 Also fail if tpwd after pwuid call is NULL.
57979 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57981 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57982 when converting to ms.
57984 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57986 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57987 EOPNOTSUPP errors with ENOTTY.
57988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57989 EOPNOTSUPP errors with ENOTTY.
57991 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57994 Add strcasecmp_l-ssse3.
57995 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57997 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57998 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57999 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58001 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58003 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58005 * string/Makefile (strop-tests): Add strcasecmp.
58006 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58007 strcasecmp_l-nonascii.
58008 (gen-as-const-headers): Add locale-defines.sym.
58009 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58010 * sysdeps/x86_64/strcasecmp.S: New file.
58011 * sysdeps/x86_64/strcasecmp_l.S: New file.
58012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58013 * sysdeps/x86_64/locale-defines.sym: New file.
58014 * string/test-strcasecmp.c: New file.
58016 * string/test-strcasestr.c: Test both ends of the range of characters.
58017 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58019 2010-07-29 Roland McGrath <roland@redhat.com>
58022 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58024 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58026 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58029 2010-07-27 Andreas Schwab <schwab@redhat.com>
58031 * manual/memory.texi (Malloc Tunable Parameters): Document
58034 2010-07-26 Roland McGrath <roland@redhat.com>
58037 * configure.in (-fgnu89-inline check): Set and substitute
58038 gnu89_inline, not libc_cv_gnu89_inline.
58039 * configure: Regenerated.
58040 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58042 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58044 * string/test-strnlen.c: New file.
58045 * string/Makefile (strop-tests): Add strnlen.
58046 * string/tester.c (test_strnlen): Add a few more test cases.
58047 * string/tst-strlen.c: Better error reporting.
58049 * sysdeps/x86_64/strnlen.S: New file.
58051 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58054 lower-latency instructions.
58056 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58058 * string/test-strcasestr.c: New file.
58059 * string/test-strstr.c: New file.
58060 * string/Makefile (strop-tests): Add strstr and strcasestr.
58061 * string/str-two-way.h: Don't undefine MAX.
58062 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58064 2010-07-21 Andreas Schwab <schwab@redhat.com>
58066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58067 strcasestr-nonascii.
58068 (CFLAGS-strcasestr-nonascii.c): Define.
58069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58070 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58071 Remove unused attribute.
58073 2010-07-20 Roland McGrath <roland@redhat.com>
58075 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58076 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58077 ld.so.cache was broken. With it, there is no way to disable dsocaps
58078 like LD_HWCAP_MASK can disable hwcaps.
58080 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58082 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58084 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58086 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58087 call in strcasestr.
58088 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58089 __strcasestr_sse42_nonascii.
58090 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58091 strcasestr-nonascii.c.
58092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58094 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58101 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58106 2010-07-06 Andreas Schwab <schwab@redhat.com>
58109 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58112 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58114 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58115 _PC_PIPE_BUF using F_GETPIPE_SZ.
58117 2010-07-05 Roland McGrath <roland@redhat.com>
58119 * manual/arith.texi (Rounding Functions): Fix rint description
58120 implicit in round description.
58122 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58124 * elf/Makefile: Fix linking for a few tests to make recent linker
58127 2010-06-30 Andreas Schwab <schwab@redhat.com>
58129 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58130 $(common-objpfx)libc_nonshared.a.
58132 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58134 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58135 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58136 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58137 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58138 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58139 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58140 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58141 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58156 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58157 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58158 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58159 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58160 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58161 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58162 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58163 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58164 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58165 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58166 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58167 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58183 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58185 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58186 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58187 * string/memmove.c (memmove): Renamed to ...
58188 (MEMMOVE): ...this. Default to memmove.
58189 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58190 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58193 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58194 mempcpy-ssse3-back memmove-ssse3-back.
58195 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58198 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58199 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58200 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58201 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58202 * sysdeps/x86_64/multiarch/memmove.c: New file.
58203 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58204 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58205 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58206 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58210 (index_Fast_Copy_Backward): Define.
58211 (HAS_ARCH_FEATURE): Define.
58212 (HAS_FAST_REP_STRING): Define.
58213 (HAS_FAST_COPY_BACKWARD): Define.
58215 2010-06-21 Andreas Schwab <schwab@redhat.com>
58217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58218 Restore proper fallback handling.
58220 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58223 * posix/group_member.c (__group_member): Correct checking loop.
58225 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58226 OOM in getpwuid_r correctly. Return error number when the caller
58227 should return, otherwise -1.
58228 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58229 call returning > 0 value.
58230 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58232 2010-06-07 Andreas Schwab <schwab@redhat.com>
58234 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58235 libc_nonshared.a from targets in modules-names.
58237 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58239 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58242 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58245 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58249 2010-06-02 Andreas Schwab <schwab@redhat.com>
58251 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58253 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58260 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58261 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58264 2010-06-14 Roland McGrath <roland@redhat.com>
58266 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58268 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58270 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58271 __REDIRECT followed by __THROW.
58272 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58273 * posix/getopt.h (getopt): Likewise.
58275 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58277 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58278 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58279 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58281 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58282 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58284 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58286 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58288 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58292 Properly check family and model.
58294 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58296 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58298 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58300 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58302 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58304 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58307 2010-05-19 Andreas Schwab <schwab@redhat.com>
58309 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58312 2010-05-21 Andreas Schwab <schwab@redhat.com>
58314 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58315 and internal_recvmmsg.
58316 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58317 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58319 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58321 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58322 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58323 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58325 2010-05-20 Andreas Schwab <schwab@redhat.com>
58327 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58329 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58331 POWER7 optimizations.
58332 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58333 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58335 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58337 * version.h: Update for 2.13 development version.
58339 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58341 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58342 exceptions. Return 0.
58344 2010-05-07 Roland McGrath <roland@redhat.com>
58346 * elf/ldconfig.c (main): Add a const.
58348 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58350 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58351 (args_options): Add no-idn option.
58352 (ahosts_keys_int): Add idn_flags to ai_flags.
58353 (parse_option): Handle 'i' option to clear idn_flags.
58355 * malloc/malloc.c (_int_free): Possible race in the most recently
58356 added check. Only act on the data if no current modification
58359 See ChangeLog.17 for earlier changes.