Add more tests of log, log10, log1p, log2.
[glibc.git] / ChangeLog
blobdc248f731beccb7cf133cef1a547d19c55a2f745
1 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4         log1p.
5         * math/auto-libm-test-out: Regenerated.
6         * sysdeps/i386/fpu/libm-test-ulps: Update.
7         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12         Elf64_Chdr structs and ELFCOMPRESS constants.
14 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17         expm1.
18         * math/auto-libm-test-out: Regenerated.
19         * sysdeps/i386/fpu/libm-test-ulps: Update.
20         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22         * math/auto-libm-test-in: Add more tests of erf and erfc.
23         * math/auto-libm-test-out: Regenerated.
24         * sysdeps/i386/fpu/libm-test-ulps: Update.
25         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29         * config.h.in (HAVE_AARCH64_BE): Add.
31 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
33         * math/auto-libm-test-in: Add more tests of csqrt.
34         * math/auto-libm-test-out: Regenerated.
35         * sysdeps/i386/fpu/libm-test-ulps: Update.
36         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38         * math/auto-libm-test-in: Add more tests of cosh and sinh.
39         * math/auto-libm-test-out: Regenerated.
40         * sysdeps/i386/fpu/libm-test-ulps: Update.
41         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
45 2015-04-29  Roland McGrath  <roland@hack.frob.com>
47         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
48         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
50         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
51         (euidaccess, eaccess): Define as weak aliases.
53         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
54         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
55         but __suseconds_t is often 'long int' so some sources assume that
56         type is being used (e.g. they use %ld to print tv_usec).
58 2015-04-29  Florian Weimer  <fweimer@redhat.com>
60         [BZ #18007]
61         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
62         (CVE-2014-8121)
63         * nss/tst-nss-getpwent.c: New file.
64         * nss/Makefile (tests): Add new test.
66 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
68         [BZ #18346]
69         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
70         exponents less than 48 as cases where high part of mantissa needs
71         examining to determine whether argument is integral.
72         * math/libm-test.inc (round_test_data): Add more tests.
74 2015-04-28  Mark Wielaard  <mjw@redhat.com>
76         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
78 2015-04-27  David S. Miller  <davem@davemloft.net>
80         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
81         __tls_get_addr.
82         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
84 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
86         [BZ#18333]
87         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
89 2015-04-27  Florian Weimer  <fweimer@redhat.com>
91         [BZ#18333]
92         * time/tzset.c (parse_tzname): Return error on memory allocation
93         failure.
94         * test-skeleton.c (struct temp_name_list): Change type of name
95         member to non-const.
96         (add_temp_file): Create a copy of the file name.
97         (delete_temp_files): Deallocate memory.
98         (create_temp_file): Add comment.
100 2015-04-24  Florian Weimer  <fweimer@redhat.com>
102         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
103         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
105 2015-04-24  Roland McGrath  <roland@hack.frob.com>
107         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
108         * sysdeps/arm/configure: Regenerated.
110 2015-04-24  Florian Weimer  <fweimer@redhat.com>
112         [BZ #17715]
113         * time/tzfile.c (__tzfile_read): Check for large values of
114         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
115         * time/tzset.c (__tzstring_len): New function, based on the old
116         __tzstring function.
117         (__tzstring): Call __tzstring_len.
118         (parse_tzname): New helper function extracted from
119         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
120         the input string.
121         (parse_offset): New helper function extracted from
122         __tzset_parse_tz.  Replace switch with fallthrough with
123         initialization before sscanf.
124         (parse_rule): Likewise.
125         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
126         new-style function definition.
127         * timezone/Makefile (tests): Add tst-tzset.
128         (tst-tzset.out): Dependencies on time zone files.
129         (tst-tzset-ENV): Set TZDIR.
130         (testdata/XT%): Copy crafted time zone files.
131         * timezone/README: Mention crafted time zone files.
132         * timezone/testdata/XT1, timezone/testdata/XT2,
133         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
134         files.
135         * timezone/tst-tzset.c: New test.
137 2015-04-24  Florian Weimer  <fweimer@redhat.com>
139         * Makeconfig (+gccwarn): Remove -Winline.
141 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
143         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
145 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
147         * NEWS: Mention sysconf() cache information support for s390.
148         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
150 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
152         * math/k_casinh.c (__kernel_casinh): Use __copysign.
153         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
154         (__nearbyint): Likewise.
155         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
156         (copysignl): Likewise.
158 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
160         [BZ #18287]
161         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
162         based on padding.  (CVE-2015-1781)
164 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
166         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
167         libc-vdso.h.
168         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
169         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
170         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
171         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
172         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
173         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
176         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
177         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
178         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
179         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
180         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
181         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
182         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
183         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
184         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
185         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
186         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
187         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
188         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
189         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
190         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
192 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
194         * stdlib/setenv.c (__add_to_environ):
195         Dump core quickly if setenv (..., NULL, ...) is called.
196         This time, do it the right way, and pacify GCC with a pragma.
198 2015-04-17  Roland McGrath  <roland@hack.frob.com>
200         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
201         IMAP->l_prev cannot be null, and #if out the code for the contrary
202         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
203         believe that NS (&_dl_ns[NSID]) could point outside the array.
205         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
206         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
207         before using NSID as an index.
209 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
211         [BZ #17825]
212         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
213         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
214         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
216 2015-04-17  Roland McGrath  <roland@hack.frob.com>
218         Add preliminary port to Google Native Client on ARM.
219         * abi-tags (.*-.*-nacl.*): New entry.
220         * sysdeps/arm/nacl: New directory.
221         * sysdeps/nacl: New directory.
223 2015-04-16  David S. Miller  <davem@davemloft.net>
225         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
226         lowlevellock-futex.h
228 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
230         * sysdeps/tile/configure.ac: New file.
231         * sysdeps/tile/configure: Regenerated.
233 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
235         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
236         conditionals for weak_alias and libc_hidden_weak.
237         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
238         libc_hidden_weak and weak_alias.
239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
240         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
241         and weak_alias for static one.
243 2015-04-15  David S. Miller  <davem@davemloft.net>
245         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
247 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
249         [BZ #18206]
250         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
251           Use signed comparision instead of substraction to avoid
252           overflow bug.
253         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
254           Take the sign of ret.
255         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
256           Do not expect precise return values. Only the sign matters.
257         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
258         * wcsmbs/test-wcsncmp.c: New File.
259         * string/test-strncmp.c: Add wcsncmp support.
261 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
263         [BZ #6792]
264         * math/w_log1p.c: New file.
265         * math/w_log1pf.c: Likewise.
266         * math/w_log1pl.c: Likewise.
267         * math/Makefile (libm-calls): Add w_log1p.
268         * math/s_log1pl.c (log1pl): Remove weak_alias.
269         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
270         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
271         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
272         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
273         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
274         [NO_LONG_DOUBLE] (log1pl): Likewise.
275         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
276         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
277         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
278         (log1p): Remove long_double_symbol.
279         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
280         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
281         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
282         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
283         remove weak_alias for corresponding log1p function.
284         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
285         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
286         * sysdeps/ia64/fpu/w_log1p.c: New file.
287         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
288         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
289         * math/libm-test.inc (log1p_test_data): Add errno expectations.
291 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
293         [BZ #18247]
294         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
295         decimal exponent by 1.
296         * stdlib/tst-strtod-round-data: Add more tests.
297         * stdlib/tst-strtod-round.c (tests): Regenerated.
299 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
301         * math/auto-libm-test-in: Add more tests of clog and clog10.
302         * math/auto-libm-test-out: Regenerated.
303         * sysdeps/i386/fpu/libm-test-ulps: Update.
304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306 2015-04-09  Roland McGrath  <roland@hack.frob.com>
308         * Makeconfig (module-cppflags): Exclude all .v.i files.
309         (skip-module-cppflags): Variable removed.
311         * configure.ac (libc_config_ok): Initialize before reading
312         preconfigure scripts, not after.
313         * configure: Regenerated.
315         * test-skeleton.c (TIMEOUT): Move #define to top level.
316         (main): Grok environment variable TEST_DIRECT.  If set, print
317         test expectation details into that file and then behave as if
318         given --direct.
320 2015-04-09  Florian Weimer  <fweimer@redhat.com>
322         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
323         warning on 32-bit.
325 2015-04-08  David S. Miller  <davem@davemloft.net>
327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
329 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
331         * math/auto-libm-test-in: Add more tests of atanh.
332         * math/auto-libm-test-out: Regenerated.
333         * sysdeps/i386/fpu/libm-test-ulps: Update.
334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
336         * math/auto-libm-test-in: Add more tests of atan.
337         * math/auto-libm-test-out: Regenerated.
338         * sysdeps/i386/fpu/libm-test-ulps: Update.
339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
341 2015-04-08  Florian Weimer  <fweimer@redhat.com>
343         * elf/pldd.c (main): Rewrite to use struct
344         scratch_buffer instead of extend_alloca.
345         * elf/pldd-xx.c (find_maps): Likewise.
346         * grp/initgroups.c: Include <scratch_buffer.h> instead of
347         <alloca.h>.
348         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
349         scratch_buffer instead of extend_alloca.
350         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
351         grp/compat-initgroups.c.
352         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
353         Rewrite to use struct scratch_buffer instead of extend_alloca.
354         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
355         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
357 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
359         * math/auto-libm-test-in: Add more tests of cbrt.
360         * math/auto-libm-test-out: Regenerated.
361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
363         * math/auto-libm-test-in: Add more tests of cabs.
364         * math/auto-libm-test-out: Regenerated.
365         * sysdeps/i386/fpu/libm-test-ulps: Update.
366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
368         [BZ #18210]
369         [BZ #18211]
370         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
371         (__ieee754_atan2): Set FE_TONEAREST mode for internal
372         computations.
373         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
374         clog10.
375         * math/auto-libm-test-out: Regenerated.
376         * sysdeps/i386/fpu/libm-test-ulps: Update.
377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
379         [BZ #18197]
380         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
381         (atan): Set FE_TONEAREST mode for internal computations.
382         * math/auto-libm-test-in: Add more tests of atan.
383         * math/auto-libm-test-out: Regenerated.
385 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
387         [BZ #17930]
388         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
390 2015-04-07  Florian Weimer  <fweimer@redhat.com>
392         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
394 2015-04-07  Florian Weimer  <fweimer@redhat.com>
396         * include/scratch_buffer.h: New file.
397         * malloc/scratch_buffer_grow.c: Likewise.
398         * malloc/scratch_buffer_grow_preserve.c: Likewise.
399         * malloc/scratch_buffer_set_array_size.c: Likewise.
400         * malloc/tst-scratch_buffer.c: Likewise.
401         * malloc/Makefile (routines): Add scratch_buffer_grow.
402         (tests): Add test case.
403         * malloc/Versions (GLIBC_PRIVATE): Export
404         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
405         __libc_scratch_buffer_set_array_size.
407 2015-04-06  Richard Henderson  <rth@redhat.com>
409         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
410         * sysdeps/alpha/fpu/libm-test-ulps: Update.
412         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
413         unsigned int before printing.
415 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
417         [BZ #17596]
418         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
419         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
421 2015-04-02  Florian Weimer  <fweimer@redhat.com>
423         * include/libc-internal.h (libc_max_align_t): Define.
425 2015-04-02  Andreas Schwab  <schwab@suse.de>
427         [BZ #16850]
428         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
430 2015-04-02  Mel Gorman  <mgorman@suse.de>
432         [BZ #17195]
433         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
434         as well as the main arena.
436 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
438         [BZ #18185]
439         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
440         sharing L2 cache to 2 for Silvermont/Knights Landing.
442 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
444         [BZ #17711]
445         * config.make.in (have-protected-data): New.
446         * configure.ac: Check linker support for protected data symbol.
447         * configure: Regenerated.
448         * elf/Makefile (modules-names): Add tst-protected1moda and
449         tst-protected1modb if $(have-protected-data) is yes.
450         (tests): Add tst-protected1a and tst-protected1b if
451         $(have-protected-data) is yes.
452         ($(objpfx)tst-protected1a): New.
453         ($(objpfx)tst-protected1b): Likewise.
454         (tst-protected1modb.so-no-z-defs): Likewise.
455         * elf/tst-protected1a.c: New file.
456         * elf/tst-protected1b.c: Likewise.
457         * elf/tst-protected1mod.h: Likewise.
458         * elf/tst-protected1moda.c: Likewise.
459         * elf/tst-protected1modb.c: Likewise.
461 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
463         [BZ #17711]
464         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
465         indicates it is called from do_lookup_x on relocation against
466         protected data, skip the data definion in the executable from
467         copy reloc.
468         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
469         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
470         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
471         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
472         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
473         otherwise to 0.
474         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
475         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
476         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
477         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
478         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
479         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
481 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
483         * sysdeps/nptl/pthread.h: Remove duplicate definition of
484         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
486 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
488         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
489         THREAD_SETMEM_NC.
490         * sysdeps/x86_64/nptl/tls.h: Ditto.
492 2015-03-27  Roland McGrath  <roland@hack.frob.com>
494         * dlfcn/tststatic.c (main): Converted to ...
495         (do_test): ... this.
496         (TEST_FUNCTION): New macro.
497         Include test-skeleton.c.
499 2015-03-26  Alan Modra  <amodra@gmail.com>
501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
502         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
503         zero for undefined weak.
504         (elf_machine_plt_conflict): Similarly.
506 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
508         * math/auto-libm-test-in: Add more tests of acosh, asinh and
509         atanh.
510         * math/auto-libm-test-out: Regenerated.
511         * sysdeps/i386/fpu/libm-test-ulps: Update.
512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514         * math/auto-libm-test-in: Add another test of asin.
515         * math/auto-libm-test-out: Regenerated.
516         * sysdeps/i386/fpu/libm-test-ulps: Update.
517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
519         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
520         Remove macro.
521         (LLL_EBX_REG): Likewise.
522         (LLL_ENTER_KERNEL): Likewise.
524         * math/auto-libm-test-in: Add more tests of asin.
525         * math/auto-libm-test-out: Regenerated.
526         * sysdeps/i386/fpu/libm-test-ulps: Update.
527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529         [BZ #18138]
530         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
531         libc_do_syscall_args): New structure.
532         (INTERNAL_SYSCALL_MAIN_0): New macro.
533         (INTERNAL_SYSCALL_MAIN_1): Likewise.
534         (INTERNAL_SYSCALL_MAIN_2): Likewise.
535         (INTERNAL_SYSCALL_MAIN_3): Likewise.
536         (INTERNAL_SYSCALL_MAIN_4): Likewise.
537         (INTERNAL_SYSCALL_MAIN_5): Likewise.
538         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
539         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
540         Replace conditional definitions by conditional definitions of ....
541         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
542         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
543         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
544         (libpthread-sysdep_routines): Add libc-do-syscall.
545         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
547         to __NR_futex not 240.
549 2015-03-25  Alan Modra  <amodra@gmail.com>
551         * NEWS: Advertise TLS optimization.
552         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
553         (DT_PPC_NUM): Increment.
554         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
555         (CHECK_STATIC_TLS): Use here.
556         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
557         TLS descriptors.
558         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
559         * sysdeps/powerpc/dl-tls.c: New file.
560         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
561         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
562         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
563         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
568 2015-03-25  Alan Modra  <amodra@gmail.com>
570         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
571         for overlapping .opd entries" to "support...".
572         * sysdeps/powerpc/powerpc64/configure: Regenerate
574 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
576         * math/auto-libm-test-in: Add more tests of acos.
577         * math/auto-libm-test-out: Regenerated.
578         * sysdeps/i386/fpu/libm-test-ulps: Update.
579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
581         * math/auto-libm-test-in: Add more tests of expm1.
582         * math/auto-libm-test-out: Regenerated.
583         * sysdeps/i386/fpu/libm-test-ulps: Update.
584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
586 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
588         * math/auto-libm-test-in: Add more tests of cosh and sinh.
589         * math/auto-libm-test-out: Regenerated.
590         * sysdeps/i386/fpu/libm-test-ulps: Update.
591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
593         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596         * math/auto-libm-test-in: Add more tests of log2.
597         * math/auto-libm-test-out: Regenerated.
598         * sysdeps/i386/fpu/libm-test-ulps: Update.
599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
601 2015-03-23  Roland McGrath  <roland@hack.frob.com>
603         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
604         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
605         _IO_IS_APPENDING bit in READ_WRITE instead.
607 2015-03-23  Florian Weimer  <fweimer@redhat.com>
609         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
610         (__determine_cpumask_size): Replace extend_alloca with a
611         variable-length array.  Do not treat res == 0 as an error.
613 2015-03-23  Florian Weimer  <fweimer@redhat.com>
615         [BZ #18100]
616         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
617         and integer overflow.
618         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
619         (main): Add integer overflow tests.
620         * manual/pattern.texi (Calling Wordexp): Document additional use
621         for WRDE_SYNTAX.
623 2015-03-23  Alan Modra  <amodra@gmail.com>
625         * config.h.in: Remove HAVE_ASM_PPC_REL16.
626         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
627         and false branch of conditional.
628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
629         Likewise.
631 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
633         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
634         libc-modules.h
635         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
636         unused declaration of _hurd_intr_rpc_msg_in_trap.
637         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
638         defined instead of whether it is non-zero.
639         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
640         input constraint instead of both input and output constraint.  Use ecx
641         clobber instead of %ecx.
642         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
643         mutex_unlock): Use a statement expression instead of an expression list.
644         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
645         type to vm_size_t instead of vm_address_t.
646         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
647         defined instead of whether it is non-zero.
648         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
649         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
650         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
651         comparisons with mapaddr.
652         * nscd/nscd-client.h: Include <time.h>.
653         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
654         9th parameter to __vm_region instead of int.
655         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
656         * scripts/check-local-headers.sh (exclude): Add device/,
657         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
658         cthreads.h.
660 2015-03-19  Roland McGrath  <roland@hack.frob.com>
662         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
663         to account for alignment padding.
664         * sysdeps/arm/memmove.S: Likewise.
666 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
668         * sysdeps/unix/sysv/linux/generic/README: New file.
670 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
672         [BZ #18138]
673         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
674         (futex_abstimed_wait)
675         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
676         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
677         of lll_futex_timed_wait.
679 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
681         [BZ #17542]
682         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
684 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
686         [BZ #17090]
687         [BZ #17620]
688         [BZ #17621]
689         [BZ #17628]
690         * NEWS: Update.
691         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
692         entries with Static TLS too.  Skip entries past the end of the
693         allocated DTV, from Alan Modra.
694         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
695         Static TLS DTV entry set up from...
696         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
697         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
698         * nptl/allocatestack.c (init_one_static_tls): ... and here...
699         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
700         for Static TLS.
701         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
702         that the slot we find is associated with the given map before
703         using its generation count.
704         * nptl_db/db_info.c: Include ldsodefs.h.
705         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
706         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
707         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
708         (link_map::l_tls_offset): New struct field.
709         (dtv_t::counter): Likewise.
710         (rtld_global): New struct.
711         (_rtld_global): New rtld variable.
712         (dl_tls_dtv_slotinfo_list): New rtld global field.
713         (dtv_slotinfo_list): New struct.
714         (dtv_slotinfo): Likewise.
715         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
716         (td_lookup): Rename to...
717         (td_mod_lookup): ... this.  Use new mod parameter instead of
718         LIBPTHREAD_SO.
719         * nptl_db/td_thr_tlsbase.c: Include link.h.
720         (dtv_slotinfo_list, dtv_slotinfo): New functions.
721         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
722         addresses even if the DTV is out of date or missing them.
723         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
724         index zero-length arrays.
725         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
726         (td_lookup): Make it a macro implemented in terms of...
727         (td_mod_lookup): ... this declaration.
728         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
729         (DB_MAIN_VARIABLE): Likewise.
731 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
733         [BZ #18134]
734         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
736 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
738         * stdlib/setenv.c (__add_to_environ): Revert previous change.
740 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
742         [BZ #18128]
743         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
744         (atomic_add, atomic_increment_and_test)
745         (atomic_decrement_and_test): Fix 64-bit arithmetic.
747 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
749         * stdlib/setenv.c (__add_to_environ):
750         Dump core quickly if setenv (..., NULL, ...) is called.
752 2015-03-13  Roland McGrath  <roland@hack.frob.com>
754         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
755         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
756         all the necessary asm magic in one place.
757         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
758         using those.
760 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
762         [BZ #14906]
763         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
764         traced file mtime. Use consistent log message.
765         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
766         (register_traced_file): Call install_watches. Always set mtime.
767         (invalidate_cache): Iterate over all trace files. Call install_watches.
768         (inotify_check_files): Don't inline. Handle watching parent
769         directories and configuration file movement in and out.
770         (handle_inotify_events): New function.
771         (main_loop_poll): Call handle_inotify_events.
772         (main_loop_epoll): Likewise.
773         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
774         (struct traced_file): Use array of inotify fds. Add parent directory,
775         and basename.
776         (struct database_dyn): Remove unused file_mtime.
777         (init_traced_file): New inline function.
778         (define_traced_file): New macro.
779         * nss/nss_db/db-init.c: Use define_traced_file.
780         (_nss_db_init): Use init_traced_file.
781         * nss/nss_files/files-init.c: Use define_traced_file.
782         (_nss_files_init): Use init_traced_file.
784 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
786         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
787         [_LIBC]: Do not include <stdlib.h>.
788         [!_LIBC] (abort): Remove declaration.
789         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
790         _FP_STATIC_ASSERT instead of conditionally calling abort.
791         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
792         (_FP_EXTEND_CNAN): Likewise.
793         (FP_TRUNC): Likewise.
794         (__FP_CLZ): Likewise.
795         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
797 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
799         * manual/string.texi (XPG basename): Fix prototype.
801 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
803         [BZ #18080]
804         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
805         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
806         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
807         (__setcontext): Likewise.
808         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
809         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
810         Call rt_sigprocmask syscall one time to set new signal mask
811         and retrieve the current signal mask instead of two calls.
812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
813         (__swapcontext): Likewise.
814         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
815         * stdlib/tst-setcontext2.c: New file.
817 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
821 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
823         [BZ #18093]
824         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
825         the wrong size.
827 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
829         [BZ #18043]
830         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
832 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
834         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
835         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
836         Remove define.
837         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
838         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
839         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
840         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
841         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
842         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
843         define.
844         * nptl_db/td_symbol_list.c (td_lookup): Remove
845         HAVE_ASM_GLOBAL_DOT_NAME code.
846         * sysdeps/powerpc/powerpc64/configure.ac: Remove
847         HAVE_ASM_GLOBAL_DOT_NAME check.
848         * sysdeps/powerpc/powerpc64/configure: Regenerate.
849         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
850         (DOT_LABEL): Remove define.
851         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
852         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
853         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
854         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
855         (__TLS_GET_ADDR): Likewise.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
857         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
859 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
861         [BZ #18111]
862         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
863         (_FPU_SETCW): Initialize cw from fpsr before storing.
864         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
865         (fesetexceptflag): Rewrite using fpu_control.h.
866         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
868 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
870         [BZ #18110]
871         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
872         asms.
873         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
875 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
877         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
878         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
879         abort.
880         (_FP_FMA): Likewise.
881         (_FP_DIV): Likewise.
883 2015-03-10  Roland McGrath  <roland@hack.frob.com>
885         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
886         with 0 in that case.
887         * Makefile (summarize-tests): New canned sequence, factored out of
888         commands for targets tests and xtests.  Display summary lines that
889         don't start with PASS: or XFAIL: rather than ones that do start with
890         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
891         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
892         do start with ERROR: or FAIL:.
893         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
894         (except for [$(build-shared) = yes]).
895         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
896         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
897         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
898         * nptl/Makefile: Revert 2015-03-04 changes.
899         [$(CXX) empty] (tests-unsupported): New variable.
900         * debug/Makefile: Likewise.
902         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
903         gnulib file.  Replace __attribute with __attribute__ throughout.
905 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
907         * sysdeps/hppa/fpu/libm-test-ulps: Update.
909 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #18104]
912         * math/auto-libm-test-in: Add another test of pow.
913         * math/auto-libm-test-out: Regenerated.
915 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
917         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
918         $(config-cflags-nofma).
920 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
922         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
923         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
924         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
925         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
926         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
927         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
928         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
929         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
930         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
931         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
932         Add comment on closing #endif.
934 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
936         * posix/wordexp.c (CHAR_IN_SET): New macro.
937         (parse_param): Use it.
939 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
941         * sysdeps/powerpc/fpu/libm-test-ulps: update.
943 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
945         [BZ #18043]
946         * posix/wordexp.c (parse_param): Fix buffer overflow.
947         * posix/wordexp-test.c (test_case): Add test case.
949 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
951         [BZ #18042]
952         * posix/wordexp.c (parse_backtick): Fix off-by-one.
953         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
955 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
957         [BZ #18043]
958         * posix/wordexp-test.c (test_case): Add test for BZ #18043
959         (do_bz18043): Delete.
960         (at_page_end): New.
961         (testit): Refactor to have words at the edge of unreadable page.
963 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
965         [BZ #16734]
966         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
967         Cleanup read-only streams as well.
968         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
970 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
972         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
973         <bits/libc-lockP.h>
975 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
977         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
978         on [__KERNEL__].
979         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
980         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
981         * soft-fp/op-common.h (_FP_DECL): Likewise.
983 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
985         * elf/ifuncdep2.c (global): Replace
986         __attribute__((visibility("protected"))) with
987         asm (".protected global").
988         * elf/ifuncmod1.c (global): Likewise.
989         * elf/ifuncmod5.c (global): Likewise.
991 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
993         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
994         <asm/sfp-machine.h> instead of <sfp-machine.h>.
996 2015-03-06  Roland McGrath  <roland@hack.frob.com>
998         * manual/install.texi (Configuring and compiling):
999         Document test-wrapper-env-only.
1000         * INSTALL: Regenerated.
1002 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1004         [BZ #18043]
1005         * posix/wordexp.c (parse_param): Fix buffer overflow.
1006         * posix/wordexp-test.c (do_bz18043): Add test case.
1008 2015-03-06  Vincent Bernat  <vincent@bernat.im>
1010         * time/tst-strptime2.c (do_test): Ensure failing tests are
1011         reported correctly.
1012         * time/tst-strptime3.c (do_test): Likewise.
1014 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
1016         Fix aio_error thread-safety.
1017         * sysdeps/pthread/aio_error.c: New file
1018         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1019         synchronization.
1021 2015-03-06  Florian Weimer  <fweimer@redhat.com>
1023         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1024         (group_number, vfprintf): Use it.
1025         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1026         (JUMP, REF): Use it.
1027         (WORK_BUFFER_SIZE): New enum constant.
1028         (process_arg, vfprintf): Use it.
1030 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
1032         * manual/errno.texi (Error Messages): Complete example function
1033         by adding missing #define.
1034         (program_invocation_name): Add statement indicating GNU
1035         extension and reference which header file declares the variable.
1036         (program_invocation_short_name): Likewise.
1038 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
1040         * manual/errno.texi (Error Messages): Delete strerror ISO C89
1041         compatibility note.
1043 2015-03-05  Roland McGrath  <roland@hack.frob.com>
1045         * Makeconfig (test-wrapper-env-only): New variable.
1046         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1047         then use that with $(test-wrapper-env-only) rather than using
1048         $(test-wrapper-env) $(run-program-env) $($*-ENV).
1050 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1052         [BZ #18082]
1053         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1054         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1055         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1056         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1057         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1058         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1059         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1060         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1061         Likewise.
1062         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1063         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1064         Likewise.
1065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1066         Likewise.
1067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1068         Likewise.
1069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1070         Likewise.
1071         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1072         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1073         Likewise.
1074         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1075         Likewise.
1076         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1077         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1079 2015-03-04  Roland McGrath  <roland@hack.frob.com>
1081         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1082         (ETH_ALEN): New macro.
1083         (struct ether_addr): Use it for length of ether_addr_octet.
1085         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1086         (setdb): Don't call __nss_configure_lookup for "rpc".
1087         (do_test): Don't call test_rpc.
1088         (output_rpcent, test_rpc): Functions moved ...
1089         * sunrpc/test-rpcent.c: ... to this new file.
1090         * sunrpc/Makefile (tests): Add it.
1092         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1093         __xpg_sigpause.
1094         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1095         * nptl/tst-signal6.c: Likewise.
1096         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1097         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1099         * configure.ac (libc_cv_cxx_link_ok): New check.
1100         Reset CXX to empty if it fails to link.
1101         * configure: Regenerated.
1102         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1103         bug-atexit3-lib only if $(CXX) is nonempty.
1104         * nptl/Makefile (tests): Likewise for tst-cancel24.
1105         (tests, tests-static): Likewise for tst-cancel24-static.
1106         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1107         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1108         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1109         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1111 2015-03-04  Andreas Schwab  <schwab@suse.de>
1113         [BZ #17631]
1114         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1115         for non-GCC compilers.
1116         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1117         Likewise.
1119 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1121         [BZ #17776]
1122         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1123         integer before bitwise and assembly operations.
1124         (feclearexcept): Likewise.
1125         * math/test-fenvinline.c: New file.
1126         * math/Makefile: Add test-fenvinline test.
1128 2015-03-03  Alan Modra  <amodra@gmail.com>
1130         [BZ #16512]
1131         * scripts/localplt.awk: Strip off symbol version.
1132         * NEWS: Mention bug fix.
1134 2015-03-02  Roland McGrath  <roland@hack.frob.com>
1136         * sysdeps/pthread/timer_routines.c
1137         (timer_free_list, thread_free_list, thread_active_list): Make static.
1139 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
1141         [BZ #17779]
1142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1143         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1144         Undefine.
1145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1146         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1147         Likewise.
1148         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1149         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1150         Likewise.
1152 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1154         [BZ #18036]
1155         * posix/fnmatch_loop.c (END): Detect invalid pattern.
1156         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1158 2015-03-02  Andreas Schwab  <schwab@suse.de>
1160         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1161         variable name.
1163 2015-03-02  Florian Weimer  <fweimer@redhat.com>
1165         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1166         Return error status.
1168 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
1170         [BZ #15969]
1171         * locale/findlocale.c (_nl_find_locale): Introduce const
1172         version of loc_name and drop unsafe type casts.
1174 2015-02-27  Roland McGrath  <roland@hack.frob.com>
1176         * dlfcn/tststatic2.c (main): Converted to ...
1177         (do_test): ... this.
1178         (TEST_FUNCTION): New macro.
1179         Include test-skeleton.c.
1181 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1183         [BZ #17711]
1184         * elf/Makefile (tests): Add vismain only if PIE is enabled.
1185         (tests-pie): Add vismain.
1186         (CFLAGS-vismain.c): New.
1187         * elf/vismain.c: Add comments for PIE requirement.
1189 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1191         [BZ #18046]
1192         [BZ #18047]
1193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1194         0x1p-56L as threshold for just returning the argument.
1195         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1196         0x1p-32L as threshold for just returning the argument.
1197         * math/auto-libm-test-in: Add more tests of atanh.
1198         * math/auto-libm-test-out: Regenerated.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1202 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1204         * string/bcopy.c (bcopy): Call memmove for performance.
1206 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1208         * string/bzero.c (__bzero): Call memset for performance.
1210 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1212         [BZ #18068]
1213         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1214         to 00100000.
1216 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1218         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1220 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1222         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1223         (__kernel_standard): Use CSTR macro when setting exc.name.
1224         * sysdeps/ieee754/Makefile [$(subdir) = math]
1225         (CFLAGS-k_standard.c): Remove variable.
1227         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1228         setting p and q from "else if" to "else".
1229         (qzero): Likewise.
1230         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1231         (qone): Likewise.
1232         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1233         (qzerof): Likewise.
1234         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1235         (qonef): Likewise.
1236         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1237         (qzero): Likewise.
1238         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1239         (qone): Likewise.
1241         [BZ #18038]
1242         [BZ #18039]
1243         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1244         return pi/2 for arguments below 0x1p-113L.
1245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1246         return pi/2 for arguments below 0x1p-106L.
1247         * math/auto-libm-test-in: Add more tests of acos.
1248         * math/auto-libm-test-out: Regenerated.
1250         [BZ #16351]
1251         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1252         (MO): New macro.
1253         (__ieee754_asin): Force underflow exception for results with small
1254         absolute value.
1255         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1256         (MO): New macro.
1257         (__ieee754_asinf): Force underflow exception for results with
1258         small absolute value.
1259         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1260         (__ieee754_asin): Force underflow exception for results with small
1261         absolute value.
1262         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1263         (__ieee754_asinf): Force underflow exception for results with
1264         small absolute value.
1265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1266         (__ieee754_asinl): Force underflow exception for results with
1267         small absolute value.
1268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1269         (__ieee754_asinl): Force underflow exception for results with
1270         small absolute value.
1271         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1272         (__ieee754_asinl): Force underflow exception for results with
1273         small absolute value.
1274         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1275         Include <math.h>.
1276         * math/auto-libm-test-in: Do not mark underflow exceptions as
1277         possibly missing for bug 16351.
1278         * math/auto-libm-test-out: Regenerated.
1280         [BZ #18030]
1281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1282         of power of 2 down when low part has opposite sign.
1283         * math/libm-test.inc (logb_test_data): Add more tests.
1285 2015-02-26  Andreas Schwab  <schwab@suse.de>
1287         [BZ #18032]
1288         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1289         over collating symbol inside a bracket expression.  Minor cleanup.
1290         * posix/tst-fnmatch3.c (do_test): Add test case.
1292 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1294         [BZ #18029]
1295         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1296         Adjust exponent of power of 2 down when low part has opposite
1297         sign.
1298         * math/libm-test.inc (ilogb_test_data): Add more tests.
1300 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1302         [BZ #15969]
1303         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1304         the previous change.
1306         [BZ #15969]
1307         * locale/findlocale.c (_nl_find_locale): Retry archive search
1308         after alias expansion.
1310 2015-02-25  Roland McGrath  <roland@hack.frob.com>
1312         * iconv/tst-iconv3.c (main): Converted to ...
1313         (do_test): ... this.
1314         (TEST_FUNCTION): New macro.
1315         Include test-skeleton.c.
1317         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1318         (convert): Make function static.
1319         (test_unalign): Likewise.  Add const to argument pointee types.
1320         (main): Replace with static function do_test.
1321         Print "Succeeded." only if RET is zero.
1322         (TEST_FUNCTION): New macro.
1323         Include test-skeleton.c.
1325         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1326         returns a null pointer.
1328 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1330         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1331         to __memcpy_ppc only for static builds.
1333 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
1335         [BZ #18020]
1336         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1337         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1338         * math/auto-libm-test-in: Add more tests of asinh.
1339         * math/auto-libm-test-out: Regenerated.
1340         * sysdeps/i386/fpu/libm-test-ulps: Update.
1341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1343 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1345         [BZ #15850]
1346         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1347         and ip6_mtuinfo definitions here.
1348         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1349         in this define too.  Update comment.
1351 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1353         * elf/sprof.c (load_shobj): Tweak error message to match others.
1355 2015-02-24  Kevin Easton  <kevin@guarana.org>
1357         [BZ #16145] (partial fix)
1358         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1359         to reduce lock contention.
1361 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1363         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1364         (struct timex): Update time comment.
1365         (ADJ_SETOFFSET): Define.
1367 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #18019]
1370         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1371         2**56 not 2**28 as threshold for log (2x) formula.
1372         * math/auto-libm-test-in: Add more tests of acosh.
1373         * math/auto-libm-test-out: Regenerated.
1374         * sysdeps/i386/fpu/libm-test-ulps: Update.
1375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1377 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1379         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1380         parenthesis around the buf assignment.
1381         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1383 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1385         [BZ #16783]
1386         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1387         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1388         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1389         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1390         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1391         * math/libm-test.inc (scalb_test_data): Add more tests.
1393 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1395         [BZ #17916]
1396         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1397         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1399 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1401         [BZ #17523]
1402         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1403         * io/bits/fcntl2.h (open): Use it.
1404         (openat): Likewise.
1405         * io/open.c (__libc_open): Likewise.
1406         * io/open64.c (__libc_open64): Likewise.
1407         * io/open64_2.c (__open64_2): Likewise.
1408         * io/open_2.c (__open_2): Likewise.
1409         * io/openat.c (__openat): Likewise.
1410         * io/openat64.c (__openat64): Likewise.
1411         * io/openat64_2.c (__openat64_2): Likewise.
1412         * io/openat_2.c (__openat_2): Likewise.
1413         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1414         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1415         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1416         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1417         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1418         (__open_nocancel): Likewise.
1419         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1420         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1421         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1423 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1425         [BZ #14841]
1426         * resolv/gethnamaddr.c (getanswer): Skip logging if
1427         RES_USE_DNSSEC is set.
1428         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1430 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1432         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1434 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1436         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1437         201304L, for Unicode 7.
1439 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1441         [BZ #17836]
1442         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1443         shared library.  Add gmon-start.os otherwise.
1444         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1445         $(objpfx)gmon-start.os if builing shared library.
1446         ($(objpfx)g$(static-start-installed-name)): Likewise.
1448 2015-02-23  Andreas Schwab  <schwab@suse.de>
1450         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1452 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1454         [BZ #17269]
1455         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1456         (enlarge_userbuf): Likewise.
1458 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1460         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1461         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1462         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1463         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1465 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1467         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1468         expression inside statement expression.
1470 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1472         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1473         <sysdeps/nptl/lowlevellock.h> and remove macros and
1474         functions that are now defined there.
1475         (SYS_futex): Remove.
1476         (lll_compare_and_swap): Remove.
1477         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1479 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1481         [BZ #17999]
1482         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1483         instead of scandirat.
1484         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1485         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1486         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1487         __scandirat.
1488         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1489         (__scandirat): Declare.  Use libc_hidden_proto.
1490         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1491         Remove variable.
1492         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1494 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1496         [BZ #15319]
1497         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1498         (MO): New macro.
1499         (__ieee754_atan2): For results with small absolute value, force
1500         underflow exception and remove excess range and precision from
1501         return value.
1502         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1503         (MO): New macro.
1504         (__ieee754_atan2f): For results with small absolute value, force
1505         underflow exception and remove excess range and precision from
1506         return value.
1507         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1508         (MO): New macro.
1509         (__atan): For results with small absolute value, force underflow
1510         exception and remove excess range and precision from return value.
1511         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1512         (MO): New macro.
1513         (__atanf): For results with small absolute value, force underflow
1514         exception and remove excess range and precision from return value.
1515         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1516         <math.h>.
1517         (__ieee754_atan2): Force underflow exception for results with
1518         small absolute value.
1519         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1520         <math_private.h>.
1521         (atan): Force underflow exception for results with small absolute
1522         value.
1523         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1524         (__atanf): Force underflow exception for results with small
1525         absolute value.
1526         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1527         <math.h>.
1528         (__atanl): Force underflow exception for results with small
1529         absolute value.
1530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1531         (__atanl): Force underflow exception for results with small
1532         absolute value.
1533         * sysdeps/x86/fpu/bits/mathinline.h
1534         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1535         (__ieee754_atan2): Only define inline for long double.
1536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1537         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1538         * math/auto-libm-test-in: Do not mark underflow exceptions as
1539         possibly missing for bug 15319.  Add more tests of atan2.
1540         * math/auto-libm-test-out: Regenerated.
1541         * math/libm-test.inc (casin_test_data): Do not mark underflow
1542         exceptions as possibly missing for bug 15319.
1543         (casinh_test_data): Likewise.
1544         * sysdeps/i386/fpu/libm-test-ulps: Update.
1546 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1548         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1549         * sysdeps/mips/bits/endian.h: Fix comments.
1551 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1553         [BZ #17996]
1554         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1555         (hdestroy_r): Likewise.
1556         (hsearch_r): Likewise.
1557         (__hcreate_r): Declare and use libc_hidden_proto.
1558         (__hdestroy_r): Likewise.
1559         (__hsearch_r): Likewise.
1560         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1561         (hcreate): Call __hcreate_r instead of hcreate_r.
1562         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1563         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1564         as weak alias of __hcreate_r.
1565         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1566         __hdestroy_r.
1567         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1568         __hsearch_r.
1569         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1570         Remove variable.
1571         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1572         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1573         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1574         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1576 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1578         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1579         arena_lock into a single arena_get.
1581 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1583         * dl-reloc.c: Inlucde libc-internal.h.
1584         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1585         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1586         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1587         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1588         (grow_heap): Likewise.
1589         * malloc/malloc.c: Include libc-internal.h.
1590         (do_check_malloc): Call powerof2.
1591         (sysmalloc): Use pagesize. Call ALIGN_UP.
1592         (systrim): Use pagesize.
1593         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1594         (__libc_valloc): Use pagesize.
1595         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1597 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1599         [BZ #17991]
1600         * include/sys/resource.h (__getrlimit64): Declare.  Use
1601         libc_hidden_proto.
1602         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1603         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1604         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1605         getrlimit64.
1606         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1607         __getrlimit64.
1608         [!getrlimit64] (getrlimit64): Define as weak alias of
1609         __getrlimit64.  Use libc_hidden_weak.
1610         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1611         using __getrlimit64 not __new_getrlimit64.
1612         (__GI_getrlimit64): Likewise.
1613         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1614         Likewise.
1615         (__GI_getrlimit64): Likewise.
1616         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1618         (getrlimit): Add __getrlimit64 alias.
1619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1620         Likewise.
1621         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1622         Remove variable.
1623         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1624         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1626 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1628         * libio/fileops.c: Add missing sys/mman.h
1629         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1631 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1633         * manual/math.texi (Errors in Math Functions): Clarify goals
1634         regarding inexact and underflow exceptions.
1636 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1638         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1639         * sysdeps/mips/memset.S: Ditto.
1641 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1643         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1645 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1647         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1648         (__v1longjmp): Remove versioned symbol.
1649         (__v1siglongjmp): Remove alias and versioned symbol.
1650         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1651         (__v2siglongjmp): Likewise.
1653 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1655         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1657 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1659         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1661 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1663         [BZ #17987]
1664         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1665         zero result does not depend on the sign resulting from
1666         subtraction.
1667         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1668         Likewise.
1669         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1670         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1671         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1672         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1673         * math/libm-test.inc (remquo_test_data): Add more tests.
1675 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1677         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1678         Problem reported by J William Piggott.
1680 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1682         [BZ #17978]
1683         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1684         products 4 * y and 2 * y where those would overflow.
1685         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1686         Likewise.
1687         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1688         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1689         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1690         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1691         * math/libm-test.inc (remquo_test_data): Add more tests.
1693         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1695         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1696         [defined _COMPILING_NEWLIB].
1697         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1698         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1700         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1701         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1703 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1705         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1706         acquired.
1708 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1710         [BZ #17792]
1711         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1712         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1713         HOST_STACK_END_ADDR): Likewise.
1715 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1717         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1718         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1719         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1721 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1723         * sysdeps/generic/c++-types.data: New file.
1724         * sysdeps/generic/ld.abilist: New file.
1725         * sysdeps/generic/libBrokenLocale.abilist: New file.
1726         * sysdeps/generic/libanl.abilist: New file.
1727         * sysdeps/generic/libc.abilist: New file.
1728         * sysdeps/generic/libcrypt.abilist: New file.
1729         * sysdeps/generic/libdl.abilist: New file.
1730         * sysdeps/generic/libm.abilist: New file.
1731         * sysdeps/generic/libpthread.abilist: New file.
1732         * sysdeps/generic/libresolv.abilist: New file.
1733         * sysdeps/generic/librt.abilist: New file.
1735 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1737         [BZ #17569]
1738         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1739         Compute absolute value of x as modified by fmod, not original
1740         value of x.
1741         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1742         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1743         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1744         RUN_TEST_ffI_f1_mod8.
1745         (remquo_test_data): Add more tests.
1747 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1749         * sysdeps/init_array/pt-crti.S: New file.
1751 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1753         [BZ #17967]
1754         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1755         __builtin_fmaf instead of relying on contraction of a * b + c.
1757 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1759         [BZ #17969]
1760         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1761         node.
1763 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1765         [BZ #17964]
1766         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1767         __builtin_fma instead of relying on contraction of a * b + c.
1769 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1771         * Makeconfig (ASFLAGS): Add -Werror=undef.
1772         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1773         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1774         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1776         * Makeconfig (after-link): New variable.
1777         (+link-pie, +link-pie-tests): Use it.
1778         (+link-static, +link-static-tests): Likewise.
1779         (+link, +link-tests): Likewise.
1780         * Makerules (build-module, build-module-asneeded): Likewise.
1781         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1782         Likewise.
1783         * elf/Makefile ($(objpfx)ld.so): Likewise.
1785 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1787         [BZ #17965]
1788         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1789         both struct timeval and struct timespec.
1791 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1793         [BZ #16560]
1794         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1795         and redefine.
1796         (__ieee754_exp2l): Do not multiply small fractional parts by
1797         M_LN2l.
1798         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1799         small argument.
1800         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1801         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1802         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1803         * math/auto-libm-test-in: Add more tests of exp2.
1804         * math/auto-libm-test-out: Regenerated.
1806 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1808         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1809         unaligned path.
1811 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1813         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1814         little endian.
1816 2015-02-12  Andreas Schwab  <schwab@suse.de>
1818         [BZ #15790]
1819         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1820         Filter out elision flags from value returned in kind.
1821         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1822         * nptl/tst-pthread-mutexattr.c: New file.
1824 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1826         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1827         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1828         into gnu-gnu, and update comment to refer to abi-tags.
1830 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1832         [BZ #15467]
1833         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1834         (__sincos): Set errno to EDOM for infinite argument.
1835         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1836         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1837         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1838         (__sincosl): Set errno to EDOM for infinite argument.
1839         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1840         (__sincosl): Set errno to EDOM for infinite argument.
1841         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1842         (__sincosl): Set errno to EDOM for infinite argument.
1843         * math/libm-test.inc (sincos_test_data): Test errno setting.
1845 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1847         * string/strxfrm_l.c: Remove #define STRCMP.
1848         * string/strcoll_l.c: Remove #define STRLEN.
1849         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1850         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1852 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1854         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1855         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1856         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1857         * sysdeps/mips/mips64/Makefile: ... here.
1858         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1859         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1860         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1861         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1862         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1863         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1864         * sysdeps/mips/mips64/n64/Implies: Likewise.
1866 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1868         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1869         <sys/time.h>, <string.h>, and <errno.h>.
1870         (dest_offset, dest_address, value, zero): Remove unused variables.
1871         (ldouble): Remove typedef.
1872         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1873         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1874         1).  Fix code style.
1875         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1876         (check): Function removed.
1877         (CHECK): New macro.
1878         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1879         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1880         Don't call set_sigaction_FP and remove_sigaction_FP here.
1881         (ldouble_test): Just use 'long double' as macro argument, no need for
1882         the 'ldouble' typedef.
1883         (do_test): Set up SIGFPE handler at start, using plain signal rather
1884         than sigaction.  Fix code style.
1886 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1888         [BZ #17949]
1889         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1890         jump label.
1892 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1895         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1897         * sysdeps/powerpc/configure.ac: Remove file.
1898         * sysdeps/powerpc/configure: Likewise.
1900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1901         [sysdep_routines]: Remove wordcopy-power6 object.
1902         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1903         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1904         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1905         (__memmove_ppc32): Likewise.
1906         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1907         file.
1908         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1910         Remove preprocessor.
1912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1913         [sysdep_routines]: Remove wide chars objects.
1914         [wcsmbs]: New rule for wide char objects.
1916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1917         Remove wordcopy-power6 obejct.
1918         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1919         Use local call for wordcopy and memcpy symbols.
1920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1921         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1922         implementation for loader.
1923         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1925         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1926         Remove wordcopy-power7 object.
1927         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1929         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1930         (_wordcopy_fwd_dest_aligned): Likewise.
1931         (_wordcopy_bwd_aligned): Likewise.
1932         (_wordcopy_bwd_dest_aligned): Likewise.
1934         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1935         Rewrite to call __memmove_ppc instead of include default
1936         implementation.
1938         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1939         Remove wide chars objects.
1940         [wcsmbs]: New rule for wide char objects.
1942 2015-02-09  Andreas Schwab  <schwab@suse.de>
1944         [BZ #17912]
1945         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1946         in terms of __O_DIRECTORY.
1948 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1950         * time/getdate.c: Include <stdbool.h>.
1951         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1952         call PTR_MANGLE.
1953         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1954         PTR_DEMANGLE.
1956 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1958         Add ersatz _Static_assert on older C hosts
1959         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1960         pre-C11 C platform that is not known to support _Static_assert.
1962 2015-02-07  Richard Braun  <rbraun@sceen.net>
1964         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1965         sigstate.
1966         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1968 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1970         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1971         priority against unexistent AIO_PRIO_DELTA_MAX.
1972         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1973         instead of int.
1974         * misc/fchflags.c (fchflags): Likewise.
1975         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1976         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1977         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1978         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1979         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1980         Declare macros.
1981         [__USE_MISC] (chflags, fchflags): Declare functions.
1982         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1983         EINVAL when nfds is greater than FD_SETSIZE.
1984         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1985         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1986         45.
1987         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1988         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1989         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1990         MACH_RCV_TIMED_OUT.
1991         * hurd/hurd/signal.h (_hurd_self_sigstate,
1992         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1993         Explicit casts from void *.
1994         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1995         * abi-tags: Rename gnu-gnu os into gnu.
1997         [BZ #4719]
1998         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1999         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2000         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2001         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2002         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2003         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2005         [BZ #17944]
2006         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2007         duplicates ADDR->sun_path with sockaddr LEN limitation.
2008         * sysdeps/mach/hurd/connect.c: Include <string.h>
2009         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2010         * sysdeps/mach/hurd/sendmsg.c: Likewise.
2011         * sysdeps/mach/hurd/sendto.c: Likewise.
2012         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2013         implementing it by hand.
2015 2015-02-06  Roland McGrath  <roland@hack.frob.com>
2017         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2018         Use sfi_breg on ldr.
2019         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2020         Likewise.
2022         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2023         it's defined.
2024         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2025         Test SIGSETXID only if it's defined.
2027         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2029         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2030         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
2032         * nptl/tst-align2.c: Moved ...
2033         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2034         * nptl/Makefile (tests): Remove tst-align2.
2035         * sysdeps/unix/sysv/linux/Makefile
2036         [$(subdir) = nptl] (tests): Add tst-align-clone.
2037         * nptl/tst-getpid1.c: Moved ...
2038         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2039         * nptl/tst-getpid2.c: Moved ...
2040         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2041         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2042         * sysdeps/unix/sysv/linux/Makefile
2043         [$(subdir) = nptl] (tests): ... here.
2044         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2045         * sysdeps/unix/sysv/linux/Makefile
2046         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2048         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2049         Drop trailing \n from perror argument.  Use return rather than exit.
2051         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2052         on [SA_SIGINFO].
2053         * nptl/tst-cancel21.c (do_test): Likewise.
2054         * debug/tst-backtrace6.c: Include <signal.h> first thing.
2055         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2056         [!SA_SIGINFO]: Make it a stub test.
2058         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2059         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2061         * posix/tst-getlogin.c: Move to ...
2062         * login/tst-getlogin.c: ... here.
2063         * posix/Makefile (tests): Move tst-getlogin to ...
2064         * login/Makefile (tests): ... here.
2066         * libio/tst-atime.c (do_test): Move local variables SV and E
2067         inside [ST_NOATIME] conditional.
2069         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2071         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2073         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2074         (wait_code): New function replaces macro.
2075         Call nanosleep rather than syscall.
2077         * nptl/pt-system.c: Rewritten.  Put everything under
2078         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2079         Use IFUNC to redirect when possible.
2081         * nptl/pt-longjmp.c: Rewritten.  Put everything under
2082         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2083         Use IFUNC to redirect when possible.
2085         * nptl/pt-fork.c: Rewritten.  Put everything under
2086         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2087         Use IFUNC to redirect when possible.
2088         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2091         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2092         unconditionally nowadays.  This included the only reference to
2093         __vdso_clock_gettime that appears outside libc proper.
2094         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2095         Remove version set (containing only __vdso_clock_gettime).
2096         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2097         Add attribute_hidden.
2098         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2099         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2100         libc_hidden_data_def.
2101         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2102         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2104         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2105         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2106         setrpcent, and getrpcport to ...
2107         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2108         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2109         getrpcbynumber_r, and getrpcent_r to ...
2110         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2111         * inet/getrpcbyname.c: Moved ...
2112         * sunrpc/getrpcbyname.c: ... here.
2113         * inet/getrpcbyname_r.c: Moved ...
2114         * sunrpc/getrpcbyname_r.c: ... here.
2115         * inet/getrpcbynumber.c: Moved ...
2116         * sunrpc/getrpcbynumber.c: ... here.
2117         * inet/getrpcbynumber_r.c: Moved ...
2118         * sunrpc/getrpcbynumber_r.c: ... here.
2119         * inet/getrpcent.c: Moved ...
2120         * sunrpc/getrpcent.c: ... here.
2121         * inet/getrpcent_r.c: Moved ...
2122         * sunrpc/getrpcent_r.c: ... here.
2123         * inet/Makefile (routines): Move those to ...
2124         * sunrpc/Makefile (routines): ... here.
2125         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2126         the $(subdirs) list.
2127         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
2128         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2129         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2130         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2132         * elf/Makefile (routines): Include $(all-dl-routines), not just
2133         $(dl-routines).
2134         (rtld-routines): Likewise.  Use = rather than :=.
2135         * sysdeps/aarch64/Makefile [$(subdir) = elf]
2136         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2137         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2138         * sysdeps/arm/Makefile: Likewise.
2139         * sysdeps/i386/Makefile: Likewise.
2140         * sysdeps/x86_64/Makefile: Likewise.
2141         * sysdeps/hppa/Makefile [$(subdir) = elf]
2142         (sysdep_routines, sysdep-rtld-routines): Don't add
2143         $(sysdep-dl-routines) to these.
2144         * sysdeps/ia64/Makefile: Likewise.
2145         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2146         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2147         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2148         Don't add dl-static to these; sysdep-dl-routines alone is enough.
2149         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2150         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2152         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2153         * sysdeps/powerpc/Makefile [$(subdir) = elf]
2154         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2155         these; sysdep-dl-routines alone is enough.
2157 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #17932]
2160         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2161         where multiplication results in zero and third argument is finite
2162         and nonzero.
2163         * math/auto-libm-test-in: Add more tests of fma.
2164         * math/auto-libm-test-out: Regenerated.
2166         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2167         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2168         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2169         (_FP_CMP_EQ): Likewise.
2170         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2172         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2173         extra argument CHECK_NAN.  Redefine as wrapper around
2174         _FP_EXTEND_CNAN.
2176 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
2178         * version.h (RELEASE): Set to "stable".
2179         (VERSION): Set to "2.21"
2180         * include/features.h (__GLIBC_MINOR__): Set to 21.
2182         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2184 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2185             Paul Eggert  <eggert@cs.ucla.edu>
2187         [BZ #16618]
2188         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2189         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2190         size in bytes. Store needed elements in wpmax. Use needed size
2191         in bytes for extend_alloca.
2193 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
2195         * manual/install.texi: Latest tested versions are GCC 4.9.2,
2196         binutls 2.25, and texinfo 5.2.
2197         * INSTALL: Regenerate.
2198         * sysdeps/nios2/configure: Regenerate.
2199         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2200         * manual/contrib.texi: Update.
2201         * po/be.po: Update.
2202         * po/bg.po: Update.
2203         * po/ca.po: Update.
2204         * po/cs.po: Update.
2205         * po/da.po: Update.
2206         * po/de.po: Update.
2207         * po/el.po: Update.
2208         * po/eo.po: Update.
2209         * po/es.po: Update.
2210         * po/fi.po: Update.
2211         * po/fr.po: Update.
2212         * po/gl.po: Update.
2213         * po/hr.po: Update.
2214         * po/hu.po: Update.
2215         * po/ia.po: Update.
2216         * po/id.po: Update.
2217         * po/it.po: Update.
2218         * po/ja.po: Update.
2219         * po/ko.po: Update.
2220         * po/lt.po: Update.
2221         * po/nb.po: Update.
2222         * po/nl.po: Update.
2223         * po/pl.po: Update.
2224         * po/pt_BR.po: Update.
2225         * po/ru.po: Update.
2226         * po/rw.po: Update.
2227         * po/sk.po: Update.
2228         * po/sl.po: Update.
2229         * po/sv.po: Update.
2230         * po/tr.po: Update.
2231         * po/uk.po: Update.
2232         * po/vi.po: Update.
2233         * po/zh_CN.po: Update.
2234         * po/zh_TW.po: Update.
2236         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2237         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2238         * sysdeps/hppa/dl-irel.h: Remove #warning.
2239         * sysdeps/hppa/entry.h: Provide prototype for
2240         __canonicalize_funcptr_for_compare and cast argument.
2241         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2242         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2243         * sysdeps/hppa/sotruss-lib.c: New file.
2244         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2245         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2246         (atomic_compare_and_exchange_bool_acq): Likewise.
2247         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2248         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2250         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2251         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2252         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2254 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2256         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2257         called function in non-PIC case.
2259 2015-01-31  David S. Miller  <davem@davemloft.net>
2261         * sysdeps/sparc/sparc32/bits/atomic.h
2262         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2263         unlock not after it.
2264         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2265         volatile register usage warnings from the compiler.
2267         * sysdeps/sparc/nptl/sem_init.c: Delete.
2268         * sysdeps/sparc/nptl/sem_post.c: Delete.
2269         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2270         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2271         * sysdeps/sparc/sparc32/sem_init.c: New file.
2272         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2273         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2274         padding explicitly initialized.
2275         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2276         padding for in-semaphore spinlock.
2277         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2278         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2279         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2280         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2281         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2282         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2283         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2284         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2285         version.
2286         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2287         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2289 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2291         [BZ #17801]
2292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2293         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2294         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2295         New.
2296         (index_AVX_Fast_Unaligned_Load): Likewise.
2297         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2298         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2299         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2300         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2301         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2302         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2303         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2304         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2305         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2307 2015-01-29  Andreas Schwab  <schwab@suse.de>
2309         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2311 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
2313         [BZ #17892]
2314         * nscd/nscd_stat.c (send_stats): Initialize DATA.
2316 2015-01-28  Martin Sebor  <msebor@redhat.com>
2318         * math/README.libm-test: Clarify. Add "How to read the test output."
2320 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
2322         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2323         Define to 0.
2325 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
2327         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2328         (__HAVE_64B_ATOMICS): Define to 0.
2330 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2332         [BZ #17885]
2333         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2334         value to set as new flag.
2336         [BZ #16576]
2337         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2338         and use _ARCH_PPCSQ instead.
2339         (__ieee754_sqrt): Likewise.
2340         (__ieee754_sqrtf): Likewise.
2341         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2342         _ARCH_PPCSQ is defined.
2343         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2344         fsqrt instruction.
2345         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2346         _ARCH_PPCSQ is defined.
2347         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2348         fsqrts instruction.
2349         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2351 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2353         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2354         bug (GCC BZ #64739).
2356 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2359         Mark _retval as used.
2360         (lll_futex_wake_unlock): Likewise.
2361         (lll_futex_timed_wait_requeue_pi): Likewise.
2363         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2364         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2365         register variables.
2367         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2368         libm_hidden_def.
2370         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2371         (__bswap_64): Mark as __always_inline.
2373 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2375         [BZ #15378]
2376         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2377         when none of the search directories exist.
2379 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2381         [BZ #17869]
2382         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2383         power8 in .machine directive.
2385         [BZ #17868]
2386         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2387         set dependency from opd value.
2389 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2392         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2393         architecture.
2395 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2397         [BZ #17870]
2398         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2399         with uint64_t.
2400         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2401         (uint64_t) 1.
2402         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2403         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2404         Replace 1UL with (uint64_t) 1.
2405         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2406         int with uint64_t.
2408 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2410         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2411         (if_freenameindex): Likewise.
2413         * resource/getrlimit64.c: Add missing libc_hidden_def.
2415 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2417         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2418         __label__.
2419         (_FP_FMA): Likewise.
2420         (_FP_TO_INT_ROUND): Likewise.
2421         (_FP_FROM_INT): Likewise.
2423 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2425         [BZ #16418]
2426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2427         Make code racy and cancel safe.
2429 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2431         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2432         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2433         attribution.
2435         * pwd/tst-getpw.c: Rewrite.
2437         [BZ #17702]
2438         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2439         (modules-names): Add moddummy1 and moddummy2.
2440         ($(objpfx)tst-rec-dlopen): Define.
2441         * dlfcn/moddummy1.c: New file.
2442         * dlfcn/moddummy2.c: New file.
2443         * dlfcn/tst-rec-dlopen.c: New file.
2444         * elf/dl-cache.c (_dl_load_cache_lookup):
2445         Return char*. Copy result with alloca/strcpy/strdup.
2446         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2447         returns char*. Free cached. If not saving realname
2448         free cached.
2449         * elf/dl-open.c (dl_open_worker): Do not assert that
2450         _r_debug->r_state is RT_CONSISTENT.
2451         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2452         returns char*.
2454 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2455             Carlos O'Donell  <carlos@redhat.com>
2457         [BZ #12674]
2458         * nptl/sem_waitcommon.c: New file.
2459         * nptl/sem_wait.c: Include sem_waitcommon.c.
2460         (__sem_wait_cleanup, do_futex_wait): Remove.
2461         (__new_sem_wait): Adapt.
2462         (__new_sem_trywait): New function.
2463         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2464         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2465         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2466         (sem_timedwait): Adapt.
2467         * nptl/sem_post.c (__new_sem_post): Adapt.
2468         (futex_wake): New function.
2469         (__old_sem_post): Add release MO fence.
2470         * nptl/sem_open.c (sem_open): Adapt.
2471         * nptl/sem_init.c (__new_sem_init): Adapt.
2472         (futex_private_if_supported): New function.
2473         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2474         (__old_sem_getvalue): Add using previous code.
2475         * sysdeps/nptl/internaltypes.h: Adapt.
2476         * nptl/tst-sem13.c (do_test): Adapt.
2477         * nptl/tst-sem11.c (main): Adapt.
2478         * nptl/sem_trywait.c: Remove.
2479         * nptl/DESIGN-sem.txt: Remove.
2480         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2481         (gen-as-const-headers): Remove structsem.sym.
2482         * nptl/structsem.sym: Remove.
2483         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2484         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2485         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2486         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2487         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2488         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2489         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2490         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2491         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2492         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2493         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2494         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2495         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2496         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2497         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2498         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2499         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2500         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2501         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2502         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2503         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2504         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2506 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2508         * INSTALL: Regenerated.
2510         * po/libc.pot: Regenerated.
2512 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2513             Sandra Loosemore  <sandra@codesourcery.com>
2514             Andrew Jenner  <andrew@codesourcery.com>
2515             Joseph Myers  <joseph@codesourcery.com>
2516             Nathan Sidwell  <nathan@codesourcery.com>
2518         * NEWS: Mention new Nios II port.
2519         * sysdeps/nios2/Implies: New file.
2520         * sysdeps/nios2/Makefile: New file.
2521         * sysdeps/nios2/Subdirs: New file.
2522         * sysdeps/nios2/Versions: New file.
2523         * sysdeps/nios2/__longjmp.S: New file.
2524         * sysdeps/nios2/abort-instr.h: New file.
2525         * sysdeps/nios2/backtrace.c: New file.
2526         * sysdeps/nios2/bits/endian.h: New file.
2527         * sysdeps/nios2/bits/fenv.h: New file.
2528         * sysdeps/nios2/bits/link.h: New file.
2529         * sysdeps/nios2/bits/setjmp.h: New file.
2530         * sysdeps/nios2/bsd-_setjmp.S: New file.
2531         * sysdeps/nios2/bsd-setjmp.S: New file.
2532         * sysdeps/nios2/configure: New generated file.
2533         * sysdeps/nios2/configure.ac: New file.
2534         * sysdeps/nios2/crti.S: New file.
2535         * sysdeps/nios2/crtn.S: New file.
2536         * sysdeps/nios2/dl-init.c: New file.
2537         * sysdeps/nios2/dl-machine.h: New file.
2538         * sysdeps/nios2/dl-sysdep.h: New file.
2539         * sysdeps/nios2/dl-tls.h: New file.
2540         * sysdeps/nios2/dl-trampoline.S: New file.
2541         * sysdeps/nios2/gccframe.h: New file.
2542         * sysdeps/nios2/gmp-mparam.h: New file.
2543         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2544         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2545         * sysdeps/nios2/ldsodefs.h: New file.
2546         * sysdeps/nios2/libc-tls.c: New file.
2547         * sysdeps/nios2/libm-test-ulps: New file.
2548         * sysdeps/nios2/machine-gmon.h: New file.
2549         * sysdeps/nios2/math-tests.h: New file.
2550         * sysdeps/nios2/math_private.h: New file.
2551         * sysdeps/nios2/memusage.h: New file.
2552         * sysdeps/nios2/nptl/Makefile: New file.
2553         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2554         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2555         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2556         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2557         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2558         * sysdeps/nios2/nptl/tls.h: New file.
2559         * sysdeps/nios2/preconfigure: New file.
2560         * sysdeps/nios2/s_fma.c: New file.
2561         * sysdeps/nios2/s_fmaf.c: New file.
2562         * sysdeps/nios2/setjmp.S: New file.
2563         * sysdeps/nios2/sfp-machine.h: New file.
2564         * sysdeps/nios2/sotruss-lib.c: New file.
2565         * sysdeps/nios2/stackguard-macros.h: New file.
2566         * sysdeps/nios2/stackinfo.h: New file.
2567         * sysdeps/nios2/start.S: New file.
2568         * sysdeps/nios2/sysdep.h: New file.
2569         * sysdeps/nios2/tls-macros.h: New file.
2570         * sysdeps/nios2/tst-audit.h: New file.
2571         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2572         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2573         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2574         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2575         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2576         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2577         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2578         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2579         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2580         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2581         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2582         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2583         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2584         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2585         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2586         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2587         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2588         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2589         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2590         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2591         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2592         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2593         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2594         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2595         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2596         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2597         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2598         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2599         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2600         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2601         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2602         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2603         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2604         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2605         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2606         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2607         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2608         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2609         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2610         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2611         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2612         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2613         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2614         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2616 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2618         [BZ #17844]
2619         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2620         (getutent): Use weak_alias in non SHARED case
2621         and default_symbol_version in SHARED case.
2622         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2623         (getutent_r, pututline): Likewise.
2624         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2625         (getutid): Likewise.
2626         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2627         (getutid_r): Likewise.
2628         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2629         (getutline): Likewise.
2630         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2631         (getutline_r): Likewise.
2632         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2633         (updwtmp): Likewise.
2635 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2637         [BZ #17848]
2638         * sysdeps/s390/s390-32/memcmp.S
2639         (memcmp_g5): Rename to __memcmp_g5.
2640         * sysdeps/s390/s390-32/memcpy.S
2641         (memcpy_g5): Rename to __memcpy_g5.
2642         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2643         (memcpy_mvcle) Rename to __memcpy_mvcle.
2644         * sysdeps/s390/s390-32/memset.S
2645         (memset_g5): Rename to __memset_g5.
2646         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2647         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2648         and use prefixed functions.
2649         * sysdeps/s390/s390-32/multiarch/memcmp.S
2650         (memcmp_z196): Rename to __memcmp_z196.
2651         (memcmp_z10): Rename to __memcmp_z10.
2652         (memcmp): Set alias to __memcmp_g5.
2653         (bcmp): Set alias to __memcmp_g5.
2654         * sysdeps/s390/s390-32/multiarch/memcpy.S
2655         (memcpy_z196): Rename to __memcpy_z196.
2656         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2657         (memcpy_z10): Rename to __memcpy_z10.
2658         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2659         (memcpy): Set alias to __memcpy_g5.
2660         * sysdeps/s390/s390-32/multiarch/memset.S
2661         (memset_z196): Rename to __memset_z196.
2662         Jump to __memset_mvcle instead of memset_mvcle.
2663         (memset_z10): Rename to __memset_z10.
2664         Jump to __memset_mvcle instead of memset_mvcle.
2665         (memset_mvcle) Rename to __memset_mvcle.
2666         (memset): Set alias to __memset_g5.
2667         * sysdeps/s390/s390-64/memcmp.S
2668         (memcmp_z900): Rename to __memcmp_z900.
2669         * sysdeps/s390/s390-64/memcpy.S
2670         (memcpy_z900): Rename to __memcpy_z900.
2671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2672         (memcpy_mvcle) Rename to __memcpy_mvcle.
2673         * sysdeps/s390/s390-64/memset.S
2674         (memset_z900): Rename to __memset_z900.
2675         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2676         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2677         and use prefixed functions.
2678         * sysdeps/s390/s390-64/multiarch/memcmp.S
2679         (memcmp_z196): Rename to __memcmp_z196.
2680         (memcmp_z10): Rename to __memcmp_z10.
2681         (memcmp): Set alias to __memcmp_z900.
2682         (bcmp): Set alias to __memcmp_z900.
2683         * sysdeps/s390/s390-64/multiarch/memcpy.S
2684         (memcpy_z196): Rename to __memcpy_z196.
2685         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2686         (memcpy_z10): Rename to __memcpy_z10.
2687         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2688         (memcpy): Set alias to __memcpy_z900.
2689         * sysdeps/s390/s390-64/multiarch/memset.S
2690         (memset_z196): Rename to __memset_z196.
2691         Jump to __memset_mvcle instead of memset_mvcle.
2692         (memset_z10): Rename to __memset_z10.
2693         Jump to __memset_mvcle instead of memset_mvcle.
2694         (memset_mvcle) Rename to __memset_mvcle.
2695         (memset): Set alias to __memset_z900.
2697 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2699         [BZ #17748]
2700         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2701         __fesetenv instead of fesetenv.
2703 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2705         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2706         macro.
2708 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2710         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2711         regression on LE.
2713         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2714         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2716         strncmp-power8 object.
2717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2718         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2719         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2720         * NEWS: Update.
2722 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2725         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2726         trailing byte check.
2728 2015-01-13  David S. Miller  <davem@davemloft.net>
2730         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2732 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2734         * login/logout.c (logout): Use memset rather than bzero.
2735         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2736         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2737         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2738         (_gethtbyaddr): Likewise.
2739         * locale/programs/simple-hash.c (bcopy): Macro removed.
2741 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2744         Add strcmp-power8 object.
2745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2746         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2747         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2748         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2749         __strcmp_power8 implementation.
2750         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2751         * NEWS: Update.
2753         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2754         Add strncpy-power8 and stpncpy-power8 objects.
2755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2756         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2757         implementations.
2758         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2759         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2760         __stpncpy_power8 implementation.
2761         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2762         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2763         __strncpy_power8 implementation.
2764         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2765         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2766         * NEWS: Update.
2768         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2769         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2770         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2773         strncat-power8 object.
2774         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2775         __strcat_power8 implementation.
2776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2777         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2778         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2779         optimized strcat for power8.
2781         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2782         strcpy-power8 and stpcpy-power8 objects.
2783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2784         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2785         implementations.
2786         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2787         multiarch stpcpy implementation for POWER8.
2788         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2789         multiarch strcpy implementation for POWER8.
2790         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2791         __strcpy_power8 function.
2792         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2793         stpcpy for POWER8.
2794         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2795         strcpy for POWER8.
2796         * NEWS: Update.
2798 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2800         [BZ #16009]
2801         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2802         weights and rules. Use do_xfrm_cached if data fits in cache,
2803         do_xfrm otherwise.  Moved former main loop to...
2804         * (do_xfrm_cached): New function.
2805         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2806         find_idx, find_position and stack_push.
2807         * (find_idx): New function.
2808         * (find_position): Likewise.
2809         * localedata/sort-test.sh: Added test run for do_xfrm.
2810         * localedata/xfrm-test.c (main): Added command line option
2811         -nocache to run the test with strings that are too large for
2812         the STRXFRM cache.
2814 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2816         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2817         variable to lll_futex_wake call, not the value itself.
2819 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2821         [BZ #17803]
2822         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2823         twom64.  Adjust value to 0x1p-64L.
2824         (__scalblnl): Only return standard underflowing result for K <=
2825         -64 not K <= -63; adjust exponent for underflowing result by 64
2826         not 63.
2827         * math/libm-test.inc (scalbn_test_data): Add more tests.
2828         (scalbln_test_data): Likewise.
2830         [BZ #17834]
2831         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2832         0x1p63L.
2833         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2834         not HX.
2835         * math/libm-test.inc (scalbn_test_data): Add more tests.
2836         (scalbln_test_data): Likewise.
2838 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2839             Stefani Seibold  <stefani@seibold.net>
2841         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2842         (sysdep_routines): Add dl-vdso here, ...
2843         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2844         (sysdep_routines): ... not here.
2845         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2846         fallback when vDSO is not presented.
2847         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2848         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2849         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2850         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2851         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2852         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2853         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2854         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2855         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2857         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2858         fallback configurable symbol when vDSO is not available.
2859         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2860         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2861         be able to redefine fallback symbol when vDSO is not available.
2862         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2863         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2865 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2867         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2868         (TLS_INIT_TP): Add tm_capable initialization.
2869         (TLS_DEFINE_INIT_TP): Likewise.
2870         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2871         TCB.
2872         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2873         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2874         calculation.
2875         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2876         transactoion is lock elision is built and TCB tm_capable is set.
2877         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2879         (INTERNAL_SYSCALL_NCS): Likewise.
2880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2881         (INTERNAL_SYSCALL_NCS): Likewise.
2882         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2884         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2885         for powerpc.
2886         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2887         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2888         and remove it for 32 bits case.
2889         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2891         initialization.
2892         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2893         Disable lock elision with rdlocks if elision is not available.
2895         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2896         (sysdep_routines): Add lock elision objects.
2897         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2898         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2899         [pthread_mutex_t] (__elision): Add field.
2900         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2901         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2902         elision definitions for powerpc.
2903         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2904         implementation of lock elision for powerpc.
2905         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2906         implementation of timed lock elision for powerpc.
2907         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2908         implementation of trylock with lock elision for powerpc.
2909         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2910         implementaion of unlock for lock elision for powerpc.
2911         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2912         automatic enable lock elision for mutexes.
2913         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2914         transaction execution definitions for powerpc.
2915         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2916         definitions.
2917         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2918         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2919         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2921         * NEWS: Update.
2923 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2925         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2926         for #include of <shm-directory.h>.
2928 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2930         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2931         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2933 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2935         [BZ #17791]
2936         * NEWS: Mention bug fix.
2937         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2938         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2939         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2941 2015-01-09  Torvald Riegel <triegel@redhat.com>
2943         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2945 2015-01-09  Torvald Riegel <triegel@redhat.com>
2947         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2949 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2951         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2952         pointer and cast to uintptr_t.
2954 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2956         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2957         removed.
2958         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2960 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2962         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2963         of 0.
2965 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2967         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2968         <nptl/pthreadP.h> instead.
2969         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2971         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2972         already defined.
2973         [__SIGRTMIN] (init): Function removed.
2974         [__SIGRTMIN] (initialized): Variable removed.
2975         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2976         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2977         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2978         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2979         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2980         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2981         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2982         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2983         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2984         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2985         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2986         * sysdeps/nptl/allocrtsig.c: New file.
2987         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2988         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2989         * sysdeps/generic/testrtsig.h: File removed.
2991         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2992         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2994         * nptl/nptl-init.c (pthread_functions): Conditionalize
2995         .ptr__nptl_setxid initialization on [SIGSETXID].
2997         * sysdeps/nptl/sys/procfs.h: New file.
2998         * nptl_db/Makefile (headers): Add it.
2999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3001         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3002         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3003         * nptl/pthread_attr_setaffinity.c: Include it.
3004         * nptl/pthread_setattr_default_np.c: Likewise.
3005         * nptl/check-cpuset.h: New file.
3007 2015-01-08  Richard Henderson  <rth@redhat.com>
3009         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3010         (CFLAGS-tst-execstack-prog.c): Likewise.
3011         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3013 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
3014             Sandra Loosemore  <sandra@codesourcery.com>
3015             Andrew Jenner  <andrew@codesourcery.com>
3016             Joseph Myers  <joseph@codesourcery.com>
3017             Nathan Sidwell  <nathan@codesourcery.com>
3019         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3020         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3021         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3022         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3023         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3024         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3025         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3026         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3027         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3028         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3029         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3030         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3031         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3032         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3033         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3034         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3035         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3037 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3039         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3040         timespec struct member in syscall macro.
3041         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3042         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3043         first timeval struct member in syscall macro.
3044         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3046 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
3048         [BZ #17748]
3049         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3050         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3051         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3052         __feupdateenv and define as weak alias of __feupdateenv.  Use
3053         libm_hidden_weak.
3054         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3055         libm_hidden_def.
3056         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3057         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
3058         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3059         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3060         libm_hidden_def.
3061         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3062         __feupdateenv and define as weak alias of __feupdateenv.  Use
3063         libm_hidden_weak.
3064         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3065         libm_hidden_def.
3066         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3067         __feupdateenv and define as weak alias of __feupdateenv.  Use
3068         libm_hidden_weak.
3069         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3070         libm_hidden_def.
3071         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3072         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3073         (__feupdateenv): Likewise.
3074         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3075         __feupdateenv and define as weak alias of __feupdateenv.  Use
3076         libm_hidden_weak.
3077         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3078         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3079         libm_hidden_def.
3080         * sysdeps/tile/math_private.h (__feupdateenv): New inline
3081         function.
3082         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3083         libm_hidden_def.
3084         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3085         __feupdateenv instead of feupdateenv.
3086         (default_libc_feupdateenv_test): Likewise.
3087         (libc_feresetround_ctx): Likewise.
3089 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3091         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3092         prototype.
3094 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
3096         * posix/regcomp.c (parse_bracket_exp): Initialize type to
3097         COLL_SYM in a couple of places to avoid uninitialized variable
3098         wanings on tilegx gcc 4.8.2.
3100 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3102         * sysdeps/aarch64/strcpy.S: New file.
3103         * sysdeps/aarch64/stpcpy.S: New file.
3104         * NEWS: Updated.
3106 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3108         * sysdeps/aarch64/strrchr.S: New file.
3109         * NEWS: Updated.
3111 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
3113         [BZ #17658]
3114         * stdlib/setenv.c: Fix memory leak when setting large,
3115         duplicate string.
3117 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
3119         [BZ #17273]
3120         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3121         and tabs from buffer before parsing fstab entry.
3122         * misc/tst-mntent.c (main): Add test for mount entry with
3123         trailing spaces and tabs.
3125 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3127         [BZ #17748]
3128         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
3129         * math/fesetround.c (fesetround): Rename to __fesetround and
3130         define as weak alias of __fesetround.  Use libm_hidden_weak.
3131         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3132         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3133         * sysdeps/arm/fesetround.c (fesetround): Likewise.
3134         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3135         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3136         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3137         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3138         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3139         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3140         __fesetround_inline.
3141         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3142         __fesetround_inline instead of __fesetround.
3143         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3144         __fesetround and define as weak alias of __fesetround.  Use
3145         libm_hidden_weak.  Call __fesetround_inline instead of
3146         __fesetround.
3147         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3148         __fesetround and define as weak alias of __fesetround.  Use
3149         libm_hidden_weak.
3150         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3151         Likewise.
3152         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3153         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3154         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3155         * sysdeps/tile/math_private.h (__fesetround): New inline function.
3156         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3157         __fesetround and define as weak alias of __fesetround.  Use
3158         libm_hidden_weak.
3159         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3160         __fesetround instead of fesetround.
3161         (default_libc_feholdexcept_setround): Likewise.
3162         (libc_feholdsetround_ctx): Likewise.
3163         (libc_feholdsetround_noex_ctx): Likewise.
3165         [BZ #17748]
3166         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3167         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3168         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3169         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3170         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3171         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3173         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3174         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3175         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3176         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3177         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3178         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3179         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3180         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3181         libm_hidden_def.
3182         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3183         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3184         Likewise.
3185         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3186         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3187         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3188         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3189         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3190         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3191         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3192         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3193         __fesetenv instead of fesetenv.
3194         (libc_feresetround_noex_ctx): Likewise.
3195         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3196         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3197         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3198         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3199         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3200         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3201         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3202         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3203         (__feupdateenv): Likewise.
3204         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3205         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3206         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3207         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3209 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3211         [BZ #17806]
3212         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3213         addresses have been freed.
3215 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3217         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3218         and nservall.
3220 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3222         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3223         Clean up check_pf allocation pattern. addresses
3225 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3227         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3228         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3229         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3230         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3231         * nptl/pthread_join.c (pthread_join): Likewise.
3232         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3233         * sysdeps/posix/waitid.c (__waitid): Likewise.
3234         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3235         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3236         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3237         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3238         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3239         Likewise.
3240         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3241         (__libc_pread64): Likewise.
3242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3243         (__libc_pwrite): Likewise.
3244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3245         (__libc_pwrite64): Likewsie.
3246         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3247         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3248         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3249         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3250         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3251         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3252         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3254         Likewise.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3256         (__libc_pread64): Likewise.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3258         Likewise.
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3260         (__libc_pwrite64): Likewise.
3261         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3262         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3263         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3264         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3265         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3266         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3267         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3268         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3269         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3270         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3271         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3272         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3273         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3274         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3275         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3276         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3277         Likewise.
3279 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3281         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3282         (CFLAGS-test-double.c): Likewise.
3283         (CFLAGS-test-ldouble.c): Likewise.
3284         (CPPFLAGS-test-ifloat.c): Likewise.
3285         (CPPFLAGS-test-idouble.c): Likewise.
3286         (CPPFLAGS-test-ildoubl.c): Likewise.
3287         (CFLAGS-test-test-fenv.c): Remove variable.
3288         (CFLAGS-test-misc.c): Likewise.
3290 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3292         [BZ #17797]
3293         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3294         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3295         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3296         CLOCKS_PER_SEC == 1000000.
3297         * time/clocktest.c (main): Replace %ld with %jd and cast to
3298         intmax_t.
3300 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3302         * sysdeps/generic/unwind-resume.h: New file.
3303         * sysdeps/gnu/unwind-resume.c: Include it.
3304         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3305         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3306         argument list.
3307         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3308         global rather than static.
3309         (_Unwind_Resume): Update user.
3310         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3311         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
3312         rather than static.  Add __attribute__ ((cold)).
3313         (_Unwind_Resume, __gcc_personality_v0): Update callers.
3314         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3315         * sysdeps/arm/arm-unwind-resume.S: New file.
3316         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3317         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3318         * sysdeps/arm/Makefile [$(subdir) = csu]
3319         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3320         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3321         Add rt-arm-unwind-resume.
3322         [$(subdir) = nptl]
3323         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3324         Add pt-arm-unwind-resume.
3325         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3326         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3328 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3330         [BZ #17748]
3331         * include/fenv.h (__feholdexcept): Declare.  Use
3332         libm_hidden_proto.
3333         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3334         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
3335         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3336         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3337         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3338         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3339         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3340         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3341         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3342         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3343         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3344         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3345         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3346         (feholdexcept): Likewise.
3347         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3348         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3349         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3350         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3351         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3352         __feholdexcept instead of feholdexcept.
3353         (default_libc_feholdexcept_setround): Likewise.
3355 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3357         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3358         to avoid using stl/str to align destination.
3360 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3362         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3364 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3366         [BZ #17796]
3367         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3368         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3369         Define as weak alias not strong alias.
3371 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3373         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3374         bltzal with addiupc.
3375         (RTLD_START): Ditto.
3377 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3379         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3380         for __vdso_* functions in declarations.
3381         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3382         definitions.
3383         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3384         INTERNAL_VSYSCALL): Use struct return types to check for error.
3386         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3387         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3388         function with cast from llround().
3389         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3390         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3391         Define.
3393 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3395         [BZ #17793]
3396         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3397         Define as weak alias not strong alias.
3399         [BZ #17635]
3400         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3401         ...
3402         * ctype/ctype-extn.c: ... here.
3403         (__isblank_l): Move to ...
3404         * ctype/ctype-c99_l.c: ... here.  New file.
3405         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3406         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3407         Remove variable.
3408         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3409         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3410         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3411         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3412         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3414         [BZ #17777]
3415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3416         (posix_fadvise64): Define as weak alias not strong alias.
3417         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3418         (posix_fallocate64): Likewise.
3419         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3420         Remove variable.
3421         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3422         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3423         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3424         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3425         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3427 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3429         [BZ #16191]
3430         * NEWS: Mention bug fix.
3431         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3432         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3433         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3434         (HOST_STACK_END_ADDR): Likewise.
3436 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3438         [BZ #17748]
3439         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3440         * math/fegetround.c (fegetround): Rename to __fegetround and
3441         define as weak alias of __fegetround.  Use libm_hidden_weak.
3442         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3443         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3444         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3445         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3446         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3447         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3448         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3449         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3450         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3451         Undefine after rather than before function definition; use
3452         parentheses around function name in definition.
3453         (__fegetround): Also undefine macro after function definition.
3454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3455         __fegetround and define as weak alias of __fegetround.  Use
3456         libm_hidden_weak.  Do not undefine as macro.
3457         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3458         Likewise.
3459         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3460         __fegetround and define as weak alias of __fegetround.  Use
3461         libm_hidden_weak.
3462         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3463         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3464         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3465         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3466         __fegetround and define as weak alias of __fegetround.  Use
3467         libm_hidden_weak.
3468         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3469         __fegetround instead of fegetround.
3471         [BZ #17782]
3472         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3473         Condition macro definition on [__USE_MISC].
3475         [BZ #17781]
3476         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3477         (struct sigaction): Change type of sa_flags field to int.
3479         [BZ #17780]
3480         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3481         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3482         __glibc_reserved0.
3484         * nptl/version.c (banner): Use single year in copyright notice.
3486         * NEWS: Update copyright dates.
3487         * catgets/gencat.c (print_version): Likewise.
3488         * csu/version.c (banner): Likewise.
3489         * debug/catchsegv.sh: Likewise.
3490         * debug/pcprofiledump.c (print_version): Likewise.
3491         * debug/xtrace.sh (do_version): Likewise.
3492         * elf/ldconfig.c (print_version): Likewise.
3493         * elf/ldd.bash.in: Likewise.
3494         * elf/pldd.c (print_version): Likewise.
3495         * elf/sotruss.sh: Likewise.
3496         * elf/sprof.c (print_version): Likewise.
3497         * iconv/iconv_prog.c (print_version): Likewise.
3498         * iconv/iconvconfig.c (print_version): Likewise.
3499         * locale/programs/locale.c (print_version): Likewise.
3500         * locale/programs/localedef.c (print_version): Likewise.
3501         * login/programs/pt_chown.c (print_version): Likewise.
3502         * malloc/memusage.sh (do_version): Likewise.
3503         * malloc/memusagestat.c (print_version): Likewise.
3504         * malloc/mtrace.pl: Likewise.
3505         * manual/libc.texinfo: Likewise.
3506         * nptl/version.c (banner): Likewise.
3507         * nscd/nscd.c (print_version): Likewise.
3508         * nss/getent.c (print_version): Likewise.
3509         * nss/makedb.c (print_version): Likewise.
3510         * posix/getconf.c (main): Likewise.
3511         * scripts/test-installation.pl: Likewise.
3512         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3514 2015-01-02  Will Newton  <will.newton@linaro.org>
3516         * sysdeps/arm/armv7/configure: Removed.
3517         * sysdeps/arm/armv7/configure.ac: Likewise.
3519 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3521         * All files with FSF copyright notices: Update copyright dates
3522         using scripts/update-copyrights.
3523         * intl/plural.c: Regenerated.
3524         * locale/programs/charmap-kw.h: Likewise.
3525         * locale/programs/locfile-kw.h: Likewise.
3527 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3529         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3531 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3533         [BZ #17748]
3534         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3535         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3536         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3537         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3538         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3539         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3541         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3542         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3543         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3544         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3545         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3546         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3547         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3548         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3549         libm_hidden_def.
3550         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3551         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3552         Likewise.
3553         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3554         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3555         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3556         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3557         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3558         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3559         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3560         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3561         __fegetenv instead of fegetenv.
3562         (libc_feholdsetround_noex_ctx): Likewise.
3564 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3566         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3567         (Elf_MIPS_ABIFlags_v0): New structure.
3568         (EF_MIPS_FP64): Define.
3569         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3570         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3571         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3572         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3573         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3574         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3575         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3576         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3577         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3578         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3579         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3580         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3581         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3582         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3583         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3584         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3585         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3586         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3587         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3588         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3589         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3590         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3591         field.
3592         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3593         EF_MIPS_FP64.
3594         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3595         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3596         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3597         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3598         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3599         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3600         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3601         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3602         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3603         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3604         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3605         record the current FP ABI extension.
3606         (mips-mode-switch): Define to show if kernel headers support mode
3607         switching.
3608         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3609         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3610         supported SYSV ABI version to 3.
3611         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3612         feature.
3614 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3617         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3618         path.
3619         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3621 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3623         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3624         __fegetround and redefine to call __fegetround.  Remove condition
3625         on [!__NO_MATH_INLINES].
3626         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3627         function.
3628         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3629         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3630         Remove macro.
3631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3632         instead of <fenv_libc.h>.
3633         (__llrintl): Call fegetround instead of __fegetround.
3634         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3635         instead of <fenv_libc.h>.
3636         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3637         (__lrintl): Call fegetround instead of __fegetround.
3638         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3639         instead of <fenv_libc.h>.
3640         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3641         (__rintl): Call fegetround instead of __fegetround.
3643 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3645         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3646         arrays.
3648 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3650         [BZ #17775]
3651         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3652         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3653         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3655 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3657         * sysdeps/i386/tls-macros.h: Include <features.h>.
3658         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3659         (TLS_IE): Likewise.
3660         (TLS_LD): Likewise.
3661         (TLS_GD): Likewise.
3662         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3663         define for GCC >= 5.0.
3665 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3667         * math/test-fenv.c (test_single_exception, set_single_exc,
3668         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3669         feexcp_mask_test, feenable_test, fe_single_test): Add
3670         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3671         case where they are not used.
3672         * math/libm-test.inc: Likewise.
3673         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3674         unused in the absence of FP rounding/exception support.
3675         * stdio-common/tst-printf-round.c: Likewise.
3676         * stdlib/tst-strtod-round.c: Likewise.
3677         * stdlib/tst-strtod-underflow.c: Likewise.
3679 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3681         [BZ #17723]
3682         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3683         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3684         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3685         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3686         libm_hidden_weak.
3687         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3688         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3689         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3690         libm_hidden_def.
3691         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3693         libm_hidden_weak.
3694         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3695         Likewise.
3696         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3697         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3698         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3699         libm_hidden_weak.
3700         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3701         libm_hidden_def.
3702         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3703         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3704         (__feraiseexcept): Likewise.
3705         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3706         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3707         libm_hidden_weak.
3708         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3709         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3710         libm_hidden_def.
3711         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3712         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3713         Use libm_hidden_def.
3714         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3715         libm_hidden_def.
3716         (feraiseexcept): Define as weak not strong alias.  Use
3717         libm_hidden_weak.
3718         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3719         New inline function.  Factored out of ...
3720         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3721         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3722         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3723         feraiseexcept.
3724         * math/w_acos.c (__acos): Likewise.
3725         * math/w_asin.c (__asin): Likewise.
3726         * math/w_ilogb.c (__ilogb): Likewise.
3727         * math/w_j0.c (y0): Likewise.
3728         * math/w_j1.c (y1): Likewise.
3729         * math/w_jn.c (yn): Likewise.
3730         * math/w_log.c (__log): Likewise.
3731         * math/w_log10.c (__log10): Likewise.
3732         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3733         * sysdeps/aarch64/fpu/math_private.h
3734         (libc_feupdateenv_test_aarch64): Likewise.
3735         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3736         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3737         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3738         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3739         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3740         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3741         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3742         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3743         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3744         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3746 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3748         [BZ #17732]
3749         * io/test-utime.c (main): Replace %ld with %jd and cast to
3750         intmax_t.
3751         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3752         * nptl/tst-mutex5.c: Include <stdint.h>.
3753         (do_test): Replace %ld with %jd and cast to intmax_t.
3754         * posix/tst-regex.c (run_test): Likewise.
3755         (run_test_backwards): Likewise.
3756         * rt/tst-clock.c: Include <stdint.h>.
3757         (clock_test): Replace %ld with %jd and cast to intmax_t.
3758         * rt/tst-cpuclock1.c: Include <stdint.h>.
3759         (do_test): Replace %lu with %ju and cast to uintmax_t.
3760         * rt/tst-cpuclock2.c: Include <stdint.h>.
3761         (do_test): Replace %lu with %ju and cast to uintmax_t.
3762         * rt/tst-mqueue1.c: Include <stdint.h>.
3763         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3764         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3765         intmax_t.
3766         * rt/tst-mqueue4.c (do_test): Likewise.
3767         * rt/tst-timer4.c: Include <stdint.h>.
3768         (check_ts): Replace %ld with %jd and cast to intmax_t.
3769         (do_test): Likewise.
3770         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3771         and cast to intmax_t.
3772         * sysdeps/pthread/tst-timer.c (main): Likewise.
3773         * time/clocktest.c (main): Likewise.
3774         * time/tst-posixtz.c (do_test): Likewise.
3775         * timezone/tst-timezone.c (main): Likewise.
3777 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3778             H.J. Lu  <hongjiu.lu@intel.com>
3780         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3781         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3782         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3783         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3784         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3785         version if bit_Fast_Unaligned_Load is set.
3786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3793         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3794         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3795         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3796         to 4.
3797         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3798         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3799         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3800         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3802 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3804         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3805         instead of #if to avoid a Wundef warning.
3806         * stdlib/tst-limits.c (do_test): Likewise.
3808         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3809         parallel other exception macros.
3810         (fegetenv): Convert from macro to extern inline so that it applies
3811         retroactively to inline functions already seen by the compiler.
3812         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3814         * posix/Makefile (before-compile): Use $(objpfx) for
3815         posix-conf-vars-def.h.
3817 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3819         * posix/getconf.c (main): Use size_t for type of I.
3820         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3821         NSPEC.
3823         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3824         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3825         * posix/posix-envs.def: Likewise.
3826         * sysdeps/posix/sysconf.c: Likewise.
3827         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3828         (specs): Remove array.
3829         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3830         array.
3832         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3833         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3834         (__sysconf): Use CONF_IS_* macros.
3836         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3837         ($(objpfx)posix-conf-vars-def.h): New target.
3838         * posix/posix-conf-vars.list: New file.
3839         * posix/posix-conf-vars.h: New file.
3840         * posix/confstr.c: Include posix-conf-vars.h.
3841         (confstr): Use CONF_IS_* macros.
3842         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3843         CONF_IS_* macros.
3844         * scripts/gen-posix-conf-vars.awk: New file.
3846 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3848         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3849         fegetround): Add no-op macros to avoid linknamespace issues.
3851         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3852         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3854         * sysdeps/unix/sysv/linux/tile/sysdep.h
3855         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3856         assembly-specific section to avoid a redefinition warning.
3858         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3859         long before casting to pointer to avoid a cast warning.
3861 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3863         * sysdeps/tile/tilegx/Implies: New file.
3865 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3867         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3869 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3871         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3873 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3875         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3876         not define.
3877         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3878         <kernel-features.h>.
3879         (__utimes) [__NR_utimes]: Make code unconditional.
3880         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3881         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3882         (__ASSUME_UTIMES): Do not undefine.
3883         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3884         (__ASSUME_UTIMES): Likewise.
3885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3886         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3887         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3888         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3890 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3892         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3894 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3896         [BZ #17747]
3897         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3898         alias to weak alias for j0l, y0l.
3899         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3900         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3902         [BZ #17746]
3903         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3904         conversion.
3906 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3908         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3909         to zero if not already defined.
3911 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3913         [BZ #17724]
3914         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3915         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3916         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3917         (char *) casts added.
3918         * sysdeps/ieee754/k_standardf.c: New file.
3919         * sysdeps/ieee754/k_standardl.c: Likewise.
3920         * math/Makefile (libm-support): Remove k_standard.
3921         (libm-calls): Add k_standard.
3923 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3925         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3926         Optimize to avoid an unnecessary FPCR read.
3928 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3930         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3931         Optimize to reduce FPCR/FPSR accesses.
3933 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3935         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3936         Call libc_fetestexcept_aarch64.
3938 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3940         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3941         Call libc_fesetround_aarch64.
3943 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3945         [BZ #17733]
3946         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3947         (__bind): Do not define as weak alias.
3948         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3949         define.
3950         (__getsockname): Do not define as weak alias.
3952 2014-12-22  Will Newton  <will.newton@linaro.org>
3954         * manual/install.texi: Document that we require bison 2.7
3955         or above.
3956         * INSTALL: Regenerate.
3957         * configure.ac: Use AC_CHECK_PROG_VER instead of
3958         AC_PATH_PROG when checking for bison and check for
3959         version 2.7 or above.
3960         * configure: Regenerate.
3962 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3964         [BZ #17745]
3965         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3966         * sysdeps/tile/ffsll.c (ffsll): To here.
3968         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3970 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3972         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3973         if not defined.
3974         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3975         definition.
3976         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3977         hidden ___tls_get_addr.
3978         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3979         hidden __tls_get_addr.
3980         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3981         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3982         Likewise.
3984 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3986         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3987         _dl_init call.
3989 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3991         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3992         from "call _dl_init@PLT".
3993         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3995 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3997         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3998         guarantees.
4000 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
4002         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4004 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4006         [BZ #17744]
4007         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4008         strnlen.
4010 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4012         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4013         of multu on MIPSr6.
4014         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4015         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4016         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4017         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4018         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4020 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4022         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4023         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4024         (PTR_SUBU): Use subu for mips32r6/mips64r6.
4025         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4026         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4027         mips32r6/mips64r6.
4028         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4030 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
4032         * string/strncat.c (STRNCAT): Simplify implementation.
4034 2014-12-19  David S. Miller  <davem@davemloft.net>
4036         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4037         access the quad as both a long double and as a series of 4 words.
4039         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4040         link_map->l_info array access.
4042 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4044         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4046         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4047         * math/atest-exp2.c (TIMEOUT): Likewise.
4048         * math/atest-sincos.c (TIMEOUT): Likewise.
4050 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4052         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4053         -Wno-error with -fno-builtin-lround.
4055 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4057         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4058         Contains futex constants and functions moved over from ...
4059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
4060         <lowlevellock-futex.h>.
4061         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4062         (lll_timedwait_tid): Add comments and parentheses around macro
4063         arguments.
4065 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4067         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4068         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
4069         (__lll_private_flag): Remove.
4070         (lll_futex_wait): Likewise.
4071         (lll_futex_timed_wait): Likewise.
4072         (lll_futex_wake): Likewise.
4073         (lll_futex_requeue): Likewise.
4074         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4075         (__lll_timedwait_tid): Spell out argument names.
4076         (lll_timedwait_tid): Add comments and parentheses around macro
4077         arguments.
4078         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4079         LLL_SHARED and LLL_PRIVATE usable from assembly code.
4081 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4083         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4084         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4086         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4087         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4088         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4089         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4090         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4091         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4092         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4093         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4094         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4095         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4097         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4098         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4099         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4100         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4101         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4103 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4105         * sysdeps/x86_64/x32/Makefile: New file.
4107 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4109         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4110         1L with (mp_limb_t) 1.
4112 2014-12-17  Roland McGrath  <roland@hack.frob.com>
4114         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4115         * nptl/libc_pthread_init.c: ... here.
4116         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4117         * nptl/register-atfork.c: ... here.
4119         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4120         Use pthread_sigmask rather than INTERNAL_SYSCALL.
4121         Use assert_perror to check its return value.
4122         (__gai_create_helper_thread): Likewise.
4124         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4126         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4128 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #17725]
4131         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4132         __profil_counter.
4133         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4134         Likewise.
4135         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4136         Likewise.
4137         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4138         Likewise.
4139         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4140         (profil_counter): Likewise.
4141         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4142         (profil_counter): Likewise.
4143         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4144         Likewise.
4145         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4146         Likewise.
4147         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4148         (profil_counter): Likewise.
4149         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4150         Likewise.
4151         [!__profil_counter] (profil_counter): Define as weak alias of
4152         __profil_counter.
4153         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4154         (profil_counter): Rename to __profil_counter.
4155         [!__profil_counter] (profil_counter): Define as weak alias of
4156         __profil_counter.
4157         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4158         (profil_counter): Rename to __profil_counter.
4159         [!__profil_counter] (profil_counter): Define as weak alias of
4160         __profil_counter.
4161         * sysdeps/posix/profil.c: Update comment referring to
4162         profil_counter.
4163         (__profil): Use __profil_counter instead of profil_counter.
4164         * sysdeps/posix/sprofil.c (profil_counter): Rename to
4165         __profil_counter.  Use __profil_counter_ushort and
4166         __profil_counter_uint in definitions.
4167         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4168         instead of profil_counter_uint and profil_counter_ushort.
4170         [BZ #17722]
4171         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4172         define as weak alias of __inet_makeaddr.
4173         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4174         as weak alias of __inet_addr.
4175         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4176         as weak alias of __inet_pton.  Use libc_hidden_weak.
4177         * include/arpa/inet.h (__inet_pton): Declare.  Use
4178         libc_hidden_proto.
4179         (inet_makeaddr): Don't use libc_hidden_proto.
4180         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
4181         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4182         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
4183         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4184         Remove variable.
4185         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4186         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4188 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
4190         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4192 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4194         * stdio-common/bug-vfprintf-nargs.c (do_test):
4195         Cast value to intptr_t to avoid format warning
4196         for usage with PRIdPTR printing macro.
4198 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4200         * libio/tst-widetext.c (do_test):
4201         Use format type %td instead of %Zd for ptrdiff_t
4202         in order to avoid format warning.
4204 2014-12-17  Andreas Schwab  <schwab@suse.de>
4206         * nscd/mem.c (gc): Add size_t cast to match printf format.
4208 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4210         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4211         (init): Apply PTR_MANGLE to pointers before storing them.
4212         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4213         before using them.
4215 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4217         [BZ #17719]
4218         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4219         define as weak alias of __memrchr.
4220         (__memrchr): Do not define as strong alias of memrchr.
4221         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4222         Remove variable.
4223         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4224         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4225         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4227         [BZ #17717]
4228         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4229         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4230         (if_indextoname): Rename to __if_indextoname and define as weak
4231         alias of __if_indextoname.  Use libc_hidden_weak.
4232         (if_freenameindex): Rename to __if_freenameindex and define as
4233         weak alias of __if_freenameindex.
4234         (if_nameindex): Rename to __if_nameindex and define as weak alias
4235         of __if_nameindex.
4236         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4237         __if_nametoindex and define as weak alias of __if_nametoindex.
4238         Use libc_hidden_weak.
4239         (if_freenameindex): Rename to __if_freenameindex and define as
4240         weak alias of __if_freenameindex.
4241         (if_nameindex): Rename to __if_nameindex and define as weak alias
4242         of __if_nameindex.
4243         (if_indextoname): Rename to __if_indextoname and define as weak
4244         alias of __if_indextoname.  Use libc_hidden_weak.
4245         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4246         __if_nametoindex and define as weak alias of __if_nametoindex.
4247         Use libc_hidden_weak.
4248         (if_freenameindex): Rename to __if_freenameindex and define as
4249         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4250         (if_nameindex_netlink): Use __if_freenameindex instead of
4251         if_freenameindex.
4252         (if_nameindex): Rename to __if_nameindex and define as weak alias
4253         of __if_nameindex.  Use libc_hidden_weak.
4254         (if_indextoname): Rename to __if_indextoname and define as weak
4255         alias of __if_indextoname.  Use libc_hidden_weak.
4256         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4257         libc_hidden_proto.
4258         [!_ISOMAC] (__if_freenameindex): Likewise.
4259         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4260         if_nametoindex.
4261         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4262         variable.
4263         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4264         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4265         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4266         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4267         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4268         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4269         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4271         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4272         Remove variable.
4273         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4274         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4276 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4278         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4279         subscript above bounds'
4281         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4282         bounds.
4284 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4286         * libio/tst-fopenloc.c: Use test-skeleton.c.
4288         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4289         (entry): Rename to ITEM.
4290         (do_test, comp): Adjust.
4292         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4294 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4296         * string/tester.c: Include <libc-internal.h>.
4297         (test_memset): Ignore -Wmemset-transposed-args.
4299 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4301         * misc/tst-mntent2.c (do_test): Fix warning.
4303 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4305         * elf/tst-unique4lib.cc(a): Mark as used.
4307 2014-12-16  Florian Weimer  <fweimer@redhat.com>
4309         [BZ #17630]
4310         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4311         names.
4313 2014-12-16  Allan McRae  <allan@archlinux.org>
4315         * stdio-common/Makefile (tests): Re-add bug26.
4317 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
4319         [BZ #17657]
4320         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4321         static array.
4323 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
4325         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4326         (__lll_lock_wait): Likewise.
4327         (__lll_timedlock_wait): Likewise.
4328         (__lll_timedwait_tid): Likewise.
4329         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4330         (__lll_robust_timedlock_wait): Likewise.
4331         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4332         (lll_cond_trylock): Likewise.
4333         (__lll_lock): Likewise.
4334         (__lll_robust_lock): Likewise.
4335         (__lll_cond_lock): Likewise.
4336         (lll_robust_cond_lock): Likewise.
4337         (__lll_timedlock): Likewise.
4338         (__lll_robust_timedlock): Likewise.
4339         (__lll_unlock): Likewise.
4340         (__lll_robust_unlock): Likewise.
4341         (lll_wait_tid): Likewise.
4342         (lll_timedwait_tid): Likewise.
4344 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4346         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4348 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4350         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4352 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4354         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4355         * stdio-common/tst-sprintf.c: Likewise.
4357 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4359         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4361 2014-12-15  Jeff Law  <law@redhat.com>
4363         [BZ #16617]
4364         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4365         on the heap.  (CVE-2012-3406)
4366         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4367         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4368         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4370 2014-12-15  Will Newton  <will.newton@linaro.org>
4372         * manual/install.texi: Bump required version of texinfo
4373         to 4.7 from 4.5.
4374         * INSTALL: Regenerated.
4375         * configure.ac: Check for makeinfo version 4.7 and above.
4376         * configure: Regenerated.
4378 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4380         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4381         PREFIX, string constant to insert between directory and name.
4382         * sysdeps/posix/shm_open.c: Update caller.
4383         * sysdeps/posix/shm_unlink.c: Likewise.
4384         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4385         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4386         (SEM_SHM_PREFIX): New macro.
4387         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4388         [$(have-thread-library) = no].
4389         * nptl/Makefile (libpthread-routines): Add shm-directory.
4390         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4391         * sysdeps/nptl/shm-directory.h: New file.
4392         * sysdeps/posix/shm-directory.c
4393         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4394         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4395         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4396         INTERNAL_SYSCALL.
4397         (__where_is_shmfs): Function removed.
4398         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4399         Variables removed.
4400         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4401         Use SHM_GET_NAME.
4402         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4404         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4405         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4406         unconditional for use inside libpthread.
4407         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4409 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4411         * nptl/pthread_getaffinity.c: New file.
4412         * nptl/pthread_setaffinity.c: New file.
4413         * nptl/pthread_getname.c: New file.
4414         * nptl/pthread_setname.c: New file.
4416         * nptl/pthread_create.c (START_THREAD_DEFN)
4417         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4419 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4420             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4422         * resolv/res_send.c (send_vc): Disable warning resplen may
4423         be used uninitialized.
4425 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4427         * nptl/tst-mutex6.c
4428         (ATTR_NULL): New define checks ATTR against NULL.
4429         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4430         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4432 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4434         [BZ #17581]
4435         * malloc/hooks.c
4436         (mem2mem_check): Revert my previous change.
4437         (malloc_check_get_size): Revert my previous change.
4438         (mem2chunk_check): Revert my previous change.
4440 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4442         * sysdeps/posix/shm-directory.c: New file.
4443         * sysdeps/posix/shm-directory.h: New file.
4444         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4445         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4446         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4447         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4448         Transmute EPERM to EACCES.
4449         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4450         from ...
4451         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4452         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4454 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4456         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4457         pointer and cast to uintptr_t.
4458         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4459         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4460         Add cast to avoid warning.
4461         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4463 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4465         * nptl/semaphore.h: Move to ...
4466         * sysdeps/pthread/semaphore.h: ... here.
4467         * Makefile (installed-headers): Change nptl/semaphore.h to
4468         sysdeps/pthread/semaphore.h.
4470 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4472         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4473         generated error format strings.
4475         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4476         -Wformat-extra-args warnings for scanf formats.
4477         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4478         test of zero-length format (duh).
4479         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4480         corner-case scanf format test.
4481         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4482         generated fprintf format string.
4483         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4484         corner-case sprintf format tests.
4485         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4486         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4487         -Wformat-extra-args warnings throughout.
4488         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4489         (CFLAGS-scanf4.c): Likewise.
4490         (CFLAGS-scanf7.c): Likewise.
4491         (CFLAGS-tst-sprintf.c): Likewise.
4492         (CFLAGS-tst-printf.c): Likewise.
4493         (CFLAGS-tst-printfsz.c): Likewise.
4495 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4497         * include/cpio.h: New file.
4498         * include/fmtmsg.h: Likewise.
4500         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4501         corresponding format argument to size_t.
4502         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4503         arguments.
4504         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4505         corresponding format argument to size_t.
4506         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4507         arguments.
4508         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4509         corresponding format argument to size_t.
4510         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4511         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4512         (CFLAGS-tst-mbswcs2.c): Likewise.
4513         (CFLAGS-tst-mbswcs3.c): Likewise.
4514         (CFLAGS-tst-mbswcs4.c): Likewise.
4515         (CFLAGS-tst-mbswcs5.c): Likewise.
4516         (CFLAGS-tst-trans.c): Likewise
4518 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4520         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4521         rather than assuming they won't contain any '%'s.
4523 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4525         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4526         inhibit_loop_to_libcall to avoid recursive calls.
4527         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4528         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4530 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4532         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4533         prototype.
4535 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4537         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4538         integer value instead of boolean.
4540 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4542         * malloc/malloc.c: Fix powerof2 check.
4544 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4546         * locale/programs/locfile.h (maybe_swap_uint32):
4547         Remove inline and add unused attribute.
4549 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4551         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4552         Truncating assembler expression to a .long expression.
4554 2014-12-11  Andreas Schwab  <schwab@suse.de>
4556         * elf/rtld.c (struct map_args): Constify str member.
4557         (do_preload): Constify fname argument.
4559 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4561         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4562         constants definition.
4564 2014-12-11  Andreas Schwab  <schwab@suse.de>
4566         [BZ #16657]
4567         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4568         FORCE_ELISION instead of DO_ELISION.
4569         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4570         Remove.
4571         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4572         Likewise.
4574         * iconvdata/gconv-modules: Remove duplicate entry.
4576 2014-12-11  Will Newton  <will.newton@linaro.org>
4578         Merge gettext 0.19.3 into intl/.
4580         This involves a number of cosmetic changes to comments
4581         and ANSI function definitions and prototypes throughout
4582         all the files. The gettext copyright header is used but
4583         with the date ranges taken from the glibc copy.
4585         * NEWS: Add gettext merge to 2.21.
4586         * intl/bindtextdom.c: Switch to gettext copyright.
4587         Use ANSI definitions and prototypes.
4588         Use gl_* locking primitives rather than __libc_* ones.
4589         Use __builtin_expect rather than __glibc_likely/unlikely.
4590         * intl/dcgettext.c: Switch to gettext copyright.
4591         Use ANSI definitions and prototypes.
4592         * intl/dcigettext.c: Switch to gettext copyright.
4593         Use ANSI definitions and prototypes.
4594         (INTDIV0_RAISES_SIGFPE): New define.
4595         Use gl_* locking primitives rather than __libc_* ones.
4596         Include eval-plural.h instead of plural-eval.c.
4597         Use __builtin_expect rather than __glibc_likely/unlikely.
4598         * intl/dcngettext.c: Switch to gettext copyright.
4599         Use ANSI definitions and prototypes.
4600         * intl/dgettext.c: Likewise.
4601         * intl/dngettext.c: Likewise.
4602         * intl/plural-eval.c: Renamed to...
4603         * intl/eval-plural.h: ...this.
4604         * intl/explodename.c: Switch to gettext copyright.
4605         Use ANSI definitions and prototypes.
4606         (_nl_explode_name): Use strchr instead of __rawmemchr.
4607         * intl/finddomain.c: Switch to gettext copyright.
4608         Use ANSI definitions and prototypes.
4609         Use gl_* locking primitives rather than __libc_* ones.
4610         (_nl_find_domain): Use malloc rather than alloca for
4611         allocation of temporary locale name.
4612         * intl/gettext.c: Switch to gettext copyright.
4613         Use ANSI definitions and prototypes.
4614         * intl/gettextP.h: Switch to gettext copyright.
4615         Use ANSI definitions and prototypes.
4616         Use gl_* locking primitives rather than __libc_* ones.
4617         * intl/gmo.h: Switch to gettext copyright.
4618         (struct sysdep_string): Move struct segment_pair outside of
4619         struct definition.
4620         * intl/hash-string.c: Use ANSI definitions and prototypes.
4621         * intl/hash-string.h: Switch to gettext copyright.
4622         Use ANSI definitions and prototypes.
4623         * intl/l10nflist.c: Switch to gettext copyright.
4624         Use ANSI definitions and prototypes.
4625         (_nl_normalize_codeset): Avoid integer overflow.
4626         * intl/loadinfo.h: Switch to gettext copyright.
4627         Use ANSI definitions and prototypes.
4628         (LIBINTL_DLL_EXPORTED): New define.
4629         (PATH_SEPARATOR): New define.
4630         * intl/loadmsgcat.c: Switch to gettext copyright.
4631         * intl/localealias.c: Switch to gettext copyright.
4632         Use ANSI definitions and prototypes.
4633         (_nl_expand_alias): Use PATH_SEPARATOR.
4634         * intl/ngettext.c: Switch to gettext copyright.
4635         Use ANSI definitions and prototypes.
4636         * intl/plural-exp.c: Likewise.
4637         * intl/plural-exp.h: Switch to gettext copyright.
4638         Use ANSI definitions and prototypes.
4639         (struct expression): Move definition of enum operator outside
4640         of struct definition.
4641         * intl/plural.c: Regenerate.
4642         * intl/plural.y: Switch to gettext copyright.
4643         Use ANSI definitions and prototypes.
4644         Port to bison 3.0.
4645         * intl/textdomain.c: Switch to gettext copyright.
4646         Use ANSI definitions and prototypes.
4647         Use gl_* locking primitives rather than __libc_* ones.
4649 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4651         * debug/warning-nop.c: Add used atrribute.
4653 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4655         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4657         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4658         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4659         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4661 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4664         [BZ #17634]
4665         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4666         Undefine after defining function.  Define as weak alias of
4667         __wcschr.  Use libc_hidden_weak.
4668         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4669         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4670         (libc_hidden_def): Also define __GI___wcschr alias.
4671         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4672         __wcschr and define as weak alias of __wcschr.
4673         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4674         __wcschr.
4675         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4676         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4677         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4678         libc_hidden_weak.  Do not use libc_hidden_def.
4679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4680         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4681         __GI___wcschr alias.
4682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4683         [IS_IN (libc)] (wcschr): Define as macro expanding to
4684         __redirect_wcschr.
4685         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4686         [IS_IN (libc)] (__wcschr_power6): Likewise.
4687         [IS_IN (libc)] (__wcschr_power7): Likewise.
4688         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4689         instead of wcschr.
4690         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4691         __libc_wcschr.
4692         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4693         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4694         __wcschr and define as weak alias of __wcschr.  Use
4695         libc_hidden_builtin_def.
4696         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4697         as weak alias of __wcschr.  Use libc_hidden_weak.
4698         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4699         wcschr.
4700         * time/era.c (_nl_init_era_entries): Likewise.
4701         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4702         variable.
4703         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4704         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4706 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4708         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4709         format for long int variable.
4711 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4713         [BZ #10672]
4714         * manual/search.texi: (Array Sort Function): Remove claim how to make
4715         qsort stable.
4717 2014-12-10  Andreas Schwab  <schwab@suse.de>
4719         [BZ #12847]
4720         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4721         user-controlled locks.
4723 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4725         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4726         register.
4728 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4730         * configure.ac (--disable-werror): New configure option.
4731         (enable_werror): New AC_SUBST.
4732         * configure: Regenerated.
4733         * config.make.in (enable-werror): New variable.
4734         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4735         -Wno-error=undef.
4736         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4737         * manual/install.texi (Configuring and compiling): Document
4738         --disable-werror.
4739         * INSTALL: Regenerated.
4740         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4741         (CFLAGS-tst-chk2.c): Likewise.
4742         (CFLAGS-tst-chk3.c): Likewise.
4743         (CFLAGS-tst-chk4.cc): Likewise.
4744         (CFLAGS-tst-chk5.cc): Likewise.
4745         (CFLAGS-tst-chk6.cc): Likewise.
4746         (CFLAGS-tst-lfschk1.c): Likewise.
4747         (CFLAGS-tst-lfschk2.c): Likewise.
4748         (CFLAGS-tst-lfschk3.c): Likewise.
4749         (CFLAGS-tst-lfschk4.cc): Likewise.
4750         (CFLAGS-tst-lfschk5.cc): Likewise.
4751         (CFLAGS-tst-lfschk6.cc): Likewise.
4753         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4754         (main): Disable -Wdeprecated-declarations around calls to
4755         register_printf_function.
4757         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4758         (do_test): Disable -Wdiv-by-zero around some calls to
4759         fwrite_unlocked and fread_unlocked.
4761         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4762         (DIAG_POP_NEEDS_COMMENT): Likewise.
4763         (_DIAG_STR1): Likewise.
4764         (_DIAG_STR): Likewise.
4765         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4766         * stdio-common/bug21.c: Include <libc-internal.h>.
4767         (do_test): Disable -Wformat around call to sscanf.
4768         * stdio-common/scanf14.c: Include <libc-internal.h>.
4769         (main): Disable -Wformat around some calls to scanf functions.
4771 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4773         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4775 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4777         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4778         stack variable alignment.
4780 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4782         [BZ #17682]
4783         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4784         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4785         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4786         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4787         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4788         __getrlimit instead of getrlimit.
4789         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4790         __gettimeofday instead of gettimeofday.
4791         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4792         Likewise.
4793         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4794         Likewise.
4795         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4796         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4797         Remove variable.
4798         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4799         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4801 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4803         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4804         for wide-character tests.
4806 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4808         * io/openat64.c: #include <libc-internal.h>
4809         (__openat64): Prototypify.  Use ignore_value on MODE.
4810         * io/openat.c: Likewise.
4811         * misc/reboot.c: #include <libc-internal.h>
4812         (reboot): Prototypify.  Use ignore_value on HOWTO.
4813         * misc/ptrace.c: #include <libc-internal.h>
4814         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4816 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4818         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4819         XPG4, UNIX98 and XOPEN2K.
4820         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4821         Remove variable.
4822         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4824 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4826         * libio/fileops.c: Use ISO C style for function definitions.
4827         * libio/iofopen.c: Likewise.
4828         * libio/wfileops.c: Likewise.
4830         [BZ #17653]
4831         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4832         offset on EOF.
4833         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4834         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4835         (fgets_func): Function pointer to fgets and fgetws.
4836         (do_ftell_test): Add test to verify ftell value after read
4837         EOF.
4838         (do_test): Set fgets_func.
4840         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4841         O_TRUNC flag for w and w+ modes.
4842         (do_rewind_test): Likewise.
4843         (do_ftell_test): Likewise.
4844         (do_write_test): Likewise.
4846         [BZ #17647]
4847         * libio/fileops.c (do_ftell): Seek only when there are
4848         unflushed writes.
4849         * libio/wfileops.c (do_ftell_wide): Likewise.
4850         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4851         test case.
4852         (do_one_test): Call it.
4854 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4856         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4857         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4858         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4859         Remove variable.
4860         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4861         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4862         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4864 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4866         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4867         Remove variable.
4868         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4870         [BZ #17668]
4871         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4872         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4873         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4874         __freeifaddrs.  Use libc_hidden_weak.
4875         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4876         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4877         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4878         __freeifaddrs.  Use libc_hidden_weak.
4879         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4880         __getifaddrs and define as weak alias of __getifaddrs.  Use
4881         libc_hidden_weak.
4882         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4883         __freeifaddrs.  Use libc_hidden_weak.
4884         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4885         Remove variable.
4886         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4887         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4889 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4891         [BZ #17601]
4892         * sysdeps/mips/start.S (__start): Use indirect jump to call
4893         __libc_start_main.
4895 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4897         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4899         * nptl/tst-mutex1.c: Include <stdbool.h>.
4900         [!ATTR] (ATTR_NULL): New macro.
4901         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4902         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4903         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4905         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4906         to char *.
4908         [BZ #17665]
4909         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4910         Change conditional to [__USE_MISC].
4912         [BZ #17664]
4913         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4914         fgets_unlocked.
4915         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4916         __fgets_unlocked.
4917         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4918         fgets_unlocked.
4919         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4920         Remove variable.
4921         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4922         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4923         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4924         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4925         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4926         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4927         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4928         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4929         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4931         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4933 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4936         Remove strpbrk objects.
4937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4938         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4939         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4941         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4942         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4945         Remove strcspn objects.
4946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4947         (__libc_ifunc_impl_list): Remove strcspn implementation.
4948         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4949         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4950         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4951         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4954         Remove strspn objetcs.
4955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4956         (__libc_ifunc_impl_list): Remove strspn implementation.
4957         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4958         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4959         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4960         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4962 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4964         [BZ #17581]
4965         * malloc/hooks.c
4966         (mem2mem_check): Add a terminator to the chain of checking blocks.
4967         (malloc_check_get_size): Use it here.
4968         (mem2chunk_check): Ditto.
4970 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4972         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4973         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4975 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4977         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4979         * nptl/nptl-init.c: Include libc-internal.h.
4980         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4982         * elf/ldconfig.c (search_dir): Expand comment.
4984 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4986         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4987         variable.
4988         (linknamespace-symlist-stdlibs-tests): Likewise.
4989         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4990         instead of $(objpfx)symlist-stdlibs.
4991         (linknamespace-libs-isoc): New variable.
4992         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4993         (linknamespace-libs-ISO): New variable.
4994         (linknamespace-libs-ISO99): Likewise.
4995         (linknamespace-libs-ISO11): Likewise.
4996         (linknamespace-libs-XPG3): Likewise.
4997         (linknamespace-libs-XPG4): Likewise.
4998         (linknamespace-libs-POSIX): Likewise.
4999         (linknamespace-libs-UNIX98): Likewise.
5000         (linknamespace-libs-XOPEN2K): Likewise.
5001         (linknamespace-libs-POSIX2008): Likewise.
5002         (linknamespace-libs-XOPEN2K8): Likewise.
5003         ($(objpfx)symlist-stdlibs): Replace by
5004         $(linknamespace-symlist-stdlibs-tests).  Use
5005         $(linknamespace-libs-$*) as set of libraries.
5006         ($(linknamespace-header-tests)): Update dependencies.  Use
5007         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5008         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5009         * conform/linknamespace.pl: Remove comment about considering
5010         definitions of symbols from irrelevant libraries.
5012 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5014         [BZ #13862]
5015         * elf/dl-tls.c: Include <atomic.h>.
5016         (oom): Remove #ifdef SHARED/#endif.
5017         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5018         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
5019         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5020         big enough.
5021         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5022         * nptl/Makefile (tests): Add tst-stack4.
5023         (modules-names): Add tst-stack4mod.
5024         ($(objpfx)tst-stack4): New.
5025         (tst-stack4mod.sos): Likewise.
5026         ($(objpfx)tst-stack4.out): Likewise.
5027         ($(tst-stack4mod.sos)): Likewise.
5028         (clean): Likewise.
5029         * nptl/tst-stack4.c: New file.
5030         * nptl/tst-stack4mod.c: Likewise.
5032 2014-11-27  J. Brown  <jb999@gmx.de>
5034         * sysdeps/x86/bits/string.h: Add recent CPUs.
5036 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5038         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5039         sigblock.
5041         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5042         feof.
5044         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5045         variable.
5047 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5049         * nscd/connections.c: Include libc-internal.h because of macro
5050         usage ignore_value.
5052 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5054         * string/bits/string3.h (__warn_memset_zero_len): Don't
5055         declare for gcc newer than 5.0.
5056         (memset): Don't test for zero-length __LEN for gcc newer than
5057         5.0.
5059 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5061         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5062         size_t for %zu format.
5064         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5065         difference, not %ju.
5067 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5069         * include/libc-internal.h (ignore_value): New macro.
5070         * nscd/connections.c (restart): Wrap calls to setuid and setgid
5071         with ignore_value.
5073         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5074         definition.
5076         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5077         pthread_cleanup_push to void *.
5079         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5080         Undefine.
5082         [BZ #16619]
5083         [BZ #16740]
5084         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5085         instead of 1L << 52.
5087         * libio/bug-rewind.c (do_test): Check fwscanf return values.
5088         * libio/bug-rewind2.c (do_test): Likewise.
5090         * debug/test-stpcpy_chk-ifunc.c: Remove file.
5091         * debug/test-strcpy_chk-ifunc.c: Likewise.
5092         * wcsmbs/test-wcschr-ifunc.c: Likewise.
5093         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5094         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5095         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5096         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5097         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5098         * Rules [$(multi-arch) = no] (tests): Do not filter out
5099         $(tests-ifunc).
5100         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5101         * debug/Makefile (tests-ifunc): Remove variable.
5102         (tests): Do not add $(tests-ifunc).
5103         * wcsmbs/Makefile (tests-ifunc): Remove variable.
5104         (tests): Do not add $(tests-ifunc).
5105         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5106         [TEST_IFUNC]: Remove conditionals.
5107         * string/test-string.h (TEST_IFUNC): Remove macro.
5108         [TEST_IFUNC]: Remove conditionals.
5110         * string/test-strchr.c [!WIDE] (L): New macro.
5111         [WIDE] (L): Likewise.
5112         (check1): Use CHAR instead of char.  Use L on string and character
5113         constants.
5115 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
5117         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5118         tests.
5119         * sysdeps/powerpc/bits/atomic.h
5120         (__arch_atomic_exchange_and_add_32_acq): Add definition.
5121         (__arch_atomic_exchange_and_add_32_rel): Likewise.
5122         (atomic_exchange_and_add_acq): Likewise.
5123         (atomic_exchange_and_add_rel): Likewise.
5124         * sysdeps/powerpc/powerpc32/bits/atomic.h
5125         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5126         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5127         * sysdeps/powerpc/powerpc64/bits/atomic.h
5128         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5129         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5131 2014-11-26  Torvald Riegel  <triegel@redhat.com>
5133         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5134         Change synchronization of __sched_fifo_min_prio and
5135         __sched_fifo_max_prio.
5136         * nptl/pthread_mutexattr_getprioceiling.c
5137         (pthread_mutexattr_getprioceiling): Likewise.
5138         * nptl/pthread_mutexattr_setprioceiling.c
5139         (pthread_mutexattr_setprioceiling): Likewise.
5140         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5141         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5142         Likewise.
5144 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5146         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5147         void.
5149 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5151         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5152         third argument const.
5154 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
5156         fnmatch: work around GCC compiler warning bug with uninit var
5157         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5158         This works around a bug with x86-64 GCC 4.9.2 and earlier
5159         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5160         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5161         used uninitialized in this function [-Wmaybe-uninitialized]".
5163 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5165         * posix/bug-regex31.c (main): Return RES not 0.
5167 2014-11-25  Anton Blanchard <anton@samba.org>
5169         * sysdeps/powerpc/bits/atomic.h
5170         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5172 2014-11-24  Sterling Augustine  <saugustine@google.com>
5174         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5176 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
5178         [BZ #17608]
5179         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5181 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
5183         [BZ #17633]
5184         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5185         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5186         variable.
5187         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5188         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5190 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5192         * string/strncpy.c (strncpy): Improve performance by using memset.
5194 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5196         * string/strcpy.c (strcpy):
5197         Improve performance by using strlen and memcpy.
5199 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5201         * string/strcoll_l.c (get_next_seq): __always_inline.
5202         * string/strcoll_l.c (do_compare): __always_inline.
5204 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5206         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5207         defined.
5208         * include/mqueue.h: Likewise.
5209         * include/stdlib.h: Likewise.
5211         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5212         (get_null_defines): Adjust.
5213         * sunrpc/Makefile: Adjust comment.
5214         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5215         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5216         (CFLAGS-interp.c): Likewise.
5217         (CFLAGS-ldconfig.c): Likewise.
5218         (CPPFLAGS-.os): Likewise.
5219         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5220         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5221         * extra-modules.mk (extra-modules.mk): Likewise.
5222         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5223         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5224         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5225         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5226         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5227         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5228         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5229         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5230         * iconvdata/Makefile (CPPFLAGS): Likewise.
5231         (cpp-srcs-left): Add libof for all iconvdata routines.
5232         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5233         * include/assert.h: Likewise.
5234         * include/ctype.h: Likewise.
5235         * include/errno.h: Likewise.
5236         * include/libc-symbols.h: Likewise.
5237         * include/math.h: Likewise.
5238         * include/netdb.h: Likewise.
5239         * include/resolv.h: Likewise.
5240         * include/stdio.h: Likewise.
5241         * include/stdlib.h: Likewise.
5242         * include/string.h: Likewise.
5243         * include/sys/stat.h: Likewise.
5244         * include/wctype.h: Likewise.
5245         * intl/l10nflist.c: Likewise.
5246         * libidn/idn-stub.c: Likewise.
5247         * libio/libioP.h: Likewise.
5248         * nptl/libc_multiple_threads.c: Likewise.
5249         * nptl/pthreadP.h: Likewise.
5250         * posix/regex_internal.h: Likewise.
5251         * resolv/res_hconf.c: Likewise.
5252         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5253         * sysdeps/arm/memmove.S: Likewise.
5254         * sysdeps/arm/sysdep.h: Likewise.
5255         * sysdeps/generic/_itoa.h: Likewise.
5256         * sysdeps/generic/symbol-hacks.h: Likewise.
5257         * sysdeps/gnu/errlist.awk: Likewise.
5258         * sysdeps/gnu/errlist.c: Likewise.
5259         * sysdeps/i386/i586/memcpy.S: Likewise.
5260         * sysdeps/i386/i586/memset.S: Likewise.
5261         * sysdeps/i386/i686/memcpy.S: Likewise.
5262         * sysdeps/i386/i686/memmove.S: Likewise.
5263         * sysdeps/i386/i686/mempcpy.S: Likewise.
5264         * sysdeps/i386/i686/memset.S: Likewise.
5265         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5266         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5267         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5268         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5271         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5272         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5273         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5274         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5275         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5276         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5277         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5278         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5279         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5280         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5281         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5282         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5283         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5284         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5285         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5286         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5287         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5288         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5289         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5290         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5291         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5292         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5293         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5294         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5295         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5296         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5298         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5299         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5300         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5301         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5302         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5303         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5304         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5306         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5307         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5308         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5309         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5310         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5311         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5312         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5313         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5314         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5315         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5316         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5317         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5318         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5319         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5320         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5321         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5322         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5323         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5324         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5325         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5326         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5327         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5328         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5329         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5330         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5331         * sysdeps/posix/closedir.c: Likewise.
5332         * sysdeps/posix/opendir.c: Likewise.
5333         * sysdeps/posix/readdir.c: Likewise.
5334         * sysdeps/posix/rewinddir.c: Likewise.
5335         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5336         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5337         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5338         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5339         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5340         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5341         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5346         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5347         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5348         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5349         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5350         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5351         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5352         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5353         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5354         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5355         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5356         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5357         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5358         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5359         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5361         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5363         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5370         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5371         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5372         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5373         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5374         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5375         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5376         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5377         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5378         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5379         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5380         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5381         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5382         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5383         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5384         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5385         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5386         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5389         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5391         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5392         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5393         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5395         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5396         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5397         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5398         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5399         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5400         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5401         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5402         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5403         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5404         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5406         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5407         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5408         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5409         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5410         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5411         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5412         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5413         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5414         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5415         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5417         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5419         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5421         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5422         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5423         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5424         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5425         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5426         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5427         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5429         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5430         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5431         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5433         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5434         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5436         * sysdeps/unix/alpha/sysdep.S: Likewise.
5437         * sysdeps/unix/alpha/sysdep.h: Likewise.
5438         * sysdeps/unix/make-syscalls.sh: Likewise.
5439         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5440         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5441         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5442         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5443         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5444         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5445         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5446         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5447         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5448         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5449         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5450         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5451         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5452         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5453         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5454         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5455         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5456         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5457         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5458         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5459         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5460         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5461         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5462         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5463         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5464         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5465         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5468         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5469         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5470         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5472         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5473         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5476         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5477         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5478         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5479         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5480         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5481         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5482         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5483         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5486         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5489         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5490         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5491         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5492         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5494         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5495         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5497         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5498         * sysdeps/x86_64/memcpy.S: Likewise.
5499         * sysdeps/x86_64/memmove.c: Likewise.
5500         * sysdeps/x86_64/memset.S: Likewise.
5501         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5502         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5503         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5504         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5505         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5511         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5513         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5516         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5517         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5518         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5519         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5520         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5521         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5523         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5525         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5526         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5527         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5528         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5529         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5530         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5531         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5532         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5533         * sysdeps/x86_64/strcmp.S: Likewise.
5535         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5537         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5538         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5539         * elf/rtld-Rules: Likewise.
5540         * elf/setup-vdso.h: Likewise.
5541         * include/assert.h: Likewise.
5542         * include/bits/stdlib-float.h: Likewise.
5543         * include/errno.h: Likewise.
5544         * include/sys/stat.h: Likewise.
5545         * include/unistd.h: Likewise.
5546         * sysdeps/aarch64/setjmp.S: Likewise.
5547         * sysdeps/alpha/setjmp.S: Likewise.
5548         * sysdeps/arm/__longjmp.S: Likewise.
5549         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5550         * sysdeps/arm/setjmp.S: Likewise.
5551         * sysdeps/arm/sysdep.h: Likewise.
5552         * sysdeps/generic/_itoa.h: Likewise.
5553         * sysdeps/generic/dl-sysdep.h: Likewise.
5554         * sysdeps/generic/ldsodefs.h: Likewise.
5555         * sysdeps/i386/dl-tls.h: Likewise.
5556         * sysdeps/i386/setjmp.S: Likewise.
5557         * sysdeps/m68k/setjmp.c: Likewise.
5558         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5559         * sysdeps/mach/hurd/opendir.c: Likewise.
5560         * sysdeps/posix/getcwd.c: Likewise.
5561         * sysdeps/posix/opendir.c: Likewise.
5562         * sysdeps/posix/profil.c: Likewise.
5563         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5564         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5565         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5566         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5567         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5568         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5570         * sysdeps/s390/dl-tls.h: Likewise.
5571         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5572         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5573         * sysdeps/sh/sh3/setjmp.S: Likewise.
5574         * sysdeps/sh/sh4/setjmp.S: Likewise.
5575         * sysdeps/unix/alpha/sysdep.h: Likewise.
5576         * sysdeps/unix/arm/sysdep.S: Likewise.
5577         * sysdeps/unix/i386/sysdep.S: Likewise.
5578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5580         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5581         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5583         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5584         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5585         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5586         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5587         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5588         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5589         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5594         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5595         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5596         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5597         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5598         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5601         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5602         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5605         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5606         * sysdeps/x86_64/setjmp.S: Likewise.
5608         * include/math.h: Use IS_IN instead of IS_IN_libm.
5609         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5610         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5611         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5612         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5613         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5614         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5615         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5616         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5618         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5619         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5620         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5621         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5622         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5623         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5624         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5625         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5626         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5627         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5628         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5629         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5630         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5631         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5632         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5633         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5634         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5635         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5636         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5637         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5638         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5639         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5640         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5641         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5643         Likewise.
5644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5645         Likewise.
5646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5647         Likewise.
5648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5649         Likewise.
5650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5651         Likewise.
5652         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5653         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5654         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5655         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5656         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5657         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5663         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5664         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5665         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5666         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5667         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5668         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5669         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5670         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5671         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5672         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5673         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5674         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5676         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5678         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5680         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5681         * nptl/pthreadP.h: Likewise.
5682         * nptl_db/structs.def: Likewise.
5683         * sysdeps/arm/sysdep.h: Likewise.
5684         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5685         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5686         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5687         * sysdeps/unix/alpha/sysdep.h: Likewise.
5688         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5690         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5691         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5692         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5693         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5694         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5695         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5696         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5697         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5698         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5699         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5700         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5701         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5706         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5709         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5710         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5711         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5712         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5713         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5715         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5716         * nptl/pthreadP.h: Likewise.
5717         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5718         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5719         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5720         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5721         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5722         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5723         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5724         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5725         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5726         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5727         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5728         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5730         Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5732         Likewise.
5733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5735         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5738         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5739         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5740         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5742         * dlfcn/dladdr.c: Use IS_IN.
5743         * dlfcn/dladdr1.c: Likewise.
5744         * dlfcn/dlclose.c: Likewise.
5745         * dlfcn/dlerror.c: Likewise.
5746         * dlfcn/dlinfo.c: Likewise.
5747         * dlfcn/dlmopen.c: Likewise.
5748         * dlfcn/dlopen.c: Likewise.
5749         * dlfcn/dlsym.c: Likewise.
5750         * dlfcn/dlvsym.c: Likewise.
5752         * include/ifaddrs.h: Use IS_IN.
5753         * inet/check_pf.c: Likewise.
5754         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5755         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5757         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5758         IS_IN_ldconfig.
5759         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5760         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5762         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5763         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5764         IS_IN (libc).
5766         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5768         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5769         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5770         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5771         * include/libc-symbols.h (IS_IN_LIB): New macro.
5772         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5773         * include/netdb.h: Likewise.
5774         * include/stap-probe.h: Remove all uses of IN_LIB.
5776         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5777         instead of IN_MODULE.
5778         * include/libc-symbols.h (IN_MODULE): Define using
5779         MODULE_NAME.
5780         (PASTE_NAME, PASTE_NAME1): New macros.
5781         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5782         of IN_LIB.
5783         (STAP_PROBE_ASM): Likewise.
5785 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5787         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5788         __mach_init in dlopened libc.
5790 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5792         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5793         * sysdeps/arm/preconfigure: Regenerate.
5795 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5797         * nptl/pthread_create.c (__pthread_create_2_1): Set
5798         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5799         when copying values from IATTR into PD.
5801 2014-11-21  Will Newton  <will.newton@linaro.org>
5802             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5804         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5805         Refactor inline-asm.  Also add comment.
5807         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5808         ElfW macro instead of hardcoded Elf64 types.
5809         (la_aarch64_gnu_pltenter): Likewise.
5810         * sysdeps/aarch64/dl-machine.h
5811         (elf_machine_runtime_setup): Use ElfW(Addr).
5813         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5814         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5815         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5816         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5817         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5818         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5819         (R_AARCH64_TLS_DTPMOD): This.
5820         (R_AARCH64_TLS_DTPREL64): Rename to ...
5821         (R_AARCH64_TLS_DTPREL): This.
5822         (R_AARCH64_TLS_TPREL64): Rename to ...
5823         (R_AARCH64_TLS_TPREL): This.
5824         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5825         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5826         R_AARCH64_TLS_TPREL64.
5827         (elf_machine_rela): Likewise.
5829 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5831         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5832         by setting it to 0.  64b atomics are not supported currently.
5834 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5836         [BZ #16469]
5837         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5838         search domain names.
5840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5842         [BZ #16469]
5843         * NEWS: Update.
5844         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5845         trailing dot.
5846         * posix/tst-getaddrinfo5.c: New.
5847         * posix/Makefile (tests): Add it.
5849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5851         [BZ #14498]
5852         * NEWS: Fixed.
5853         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5854         after parsing line but before break_if_match.
5855         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5856         if there is a protocol mismatch.
5858 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5860         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5861         because the potential race is on the user-supplied stream.
5863 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5865         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5866         string literal if not passed a buffer.
5867         * manual/job.texi (ctermid): Update reasoning, note deviation
5868         from posix, suggest mtasurace when not passed a buffer, for
5869         future non-preliminary safety notes.
5871 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5873         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5874         of not passing it a buffer.
5875         Reported by Peng Haitao.
5877 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5879         * manual/Makefile ($(objpfx)stamp-summary): Require
5880         check-safety.sh to pass.
5881         * manual/check-safety.sh: Wish for verification that every
5882         @deftypefn and @deftypefun is followed by a @safety remark.
5884 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5886         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5888         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5889         PTHREAD_CANCEL_ASYNCHRONOUS.
5890         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5891         send SIGCANCEL.
5893         * nptl/default-sched.h: New file.
5894         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5895         * nptl/pthread_create.c: Include it.
5896         (__pthread_create_2_1): Use collect_default_sched instead of making
5897         Linux syscalls here directly.
5899 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5901         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5902         __pthread_once): Use C11 atomics.
5904 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5906         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5908 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5910         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5911         atomic_thread_fence_acquire, atomic_thread_fence_release,
5912         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5913         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5914         atomic_compare_exchange_weak_relaxed,
5915         atomic_compare_exchange_weak_acquire,
5916         atomic_compare_exchange_weak_release,
5917         atomic_exchange_acquire, atomic_exchange_release,
5918         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5919         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5920         atomic_fetch_and_acquire,
5921         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5925         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5926         USE_ATOMIC_COMPILER_BUILTINS): Define.
5927         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5929         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5931         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5933         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5935         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5937         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5939         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5941         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5943         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5945         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5947         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5948         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5949         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5951         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5953         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5955         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5957         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5959         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5961         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5962         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5963         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5965         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5968 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5970         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5971         the sched_priority value here.  It was already checked when the user
5972         called pthread_attr_setschedparam.
5974         * nptl/tst-bad-schedattr.c: New file.
5975         * nptl/Makefile (tests): Add it.
5977 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5978             Florian Weimer  <fweimer@redhat.com>
5979             Joseph Myers  <joseph@codesourcery.com>
5980             Adam Conrad  <adconrad@0c3.net>
5981             Andreas Schwab  <schwab@suse.de>
5982             Brooks  <bmoses@google.com>
5984         [BZ #17625]
5985         * wordexp-test.c (__dso_handle): Add prototype.
5986         (__register_atfork): Likewise.
5987         (__app_register_atfork): New function.
5988         (registered_forks): New global.
5989         (register_fork): New function.
5990         (test_case): Add 3 new tests for WRDE_CMDSUB.
5991         (main): Call __app_register_atfork.
5992         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5993         fork count is non-zero fail the test.
5994         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5995         is set.
5996         (parse_dollars): Remove check for WRDE_NOCMD.
5997         (parse_dquote): Likewise.
5999 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6001         * Makeconfig (built-modules): List non-library modules to be
6002         built.
6003         (module-cppflags): Include libc-modules.h for
6004         everything except shlib-versions.v.i.
6005         (CPPFLAGS): Use it.
6006         (before-compile): Add libc-modules.h.
6007         ($(common-objpfx)libc-modules.h,
6008         $(common-objpfx)libc-modules.stmp): New targets.
6009         (common-generated): Add libc-modules.h and libc-modules.stmp.
6010         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6011         * include/libc-symbols.h: Don't include libc-modules.h.
6012         * include/libc-modules.h: Remove file.
6013         * scripts/gen-libc-modules.awk: New script to generate
6014         libc-modules.h.
6015         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6016         Depend on libc-modules.stmp.
6018         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6020         * Makeconfig (in-module): Get value of libof set for the
6021         translation unit.
6022         (CPPFLAGS): Use $(in-module).
6023         * Makerules: Don't suffix routine names for nonlib.
6024         * include/libc-modules.h: New file.
6025         * include/libc-symbols.h: Include libc-modules.h
6026         (IS_IN): New macro to replace IS_IN_* macros.
6027         * elf/Makefile: Set libof-* for each routine.
6028         * elf/rtld-Rules: Likewise.
6029         * extra-modules.mk: Likewise.
6030         * iconv/Makefile: Likewise.
6031         * iconvdata/Makefile: Likewise.
6032         * locale/Makefile: Likewise.
6033         * malloc/Makefile: Likewise.
6034         * nss/Makefile: Likewise.
6035         * sysdeps/gnu/Makefile: Likewise.
6036         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6037         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6038         * sysdeps/s390/s390-64/Makefile: Likewise.
6039         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
6040         CPPFLAGS for nscd instead of nonlib.
6042 2014-11-18  Roland McGrath  <roland@hack.frob.com>
6044         * nptl/createthread.c: New file.
6046         * nptl/createthread.c: Moved ...
6047         * sysdeps/unix/sysv/linux/createthread.c: ... here.
6049         * nptl/createthread.c: Add proper top-line comment.
6050         (do_clone): Folded into ...
6051         (create_thread): ... here.  Take new arguments STOPPED_START and
6052         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
6053         increment __nptl_threads, do event-reporting logic, do
6054         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6055         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
6056         resource cleanup if sched_setaffinity or sched_setscheduler fails,
6057         just send SIGCANCEL.
6058         * nptl/pthread_create.c: Forward-declare create_thread before
6059         including createthread.c.
6060         (start_thread): Use new macro START_THREAD_DEFN to replace defining
6061         declaration, and new macro START_THREAD_SELF to replace argument.
6062         Remove return statement.
6063         (report_thread_creation): New function.
6064         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
6065         synchronization logic, and __nptl_nthreads increment here, around
6066         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
6067         PD->parent_cancelhandling here, before create_thread.  When
6068         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6069         __deallocate_stack, and ENOMEM translation here.
6071 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
6073         [BZ #17616]
6074         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6075         (mptwo): Rename to __mptwo.
6076         (__inv): Use __mptwo instead of mptwo.
6077         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6078         (mptwo): Rename to __mptwo.
6079         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6080         of mpone and __mptwo instead of mptwo.
6081         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6082         instead of mpone.
6083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6084         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6085         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6086         of mpone and __mptwo instead of mptwo.
6087         (__mpranred): Use __mpone instead of mpone.
6088         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6089         variable.
6090         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6091         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6092         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6093         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6094         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6095         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6096         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6097         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6098         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6099         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6100         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6101         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6102         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6103         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6104         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6105         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6106         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6107         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6108         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6110 2014-11-18  Tom de Vries  <tom@codesoucery.com>
6112         * manual/signal.texi (Primitives Interrupted by Signals): In section,
6113         replace BSD Handler xref with BSD Signal Handling.
6115 2014-11-17  Richard Henderson  <rth@redhat.com>
6117         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6118         (_FP_PACK_RAW_2): Remove.
6119         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6120         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6121         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6122         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6123         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6124         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6125         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6126         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6127         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6128         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6129         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6130         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6131         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6132         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6133         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6134         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6136 2014-11-14  Roland McGrath  <roland@hack.frob.com>
6138         * signal/signal.h [__USE_MISC]
6139         (struct sigvec): Remove type.
6140         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6141         (sigvec): Remove declaration.
6142         * sysdeps/posix/sigvec.c: Moved ...
6143         * signal/sigvec.c: ... here, replacing old file.
6144         (struct sigvec): New type, copied from old signal.h definition.
6145         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6146         (__sigvec): Convert definition to prototype.
6147         (sigvec): Replace weak_alias with compat_symbol.
6148         * signal/Versions (libc: GLIBC_2.21): New version set.
6149         * include/signal.h: Remove __sigvec declaration.
6150         * sysdeps/unix/bsd/sigvec.c: Remove file.
6151         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6152         * manual/signal.texi (BSD Handler): Remove subsection.
6153         Move siginterrupt up to ...
6154         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
6155         (Blocking in BSD): Fold subsection into its parent.
6156         * NEWS: Mention sigvec removal.
6158 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6160         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6161         (DLA_FMS): Make definition conditional only on [__FMA4__].
6162         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6163         definition.
6165         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6166         Make definition conditional only on [PROF].
6167         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6168         definition.
6169         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6170         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6172         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6173         !__GNUC__].
6174         * include/signal.h (__sigpause): Move declaration above call to
6175         libc_hidden_proto.
6176         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6177         variable.
6178         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6179         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6181 2014-11-14  David S. Miller  <davem@davemloft.net>
6183         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6184         Define before including <string/memcpy.c> and <string/mempcpy.c>.
6186 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6188         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6189         * configure: Regenerated.
6190         * manual/install.texi (Tools for Compilation): Document a
6191         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6192         compiler verified to work.
6193         * INSTALL: Regenerated.
6195         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6196         redeclare with asm name.
6197         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6198         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6199         including <string.h>.
6200         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6201         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6202         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6203         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6204         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6205         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6206         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6208 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6210         * stdlib/strtol.c (__strtol): Use prototype definition.
6212         [BZ #17594]
6213         * stdlib/strtol.c (SYM__): New macro.
6214         (SYM__1): Likewise.
6215         (__strtol): Likewise.
6216         (strtol): Rename to __strtol and define as weak alias of
6217         __strtol.  Use libc_hidden_weak.
6219 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6221         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6222         Use numbered labels in inline assembly.
6224 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6226         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6227         Add setjmp LIBC_PROBE.
6228         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6229         Likewise.
6230         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6231         Add longjmp, longjmp_target LIBC_PROBE.
6232         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6233         Likewise.
6235 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6238         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6239         to get rid of unused variable warning.
6241 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6243         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6244         Check for unwind_backtrace ==  NULL only in SHARED case.
6245         (__backchain_backtrace): Compile only in SHARED case.
6246         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6247         Likewise.
6248         (__backchain_backtrace): Declare as static.
6250 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6252         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6253         (__libc_multiple_threads_ptr): Variable moved ...
6254         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6256 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6258         * conform/GlibcConform.pm: New file.
6259         * conform/conformtest.pl: Use GlibcConform module.
6260         * conform/linknamespace.pl: New file.
6261         * conform/list-header-symbols.pl: Likewise.
6262         * conform/Makefile (linknamespace-symlists-base): New variable.
6263         (linknamespace-symlists-tests): Likewise.
6264         (linknamespace-header-base): Likewise.
6265         (linknamespace-header-tests): Likewise.
6266         (tests-special): Add new tests.
6267         ($(linknamespace-symlists-tests)): New rule.
6268         (linknamespace-libs): New variable.
6269         ($(objpfx)symlist-stdlibs): New rule.
6270         ($(linknamespace-header-tests)): Likewise.
6271         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6272         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6273         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6274         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6275         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6276         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6277         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6278         (test-xfail-ISO/math.h/linknamespace): Likewise.
6279         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6280         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6281         (test-xfail-ISO/time.h/linknamespace): Likewise.
6282         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6283         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6284         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6285         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6286         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6287         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6288         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6289         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6290         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6291         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6292         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6293         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6294         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6295         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6296         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6297         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6298         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6299         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6300         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6301         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6302         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6303         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6304         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6305         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6306         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6307         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6308         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6309         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6310         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6311         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6312         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6313         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6314         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6315         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6316         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6317         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6318         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6319         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6320         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6321         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6322         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6323         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6324         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6325         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6326         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6327         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6328         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6329         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6330         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6331         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6332         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6333         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6334         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6335         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6336         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6337         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6338         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6339         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6340         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6341         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6342         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6343         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6344         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6345         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6346         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6347         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6348         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6349         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6350         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6351         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6352         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6353         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6354         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6355         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6356         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6357         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6358         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6359         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6360         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6361         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6362         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6363         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6364         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6365         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6366         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6367         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6368         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6369         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6370         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6371         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6372         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6373         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6374         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6375         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6376         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6377         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6378         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6379         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6380         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6381         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6382         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6383         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6384         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6385         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6386         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6387         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6388         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6389         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6390         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6391         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6392         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6393         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6394         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6395         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6396         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6397         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6398         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6399         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6400         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6401         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6402         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6403         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6404         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6405         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6406         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6407         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6408         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6409         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6410         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6411         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6412         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6413         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6414         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6415         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6416         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6417         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6418         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6419         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6420         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6421         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6422         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6423         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6424         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6425         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6426         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6427         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6428         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6429         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6430         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6431         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6433         [BZ #17589]
6434         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6435         of fgets_unlocked.
6437         [BZ #17585]
6438         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6439         (memmem): Rename to __memmem and define as weak alias of
6440         __memmem.  Use libc_hidden_weak.
6441         (__memmem): Use libc_hidden_def.
6442         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6443         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6444         memmem.
6446         [BZ #17582]
6447         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6448         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6449         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6450         and define as weak alias of __fgets_unlocked.  Use
6451         libc_hidden_weak.
6452         (__fgets_unlocked): Use libc_hidden_def.
6453         * include/stdio.h (__fgets_unlocked): Declare.  Use
6454         libc_hidden_proto.
6455         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6456         __fgets_unlocked instead of fgets_unlocked.
6457         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6458         (GET_NPROCS_CONF_PARSER): Likewise.
6459         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6460         (GET_NPROCS_CONF_PARSER): Likewise.
6462         [BZ #17574]
6463         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6464         weak alias of __wmemset.  Use libc_hidden_weak.
6465         (__wmemset): Use libc_hidden_def.
6466         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6467         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6468         of wmemset.
6470         [BZ #17573]
6471         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6472         with asm name __mempcpy.
6473         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6475         [BZ #17572]
6476         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6477         and define as weak alias of __rawmemchr.
6478         (__rawmemchr): Do not define as strong alias of rawmemchr.
6480         [BZ #17571]
6481         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6482         alias of __qsort_r.
6483         (qsort): Call __qsort_r instead of qsort_r.
6484         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6485         (__qsort_r): Declare.  Call libc_hidden_proto.
6486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6487         instead of qsort_r.
6488         * nscd/gai.c (__qsort_r): Define to qsort_r.
6489         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6490         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6491         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6493         [BZ #17570]
6494         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6495         define as weak alias of __malloc_info.
6497         [BZ #17584]
6498         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6499         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6500         (__rewinddir): Use libc_hidden_def.
6501         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6502         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6503         (__rewinddir): Use libc_hidden_def.
6504         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6505         weak alias of __rewinddir.  Don't use libc_hidden_def.
6506         (__rewinddir): Use libc_hidden_def.
6507         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6508         (__rewinddir): Use libc_hidden_proto.
6509         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6510         rewinddir.
6511         (__getcwd): Use __rewinddir instead of rewinddir.
6513         [BZ #17583]
6514         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6515         alias of __fileno.  Use libc_hidden_weak.
6516         (__fileno): Use libc_hidden_def.
6517         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6518         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6519         alias of __ftello.
6520         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6521         __ftello.
6522         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6523         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6524         libc_hidden_def.
6525         (fread_unlocked): Don't use libc_hidden_ver.
6526         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6527         and define as weak alias of __fread_unlocked.  Don't use
6528         libc_hidden_def.
6529         (__fread_unlocked): Use libc_hidden_def.
6530         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6531         (ftello): Don't use libc_hidden_proto.
6532         (__ftello): Declare.  Use libc_hidden_proto.
6533         (fread_unlocked): Don't use libc_hidden_proto.
6534         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6535         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6536         and __ftello instead of fileno, fread_unlocked and ftello.
6538 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6540         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6541         GOT12.
6542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6543         Likewise.
6544         (_dl_start_user): Likewise.
6545         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6547 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6548             Siddhesh Poyarekar  <siddhesh@redhat.com>
6550         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6551         Move argv and envp down instead of moving argc up.
6552         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6554 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6556         [BZ #17506]
6557         * test-skeleton.c (main): Return successful if one of
6558         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6559         * string/tst-strcoll-overflow.c: Define expected status.
6561 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6563         [BZ #17475]
6564         * locale/iso-639.def: Define Bhili and Tulu language codes.
6566 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6568         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6570 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6572         [BZ #17555]
6573         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6575 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6577         * configure.ac: Updated check of minimal required version to
6578         2.22.
6579         * manual/install.texi (Tools for Compilation): Updated version
6580         number.
6581         * configure: Regenerated.
6582         * INSTALL: Likewise.
6584 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6586         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6587         __tls_get_addr.
6589 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6591         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6592         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6593         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6594         libc_hidden_weak.
6595         (waitpid): Define as alias of __waitpid.
6596         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6597         __waitpid.
6598         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6599         libc_hidden_weak.
6600         (waitpid): Define as alias of __waitpid.
6601         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6602         __libc_waitpid alias.
6603         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6604         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6605         Likewise.
6606         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6607         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6608         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6609         alias.
6610         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6611         __waitpid.
6612         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6613         libc_hidden_weak.
6614         (waitpid): Define as alias of __waitpid.
6616 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6618         * manual/llio.texi: Add comment that write safety has been
6619         fixed in Linux.
6621         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6622         (localplt-build-dso): Add elf/ld.so.
6623         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6624         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6625         and free for ld.so.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6627         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6629         Likewise.
6630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6631         Likewise.
6632         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6633         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6634         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6635         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6636         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6637         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6638         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6639         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6640         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6641         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6642         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6644 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6646         [BZ #14132]
6647         * include/libc-symbols.h (INTUSE): Remove macro.
6648         (INTDEF): Likewise.
6649         (INTVARDEF): Likewise.
6650         (_INTVARDEF): Likewise.
6651         (INTDEF2): Likewise.
6652         (INTVARDEF2): Likewise.
6653         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6654         rtld_hidden_def instead of INTVARDEF.
6655         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6656         (_dl_starting_up_internal): Remove declaration.
6657         (_dl_starting_up): Use rtld_hidden_proto.
6658         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6659         declaration.
6660         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6661         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6662         _dl_starting_up.
6663         * elf/dl-writev.h (_dl_writev): Likewise.
6664         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6665         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6666         _dl_starting_up_internal.
6668 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6670         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6671         test-skeleton.c.
6673 2014-11-05  Will Newton  <will.newton@linaro.org>
6675         * benchtests/Makefile: (bench-malloc): Add malloc thread
6676         scalability benchmark.
6677         * benchtests/bench-malloc-threads.c: New file.
6679 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6681         * sysdeps/aarch64/strchrnul.S: New file.
6683 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6685         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6686         definition.
6687         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6688         Likwise.
6689         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6690         Likewise.
6691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6692         Likewise.
6693         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6694         Likewise.
6695         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6696         Likewise.
6698 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6700         * catgets/test-gencat.c: Use test-skeleton.c.
6701         * catgets/tst-catgets.c: Likewise.
6702         * csu/tst-empty.c: Likewise.
6703         * elf/tst-audit2.c: Likewise.
6704         * elf/tst-global1.c: Likewise.
6705         * elf/tst-pathopt.c: Likewise.
6706         * elf/tst-piemod1.c: Likewise.
6707         * elf/tst-tls10.c: Likewise.
6708         * elf/tst-tls11.c: Likewise.
6709         * elf/tst-tls12.c: Likewise.
6710         * gnulib/tst-gcc.c: Likewise.
6711         * iconvdata/tst-e2big.c: Likewise.
6712         * iconvdata/tst-loading.c: Likewise.
6713         * iconv/tst-iconv1.c: Likewise.
6714         * iconv/tst-iconv2.c: Likewise.
6715         * inet/test-inet6_opt.c: Likewise.
6716         * inet/tst-gethnm.c: Likewise.
6717         * inet/tst-network.c: Likewise.
6718         * inet/tst-ntoa.c: Likewise.
6719         * intl/tst-codeset.c: Likewise.
6720         * intl/tst-gettext2.c: Likewise.
6721         * intl/tst-gettext3.c: Likewise.
6722         * intl/tst-ngettext.c: Likewise.
6723         * intl/tst-translit.c: Likewise.
6724         * io/test-stat.c: Likewise.
6725         * libio/test-fmemopen.c: Likewise.
6726         * libio/tst-freopen.c: Likewise.
6727         * libio/tst-sscanf.c: Likewise.
6728         * libio/tst-ungetwc1.c: Likewise.
6729         * libio/tst-ungetwc2.c: Likewise.
6730         * libio/tst-widetext.c: Likewise.
6731         * localedata/tst-ctype.c: Likewise.
6732         * localedata/tst-digits.c: Likewise.
6733         * localedata/tst-leaks.c: Likewise.
6734         * localedata/tst-mbswcs1.c: Likewise.
6735         * localedata/tst-mbswcs2.c: Likewise.
6736         * localedata/tst-mbswcs3.c: Likewise.
6737         * localedata/tst-mbswcs4.c: Likewise.
6738         * localedata/tst-mbswcs5.c: Likewise.
6739         * localedata/tst-setlocale.c: Likewise.
6740         * localedata/tst-trans.c: Likewise.
6741         * localedata/tst-wctype.c: Likewise.
6742         * localedata/tst-xlocale1.c: Likewise.
6743         * login/tst-grantpt.c: Likewise.
6744         * malloc/tst-calloc.c: Likewise.
6745         * malloc/tst-malloc.c: Likewise.
6746         * malloc/tst-mallocstate.c: Likewise.
6747         * malloc/tst-mcheck.c: Likewise.
6748         * malloc/tst-mtrace.c: Likewise.
6749         * malloc/tst-obstack.c: Likewise.
6750         * math/atest-exp2.c: Likewise.
6751         * math/atest-exp.c: Likewise.
6752         * math/atest-sincos.c: Likewise.
6753         * math/test-matherr.c: Likewise.
6754         * math/test-misc.c: Likewise.
6755         * math/test-powl.c: Likewise.
6756         * math/tst-definitions.c: Likewise.
6757         * misc/tst-dirname.c: Likewise.
6758         * misc/tst-efgcvt.c: Likewise.
6759         * misc/tst-fdset.c: Likewise.
6760         * misc/tst-hsearch.c: Likewise.
6761         * misc/tst-mntent2.c: Likewise.
6762         * nptl/tst-sem7.c: Likewise.
6763         * nptl/tst-sem8.c: Likewise.
6764         * nptl/tst-sem9.c: Likewise.
6765         * nss/test-netdb.c: Likewise.
6766         * posix/tst-fnmatch.c: Likewise.
6767         * posix/tst-getlogin.c: Likewise.
6768         * posix/tst-gnuglob.c: Likewise.
6769         * posix/tst-mmap.c: Likewise.
6770         * pwd/tst-getpw.c: Likewise.
6771         * resolv/tst-inet_ntop.c: Likewise.
6772         * rt/tst-timer.c: Likewise.
6773         * stdio-common/test-fseek.c: Likewise.
6774         * stdio-common/test-popen.c: Likewise.
6775         * stdio-common/test-vfprintf.c: Likewise.
6776         * stdio-common/tst-cookie.c: Likewise.
6777         * stdio-common/tst-fileno.c: Likewise.
6778         * stdio-common/tst-gets.c: Likewise.
6779         * stdio-common/tst-obprintf.c: Likewise.
6780         * stdio-common/tst-perror.c: Likewise.
6781         * stdio-common/tst-sprintf2.c: Likewise.
6782         * stdio-common/tst-sprintf3.c: Likewise.
6783         * stdio-common/tst-sprintf.c: Likewise.
6784         * stdio-common/tst-swprintf.c: Likewise.
6785         * stdio-common/tst-tmpnam.c: Likewise.
6786         * stdio-common/tst-unbputc.c: Likewise.
6787         * stdio-common/tst-wc-printf.c: Likewise.
6788         * stdlib/tst-environ.c: Likewise.
6789         * stdlib/tst-fmtmsg.c: Likewise.
6790         * stdlib/tst-limits.c: Likewise.
6791         * stdlib/tst-rand48-2.c: Likewise.
6792         * stdlib/tst-rand48.c: Likewise.
6793         * stdlib/tst-random2.c: Likewise.
6794         * stdlib/tst-random.c: Likewise.
6795         * stdlib/tst-strtol.c: Likewise.
6796         * stdlib/tst-strtoll.c: Likewise.
6797         * stdlib/tst-tls-atexit.c: Likewise.
6798         * stdlib/tst-xpg-basename.c: Likewise.
6799         * string/test-ffs.c: Likewise.
6800         * string/tst-bswap.c: Likewise.
6801         * string/tst-inlcall.c: Likewise.
6802         * string/tst-strtok.c: Likewise.
6803         * string/tst-strxfrm.c: Likewise.
6804         * sysdeps/x86_64/tst-audit10.c: Likewise.
6805         * sysdeps/x86_64/tst-audit3.c: Likewise.
6806         * sysdeps/x86_64/tst-audit4.c: Likewise.
6807         * sysdeps/x86_64/tst-audit5.c: Likewise.
6808         * time/tst-ftime_l.c: Likewise.
6809         * time/tst-getdate.c: Likewise.
6810         * time/tst-mktime3.c: Likewise.
6811         * time/tst-mktime.c: Likewise.
6812         * time/tst-posixtz.c: Likewise.
6813         * time/tst-strptime2.c: Likewise.
6814         * time/tst-strptime3.c: Likewise.
6815         * wcsmbs/tst-btowc.c: Likewise.
6816         * wcsmbs/tst-mbrtowc.c: Likewise.
6817         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6818         * wcsmbs/tst-wchar-h.c: Likewise.
6819         * wcsmbs/tst-wcpncpy.c: Likewise.
6820         * wcsmbs/tst-wcrtomb.c: Likewise.
6821         * wcsmbs/tst-wcsnlen.c: Likewise.
6822         * wcsmbs/tst-wcstof.c: Likewise.
6824 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6826         [BZ #14132]
6827         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6828         INTDEF.
6829         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6830         declaration.
6831         (_dl_mcount): Use rtld_hidden_proto.
6832         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6833         _dl_mcount.
6834         * elf/rtld.c (_rtld_global_ro): Likewise.
6836         [BZ #14132]
6837         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6838         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6839         of _dl_init_internal.
6840         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6841         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6842         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6843         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6844         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6845         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6846         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6847         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6848         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6849         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6850         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6851         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6852         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6853         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6854         * sysdeps/tile/dl-start.S (_start): Likewise.
6855         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6856         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6858         [BZ #14132]
6859         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6860         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6861         (rtld_progname): Make macro definition unconditional.
6862         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6863         INTDEF.
6864         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6865         (dl_main): Likewise.
6866         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6867         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6868         instead of _dl_argv_internal.
6869         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6870         __GI__dl_argv instead of INTUSE(_dl_argv).
6871         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6872         __GI__dl_argv instead of _dl_argv_internal.
6874         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6875         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6876         macro.
6877         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6878         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6879         New macro.
6880         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6881         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6882         macro.
6883         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6884         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6886 2014-11-04  Andreas Schwab  <schwab@suse.de>
6888         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6890 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6892         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6893         mtvsrd instruction in binary form.
6895 2014-11-03  Andreas Schwab  <schwab@suse.de>
6897         [BZ #17522]
6898         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6899         for less than MB_LEN_MAX use a local buffer of that size.
6900         * libio/tst-fputws.c: New file.
6901         * libio/Makefile (tests): Add tst-fputws.
6903 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6905         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6906         the size of the fpu_fr.fpu_dregs[] array.
6908 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6910         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6911         (__nanosleep): Do not define as alias.
6912         (nanosleep): Define as alias of __nanosleep.
6913         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6914         __libc_nanosleep name.
6916 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6918         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6919         install.texi in comment.
6921 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6923         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6924         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6925         ... add here and use lwsync or sync ...
6926         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6927         ... and add here using lwsync.
6929 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6931         * elf/dl-machine-reject-phdr.h: New file.
6932         * elf/dl-load.c: #include that.
6933         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6934         if that returned true.
6936 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6938         [BZ #17496]
6939         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6940         gen-as-const-headers chunk.  Add a big scare comment after the last
6941         safe place to touch before-compile.
6943 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6945         * manual/install.texi (Tools for Compilation): Update autoconf
6946         version requirements.
6947         * INSTALL: Regenerated.
6949         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6950         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6951         (__libc_pselect): Likewise.
6953         [BZ #14138]
6954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6959 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6961         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6962         correct barrier instruction.
6963         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6964         Likewise.
6965         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6966         Likewise.
6968 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6970         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6971         after defining inlines.  Instead, just use parens to defeat macro
6972         expansion of __isctype in its declaration.
6974 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6976         * include/sys/uio.h (__libc_readv): Remove declaration.
6977         (__libc_writev): Likewise.
6978         * misc/readv.c (__libc_readv): Rename to __readv.
6979         (__readv): Do not define as alias.
6980         (readv): Define as alias of __readv.
6981         * misc/writev.c (__libc_writev): Rename to __writev.
6982         (__writev): Do not define as alias.
6983         (writev): Define as alias of __writev.
6984         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6985         (__readv): Do not define as alias.
6986         (readv): Define unconditionally as alias of __readv.
6987         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6988         (__writev): Do not define as alias.
6989         (writev): Define unconditionally as alias of __writev.
6990         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6991         name.
6992         (writev): Do not define __libc_writev name.
6994 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6996         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6997         (convert_charseq): New function, broken out of ...
6998         (use_from_charmap): ... here.  Call it.
6999         (use_to_charmap): Use convert_charseq and free instead of duplicating
7000         its code with a variable-length stack struct.
7002 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7004         * include/fcntl.h (__libc_creat): Remove declaration.
7005         * io/creat.c (__libc_creat): Rename to creat.
7006         (creat): Do not define as alias.
7007         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7008         of creat instead of __libc_creat.
7009         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7010         to creat.
7011         (creat): Do not define as alias.
7012         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7013         __libc_creat.
7014         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7015         __libc_creat name.
7016         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7017         Likewise.
7019 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
7021         * manual/llio.texi: Add comments discussing why write() may be
7022         considered MT-unsafe on Linux.
7024 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7026         * dl-load.c (local_strdup): Remove.
7027         (expand_dynamic_string_token): Use __strdup.
7028         (decompose_rpath): Likewise.
7029         (_dl_map_object): Likewise.
7031 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
7033         [BZ #14132]
7034         * sysdeps/generic/unwind-dw2-fde.c
7035         (__register_frame_info_bases_internal): Do not declare.
7036         (__register_frame_info_table_bases_internal): Likewise.
7037         (__deregister_frame_info_bases_internal): Likewise.
7038         (__register_frame_info_bases): Declare and use hidden_proto before
7039         definition.  Use hidden_def instead of INTDEF.
7040         (__register_frame_info_table_bases): Likewise.
7041         (__deregister_frame_info_bases): Likewise.
7042         (__register_frame_info): Do not use INTUSE.
7043         (__register_frame): Likewise.
7044         (__register_frame_info_table): Likewise.
7045         (__register_frame_table): Likewise.
7046         (__deregister_frame_info): Likewise.
7047         (__deregister_frame): Likewise.
7049 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
7051         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7052         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7053         not undefine.
7054         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7055         Likewise.
7056         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7057         Likewise.
7059 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
7061         [BZ #14138]
7062         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7063         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7064         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7065         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7066         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7067         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7068         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7069         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7070         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7071         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7072         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7073         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7074         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7075         syscall.
7076         (setfsuid): Likewise.
7077         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7078         (setfsuid): Likewise.
7079         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7080         (setfsuid): Likewise.
7081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7082         Likewise.
7083         (setfsuid): Likewise.
7084         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7085         (setfsuid): Likewise.
7086         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7087         Likewise.
7088         (setfsuid): Likewise.
7090 2014-10-27  Andreas Schwab  <schwab@suse.de>
7092         [BZ #17501]
7093         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7094         check for Slow_SSE4_2 feature bit.
7095         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7096         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7097         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7098         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
7100 2014-10-24  Roland McGrath  <roland@hack.frob.com>
7102         * configure.ac: Validate compiler version with a empirical test of
7103         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7104         $CC -v output.
7105         * configure: Regenerated.
7107         * inet/htons.c (htons): Prototypify.
7108         * inet/htonl.c (htonl): Likewise.
7110 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7112         * string/strncat.c (strncat): Improve performance by using strlen.
7114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7116         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7118 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7120         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7121         Call libc_fetestexcept_aarch64.
7123 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7125         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7126         Call libc_feholdexcept_aarch64.
7128 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7130         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7131         Call get_rounding_mode.
7133 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7136         Simplify logic.
7138 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7140         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7141         Simplify logic.
7143 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
7145         [BZ #14138]
7146         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7147         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7148         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7149         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7150         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7151         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7152         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7153         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7154         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7155         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7157         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7158         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7159         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7160         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7161         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7162         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7163         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7164         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7165         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7166         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7169         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7170         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7171         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7172         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7173         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7174         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7175         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7176         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7177         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7178         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7179         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7180         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7182         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7183         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7184         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7185         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7186         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7187         syscall.
7188         (geteuid): Likewise.
7189         (getgid): Likewise.
7190         (getuid): Likewise.
7191         (getresgid): Likewise.
7192         (getresuid): Likewise.
7193         (getgroups): Likewise.
7194         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7195         (geteuid): Likewise.
7196         (getgid): Likewise.
7197         (getuid): Likewise.
7198         (getresgid): Likewise.
7199         (getresuid): Likewise.
7200         (getgroups): Likewise.
7201         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7202         (geteuid): Likewise.
7203         (getgid): Likewise.
7204         (getuid): Likewise.
7205         (getresgid): Likewise.
7206         (getresuid): Likewise.
7207         (getgroups): Likewise.
7208         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7209         Likewise.
7210         (geteuid): Likewise.
7211         (getgid): Likewise.
7212         (getuid): Likewise.
7213         (getresgid): Likewise.
7214         (getresuid): Likewise.
7215         (getgroups): Likewise.
7216         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7217         (geteuid): Likewise.
7218         (getgid): Likewise.
7219         (getuid): Likewise.
7220         (getresgid): Likewise.
7221         (getresuid): Likewise.
7222         (getgroups): Likewise.
7223         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7224         Likewise.
7225         (geteuid): Likewise.
7226         (getgid): Likewise.
7227         (getuid): Likewise.
7228         (getgroups): Likewise.
7230         [BZ #14138]
7231         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7232         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7233         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7234         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7235         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7236         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7237         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7238         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7239         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7240         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7241         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7242         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7243         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7244         __chown.
7245         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7246         (lchown): Likewise.
7247         (fchown): Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7249         Likewise.
7250         (lchown): Likewise.
7251         (fchown): Likewise.
7252         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7253         (lchown): Likewise.
7254         (fchown): Likewise.
7255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7256         Likewise.
7257         (lchown): Likewise.
7258         (fchown): Likewise.
7260 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7262         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7263         Simplify logic.
7265 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7267         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7268         Cleanup logic.
7270 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7272         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7273         Remove unused include.
7275 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7277         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7279         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7280         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7282 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7283             Helge Deller <deller@gmx.de>
7285         [BZ #17508]
7286         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7287         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7288         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7290 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7292         [BZ #14132]
7293         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7294         Remove macro definition.
7295         (__ashrdi3_v_glibc20): Likewise.
7296         (__lshrdi3_v_glibc20): Likewise.
7297         (__cmpdi2_v_glibc20): Likewise.
7298         (__ucmpdi2_v_glibc20): Likewise.
7299         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7300         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7301         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7302         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7303         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7304         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7306 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7308         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7309         old GNU extension [0] syntax.
7310         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7311         alloca rather than an array member with variable length.
7312         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7313         * nscd/nscd.c (invalidate_db): New function, broken out of ...
7314         (parse_opt): ... here.  Likewise use alloca there.
7315         Validate the -i argument before checking for rootness.
7316         (send_shutdown): New function, broken out of ...
7317         (parse_opt): ... here.
7319 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7321         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7322         macro to get at the _rt_local_ro field.
7323         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7324         ([PIC] case) or _dl_hwcap ([!PIC] case).
7325         * sysdeps/arm/setjmp.S: Likewise.
7327         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7328         * sysdeps/arm/configure.ac: New check to define it.
7329         * sysdeps/arm/configure: Regenerated.
7330         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7331         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7332         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7333         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7334         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7335         Use move/movt pair instead of a load.
7336         (LDST_GLOBAL): Macro removed.
7337         (LDR_GLOBAL): New macro replaces it.
7338         (LDR_HIDDEN): New macro.
7339         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7340         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7342         * setjmp/tst-setjmp-static.c: New file.
7343         * setjmp/Makefile (tests): Add it.
7344         (tests-static): New variable.
7346 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7348         [BZ #17485]
7349         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7351 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7353         [BZ #14132]
7354         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7356 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7358         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7360 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7362         * io/fts.c (dirent_not_directory): New function.
7363         (fts_build): Call it.
7365 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7367         * nptl/version.c (__nptl_main): Use normal __write rather than
7368         INTERNAL_SYSCALL.
7369         (banner): Update copyright years.
7371         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7372         gettimeofday.
7373         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7374         * nptl/pthread_cond_timedwait.c: Likewise.
7375         * nptl/pthread_mutex_timedlock.c: Likewise.
7376         * nptl/sem_timedwait.c: Likewise.
7378         * sysdeps/nptl/bits/libc-lock.h
7379         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7380         (__libc_lock_init_recursive): Return void, not 0.
7381         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7382         (__libc_rwlock_init): Likewise.
7383         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7385 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7387         [BZ #15215]
7388         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7389         (__pthread_once_slow): ... here.
7390         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7391         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7393 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7395         [BZ #15215]
7396         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7397         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7398         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7399         * nptl/pthread_once.c (__pthread_once): Likewise.
7400         Update comments.
7402 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7404         [BZ #14138]
7405         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7406         name.
7407         (writev): Use __libc_writev as strong name.
7408         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7409         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7411 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7413         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7415         * sysdeps/i386/nptl/tls.h
7416         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7417         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7418         New macros.
7419         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7420         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7421         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7422         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7423         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7424         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7426         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7427         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7428         on [__NR_futex].
7429         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7430         broken out of ...
7431         (__pthread_mutex_init): ... here.  Call it.
7432         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7433         Conditionalize PI cases on [__NR_futex].
7434         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7435         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7436         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7438         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7439         conditional on [SIGSETXID].
7440         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7441         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7442         is defined.  Likewise for SIGSETXID.
7443         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7444         Conditionalize definitions on [SIGSETXID].
7445         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7446         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7447         unblocking on [SIGCANCEL].
7449         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7450         [__NR_set_robust_list].
7452 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7454         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7455         (do_compare): Likewise.
7457 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7459         [BZ #15884]
7460         * string/strcoll_l.c: Don't include stdio.h.
7461         (coll_seq): Remove members idxarr and rulearr.
7462         (get_next_seq_cached): Remove function.
7463         (get_next_seq): Likewise.
7464         (get_next_seq_nocache): Rename to get_next_seq.
7465         (do_compare): Remove function.
7466         (do_compare_nocache): Rename to do_compare.
7467         (STRCOLL): Remove weight and rules cache.
7469 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7471         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7472         * sysdeps/arm/sfp-machine.h: ... to here.
7473         * sysdeps/arm/Implies: Remove arm/soft-fp.
7475 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7477         * conform/data/sys/utsname.h-data (*_t): Allow.
7478         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7479         [POSIX] (WEXITED): Do not expect constant.
7480         [POSIX] (WSTOPPED): Likewise.
7481         [POSIX] (WNOHANG): Likewise.
7482         [POSIX] (WNOWAIT): Likewise.
7483         [POSIX] (siginfo_t): Do not expect type or elements.
7484         [POSIX] (pid_t): Do not expect type.
7485         [POSIX] (signal.h): Do not allow header.
7486         [POSIX] (sys/resource.h): Likewise.
7487         [POSIX] (si_*): Do not allow pattern.
7488         [POSIX] (W*): Likewise.
7489         [POSIX] (P_*): Likewise.
7490         [POSIX] (BUS_*): Likewise.
7491         [POSIX] (CLD_*): Likewise.
7492         [POSIX] (FPE_*): Likewise.
7493         [POSIX] (ILL_*): Likewise.
7494         [POSIX] (POLL_*): Likewise.
7495         [POSIX] (SEGV_*): Likewise.
7496         [POSIX] (SI_*): Likewise.
7497         [POSIX] (TRAP_*): Likewise.
7498         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7499         variable.
7501 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7503         [BZ #12926]
7504         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7505         infinite loop when __recvmsg returns 0.
7507 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7509         * CANCEL-FCT-WAIVE: Remove file.
7510         * CANCEL-FILE-WAIVE: Likewise.
7512         [BZ #14132]
7513         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7514         instead of INTVARDEF.
7515         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7516         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7517         rtld_hidden_data_def instead of INTVARDEF.
7518         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7519         * elf/dl-deps.c (expand_dst): Likewise.
7520         * elf/dl-load.c (_dl_dst_count): Likewise.
7521         (_dl_dst_substitute): Likewise.
7522         (decompose_rpath): Likewise.
7523         (_dl_init_paths): Likewise.
7524         (open_path): Likewise.
7525         (_dl_map_object): Likewise.
7526         * elf/rtld.c (dl_main): Likewise.
7527         (process_dl_audit): Likewise.
7528         (process_envvars): Likewise.
7529         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7530         Remove declaration.
7531         (__libc_enable_secure): Use rtld_hidden_proto.
7533 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7535         * elf/dl-load.c
7536         (add_path): New function broken out of _dl_rtld_di_serinfo.
7537         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7539 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7541         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7542         parentheses around macro arguments.
7543         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7547         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7548         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7549         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7550         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7552         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7553         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7554         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7555         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7556         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7557         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7558         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7559         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7564         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7568         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7569         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7570         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7572         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7573         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7574         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7575         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7576         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7577         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7578         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7579         Likewise.
7580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7582         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7586         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7587         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7588         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7590         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7591         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7592         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7594         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7595         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7598         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7599         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7601         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7602         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7603         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7604         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7605         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7606         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7607         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7608         (_FP_FRAC_SRS_1): Likewise.
7609         (_FP_FRAC_CLZ_1): Likewise.
7610         (_FP_MUL_MEAT_1_imm): Likewise.
7611         (_FP_MUL_MEAT_1_wide): Likewise.
7612         (_FP_MUL_MEAT_1_hard): Likewise.
7613         (_FP_SQRT_MEAT_1): Likewise.
7614         (_FP_FRAC_ASSEMBLE_1): Likewise.
7615         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7616         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7617         (__FP_CLZ_2): Likewise.
7618         (_FP_MUL_MEAT_2_wide): Likewise.
7619         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7620         (_FP_MUL_MEAT_2_gmp): Likewise.
7621         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7622         (_FP_SQRT_MEAT_2): Likewise.
7623         (_FP_FRAC_ASSEMBLE_2): Likewise.
7624         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7625         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7626         (_FP_FRAC_CLZ_4): Likewise.
7627         (_FP_MUL_MEAT_4_wide): Likewise.
7628         (_FP_MUL_MEAT_4_gmp): Likewise.
7629         (_FP_SQRT_MEAT_4): Likewise.
7630         (_FP_FRAC_ASSEMBLE_4): Likewise.
7631         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7632         * soft-fp/op-common.h (_FP_CMP): Likewise.
7633         (_FP_CMP_EQ): Likewise.
7634         (_FP_CMP_UNORD): Likewise.
7635         (_FP_TO_INT): Likewise.
7636         (_FP_FROM_INT): Likewise.
7637         [!__FP_CLZ] (__FP_CLZ): Likewise.
7638         (_FP_DIV_HELP_imm): Likewise.
7639         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7640         Likewise.
7641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7652         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7656         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7657         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7670         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7674         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7675         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7676         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7677         (FP_UNPACK_RAW_SP): Likewise.
7678         (FP_PACK_RAW_S): Likewise.
7679         (FP_PACK_RAW_SP): Likewise.
7680         (FP_UNPACK_S): Likewise.
7681         (FP_UNPACK_SP): Likewise.
7682         (FP_UNPACK_SEMIRAW_S): Likewise.
7683         (FP_UNPACK_SEMIRAW_SP): Likewise.
7684         (FP_PACK_S): Likewise.
7685         (FP_PACK_SP): Likewise.
7686         (FP_PACK_SEMIRAW_S): Likewise.
7687         (FP_PACK_SEMIRAW_SP): Likewise.
7688         (_FP_SQRT_MEAT_S): Likewise.
7689         (FP_CMP_S): Likewise.
7690         (FP_CMP_EQ_S): Likewise.
7691         (FP_CMP_UNORD_S): Likewise.
7692         (FP_TO_INT_S): Likewise.
7693         (FP_FROM_INT_S): Likewise.
7695         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7697         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7698         (FP_EX_INVALID_IMZ): Likewise.
7699         (FP_EX_INVALID_IMZ_FMA): Likewise.
7700         (FP_EX_INVALID_ISI): Likewise.
7701         (FP_EX_INVALID_ZDZ): Likewise.
7702         (FP_EX_INVALID_IDI): Likewise.
7703         (FP_EX_INVALID_SQRT): Likewise.
7704         (FP_EX_INVALID_CVI): Likewise.
7705         (FP_EX_INVALID_VC): Likewise.
7706         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7707         "invalid" exceptions.
7708         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7709         (_FP_ADD_INTERNAL): Likewise.
7710         (_FP_MUL): Likewise.
7711         (_FP_FMA): Likewise.
7712         (_FP_DIV): Likewise.
7713         (_FP_CMP_CHECK_NAN): Likewise.
7714         (_FP_SQRT): Likewise.
7715         (_FP_TO_INT): Likewise.
7716         (FP_EXTEND): Likewise.
7718 2014-10-09  Allan McRae  <allan@archlinux.org>
7720         * po/fr.po: Update French translation from translation project.
7722 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7724         [BZ #14132]
7725         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7726         of INTDEF.
7727         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7728         (__cxa_atexit): Use libc_hidden_proto.
7729         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7731         [BZ #14132]
7732         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7733         declaration.
7734         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7735         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7736         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7737         [!_ISOMAC] (__iswctype_internal): Likewise.
7738         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7739         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7740         alias.
7741         (fcntl): Remove __fcntl_internal alias.
7742         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7743         __connect_internal alias.
7744         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7745         Likewise.
7747         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7749         FP_DENORM_ZERO.
7750         (_FP_CHECK_FLUSH_ZERO): New macro.
7751         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7752         (_FP_CMP): Likewise.
7753         (_FP_CMP_EQ): Likewise.
7754         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7755         FP_DENORM_ZERO.
7756         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7757         (FP_TRUNC): Likewise.
7759         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7760         treated as invalid conversion, not as normal exponent.
7762         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7763         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7764         (_FP_CMP_EQ): Likewise.
7765         (_FP_CMP_UNORD): Likewise.
7766         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7767         (FP_CMP_EQ_D): Likewise.
7768         (FP_CMP_UNORD_D): Likewise.
7769         * soft-fp/extended.h (FP_CMP_E): Likewise.
7770         (FP_CMP_EQ_E): Likewise.
7771         (FP_CMP_UNORD_E): Likewise.
7772         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7773         (FP_CMP_EQ_Q): Likewise.
7774         (FP_CMP_UNORD_Q): Likewise.
7775         * soft-fp/single.h (FP_CMP_S): Likewise.
7776         (FP_CMP_EQ_S): Likewise.
7777         (FP_CMP_UNORD_S): Likewise.
7778         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7779         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7780         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7781         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7782         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7783         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7784         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7785         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7786         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7787         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7788         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7789         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7790         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7791         to FP_CMP_Q.
7792         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7793         FP_CMP_Q.
7794         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7795         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7796         FP_CMP_EQ_Q.
7797         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7798         FP_CMP_Q.
7799         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7800         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7801         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7802         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7803         FP_CMP_EQ_Q.
7804         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7805         FP_CMP_Q.
7806         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7807         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7808         FP_CMP_EQ_Q.
7809         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7810         FP_CMP_Q.
7811         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7812         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7813         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7814         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7815         FP_CMP_EQ_Q.
7817         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7818         a subnormal result, set the underflow exception if trapping on
7819         underflow is enabled.
7820         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7821         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7822         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7823         redefine to 0.
7824         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7825         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7826         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7827         * soft-fp/extendxftf2.c (__extendxftf2): Use
7828         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7830         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7831         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7832         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7833         FP_HANDLE_EXCEPTIONS.
7834         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7835         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7836         FP_HANDLE_EXCEPTIONS.
7837         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7838         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7839         FP_HANDLE_EXCEPTIONS.
7840         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7841         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7842         FP_HANDLE_EXCEPTIONS.
7844 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #14132]
7847         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7848         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7849         use INTUSE.
7850         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7851         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7852         Remove alias.
7853         (__adjtimex): Define using libc_hidden_ver.
7854         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7855         Remove declaration.
7856         (ntp_gettime): Call __adjtimex directly.
7857         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7858         Remove declaration.
7859         (ntp_gettimex): Call __adjtimex directly.
7860         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7861         __adjtimex_internal alias.
7863 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7865         [BZ #17460]
7866         * nscd/nscd.c (more_help): Rewrite list of tables collection
7867         using xstrdup and asprintf.
7869         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7871 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7872             Roland McGrath  <roland@hack.frob.com>
7874         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7875         (do_lookup_unique): ... local function 'enter' here; update callers.
7877 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7879         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7880         compat_symbol calls on [SHARED].
7881         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7882         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7883         Remove.
7884         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7885         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7886         (oldsetrlimit): Remove.
7887         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7889         (lchown): New syscall entry.
7890         (oldsetrlimit): Remove.
7891         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7893         (oldsetrlimit): Remove.
7894         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7896         [BZ #14138]
7897         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7898         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7899         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7900         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7901         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7902         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7903         (fchown): Likewise.
7904         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7905         (fchown): Likewise.
7906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7907         Likewise.
7909 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7911         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7912         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7913         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7914         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7915         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7916         Likewise.
7917         (__old_sem_post): Likewise.
7919 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7921         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7922         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7923         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7924         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7925         Use INLINE_VSYSCALL macro.
7926         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7927         __vdso_clock_gettime.
7928         * sysdeps/unix/sysv/linux/tile/init-first.c
7929         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7930         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7931         __vdso_clock_gettime.
7933         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7934         to set up frame more cleanly.
7936         * sysdeps/tile/memcmp.c: New file.
7938         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7940         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7941         * sysdeps/tile/tilegx/strcasestr.c: New file.
7942         * sysdeps/tile/tilegx/strnlen.c: New file.
7943         * sysdeps/tile/tilegx/strstr.c: New file.
7945         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7947 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7949         * nptl/tst-setuid3.c: Write errors to stdout.
7951 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7953         * elf/dl-deps.c
7954         (preload): New functions broken out of _dl_map_object_deps.
7955         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7957 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7959         [BZ #14138]
7960         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7961         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7963 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7965         * sysdeps/mips/strcmp.S: New.
7967 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7969         [BZ #14138]
7970         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7971         (linkat): Likewise.
7972         (mkdirat): Likewise.
7973         (readlinkat): Likewise.
7974         (renameat): Likewise.
7975         (symlinkat): Likewise.
7976         (unlinkat): Likewise.
7977         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7978         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7979         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7980         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7981         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7982         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7983         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7985 2014-09-30  Will Newton  <will.newton@linaro.org>
7987         * math/math.h: Define long double math functions if
7988         _LIBC_TEST is defined.
7989         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7991         * localedata/Makefile: Move assignment to tests-special
7992         into an ifdef testing run-built-tests.
7993         * timezone/Makefile: Likewise.
7995 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7997         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7998         with $(BASH) not $(SHELL).
8000 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
8001             Matthew LeGendre  <legendre1@llnl.gov>
8003         [BZ #17411]
8004         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8005         l_reloc_result.
8007 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8009         * stdio-common/printf_fp.c
8010         (hack_digit): New function, broken out of ...
8011         (__printf_fp): ... local function here.  Update call sites.
8012         hack_digit now takes an additional parameter that is a pointer
8013         to a struct of the referenced locals.  Those locals moved inside
8014         the struct and references updated.
8016 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
8018         * aclocal.m4: Require autoconf 2.69.
8019         * configure: Regenerated.
8020         * sysdeps/aarch64/configure: Likewise.
8021         * sysdeps/alpha/configure: Likewise.
8022         * sysdeps/arm/armv7/configure: Likewise.
8023         * sysdeps/arm/configure: Likewise.
8024         * sysdeps/ia64/configure: Likewise.
8025         * sysdeps/mach/configure: Likewise.
8026         * sysdeps/mips/configure: Likewise.
8027         * sysdeps/s390/configure: Likewise.
8028         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8031         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8032         file.
8033         * sysdeps/ia64/configure.ac: Likewise.
8035 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8038         specify symbol version for ld.so.  Do not include entry for
8039         libpthread.
8040         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8041         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8042         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8044         [BZ #14171]
8045         * Makeconfig [$(build-shared) = yes]
8046         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8047         makefiles.
8048         [$(build-shared) = yes && $(soversions.mk-done) = t]
8049         ($(common-objpfx)gnu/lib-names.h): Remove rule.
8050         [$(build-shared) = yes && $(soversions.mk-done) = t]
8051         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
8052         to Makerules.
8053         [$(build-shared) = yes && $(soversions.mk-done) = t]
8054         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8055         here.
8056         [$(build-shared) = yes && $(soversions.mk-done) = t]
8057         (common-generated): Don't append gnu/lib-names.h and
8058         gnu/lib-names.stmp here.
8059         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8060         (lib-names-h-abi): New variable.
8061         [$(build-shared) = yes && $(soversions.mk-done) = t]
8062         (lib-names-stmp-abi): Likewise.
8063         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8064         abi-variants] (before-compile): Append
8065         $(common-objpfx)$(lib-names-h-abi).
8066         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8067         abi-variants] (common-generated): Append gnu/lib-names.h.
8068         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8069         abi-variants] (install-others-nosubdir): Depend on
8070         $(inst_includedir)/$(lib-names-h-abi).
8071         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8072         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8073         [$(build-shared) = yes && $(soversions.mk-done) = t]
8074         ($(common-objpfx)$(lib-names-h-abi)): New rule.
8075         [$(build-shared) = yes && $(soversions.mk-done) = t]
8076         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8077         [$(build-shared) = yes && $(soversions.mk-done) = t]
8078         (common-generated): Append $(lib-names-h-abi) and
8079         $(lib-names-stmp-abi).
8080         * scripts/lib-names.awk: Do not handle multi being set.
8081         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8082         Remove variable.
8083         (abi-lp64_be-ld-soname): Likewise.
8084         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8085         Likewise.
8086         (abi-hard-ld-soname): Likewise.
8087         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8088         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8089         Remove variable.
8090         (abi-o32_hard-ld-soname): Likewise.
8091         (abi-o32_soft_2008-ld-soname): Likewise.
8092         (abi-o32_hard_2008-ld-soname): Likewise.
8093         (abi-n32_soft-ld-soname): Likewise.
8094         (abi-n32_hard-ld-soname): Likewise.
8095         (abi-n32_soft_2008-ld-soname): Likewise.
8096         (abi-n32_hard_2008-ld-soname): Likewise.
8097         (abi-n64_soft-ld-soname): Likewise.
8098         (abi-n64_hard-ld-soname): Likewise.
8099         (abi-n64_soft_2008-ld-soname): Likewise.
8100         (abi-n64_hard_2008-ld-soname): Likewise.
8101         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8102         Likewise.
8103         (abi-64-v2-ld-soname): Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8105         ld.so entries.
8106         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8107         variable.
8108         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8109         entry.
8110         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8111         variable.
8112         (abi-64-ld-soname): Likewise.
8113         (abi-x32-ld-soname): Likewise.
8114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8115         entry.
8116         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8118 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #14138]
8121         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8122         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8123         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8124         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8125         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8126         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8127         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8128         syscall entry for GLIBC_2.2 symbol version.
8129         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8130         Likewise.
8131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8132         (setrlimit): Likewise.
8133         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8134         Likewise.
8136 2014-09-23  Will Newton  <will.newton@linaro.org>
8138         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8139         _LINUX_ARM_SYSDEP_H include guard too.
8140         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8141         define.
8143 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8145         * sysdeps/unix/sysv/linux/eventfd.c:
8146         Make first argument unsigned.
8147         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8148         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8150 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
8152         * socket/recvmmsg.c (recvmmsg): Drop const argument.
8153         * socket/sys/socket.h: Likewise
8154         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8156 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8158         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8160 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
8162         * time/tst-ftime.c: New test.
8163         * time/Makefile (tests): Add tst-ftime.
8165 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
8167         * soft-fp/extended.h: Fix comment formatting.
8168         * soft-fp/op-1.h: Likewise.
8169         * soft-fp/op-2.h: Likewise.
8170         * soft-fp/op-4.h: Likewise.
8171         * soft-fp/op-8.h: Likewise.
8172         * soft-fp/op-common.h: Likewise.
8173         * soft-fp/soft-fp.h: Likewise.
8175         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8177 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
8179         [BZ #6652]
8180         * Makeconfig (soversions-default-setname): Remove variable.
8181         ($(common-objpfx)soversions.i): Don't pass default_setname to
8182         soversions.awk.
8183         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8184         oldest_abi to abi-versions.awk.
8185         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8186         * config.make.in (oldest-abi): Remove variable.
8187         * configure.ac (--enable-oldest-abi): Remove configure option.
8188         * configure: Regenerated.
8189         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8190         text.
8191         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8192         * scripts/soversions.awk: Do not handle default_setname variable.
8193         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8194         variable.
8195         * sysdeps/mach/hurd/configure: Regenerated.
8196         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8197         variable.
8198         * sysdeps/unix/sysv/linux/configure: Regenerated.
8200 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8202         * elf/Makefile (CFLAGS-interp.c): Remove.
8203         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8204         path string.
8205         * elf/interp.c: Include generated runtime-linker.h
8207         * Makerules (lib%.so): Don't include $(+interp) in
8208         prerequisites.
8209         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8210         * dlfcn/eval.c: Remove file.
8212         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8213         macros.
8215         [BZ #17266]
8216         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8217         4.2 and newer.
8219         [BZ #17370]
8220         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8222 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223             Jakub Jelinek  <jakub@redhat.com>
8225         [BZ #17266]
8226         * libio/stdio.h: Check definition of __fortify_function
8227         instead of __extern_always_inline to include bits/stdio2.h.
8228         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8229         check if __extern_always_inline is defined.
8230         [__USE_MISC || __USE_XOPEN]: Likewise.
8231         [__USE_ISOC99] Likewise.
8232         * misc/sys/cdefs.h (__fortify_function): Define only if
8233         __extern_always_inline is defined.
8234         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8235         __extern_always_inline and __extern_inline only for g++-4.3
8236         and newer or a compatible gcc.
8238 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8240         [BZ #17371]
8241         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8242         last change to handle zero prefix length.
8244 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8246         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8247         _SC_REGEX_VERSION.
8249         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8250         _POSIX_RAW_SOCKETS.
8252 2014-09-13  Allan McRae  <allan@archlinux.org>
8254         * po/ru.po: Update Russian translation from translation project.
8256 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8258         * locale/programs/locale.c (show_locale_vars): Inline local function
8259         into its sole call site.  Clean up some style nits.
8260         (print_item): New function, broken out of ...
8261         (show_info): ... local function here.  Clean up style nits.
8263         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8264         out of ...
8265         (set_class_defaults): ... local function set_default here.
8266         Define set_default as a macro locally to pass constant parameters.
8267         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8268         rather than a shared local.
8270         * stdlib/rpmatch.c (try): New function, broken out of ...
8271         (rpmatch): ... local function here.  Also, prototypify definition.
8273 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8275         * scripts/soversions.awk: Do not handle configuration names.
8276         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8277         vendor and os variables to soversions.awk.
8278         * configure.ac: Do not modify gnu-* host_os.
8279         * configure: Regenerated
8280         * shlib-versions: Remove first column with configuration names.
8281         * nptl/shlib-versions: Likewise.
8282         * nptl_db/shlib-versions: Likewise.
8283         * sysdeps/hppa/shlib-versions: Likewise.
8284         * sysdeps/m68k/shlib-versions: Likewise.
8285         * sysdeps/mach/hurd/shlib-versions: Likewise.
8286         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8287         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8288         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8289         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8290         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8291         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8292         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8293         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8295         Likewise.
8296         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8297         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8298         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8299         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8300         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8301         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8302         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8303         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8306         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8308         Regenerated.
8309         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8311         Condition symbol version definitions on [HAVE_ELFV2_ABI].
8313         * shlib-versions: Remove OS-specific entries.  Moved to files in
8314         sysdeps.
8315         * sysdeps/mach/hurd/shlib-versions: New file.
8316         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8318         * nptl/shlib-versions: Remove architecture-specific entries.
8319         Moved to files in sysdeps.
8320         * shlib-versions: Likewise.
8321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8322         file.
8323         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8324         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8325         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8326         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8328         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8329         (UDP_NO_CHECK6_RX): Likewise.
8331 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8333         * sysdeps/posix/sysconf.c (__sysconf): Spell
8334         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8336 2014-08-12  Florian Weimer  <fweimer@redhat.com>
8338         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8339         loading.
8340         * iconv/Versions (__gconv_transliterate): Export for use from
8341         gconv modules.
8342         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8343         (struct __gconv_trans_data, __gconv_trans_fct,
8344         __gconv_trans_context_fct, __gconv_trans_query_fct,
8345         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8346         definitions.
8347         (struct __gconv_step_data): Remove __trans member.
8348         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8349         longer hidden.  Remove unused trans_data argument.
8350         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8351         (__gconv_translit_find): Remove declaration.
8352         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8353         prototype.
8354         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8355         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8356         trans_data argument.  Add hidden definition.
8357         (__gconv_translit_find): Remove.
8358         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8359         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8360         * iconv/skeleton.c: Remove transliteration initialization.
8361         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8362         __gconv_step_data initialization.
8363         * libio/iofwide.c (__libio_translit_): Remove.
8364         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8365         * wcsmbs/btowc.c (__btowc): Likewise.
8366         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8367         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8368         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8369         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8370         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8371         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8372         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8373         * wcsmbs/wctob.c (wctob): Likewise.
8375 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8377         [BZ #16194]
8378         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8379         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8380         register usage.
8381         * sysdeps/x86/Makefile: Adjust.
8383 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8384             Roland McGrath  <roland@hack.frob.com>
8386         * locale/weight.h: Add include guard.
8387         (findidx): Make static rather than auto; take new parameters
8388         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8389         * locale/weightwc.h: Likewise.
8390         * posix/fnmatch_loop.c
8391         (FCT): Change type of EXTRA from int32_t to wint_t.
8392         Don't include either header inside the function.
8393         Call FINDIDX rather than findidx, and pass new arguments.
8394         #undef FINDIDX at the end of the file.
8395         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8396         FINDIDX before including fnmatch_loop.c for the non-wide version.
8397         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8398         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8399         for the wide version.
8400         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8401         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8402         Pass new arguments to findidx.
8403         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8404         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8405         Don't #include it inside the function.  Pass new arguments to findidx.
8406         * posix/regex_internal.h
8407         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8408         (re_string_elem_size_at): Don't #include it inside the function.
8409         Pass new arguments to findidx.
8410         * string/strcoll_l.c: #include WEIGHT_H at top level.
8411         (get_next_seq): Don't #include it inside the function.
8412         Pass new arguments to findidx.
8413         (get_next_seq_nocache): Likewise.
8414         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8415         (STRXFRM): Don't #include it inside the function.
8416         Pass new arguments to findidx.
8418 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8420         [BZ #17344]
8421         * malloc/malloc.c (unlink): Turn asserts into a call to
8422         malloc_printerr.
8424 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8426         [BZ #17370]
8427         * libio/wfileops (do_ftell_wide): Free OUT.
8429 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8431         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8433 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8435         [BZ #17363]
8436         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8437         group if the current group is empty.
8439 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8441         * benchtests/bench-memset.c (test_main): Add more test from size
8442         from 32 to 512 bytes.
8443         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8444         Add POWER8 memset object.
8445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8446         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8447         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8448         implementation.
8449         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8450         Likewise.
8451         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8452         multiarch POWER8 memset optimization.
8453         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8454         POWER8 memset optimization.
8456         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8457         Remove bzero multiarch objects.
8458         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8459         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8460         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8461         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8462         Remove define.
8463         [__bzero]: Redefine to specific name.
8464         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8465         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8466         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8467         define.
8468         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8469         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8471 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8473         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8474         warnings into errors.
8476         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8477         __cxa_thread_atexit_impl prototype.
8479 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8481         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8482         Fix capitalization of error message.
8484 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8486         * sysdeps/mips/preconfigure: Modify ABI tests.
8488 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8490         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8492 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8493             Carlos O'Donell  <carlos@systemhalted.org>
8495         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8496         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8497         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8498         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8499         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8501         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8502         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8503         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8504         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8505         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8507         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8508         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8509         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8510         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8512         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8514         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8515         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8516         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8517         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8518         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8519         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8520         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8521         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8522         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8523         Deconditionalize the code that was previously under [RESET_PID].
8524         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8525         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8526         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8527         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8528         include sysdep.h.
8530 2014-09-08  Allan McRae  <allan@archlinux.org>
8532         * version.h (RELEASE): Set to "development".
8533         (VERSION): Set to "2.20.90"
8535 2014-09-07  Allan McRae  <allan@archlinux.org
8537         * version.h (RELEASE): Set to "stable".
8538         (VERSION): Set to "2.20"
8539         * include/features.h (__GLIBC_MINOR__): Set to 20.
8541         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8542         Liebler.
8544         * po/ko.po: Update Korean translation from translation project.
8546 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8548         [BZ #17354]
8549         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8550         macro for handling signed relocations.
8552 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8554         [BZ #17325]
8555         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8556         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8557         assert.
8558         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8559         * iconvdata/ibm935.c (BODY): Likewise.
8560         * iconvdata/ibm937.c (BODY): Likewise.
8561         * iconvdata/ibm939.c (BODY): Likewise.
8562         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8563         assert.
8564         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8565         script.
8566         * iconvdata/run-iconv-test.sh: New test loop for checking for
8567         decoder crashers.
8569 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8571         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8572         libm_hidden_ver.
8574 2014-09-01  Allan McRae  <allan@archlinux.org>
8576         * po/eo.po: Update Esperanto translation from translation project.
8578         * po/ca.po: Update Catalan translation from translation project.
8580 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8582         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8583         __proc_dostop call.
8585 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8587         [BZ #17319]
8588         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8589         to call set_thread_area instead of hand written asm.
8590         (__NR_set_thread_area): Removed define.
8591         (TLS_FLAG_WRITABLE): Likewise.
8592         (__ASSUME_SET_THREAD_AREA): Remove check.
8593         (TLS_EBX_ARG): Remove define.
8594         (TLS_LOAD_EBX): Likewise.
8596 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8598         Simplify atomicity of socket creation in bind.
8600         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8601         looking up the name after linking the file.
8603 2014-08-27  Allan McRae  <allan@archlinux.org>
8605         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8607 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8609         [BZ #17187]
8610         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8611         trans_compare, open_translit, __gconv_translit_find):
8612         Remove module loading code.
8614 2014-08-26  Allan McRae  <allan@archlinux.org>
8616         * po/vi.po: Update Vietnamese translation from translation project.
8618         * po/uk.po: Update Ukrainian translation from translation project.
8620         * po/fr.po: Update French translation from translation project.
8622         * po/ru.po: Update Russian translation from translation project.
8624         * po/pl.po: Update Polish translation from translation project.
8626         * po/cs.po: Update Czech translation from translation project.
8628         * po/de.po: Update German translation from translation project.
8630         * po/bg.po: Update Bulgarian translation from translation project.
8632         * po/sv.po: Update Sweedish translation from translation project.
8634         * po/nl.po: Update Dutch translation from translation project.
8636         * po/es.po: Update Spanish translation from translation project.
8638 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8640         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8642         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8643         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8644         (CPPFLAGS-iconvconfig): Likewise.
8645         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8647         * include/libc-symbols.h: Remove unnecessary check for
8648         NOT_IN_libc.
8649         * nptl/pthreadP.h: Likewise.
8650         * sysdeps/aarch64/setjmp.S: Likewise.
8651         * sysdeps/alpha/setjmp.S: Likewise.
8652         * sysdeps/arm/sysdep.h: Likewise.
8653         * sysdeps/i386/setjmp.S: Likewise.
8654         * sysdeps/m68k/setjmp.c: Likewise.
8655         * sysdeps/posix/getcwd.c: Likewise.
8656         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8657         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8658         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8659         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8660         * sysdeps/sh/sh3/setjmp.S: Likewise.
8661         * sysdeps/sh/sh4/setjmp.S: Likewise.
8662         * sysdeps/unix/alpha/sysdep.h: Likewise.
8663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8664         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8665         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8666         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8671         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8674         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8676         * sysdeps/x86_64/setjmp.S: Likewise.
8678 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8680         [BZ #17263]
8681         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8682         <stdint.h>.
8683         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8684         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8686 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8688         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8690         [BZ #17262]
8691         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8692         and __x86_64__ when disabling x87 inline functions.
8694 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8696         [BZ #17259]
8697         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8698         asm statement with __cpuid_count.
8700 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8702         * configure.ac: Change __ehdr_start code to dereference the struct.
8703         Run readelf on the output to look for relocations.
8704         * configure: Regenerated.
8706 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8708         [BZ #17261]
8709         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8710         value to 0.
8711         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8713 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8715         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8717 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8719         [BZ #16892]
8720         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8721         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8723 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8725         * malloc/malloc.c: Fix typo in comment.
8727 2014-08-09  Allan McRae  <allan@archlinux.org>
8729         * Regenerate libc.po.
8731 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8733         * intl/tst-gettext2.sh: Check every lang file for creation.
8735 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8737         * sysdeps/aarch64/fpu/math_private.h
8738         (libc_feholdsetround_noex_aarch64_ctx): New function.
8740 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8742         * sysdeps/arm/armv6/strcpy.S (strcpy):
8743         Fix performance issue in misaligned cases.
8745 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8747         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8748         Move definition from termios.h.
8749         (struct termio): Likewise.
8750         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8751         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8752         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8753         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8754         Likewise.
8755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8756         Move definition to ioctl-types.h
8757         (struct termio): Likewise.
8758         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8759         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8760         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8761         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8762         Likewise.
8764 2014-08-05  Richard Henderson  <rth@redhat.com>
8766         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8767         exceptions.
8768         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8769         Add fraiseexcpt.
8770         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8771         Use __feraiseexcept.
8772         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8773         Protect libm symbols with IS_IN_libm.
8775         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8777 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8779         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8781 2014-08-04  Will Newton  <will.newton@linaro.org>
8783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8784         file.
8786 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8788         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8789         variants for each function.
8791 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8793         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8794         appended ...
8795         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8796         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8797         appended ...
8798         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8799         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8800         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8801         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8802         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8803         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8804         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8805         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8806         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8807         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8808         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8809         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8810         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8811         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8812         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8813         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8814         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8815         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8816         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8818         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8819         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8820         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8822         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8825         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8826         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8827         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8828         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8831         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8832         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8833         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8834         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8835         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8836         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8837         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8838         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8839         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8840         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8841         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8842         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8843         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8844         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8845         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8846         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8847         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8848         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8849         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8850         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8851         Update #include.
8852         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8853         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8857         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8858         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8859         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8860         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8861         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8862         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8864 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8866         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8867         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8868         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8869         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8873         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8874         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8875         (__libc_vfork): Define function under this name.
8876         (__vfork): Define as an alias.
8877         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8878         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8880 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8882         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8883         that was previously under [RESET_PID].
8884         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8886 2014-08-04  Andreas Schwab  <schwab@suse.de>
8888         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8890 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8892         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8893         (main): Likewise.
8895 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8897         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8899 2014-08-01  Richard Henderon  <rth@redhat.com>
8901         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8902         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8903         typo in exact zero test.
8904         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8905         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8908 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8910         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8911         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8912         * sysdeps/arm/sysdep.h: ... here.
8913         [!__ASSEMBLER__]: Include <stdint.h>.
8915 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8917         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8918         (HAVE_WCTYPE_H): Likewise.
8919         (HAVE_ISWCTYPE): Likewise.
8920         (ENABLE_NLS): Likewise.
8921         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8922         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8924         * posix/regex_internal.c: Check if DEBUG is defined and is
8925         set.
8927         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8928         (HAVE_MBSRTOWCS): Likewise.
8929         * posix/fnmatch.c: Include string.h unconditionally.
8931 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8933         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8934         reversal.
8936 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8938         * sysdeps/generic/safe-fatal.h: New file.
8939         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8940         * nptl/forward.c: Include it.
8941         (__pthread_unwind): Use __safe_fatal as default action, rather
8942         than a bogus use of INTERNAL_SYSCALL that could never work.
8944         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8945         * configure.ac (libc_cv_builtin_trap): New test.
8946         * configure: Regenerated.
8947         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8948         (ABORT_INSTRUCTION): Define using __builtin_trap.
8950         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8951         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8952         * sysdeps/nptl/nptl-signals.h: New file.
8953         * nptl/pthreadP.h: Include <nptl-signals.h>.
8955 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8957         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8958         (ONE_DIRECTION): Define.
8959         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8960         (ONE_DIRECTION): Define.
8961         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8962         (ONE_DIRECTION): Define.
8964 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8966         * sysdeps/s390/Makefile: Delete file.
8967         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8968         * sysdeps/s390/__longjmp.c: Delete file.
8969         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8970         Remove fields __flags and __reserved.
8971         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8972         and add versioning.
8973         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8974         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8975         * sysdeps/s390/rtld-setjmp.S: Likewise.
8976         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8977         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8978         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8979         * sysdeps/s390/s390-32/setjmp.S: ... here.
8980         Add versioning.
8981         (__sigsetjmp): Remove setting __flags field.
8982         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8983         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8984         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8985         * sysdeps/s390/s390-64/setjmp.S: ... here.
8986         Add versioning.
8987         (__sigsetjmp): Remove setting __flags field.
8988         * sysdeps/s390/setjmp.S: Delete file.
8989         * sysdeps/s390/sigjmp.c: Likewise.
8990         * sysdeps/s390/v1-longjmp.c: Likewise.
8991         * sysdeps/s390/v1-setjmp.h: Likewise.
8992         * sysdeps/s390/v1-sigjmp.c: Likewise.
8993         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8994         Remove v1-longjmp_chk.
8995         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8996         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8997         Include debug/longjmp_chk.c and add versioning.
8998         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8999         Include nptl/pt-longjmp.c and add versioning.
9000         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9001         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9002         Include __longjmp.c.
9003         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9004         Move to ...
9005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9006         (__getcontext): Remove setting __flags field.
9007         Add versioning.
9008         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9009         Don't restore upper high grps.
9010         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9011         Likewise.
9012         (__swapcontext): Remove setting uc_flags field.
9013         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9014         Delete file.
9015         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9016         Include __longjmp.c.
9017         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9018         Move to ...
9019         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9020         (__getcontext): Remove setting __flags field.
9021         Add versioning.
9022         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9023         (__swapcontext): Remove setting uc_flags field.
9024         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9025         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9026         Remove fields uc_high_gprs and __reserved.
9027         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9028         New file with reverted content.
9029         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9030         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9031         Regenerated.
9032         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9033         Regenerated.
9035 2014-07-31  Andreas Schwab  <schwab@suse.de>
9037         * config.h.in (HAVE_IFUNC): Define to 0.
9038         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9039         definedness.
9041 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
9043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9044         memmove-avx-unaligned, memcpy-avx-unaligned and
9045         mempcpy-avx-unaligned.
9046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9047         Add tests for AVX memcpy functions.
9048         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9049         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9050         memcpy_chk.
9051         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9052         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9053         memmove_chk.
9054         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9056         mempcpy_chk.
9057         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9058         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9059         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9061 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9063         [BZ #17213]
9064         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9065         powerpc64le.
9067 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
9069         [BZ #16839]
9070         * manual/llio.texi: Add section about open file description locks.
9071         * manual/examples/ofdlocks.c: Example of open file description
9072         lock usage.
9073         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9074         F_OFD_SETLK, and F_OFD_SETLKW.
9076 2014-07-23  Allan McRae  <allan@archlinux.org>
9078         * po/es.po: Update Spanish translation from translation project.
9080 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
9082         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9084 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
9086         [BZ #17078]
9087         * sysdeps/arm/dl-machine.h (elf_machine_rela)
9088         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9089         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9091 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9093         [BZ #17088]
9094         * math/fesetenv.c (__fesetenv)
9095         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9096         * math/feupdateenv.c (__feupdateenv)
9097         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9099         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9100         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9101         (__ASSUME_SOCKETCALL): Do not define.
9103         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9104         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9105         (__ASSUME_SOCKETCALL): Do not define.
9106         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9107         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9108         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9109         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9111         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9112         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9113         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9115         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9116         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9117         (__ASSUME_SOCKETCALL): Do not define.
9118         (__ASSUME_IPC64): Define unconditionally.
9119         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9120         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9121         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9122         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9123         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9124         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9125         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9126         Likewise.
9128         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9129         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9130         (__ASSUME_SOCKETCALL): Do not define.
9131         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9132         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9133         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9134         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9135         (__ASSUME_REQUEUE_PI): Define unconditionally.
9136         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9137         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9138         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9139         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9140         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9141         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9143         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9144         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9145         (__ASSUME_SOCKETCALL): Do not define.
9146         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9147         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9148         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9149         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9151         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9153         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9154         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9155         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9156         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9157         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9158         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9159         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9160         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9161         (__ASSUME_GETCPU_SYSCALL): Likewise.
9163         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9164         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
9165         cases for individual architectures.
9166         * sysdeps/gnu/configure: Regenerated.
9167         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9168         LIBC_SLIBDIR_RTLDDIR.
9169         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9170         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9171         LIBC_SLIBDIR_RTLDDIR.
9172         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9174         LIBC_SLIBDIR_RTLDDIR.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9176         Regenerated.
9177         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9178         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9179         file.
9180         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9181         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9182         file.
9183         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9184         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9185         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9186         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9188         * sysdeps/aarch64/shlib-versions: Move to ...
9189         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9190         * sysdeps/alpha/shlib-versions: Move to ...
9191         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9192         * sysdeps/arm/shlib-versions: Move to ...
9193         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9194         * sysdeps/hppa/shlib-versions: Move all contents except for
9195         libgcc_s entry to ...
9196         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9197         entry from ...
9198         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9199         * sysdeps/ia64/shlib-versions: Move to ...
9200         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9201         entry from ...
9202         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9203         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9204         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9205         * sysdeps/microblaze/shlib-versions: Move to ...
9206         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9207         * sysdeps/mips/shlib-versions: Move to ...
9208         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9209         entry from ...
9210         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9211         * sysdeps/tile/shlib-versions: Move to ...
9212         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9213         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9214         from ...
9215         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9216         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9217         entry from ...
9218         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9220 2014-07-17  Will Newton  <will.newton@linaro.org>
9222         * sysdeps/arm/bits/atomic.h
9223         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9224         (__arch_compare_and_exchange_bool_16_int): Likewise.
9225         (__arch_compare_and_exchange_bool_64_int): Likewise.
9227         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9228         into an #else block.
9230 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9232         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9233         just Linux configurations.  Test empirically that the compiler sets
9234         __ARM_EABI__, rather than using the tuple to decide.
9235         * sysdeps/arm/preconfigure: Regenerated.
9236         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9237         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9238         contents appended ...
9239         * sysdeps/arm/configure.ac: ... here.
9240         * sysdeps/arm/configure: Regenerated.
9242 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9244         * nptl/pthread_kill.c: New file.
9245         * nptl/pthread_sigmask.c: New file.
9246         * nptl/pthread_sigqueue.c: New file.
9248         * sysdeps/nptl/lowlevellock.h: New file.
9249         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9250         * sysdeps/nptl/lowlevellock-futex.h: New file.
9252         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9253         Remove dead declarations.
9255 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9257         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9258         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9259         config-cflags-avx2.
9260         * sysdeps/x86_64/configure.ac: Likewise.
9261         * sysdeps/i386/configure: Regenerated.
9262         * sysdeps/x86_64/configure: Likewise.
9263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9264         memset-avx2 only if config-cflags-avx2 is yes.
9265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9266         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9267         defined.
9268         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9269         only if HAVE_AVX2_SUPPORT is defined.
9270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9272 2014-07-14  Alan Modra  <amodra@gmail.com>
9274         [BZ #17153]
9275         * elf/elf.h (DT_PPC64_NUM): Correct value.
9276         * NEWS: Add to fixed bug list.
9278 2014-07-13  Jim Meyering  <meyering@fb.com>
9280         [BZ 17150]
9281         regex: don't deref NULL upon heap allocation failure
9282         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9283         failure in one more place.
9284         To trigger the segfault, configure grep -with-included-regex,
9285         build it, and run these commands:
9286         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9288 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9290         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9292 2014-07-11  Richard Henderson  <rth@redhat.com>
9294         * sysdeps/aarch64/libm-test-ulps: Update.
9296 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9298         [BZ #17135]
9299         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9300         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9301         (__nptl_setxid): Initialize error member.  Call
9302         __nptl_setxid_error.
9303         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9304         * nptl/descr.h (struct xid_command): Add error member.
9305         * nptl/tst-setuid3.c: New file.
9306         * nptl/Makefile (tests): Add it.
9308 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9310         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9311         New define.
9312         (__lll_trylock): Use __lll_base_trylock.
9313         (__lll_cond_trylock): Likewise.
9315 2014-07-10  Roland McGrath  <roland@hack.frob.com>
9317         * nptl/pthread_create.c (start_thread): Use atomic_or and
9318         lll_futex_wake directly rather than lll_robust_dead.
9319         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9320         (lll_robust_dead): Macro removed.
9321         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9322         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9323         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9324         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9325         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9326         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9327         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9328         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9329         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9330         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9332         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9333         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9334         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9335         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9337         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9338         Use atomic_compare_and_exchange_val_acq directly rather than
9339         lll_robust_trylock.
9340         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9341         (__lll_robust_trylock, lll_robust_trylock): Removed.
9342         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9343         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9344         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9346         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9347         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9348         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9349         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9350         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9351         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9352         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9353         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9354         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9355         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9357 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9359         * manual/locale.texi (Locale Names): New section documenting
9360         locale name syntax.  Adjust menu and node chaining accordingly.
9361         (Choosing Locale): Reference Locale Names, Locale Categories.
9362         Mention setting LC_ALL=C.  Reflect that name syntax is now
9363         documented.
9364         (Locale Categories): New section title.  Reference Locale Names.
9365         LC_ALL is an environment variable, but not a category.
9366         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9367         description, now in Locale Name.  Reference that section.  Locale
9368         name syntax is now documented.
9370 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9372         [BZ #17137]
9373         * locale/findlocale.c (name_present, valid_locale_name): New
9374         functions.
9375         (_nl_find_locale): Use the loc_name variable to store name
9376         candidates.  Call name_present and valid_locale_name to check and
9377         validate locale names.  Return an error if the locale is invalid.
9379 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9381         * locale/setlocale.c (setlocale): Use strdup for allocating
9382         composite name copy.
9384 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386         Sync up with gnulib.
9387         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9388         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9389         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9390         and _GL_ARG_NONNULL.
9391         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9392         [!_LIBC]: Include code for Windows and Cygwin.
9393         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9394         Include prototype for int strerror_r.
9395         [!_LIBC] (is_open): New function.
9396         (flush_stdout): New function.
9397         (print_errno_message): Use it.
9398         (error): Likewise.
9399         (error_at_line): Likewise.
9400         (error_tail) Add function attribute macros.  Use
9401         __builtin_expect.
9403         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9405         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9407         * io/ftw.c: Include sys/param.h unconditionally.
9409         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9411         [BZ #17125]
9412         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9413         libc_freeres_ptr.
9414         (freecache): New function to free CACHE on exit.
9416         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9417         initialization.
9419 2014-07-09  David S. Miller  <davem@davemloft.net>
9421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9423         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9424         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9425         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9426         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9427         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9428         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9429         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9430         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9431         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9432         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9433         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9434         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9435         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9437 2014-07-09  Andreas Schwab  <schwab@suse.de>
9439         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9440         output.
9441         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9442         (do_test): Likewise.
9444         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9446 2014-07-09  Will Newton  <will.newton@linaro.org>
9448         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9449         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9450         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9451         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9452         * sysdeps/hppa/start.S (_start): Likewise.
9454 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9456         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9458         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9459         defined.
9461 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9463         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9464         after checking that it is non-NULL.
9466         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9468 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9470         * sysdeps/powerpc/memmove.c: Remove file.
9471         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9472         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9474         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9475         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9476         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9477         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9478         string memmove instead of removed powerpc one.
9480         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9481         [weak_alias]: Fix compiler warning due trailing data.
9482         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9483         [weak_alias]: Likewise.
9484         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9485         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9488         (__libc_ifunc_impl_list): Add memmove functions.
9490 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9492         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9493         Remove code.
9494         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9495         Likewise
9496         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9497         Likewise
9498         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9499         Likewise
9500         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9501         Likewise
9502         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9503         Likewise
9504         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9505         Likewise
9506         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9507         Likewise
9508         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9509         Likewise
9510         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9511         Likewise
9512         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9513         Likewise
9514         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9515         Likewise
9516         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9517         Likewise
9518         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9519         Likewise
9520         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9521         Likewise
9522         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9523         Likewise
9524         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9525         Likewise
9527 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9530         to avoid alignment traps in non-cacheable memory.
9531         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9533         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9534         multiarch objects.
9535         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9536         file: multiarch power7 memmove.
9537         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9538         multiarch default memmove.
9539         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9540         multiarch memove for powerpc32/power4.
9542         * string/bcopy.c: Use full path to include memmove.c.
9543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9544         multiarch objects.
9545         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9546         bcopy for powerpc64.
9547         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9548         bcopy for powerpc64.
9549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9550         and memmove implementations.
9551         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9552         optimized multiarch memmove for POWER7/powerpc64.
9553         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9554         default multiarch memmove for powerpc64.
9555         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9556         multiarch for powerpc64.
9557         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9558         for POWER7/powerpc64.
9559         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9560         memmove for POWER7/powerpc64.
9562         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9563         glibc default one.
9565         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9566         __ELF_NATIVE_CLASS equal to 64.
9568 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9570         * sysdeps/nptl/lowlevellock.h: File removed.
9572         * NEWS: NPTL is no longer an add-on!
9573         * nptl/internaltypes.h: Moved ...
9574         * sysdeps/nptl/internaltypes.h: ... here.
9575         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9576         * sysdeps/nptl/fork.c: Likewise.
9577         * sysdeps/nptl/gai_misc.h: Likewise.
9578         * sysdeps/nptl/librt-cancellation.c: Likewise.
9579         * sysdeps/nptl/jmp-unwind.c: Likewise.
9580         * sysdeps/nptl/setxid.h: Likewise.
9581         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9582         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9583         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9584         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9585         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9586         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9587         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9588         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9589         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9590         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9591         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9592         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9593         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9594         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9595         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9596         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9597         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9598         * nptl/Makeconfig: Moved ...
9599         * sysdeps/nptl/Makeconfig: ... here.
9600         * nptl/configure: File removed.
9601         * nptl/ANNOUNCE: File removed.
9602         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9603         * sysdeps/unix/sysv/linux/configure: Regenerated.
9605         * nptl/Makefile (routines): Add libc_pthread_init,
9606         libc_multiple_threads, register-atfork and unregister-atfork.
9607         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9608         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9609         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9610         pthread-pi-defines.sym, structsem.sym.
9611         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9612         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9613         [$(subdir) = nptl] (tests): Add tst-setgetname.
9614         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9615         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9616         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9617         [!LIBC_SIGACTION]: Remove aliases.
9618         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9619         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9620         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9621         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9622         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9623         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9624         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9626         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9627         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9628         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9629         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9630         __libc_allocate_rtsig_private.
9631         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9632         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9633         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9634         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9635         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9636         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9637         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9638         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9639         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9640         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9641         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9642         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9643         * nptl/internaltypes.h: ... here.
9644         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9645         * sysdeps/nptl/jmp-unwind.c: ... here.
9646         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9647         * nptl/libc-lowlevellock.c: ... here.
9648         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9649         * nptl/libc_multiple_threads.c: ... here.
9650         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9651         * nptl/libc_pthread_init.c: ... here.
9652         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9653         * nptl/lowlevelbarrier.sym: ... here.
9654         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9655         * nptl/lowlevelcond.sym: ... here.
9656         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9657         * nptl/lowlevellock.c: ... here.
9658         * nptl/lowlevellock.h: Moved ...
9659         * sysdeps/nptl/lowlevellock.h: ... here.
9660         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9661         * nptl/lowlevelrobustlock.c: ... here.
9662         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9663         * nptl/lowlevelrobustlock.sym: ... here.
9664         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9665         * nptl/lowlevelrwlock.sym: ... here.
9666         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9667         * nptl/pt-fork.c: ... here.
9668         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9669         * nptl/pthread-pi-defines.sym: ... here.
9670         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9671         * nptl/pthread_attr_getaffinity.c: ... here.
9672         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9673         * nptl/pthread_attr_setaffinity.c: ... here.
9674         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9675         * nptl/pthread_mutex_cond_lock.c: ... here.
9676         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9677         Update #include.
9678         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9679         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9680         * nptl/pthread_once.c: ... here, replacing old file.
9681         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9682         * nptl/pthread_yield.c: ... here.
9683         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9684         * nptl/register-atfork.c: ... here.
9685         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9686         * nptl/sem_post.c: ... here.
9687         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9688         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9689         * nptl/sem_timedwait.c: ... here.
9690         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9691         * nptl/sem_trywait.c: ... here.
9692         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9693         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9694         * nptl/sem_wait.c: ... here.
9695         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9696         * nptl/structsem.sym: ... here.
9697         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9698         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9699         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9700         * nptl/unregister-atfork.c: ... here.
9701         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9702         * nptl/unwindbuf.sym: ... here.
9703         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9704         * sysdeps/nptl/fork.c: ... here.
9705         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9706         * sysdeps/nptl/fork.h: ... here.
9707         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9708         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9709         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9710         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9711         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9712         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9713         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9714         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9715         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9716         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9717         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9718         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9719         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9720         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9721         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9722         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9723         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9724         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9725         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9726         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9727         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9728         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9729         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9731         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9732         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9733         * sysdeps/unix/sysv/linux/raise.c: ... here.
9734         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9735         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9736         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9737         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9738         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9739         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9740         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9741         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9742         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9743         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9744         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9745         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9746         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9747         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9748         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9750 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9752         * sysdeps/generic/memcopy.h: Add comment for
9753         MEMCPY_OK_FOR_FWD_MEMMOVE.
9755 2014-07-04  Will Newton  <will.newton@linaro.org>
9757         * string/memchr.c: Merge from gnulib.
9758         [_LIBC]: Remove conditionals.
9759         (__ptr_t): Remove define.
9760         (LONG_MAX_32_BITS): Likewise.
9761         (LONG_MAX): Likewise.
9762         (MEMCHR): Use ANSI prototype and optimize algorithm.
9764         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9766 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9768         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9769         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9771         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9772         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9773         in a bare environment with no <stdlib.h> installed.
9774         * sysdeps/nptl/configure: Regenerated.
9776         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9778         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9779         AC_EGREP_CPP for kernel header checks, so they only succeed if
9780         including <linux/version.h> actually works right.
9781         * sysdeps/unix/sysv/linux/configure: Regenerated.
9783         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9784         value so it's not diagnosed as unused.
9786         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9787         thing) with "ifeq ($(subdir),rt)".
9789 2014-07-03  Richard Henderson  <rth@redhat.com>
9791         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9792         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9793         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9795         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9796         (math_force_eval): New.
9798         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9799         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9801         * sysdeps/alpha/fpu/s_round.c: Remove file.
9802         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9804         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9805         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9806         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9807         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9808         (_dl_start, print_statistics): Likewise.
9809         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9810         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9812         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9813         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9814         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9815         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9816         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9817         (HP_SMALL_TIMING_AVAIL): Define.
9818         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9819         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9820         (HP_SMALL_TIMING_AVAIL): Define.
9821         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9822         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9824         * sysdeps/aarch64/hp-timing.h: New file.
9826         * sysdeps/generic/hp-timing.h: Remove dead comment.
9827         * sysdeps/generic/hp-timing-common.h: New file.
9828         * sysdeps/alpha/hp-timing.h: Include it.
9829         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9830         * sysdeps/i386/i686/hp-timing.h: Likewise.
9831         * sysdeps/ia64/hp-timing.h: Likewise.
9832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9833         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9834         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9835         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9836         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9837         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9838         (hp_timing_t): New.
9840         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9841         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9842         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9843         * elf/rtld.c (_dl_start_final): Likewise.
9844         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9845         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9846         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9847         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9848         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9850         (HP_TIMING_DIFF_INIT): Remove.
9851         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9853         (HP_TIMING_DIFF_INIT): Remove.
9854         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9855         * sysdeps/i386/i686/hp-timing.c: Remove file.
9856         * sysdeps/x86_64/hp-timing.c: Remove file.
9857         * sysdeps/ia64/hp-timing.c: Remove file.
9858         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9859         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9860         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9861         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9863         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9864         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9865         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9866         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9867         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9868         (HP_TIMING_ACCUM): Remove.
9869         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9871         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9873         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9874         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9875         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9876         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9877         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9878         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9879         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9880         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9882         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9884 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9886         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9888 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9890         Sync up with gettext.
9891         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9892         [_MSC_VER]: Include malloc.h
9893         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9894         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9895         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9896         TEMP_FAILURE_RETRY.  Cast return of alloca.
9897         [!_LIBC] Call gl_rwlock_init.
9898         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9900 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9902         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9903         before checking its value.
9905 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9907         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9909         * debug/memcpy_chk.c: Don't include pagecopy.h.
9910         * debug/mempcpy_chk.c: Likewise.
9911         * string/memcpy.c: Likewise.
9912         * string/memmove.c: Likewise.
9913         * sysdeps/powerpc/memmove.c: Likewise.
9914         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9915         definition of PAGE_COPY_FWD_MAYBE here...
9916         * sysdeps/generic/pagecopy.h: ... from here.
9917         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9919 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9920             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9922         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9924         optimizations.
9925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9926         (__libc_ifunc_impl_list): Likewise.
9927         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9928         multiarch strcat for PPC64.
9929         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9930         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9932 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9934         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9936 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9938         * intl/loadmsgcat.c: Remove declaration of
9939         get_sysdep_segment_value.
9940         (get_sysdep_segment_value): Use ISO C style.
9941         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9942         semicolon.  Fix typo and formatting in comment.
9943         (_nl_unload_domain): Use ISO C style.
9945         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9947 2014-07-02  Will Newton  <will.newton@linaro.org>
9949         * malloc/obstack.c: Merge from gnulib master.
9950         [HAVE_CONFIG_H]: Remove conditional code.
9951         [!_LIBC]: Include config.h.
9952         [!ELIDE_CODE]: Don't include inttypes.h, include
9953         stdint.h unconditionally.
9954         (print_and_abort): Mark as _Noreturn.
9955         (_obstack_allocated_p): Mark as __attribute_pure__.
9956         (obstack_free): Rename to __obstack_free.
9957         [!__attribute__]: Remove conditional code.
9958         * malloc/obstack.h: Merge from gnulib master.
9959         [__cplusplus]: Move conditional down.
9960         [!__attribute_pure__]: Define __attribute_pure__ here
9961         if it is not already defined.
9962         (_obstack_memory_used): Mark as __attribute_pure__.
9963         [!__obstack_free]: Define as obstack_free.
9964         [__GNUC__]: Remove check for ancient NeXT gcc.
9966 2014-07-02  Will Newton  <will.newton@linaro.org>
9967             Paul Eggert  <eggert@cs.ucla.edu>
9969         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9971 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9973         * resolv/gethnamaddr.c: Add comment warning that the file is
9974         not maintained.
9976 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9978         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9979         entries.
9981         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9982         entry for aio_cancel and aio_cancel64.
9983         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9984         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9985         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9986         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9987         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9988         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9989         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9990         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9991         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9992         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9993         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9994         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9995         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9997 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9999         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10000         * nptl/pthread_mutex_lock.c: Likewise.
10001         * nptl/pthread_mutex_timedlock.c: Likewise.
10002         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10004 2014-07-01  Richard henderson  <rth@redhat.com>
10006         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10007         (__isnan, __isnanl): Remove.
10008         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10010         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10012 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10014         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10016 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10018         * resolv/nss_dns/dns-host.c (getanswer_r)
10019         [MULTI_PTRS_ARE_ALIASES]: Remove code.
10021 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
10023         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10024         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10025         undefine.
10026         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10027         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10029 2014-07-01  Roland McGrath <roland@hack.frob.com>
10031         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10032         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10034         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10035         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10037         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10038         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10039         ... here.
10040         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10041         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10043         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10044         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10045         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10046         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10048         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10049         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10050         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10051         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10052         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10053         Moved ...
10054         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10055         ... here.
10056         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10057         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10058         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10059         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10060         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10061         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10062         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10063         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10064         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10065         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10066         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10067         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10069         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10070         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10071         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10072         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10073         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10074         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10075         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10076         ... here.
10077         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10078         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10079         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10080         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10081         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10082         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10083         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10084         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10086 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
10088         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10089         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10090         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10091         Add sysdep.
10093 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10097 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10099         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10102         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10104         * sysdeps/arm/libm-test-ulps: Regenerated.
10106 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10107             Roland McGrath <roland@hack.frob.com>
10109         * test-skeleton.c (signal_handler): Kill the whole process group
10110         before killing the child individually.
10111         (main): Report any failure on `setpgid'.
10113 2014-06-30  Roland McGrath  <roland@hack.frob.com>
10115         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10116         from _TLS_H to _ARM_NPTL_TLS_H.
10117         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10118         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10120 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10122         [BZ #16539]
10123         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10124         (__expm1l): Return argument unchanged when small but not
10125         subnormal.
10127         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10128         include macro name.
10129         (_FP_UNPACK_RAW_1_P): Likewise.
10130         (_FP_PACK_RAW_1): Likewise.
10131         (_FP_PACK_RAW_1_P): Likewise.
10132         (_FP_MUL_MEAT_1_wide): Likewise.
10133         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10134         (_FP_MUL_MEAT_1_hard): Likewise.
10135         (_FP_DIV_MEAT_1_imm): Likewise.
10136         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10137         (_FP_DIV_MEAT_1_udiv): Likewise.
10138         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10139         (_FP_UNPACK_RAW_2): Likewise.
10140         (_FP_UNPACK_RAW_2_P): Likewise.
10141         (_FP_PACK_RAW_2): Likewise.
10142         (_FP_PACK_RAW_2_P): Likewise.
10143         (_FP_MUL_MEAT_DW_2_wide): Likewise.
10144         (_FP_MUL_MEAT_2_wide): Likewise.
10145         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10146         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10147         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10148         (_FP_MUL_MEAT_2_gmp): Likewise.
10149         (_FP_DIV_MEAT_2_udiv): Likewise.
10150         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10151         (_FP_FRAC_SRL_4): Likewise.
10152         (_FP_FRAC_SRST_4): Likewise.
10153         (_FP_FRAC_SRS_4): Likewise.
10154         (_FP_UNPACK_RAW_4): Likewise.
10155         (_FP_UNPACK_RAW_4_P): Likewise.
10156         (_FP_PACK_RAW_4): Likewise.
10157         (_FP_PACK_RAW_4_P): Likewise.
10158         (_FP_MUL_MEAT_DW_4_wide): Likewise.
10159         (_FP_MUL_MEAT_4_wide): Likewise.
10160         (_FP_MUL_MEAT_4_gmp): Likewise.
10161         (umul_ppppmnnn): Likewise.
10162         (_FP_DIV_MEAT_4_udiv): Likewise.
10163         (__FP_FRAC_ADD_4): Likewise.
10164         (__FP_FRAC_SUB_3): Likewise.
10165         (__FP_FRAC_SUB_4): Likewise.
10166         (__FP_FRAC_DEC_3): Likewise.
10167         (__FP_FRAC_DEC_4): Likewise.
10168         (__FP_FRAC_ADDI_4): Likewise.
10169         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10170         (_FP_FRAC_SRL_8): Likewise.
10171         (_FP_FRAC_SRS_8): Likewise.
10173         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10174         include macro name.
10175         (FP_UNPACK_RAW_EP): Likewise.
10176         (FP_PACK_RAW_E): Likewise.
10177         (FP_PACK_RAW_EP): Likewise.
10178         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10179         (_FP_ISSIGNAN): Likewise.
10180         (_FP_ADD_INTERNAL): Likewise.
10181         (_FP_FMA): Likewise.
10182         (_FP_CMP): Likewise.
10183         (_FP_SQRT): Likewise.
10184         (_FP_TO_INT): Likewise.
10185         (_FP_FROM_INT): Likewise.
10186         (FP_EXTEND): Likewise.
10187         (_FP_DIV_MEAT_N_loop): Likewise.
10189 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10191         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10192         throughout.
10194 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
10196         [BZ #17097]
10197         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10198         result with correct sign in case of exponents that produce
10199         overflow except for X very close to 1.
10201 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10203         mktime: merge #if/#ifdef usage from glibc
10204         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10205         as that works with both Glibc's and Gnulib's style.
10206         See thread starting at Siddhesh Poyarekar's bug report at:
10207         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10209 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10211         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10212         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10213         * sysdeps/tile/tilegx/memmove.c: Remove file.
10215 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10217         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10218         abi-name definition.
10219         * scripts/soversions.awk: Do not handle or generate ABI lines.
10220         * shlib-versions: Remove ABI entries.
10221         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10222         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10224 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10227         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10228         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10229         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10231         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10233         Moved ...
10234         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10235         ... here.
10236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10237         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10239         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10241         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10243         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10245         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10247         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10249         Moved ...
10250         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10252         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10254         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10256         Moved ...
10257         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10259         Moved ...
10260         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10262         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10264         Moved ...
10265         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10267         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10269         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10271         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10273         Moved ...
10274         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10276         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10277         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10278         Moved ...
10279         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10281         Moved ...
10282         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10283         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10284         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10285         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10286         Moved ...
10287         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10288         ... here.
10289         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10290         Identical file removed.
10291         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10292         Moved ...
10293         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10295         Identical file removed.
10296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10297         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10299         Moved ...
10300         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10302         Identical file removed.
10303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10304         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10306         Identical file removed.
10307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10308         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10310         Identical file removed.
10311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10312         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10314         Identical file removed.
10315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10316         Moved ...
10317         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10319         Identical file removed.
10320         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10321         Moved ...
10322         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10324         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10326         Identical file removed.
10327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10328         Moved ...
10329         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10330         ... here.
10331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10332         Identical file removed.
10333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10334         Moved ...
10335         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10337         Identical file removed.
10338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10339         Moved ...
10340         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10342         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10344         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10346         Moved ...
10347         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10349         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10351         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10352         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10353         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10354         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10355         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10357 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10359         [BZ #17092]
10360         * nscd/nscd.c (monitor_child): Return exit status of child
10361         instead of return value from wait syscall.
10363 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10365         * configure.ac (libc_commonpagesize): Remove variable.
10366         (libc_relro_required): Likewise.
10367         (libc_cv_z_relro): Remove configure test.
10368         * configure: Regenerated.
10369         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10370         variable.
10371         (libc_relro_required): Likewise.
10372         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10373         (libc_relro_required): Likewise.
10374         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10375         (libc_relro_required): Likewise.
10376         * sysdeps/arm/preconfigure: Regenerated.
10377         * sysdeps/ia64/preconfigure: Remove file.
10378         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10379         variable.
10380         (libc_relro_required): Likewise.
10382         [BZ #16561]
10383         [BZ #16562]
10384         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10385         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10386         recompute overflowing results in original rounding mode.
10387         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10388         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10389         recompute overflowing results in original rounding mode.
10390         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10391         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10392         recompute overflowing results in original rounding mode.
10393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10394         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10395         recompute overflowing results in original rounding mode.
10396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10397         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10398         recompute overflowing results in original rounding mode.
10399         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10400         (libc_feholdsetround_ctx): New macro.
10401         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10402         * sysdeps/i386/fpu/libm-test-ulps: Update.
10403         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10405 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10407         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10408         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10409         corresponding .cpsetup call.
10411 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10413         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10414         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10415         * sysdeps/arm/Makefile [$(subdir) = csu]
10416         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10417         (static-only-routines): Add aeabi_read_tp here.
10418         (shared-only-routines): Add libc-aeabi_read_tp here.
10419         (CFLAGS-libc-start.c): Add -fexceptions here.
10420         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10421         (sysdep_routines, static-only-routines, shared-only-routines):
10422         Don't add to these here.
10423         (CFLAGS-libc-start.c): Likewise.
10425         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10426         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10427         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10428         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10429         * sysdeps/arm/Makefile [$(subdir) = rt]
10430         (librt-sysdep_routines, librt-shared-only-routines):
10431         Append rt-aeabi_unwind_cpp_pr1 here.
10432         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10433         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10434         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10435         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10436         Append nptl-aeabi_unwind_cpp_pr1 here.
10437         (tests): Filter out tst-cleanupx4 here.
10438         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10439         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10440         Don't do those here.
10442 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10444         * scripts/list-sources.sh: Do not handle ports specially.
10446 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10448         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10449         * sysdeps/arm/feupdateenv.c: Likewise.
10451         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10453 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10455         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10456         trailing whitespace removed.
10457         * scripts/config.guess: Update to version 2014-03-23.
10458         * scripts/config.sub: Update to version 2014-05-01
10459         * scripts/install-sh: Update to version 2013-12-25.23.
10460         * scripts/move-if-change: Update from gnulib.
10462 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10464         * debug/memmove_chk.c: Remove pagecopy.h include.
10466 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10468         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10469         identical to gnulib mktime.
10471 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10473         * configure.ac: Do not test for machine being rs6000.  Do not test
10474         for powerpc*-*soft.
10475         * configure: Regenerated.
10477         [BZ #11505]
10478         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10479         test.
10480         * configure: Regenerated.
10481         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10482         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10483         Remove configure test.
10484         * sysdeps/arm/configure: Regenerated.
10485         * sysdeps/nptl/configure.ac: Do not check
10486         libc_cv_asm_cfi_directives.
10487         * sysdeps/nptl/configure: Regenerated.
10488         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10489         * sysdeps/x86_64/nptl/configure: Remove generated file.
10490         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10491         unconditional.
10492         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10494 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10496         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10497         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10498         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10499         it is defined.
10501         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10502         instead of whether it is defined.
10503         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10504         * sysdeps/hppa/dl-machine.h: Likewise.
10505         * sysdeps/ia64/dl-machine.h: Likewise.
10506         * sysdeps/m68k/dl-machine.h: Likewise.
10507         * sysdeps/microblaze/dl-machine.h: Likewise.
10508         * sysdeps/mips/dl-machine.: Likewise.
10509         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10510         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10511         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10512         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10513         * sysdeps/sh/dl-machine.h: Likewise.
10514         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10515         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10516         * sysdeps/tile/dl-machine.h: Likewise.
10517         * sysdeps/x86_64/dl-machine.h: Likewise.
10519         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10520         code.
10521         (verify_persistent_db): Likewise.
10523 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10526         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10528         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10530         Moved ...
10531         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10532         ... here.
10533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10534         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10536         Identical file removed.
10537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10538         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10540         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10542         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10544         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10546         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10548         Moved ...
10549         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10551         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10553         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10555         Moved ...
10556         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10558         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10560         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10562         Identical file removed.
10563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10564         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10566         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10568         Moved ...
10569         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10570         ... here.
10571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10572         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10574         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10576         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10578         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10580         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10582         Moved ...
10583         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10585         Moved ...
10586         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10588         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10590         Moved ...
10591         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10593         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10595         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10596         folded into ...
10597         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10598         * sysdeps/unix/sysv/linux/s390/Versions
10599         (libpthread: GLIBC_2.19): New version set.
10600         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10601         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10602         (librt: GLIBC_2.3.3): New version set.
10603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10604         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10605         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10606         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10607         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10608         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10609         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10610         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10611         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10612         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10613         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10614         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10615         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10616         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10617         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10618         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10619         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10620         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10621         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10622         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10623         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10624         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10625         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10626         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10627         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10628         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10629         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10630         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10631         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10632         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10633         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10634         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10637         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10638         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10639         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10641         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10643         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10645         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10647         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10649         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10650         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10651         (__libc_vfork): Define the function under this name.
10652         [!NOT_IN_libc] (__vfork): Make this an alias.
10653         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10655         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10656         (__libc_vfork): Define the function under this name.
10657         [!NOT_IN_libc] (__vfork): Make this an alias.
10658         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10659         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10662         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10663         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10665         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10666         code that was previously under [RESET_PID].
10667         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10668         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10671         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10672         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10673         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10674         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10675         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10676         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10677         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10678         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10679         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10680         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10681         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10682         Moved ...
10683         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10684         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10685         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10686         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10687         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10688         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10689         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10690         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10691         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10692         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10693         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10694         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10695         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10696         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10697         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10698         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10699         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10700         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10701         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10702         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10703         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10704         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10705         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10706         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10707         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10708         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10709         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10711         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10713 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10715         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10716         that was previously under [RESET_PID].
10717         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10719 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10721         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10722         not undefine and redefine.
10723         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10724         [O_CLOEXEC]: Make code unconditional.
10725         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10726         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10727         <kernel-features.h>.
10728         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10729         conditional variable definition.
10730         (shm_open) [O_CLOEXEC]: Make code unconditional.
10731         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10732         code.
10734         * configure.ac (USE_REGPARMS): Don't define here.
10735         * configure: Regenerated.
10736         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10737         * sysdeps/i386/configure: Regenerated.
10739         * nptl/createthread.c: Don't include kernel-features.h.
10740         * nptl/pthread_cancel.c: Likewise.
10741         * nptl/pthread_condattr_setclock.c: Likewise.
10742         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10743         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10744         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10745         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10746         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10747         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10748         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10750         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10751         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10752         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10753         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10754         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10755         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10756         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10757         * nscd/gai.c: Likewise.
10758         * nss/nss_db/db-open.c: Likewise.
10759         * sysdeps/generic/ldsodefs.h: Likewise.
10760         * sysdeps/sh/nptl/tls.h: Likewise.
10761         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10762         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10763         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10764         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10765         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10766         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10767         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10768         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10769         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10770         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10771         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10772         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10773         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10774         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10775         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10776         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10777         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10778         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10779         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10780         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10782         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10783         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10784         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10789         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10790         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10791         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10792         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10793         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10794         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10795         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10796         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10797         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10798         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10799         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10800         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10801         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10802         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10803         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10804         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10805         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10806         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10807         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10808         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10809         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10810         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10811         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10812         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10813         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10814         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10815         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10816         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10817         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10818         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10841         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10842         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10843         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10844         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10845         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10846         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10847         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10848         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10849         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10850         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10851         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10852         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10853         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10854         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10855         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10856         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10857         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10858         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10859         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10860         * sysdeps/unix/sysv/linux/system.c: Likewise.
10861         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10862         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10863         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10864         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10865         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10866         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10867         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10869         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10870         * configure: Regenerated.
10871         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10873         * configure.ac (base_machine): Do not set specially for particular
10874         machines here.
10875         * configure: Regenerated.
10876         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10877         settings from configure.ac.
10878         * sysdeps/i386/preconfigure: New file.
10879         * sysdeps/s390/preconfigure: Likewise.
10880         * sysdeps/sh/preconfigure: Likewise.
10881         * sysdeps/sparc/preconfigure: Likewise.
10883 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10885         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10886         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10887         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10888         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10889         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10890         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10891         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10892         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10893         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10894         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10895         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10896         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10897         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10898         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10899         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10900         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10901         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10902         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10903         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10905         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10906         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10907         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10908         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10909         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10910         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10911         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10912         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10913         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10914         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10915         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10916         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10917         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10918         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10919         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10920         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10921         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10922         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10923         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10924         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10926         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10927         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10928         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10929         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10930         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10932         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10934         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10935         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10936         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10937         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10938         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10939         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10940         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10941         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10942         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10945         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10947         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10951         ... here.
10952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10953         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10955         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10957         Moved ...
10958         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10960         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10962         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10964         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10966         Moved ...
10967         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10969         Moved ...
10970         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10972         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10974         Moved ...
10975         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10977         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10979         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10981         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10983         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10987         ... here.
10988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10989         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10991         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10993         Moved ...
10994         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10996         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10998         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11000         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11002         Moved ...
11003         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11005         Moved ...
11006         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11008         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11010         Moved ...
11011         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11013         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11015         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11017 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11019         * timezone/checktab.awk: Update from tzcode 2014e.
11020         * timezone/private.h: Likewise.
11021         * timezone/tzfile.h: Likewise.
11022         * timezone/zdump.c: Likewise.
11023         * timezone/zic.c: Likewise.
11025         * sysdeps/unix/sysv/linux/kernel-features.h
11026         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11028         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11029         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11030         Remove conditional code.
11032 2014-06-25  Will Newton  <will.newton@linaro.org>
11034         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11035         (_dl_arm_cap_flags): Add HWCAP2 values.
11036         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11037         (_DL_HWCAP_COUNT): Increase to 37.
11038         (_DL_HWCAP_LAST): New define.
11039         (_DL_HWCAP2_LAST): New define.
11040         (_dl_procinfo): Add support for printing
11041         AT_HWCAP2 entries.
11042         (_dl_string_hwcap): Use _dl_hwcap_string.
11044 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11048 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11050         * README: Do not mention ports directory.
11052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11053         Remove macro.
11054         * sysdeps/unix/sysv/linux/futimes.c: Do not include
11055         <kernel-features.h>.
11056         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11057         conditional variable definition.
11058         (__futimes): Update comment.
11059         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11060         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11062         [BZ #16560]
11063         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11064         arguments close to 0.
11065         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11066         Likewise.
11067         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11068         Likewise.
11069         * math/auto-libm-test-in: Add more tests of exp10.
11070         * math/auto-libm-test-out: Regenerated.
11071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11073         * sysdeps/unix/sysv/linux/kernel-features.h
11074         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11075         * sysdeps/unix/sysv/linux/readv.c: Do not include
11076         <kernel-features.h>.
11077         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11078         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11079         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11080         unconditional.
11081         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11082         conditional code.
11083         * sysdeps/unix/sysv/linux/writev.c: Do not include
11084         <kernel-features.h>.
11085         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11086         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11087         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11088         unconditional.
11089         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11090         conditional code.
11092 2014-06-25  Will Newton  <will.newton@linaro.org>
11094         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11095         comment changes throughout the file.  Remove checks
11096         for HAVE_*_H definitions that are not required.
11097         (__gen_tempname): Call abort if an unknown kind value is
11098         passed.
11100 2014-06-25  Andreas Schwab  <schwab@suse.de>
11102         [BZ #17086]
11103         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11104         scalbln, scalblnf, scalblnl in libc.
11106 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11108         [BZ #17086]
11109         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11110         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11111         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11113 2014-06-24  Roland McGrath  <roland@hack.frob.com>
11115         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11116         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11117         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11118         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11119         Update #include.
11120         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11121         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11122         Update #include.
11123         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11124         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11125         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11126         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11127         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11128         * sysdeps/x86/bits/pthreadtypes.h: ... here.
11129         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11130         * sysdeps/x86/bits/semaphore.h: ... here.
11131         * sysdeps/x86/nptl/elide.h: Moved ...
11132         * sysdeps/x86/elide.h: ... here.
11133         * sysdeps/x86_64/nptl/Implies: File removed.
11134         * sysdeps/i386/nptl/Implies: File removed.
11136 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
11138         [BZ #16539]
11139         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11140         return the argument for normal arguments with exponent below -64.
11141         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11142         Likewise.
11143         * math/auto-libm-test-in: Add another test of expm1.
11144         * math/auto-libm-test-out: Regenerated.
11146         [BZ #16287]
11147         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11148         calling __erfcl for arguments at least 16.
11149         * math/auto-libm-test-in: Add more tests of erf.
11150         * math/auto-libm-test-out: Regenerated.
11152         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11153         individual architectures.
11154         * sysdeps/unix/sysv/linux/configure: Regenerated.
11155         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11156         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11157         * sysdeps/unix/sysv/linux/powerpc/configure.ac
11158         (ldd_rewrite_script): Define variable.
11159         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11161         file.
11162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11163         generated file.
11164         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11165         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11166         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11167         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11168         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11169         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11170         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11171         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11173 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11175         [BZ #17084]
11176         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11177         Rename member __data.d to __data.__elision_data.
11179 2014-06-24  Wilco  <wdijkstr@arm.com>
11181         * NEWS: Add 16918 to fixed bug list.
11183 2014-06-24  Wilco  <wdijkstr@arm.com>
11185         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11187 2014-06-24  Wilco  <wdijkstr@arm.com>
11189         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11190         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11191         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11192         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11193         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11194         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11195         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11196         Use _FPU_MASK_RM.
11198 2014-06-24  Wilco  <wdijkstr@arm.com>
11200         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11202 2014-06-24  Wilco  <wdijkstr@arm.com>
11204         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11205         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11206         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11207         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11209 2014-06-24  Wilco  <wdijkstr@arm.com>
11211         [BZ #16918]
11212         * sysdeps/arm/feupdateenv.c (feupdateenv):
11213         Rewrite to reduce FPSCR accesses and fix return value.
11215 2014-06-24  Wilco  <wdijkstr@arm.com>
11217         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11218         Optimize to avoid unnecessary FPSCR writes.
11219         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11220         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11221         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11222         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11224 2014-06-24  Wilco  <wdijkstr@arm.com>
11226         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11227         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11228         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11229         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11230         Call libc_fetestexcept_vfp.
11231         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11232         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11233         __SOFTFP__ ifdef so that they can be built for softfp.
11235 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11237         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11238         argument type signed char.
11240         * Makerules (check-abi): Dump diff of symlist if the test
11241         fails.
11243 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11245         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11246         using abort.
11248         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11249         Remove unused variable ST.
11251 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11253         [BZ #16354]
11254         [BZ #17061]
11255         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11256         small arguments before calling __expm1.
11257         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11258         small arguments before calling __expm1f.
11259         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11260         small arguments before calling __expm1l.
11261         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11262         Likewise.
11263         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11264         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11265         spurious underflow for some cosh tests.
11266         * math/auto-libm-test-out: Regenerated.
11267         * sysdeps/i386/fpu/libm-test-ulps: Update.
11269         [BZ #17050]
11270         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11271         (__ieee754_y1): Set errno if return value overflows.
11272         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11273         (__ieee754_y1f): Set errno if return value overflows.
11274         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11275         (__ieee754_y1l): Set errno if return value overflows.
11276         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11277         (__ieee754_y1l): Set errno if return value overflows.
11278         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11279         * math/auto-libm-test-out: Regenerated.
11281         * math/gen-auto-libm-tests.c: Document use of
11282         ignore-zero-inf-sign.
11283         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11284         (input_flags): Add ignore-zero-inf-sign.
11285         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11286         * math/gen-libm-test.pl (generate_testfile): Handle
11287         ignore-zero-inf-sign.
11288         * math/auto-libm-test-in: Mark some cpow tests with
11289         ignore-zero-inf-sign and some with xfail-rounding.
11290         * math/auto-libm-test-out: Regenerated.
11291         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11292         * sysdeps/i386/fpu/libm-test-ulps: Update.
11293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11295         [BZ #16315]
11296         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11297         overflowing or underflowing operations take place with sign of
11298         result.
11299         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11300         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11301         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11302         (__ieee754_pow): Recompute overflowing and underflowing results in
11303         original rounding mode.
11304         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11305         (__powl_helper): Allow negative argument X and scale negated value
11306         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11307         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11308         overflowing or underflowing operations take place with sign of
11309         result.
11310         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11311         Include <math.h>.
11312         * math/auto-libm-test-in: Add more tests of pow.
11313         * math/auto-libm-test-out: Regenerated.
11314         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11315         (pow_tonearest_test_data): Remove.
11316         (pow_test_tonearest): Likewise.
11317         (pow_towardzero_test_data): Likewise.
11318         (pow_test_towardzero): Likewise.
11319         (pow_downward_test_data): Likewise.
11320         (pow_test_downward): Likewise.
11321         (pow_upward_test_data): Likewise.
11322         (pow_test_upward): Likewise.
11323         (main): Don't call removed functions.
11324         * sysdeps/i386/fpu/libm-test-ulps: Update.
11325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11327 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11330         Moved ...
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11333         Moved ...
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11336         Moved ...
11337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11339         Moved ...
11340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11342         File removed.
11343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11344         File removed.
11345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11346         File removed.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11348         File removed.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11350         File removed.
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11352         File removed.
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11354         File removed.
11355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11356         File removed.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11358         File removed.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11360         File removed.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11362         File removed.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11364         File removed.
11365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11366         Moved ...
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11369         Moved ...
11370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11371         ... here.
11372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11373         Moved ...
11374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11376         Moved ...
11377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11379         Moved ...
11380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11382         Moved ...
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11385         Moved ...
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11388         Moved ...
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11391         Moved ...
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11395         ... here.
11396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11397         Moved ...
11398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11400         Moved ...
11401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11402         ... here.
11403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11404         Moved ...
11405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11406         ... here.
11407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11408         Moved ...
11409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11410         ... here.
11411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11412         Moved ...
11413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11415         Moved ...
11416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11420         Moved ...
11421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11422         ... here.
11423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11424         Moved ...
11425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11426         ... here.
11427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11428         Moved ...
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11431         Moved ...
11432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11434         Moved ...
11435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11437         Moved ...
11438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11440         Moved ...
11441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11442         ... here.
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11444         Moved ...
11445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11447         Moved ...
11448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11450         Moved ...
11451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11453         Moved ...
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11458         Moved ...
11459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11461         Moved ...
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11464         Moved ...
11465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11466         ... here.
11467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11468         Moved ...
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11470         ... here.
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11472         Moved ...
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11474         ... here.
11475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11476         Moved ...
11477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11479         Moved ...
11480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11482         Moved ...
11483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11485         Moved ...
11486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11487         ... here.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11489         Moved ...
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11491         ... here.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11493         Moved ...
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11495         ... here.
11496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11497         Moved ...
11498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11500         Moved ...
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11503 2014-06-23  Will Newton  <will.newton@linaro.org>
11504             Wilco  <wdijkstr@arm.com>
11506         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11507         implementation.  Include get-rounding-mode.h.
11508         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11509         [!libc_feholdsetround_noex_ctx]: Define
11510         libc_feholdsetround_noex_ctx.
11511         [!libc_feholdsetround_noexf_ctx]: Define
11512         libc_feholdsetround_noexf_ctx.
11513         [!libc_feholdsetround_noexl_ctx]: Define
11514         libc_feholdsetround_noexl_ctx.
11515         (libc_feholdsetround_ctx): New function.
11516         (libc_feresetround_ctx): New function.
11517         (libc_feholdsetround_noex_ctx): New function.
11518         (libc_feresetround_noex_ctx): New function.
11520 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11522         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11523         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11524         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11525         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11526         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11527         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11529         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11530         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11531         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11532         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11533         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11534         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11536         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11538         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11540         Moved ...
11541         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11542         ... here.
11543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11544         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11545         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11546         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11548         Moved ...
11549         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11551         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11553         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11555         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11557         Moved ...
11558         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11560         Moved ...
11561         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11563         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11565         Moved ...
11566         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11568         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11569         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11570         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11571         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11572         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11574         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11576         Moved ...
11577         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11578         ... here.
11579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11580         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11582         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11584         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11585         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11586         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11587         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11588         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11589         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11590         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11592         Moved ...
11593         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11595         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11597         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11599         Moved ...
11600         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11602         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11603         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11604         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11606         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11607         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11608         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11609         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11610         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11611         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11612         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11613         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11614         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11615         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11616         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11617         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11618         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11619         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11620         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11621         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11622         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11623         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11624         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11625         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11626         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11627         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11628         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11629         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11630         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11631         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11632         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11633         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11635 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11637         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11638         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11639         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11640         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11641         (IPV6_PMTUDISC_INTERFACE): Likewise.
11642         (IPV6_PMTUDISC_OMIT): Likewise.
11644 2014-06-23  Andreas Schwab  <schwab@suse.de>
11646         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11647         Remove unused errout label.
11649 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11651         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11652         macro: hardware supports Vector Crypto instructions.
11654 2014-06-23  Will Newton  <will.newton@linaro.org>
11656         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11657         rather than __builtin_expect.
11659         * elf/dl-lookup.c (undefined_msg): Remove variable.
11660         (_dl_lookup_symbol_x): Replace undefined_msg with string
11661         literal.
11663         * elf/dl-lookup.c (do_lookup_unique): New function.
11664         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11665         to a separate function.
11667 2014-06-23  Andreas Schwab  <schwab@suse.de>
11669         [BZ #17079]
11670         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11671         before reading the next line.
11673 2014-06-23  Will Newton  <will.newton@linaro.org>
11675         * test-skeleton.c (signal_handler): Use printf and %m
11676         rather than perror.  Use printf rather than fprintf to
11677         stderr.  Use puts rather than fputs to stderr.
11678         (main): Likewise.
11680 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11682         * nscd/nscd.c (thread_info_t): Remove typedef.
11683         (thread_info): Remove variable.
11685 2014-06-21  Allan McRae  <allan@archlinux.org>
11687         * NEWS: Mention CVE-2014-4043.
11689 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11691         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11692         * nptl/smp.h: ... here.
11694         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11696         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11697         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11698         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11699         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11701         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11702         * nptl/stack-aliasing.h: New file.
11703         * sysdeps/i386/i686/stack-aliasing.h: New file.
11704         * sysdeps/i386/i686/nptl/Makefile: File removed.
11705         * sysdeps/x86_64/stack-aliasing.h: New file.
11706         * sysdeps/x86_64/nptl/Makefile
11707         (CFLAGS-pthread_create.c): Variable removed.
11709         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11710         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11711         old file.
11712         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11713         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11714         old file.
11716 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11718         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11719         (__ASSUME_SIGFRAME_V2): Remove macro.
11720         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11721         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11722         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11723         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11724         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11725         Declare as function.  Remove conditional macro definitions.
11726         (__default_rt_sa_restorer): Likewise.
11727         (__default_sa_restorer_v1): Remove declaration.
11728         (__default_sa_restorer_v2): Likewise.
11729         (__default_rt_sa_restorer_v1): Likewise.
11730         (__default_rt_sa_restorer_v2): Likewise.
11731         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11732         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11733         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11735 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11737         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11738         (libpthread-routines): Add sysdep.
11739         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11740         * sysdeps/unix/sysv/linux/sparc/Versions
11741         (libpthread: GLIBC_2.3.3): New version set.
11742         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11743         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11744         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11745         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11746         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11747         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11748         Moved ...
11749         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11750         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11751         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11752         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11753         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11754         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11755         * sysdeps/sparc/nptl/sem_init.c: ... here.
11756         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11757         * sysdeps/sparc/nptl/sem_post.c: ... here.
11758         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11759         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11760         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11761         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11762         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11764         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11765         (libpthread-routines): Add cpu_relax.
11766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11767         File removed.
11768         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11769         (librt: GLIBC_2.3.3): New version set.
11770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11771         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11772         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11773         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11776         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11778         Moved ...
11779         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11781         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11783         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11785         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11787         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11789         Moved ...
11790         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11791         Update #include.
11792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11793         Moved ...
11794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11795         Update #include.
11796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11797         Moved ...
11798         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11799         Update #include.
11800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11801         Moved ...
11802         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11803         Update #include.
11804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11805         Moved ...
11806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11807         Update #include.
11808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11809         Moved ...
11810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11811         Update #include.
11812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11813         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11819         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11821         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11823         Moved ...
11824         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11826         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11828         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11830 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11832         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11833         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11834         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11835         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11836         * nscd/nscd.c: Likewise.
11837         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11838         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11839         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11840         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11842         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11843         <kernel-features.h>.
11844         (init_mq_netlink): Remove conditional have_sock_cloexec
11845         definitions.  Remove code conditional on have_sock_cloexec < 0.
11846         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11847         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11848         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11849         <kernel-features.h>.
11850         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11851         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11853 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11856         Add tests for memset_chk and memset.
11858         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11859         with AVX2_Usable.
11861 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11863         [BZ #16046]
11864         * elf/tst-dl-iter-static.c: New file.
11865         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11867         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11868         error.
11870 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11872         * sysdeps/unix/sysv/linux/kernel-features.h
11873         (__ASSUME_F_GETOWN_EX): Remove macro.
11874         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11875         <kernel-features.h>.
11876         (miss_F_GETOWN_EX): Remove variable or macro.
11877         (do_fcntl): Do not check miss_F_GETOWN_EX.
11878         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11880         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11881         Remove macro.
11882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11883         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11884         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11886         * sysdeps/unix/sysv/linux/kernel-features.h
11887         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11888         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11889         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11890         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11892 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11894         [BZ #17075]
11895         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11896         Fix calculation of the symbol's value.
11897         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11898         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11899         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11900         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11901         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11902         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11903         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11904         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11905         (modules-names): Add `tst-armtlsdescmod',
11906         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11907         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11908         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11909         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11910         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11911         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11912         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11913         ($(objpfx)tst-armtlsdescloc): New dependency.
11914         ($(objpfx)tst-armtlsdescextnow): Likewise.
11915         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11916         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11917         TLS scheme support.
11918         * sysdeps/arm/configure: Regenerate.
11920 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11922         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11923         (__atfct_seterrno_2): Likewise.
11924         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11925         <kernel-features.h>.
11926         (__ASSUME_ATFCTS): Do not undefine and redefine.
11927         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11928         (__have_atfcts): Remove conditional definition.
11929         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11930         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11931         unreachable if [__ASSUME_ATFCTS].
11932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11933         not undefine and redefine.
11934         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11935         <kernel-features.h>.
11936         (faccessat) [__NR_faccessat]: Make code unconditional.
11937         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11938         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11939         <kernel-features.h>.
11940         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11941         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11942         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11943         <kernel-features.h>.
11944         (fchownat) [__NR_fchownat]: Make code unconditional.
11945         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11946         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11947         <kernel-features.h>.
11948         (futimesat) [__NR_futimesat]: Make code unconditional.
11949         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11950         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11951         <kernel-features.h>.
11952         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11953         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11954         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11955         <kernel-features.h>.
11956         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11957         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11958         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11959         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11960         <kernel-features.h>.
11961         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11963         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11964         <kernel-features.h>.
11965         (linkat) [__NR_linkat]: Make code unconditional.
11966         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11967         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11968         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11969         <kernel-features.h>.
11970         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11971         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11972         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11973         <kernel-features.h>.
11974         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11975         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11976         * sysdeps/unix/sysv/linux/openat.c: Do not include
11977         <kernel-features.h>.
11978         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11979         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11980         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11981         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11982         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11983         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11984         <kernel-features.h>.
11985         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11986         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11987         result of INLINE_SYSCALL directly, not via int variable.
11988         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11989         <kernel-features.h>.
11990         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11991         (renameat) [__NR_renameat]: Make code unconditional.
11992         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11993         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11994         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11995         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11996         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11997         (__ASSUME_ATFCTS): Do not undefine and redefine.
11998         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11999         <kernel-features.h>.
12000         (symlinkat) [__NR_symlinkat]: Make code unconditional.
12001         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12002         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12003         <kernel-features.h>.
12004         (unlinkat) [__NR_unlinkat]: Make code unconditional.
12005         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12006         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12007         (__ASSUME_ATFCTS): Do not undefine and redefine.
12008         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12009         <kernel-features.h>.
12010         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12011         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12012         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12013         <kernel-features.h>.
12014         (__xmknodat) [__NR_mknodat]: Make code unconditional.
12015         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12017 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12019         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12021 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
12023         [BZ #17069]
12024         * posix/regcomp.c (parse_reg_exp): Deallocate partially
12025         constructed tree before returning error.
12026         * posix/bug-regexp36.c: Expand test case.
12028 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12030         [BZ #6803]
12031         * math/libm-test.inc (scalbln_test_date):
12032         Add errno expectations.
12033         * math/w_scalblnf.c: New File.
12034         Add wrapper which checks for setting errno to ERANGE.
12035         Add weak_alias for corresponding scalbln function.
12036         * math/w_scalbln.c: Likewise.
12037         * math/w_scalblnl.c: Likewise.
12038         * math/Makefile (libm-calls): Add w_scalbln.
12039         * sysdeps/ieee754/flt-32/s_scalblnf.c:
12040         Remove weak_alias for corresponding scalbln function.
12041         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12042         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12043         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12044         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12045         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12046         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12047         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12048         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12049         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12050         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12051         Remove long_double_symbol for scalblnl function in libm, libc.
12052         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12053         Add wrapper which checks for setting errno to ERANGE.
12054         Add long_double_symbol for scalblnl function in libm, libc.
12055         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12056         Remove long_double_symbol for scalblnl in libm.
12057         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12058         Add wrapper which checks for setting errno to ERANGE.
12059         Add long_double_symbol for scalblnl function in libm.
12060         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12061         Do not use wrapper because of own implementation.
12063 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
12065         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12066         3 bytes for __pad1 for x32.
12067         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12069 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
12070             H.J. Lu  <hongjiu.lu@intel.com>
12072         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12073         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12074         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12075         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12076         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12078 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
12080         [BZ #17069]
12081         * posix/regcomp.c (parse_expression): Deallocate partially
12082         constructed tree before returning error.
12083         * posix/Makefile.c (tests): Add bug-regex36.
12084         (generated): Add bug-regex36.mtrace.
12085         (tests-special): Add $(objpfx)bug-regex36-mem.out
12086         (bug-regex36-ENV): New variable.
12087         ($(objpfx)bug-regex36-mem.out): New rule.
12088         * posix/bug-regex36.c: New file.
12090 2014-06-19  Will Newton  <will.newton@linaro.org>
12092         * malloc/malloc.c (systrim): If extra is zero then return
12093         early.
12095 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12097         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12099 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12101         * sysdeps/aarch64/strchr.S: New file.
12103 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12105         [BZ #17022]
12106         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12107         from arguments -2 or below.
12108         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12109         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12111 2014-06-18  Andreas Schwab  <schwab@suse.de>
12113         [BZ #17062]
12114         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12115         of a bracket expr not to run off the end of the string.
12116         * posix/Makefile (tests): Add tst-fnmatch3.
12117         * posix/tst-fnmatch3.c: New file.
12119 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12121         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12122         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12123         [$(cross-compiling) = no]: Likewise.
12124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12125         [$(cross-compiling) = no]: Likewise.
12127 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12129         [BZ #17031]
12130         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12131         double, adjusted for any remainder from the high double.
12132         * math/libm-test.inc (nearbyint): Add tests.
12133         (rint): Likewise.
12135 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12137         * nptl/sysdeps/powerpc/Makefile: Moved ...
12138         * sysdeps/powerpc/nptl/Makefile: ... here.
12139         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12140         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12141         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12142         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12143         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12144         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12145         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12146         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12147         * nptl/sysdeps/powerpc/tls.h: Moved ...
12148         * sysdeps/powerpc/nptl/tls.h: ... here.
12150 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
12152         [BZ #16681]
12153         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12154         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12155         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12156         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12157         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12158         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12159         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12160         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12161         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12163 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
12165         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12167 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
12169         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12170         defined operator.
12172         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12173         $TIMEOUTFACTOR.
12175 2014-06-16  Florian Weimer  <fweimer@redhat.com>
12177         [BZ #17058]
12178         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12179         non-executed part of the test.
12181 2014-06-16  Andreas Schwab  <schwab@suse.de>
12183         * string/bits/string2.h (strdup, strndup): Update feature guard.
12185 2014-06-14  David S. Miller  <davem@davemloft.net>
12187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12189 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12191         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12192         that was previously under [RESET_PID].
12193         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12195         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12196         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12197         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12198         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12199         (__libc_vfork): New strong alias.
12200         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12202 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12204         * sysdeps/generic/elide.h: New file.
12206 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12208         * Makefile (installed-headers): Adjust path of pthread.h header.
12210 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12212         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12213         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12214         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12215         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12217         * nptl/sysdeps/s390/Makefile: Moved ...
12218         * sysdeps/s390/nptl/Makefile: ... here.
12219         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12220         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12221         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12222         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12223         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12224         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12225         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12226         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12227         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12228         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12229         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12230         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12231         * nptl/sysdeps/s390/tls.h: Moved ...
12232         * sysdeps/s390/nptl/tls.h: ... here.
12234         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12235         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12237 2014-06-13  David S. Miller  <davem@davemloft.net>
12239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12242         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12246         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12247         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12248         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12249         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12250         Remove RESET_PID cpp guards.
12251         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12252         Remove RESET_PID cpp guards.
12253         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12255 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12257         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12258         __sp to uintptr_t.
12260 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12264         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12267         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12268         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12269         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12271         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12272         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12273         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12274         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12276         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12278         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12283         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12284         (pthread_rwlock_rdlock): Add elision.
12285         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12286         (pthread_rwlock_wrlock): Add elision.
12287         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12288         (pthread_rwlock_trywrlock): Add elision.
12289         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12290         (pthread_rwlock_tryrdlock): Add elision.
12291         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12292         (pthread_rwlock_tryrdlock): Add elision unlock.
12293         * nptl/sysdeps/pthread/pthread.h:
12294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12295         (PTHREAD_RWLOCK_INITIALIZER,
12296         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12297         Handle new elision field.
12298         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12299         * sysdeps/arm/nptl/bits/pthreadtypes.h
12300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12301         * sysdeps/sh/nptl/bits/pthreadtypes.h
12302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12303         * sysdeps/tile/nptl/bits/pthreadtypes.h
12304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12305         * sysdeps/a/nptl/bits/pthreadtypes.h
12306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12307         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12309         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12311         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12313         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12315         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12319         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12321         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12323         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12324         (elision_init): Set try_xbegin to zero when no RTM.
12325         * sysdeps/x86/nptl/bits/pthreadtypes.h
12326         (pthread_rwlock_t): Change __pad1 to __rwelision.
12327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12329 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12331         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12332         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12333         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12334         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12336 2014-06-13  Meador Inge  <meadori@codesourcery.com>
12338         [BZ #16996]
12339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12340         that the cached result has been set before returning it.
12342 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12344         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12345         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12346         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12347         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12348         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12349         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12351         * nptl/sysdeps/sparc/Makefile: Moved ...
12352         * sysdeps/sparc/nptl/Makefile: ... here.
12353         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12354         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12355         * nptl/sysdeps/sparc/tls.h: Moved ...
12356         * sysdeps/sparc/nptl/tls.h: ... here.
12357         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12358         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12359         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12360         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12361         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12362         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12363         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12364         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12365         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12366         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12367         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12368         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12369         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12370         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12371         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12372         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12373         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12375         Update #include.
12376         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12378         Update #include.
12379         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12380         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12381         Update #include.
12382         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12384         Update #include.
12386         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12388         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12389         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12391         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12392         (struct list_links): Type removed.
12393         (struct thread_node, struct timer_node): Replace struct list_links
12394         with struct list_head.
12395         (list_unlink_ip): Likewise.
12396         * sysdeps/pthread/timer_routines.c
12397         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12398         (list_append, list_insbefore): Likewise.
12399         (list_init): Function removed.
12400         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12401         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12402         * sysdeps/pthread/Makefile: ... here, new file.
12404         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12405         * sysdeps/nptl/Implies: ... here.
12406         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12407         * nptl/sysdeps/pthread/list.h: Moved ...
12408         * include/list.h: ... here.
12409         * nptl/sysdeps/pthread/createthread.c: Moved ...
12410         * nptl/createthread.c: ... here.
12411         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12412         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12413         * nptl/pt-longjmp.c: ... here.
12414         * nptl/sysdeps/pthread/Makefile: Moved ...
12415         * sysdeps/nptl/Makefile: ... here.
12416         * nptl/sysdeps/pthread/Subdirs: Moved ...
12417         * sysdeps/nptl/Subdirs: ... here.
12418         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12419         * sysdeps/nptl/aio_misc.h: ... here.
12420         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12421         * sysdeps/nptl/bits/libc-lock.h: ... here.
12422         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12423         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12424         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12425         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12426         * nptl/sysdeps/pthread/configure: Moved ...
12427         * sysdeps/nptl/configure: ... here.
12428         * nptl/sysdeps/pthread/configure.ac: Moved ...
12429         * sysdeps/nptl/configure.ac: ... here.
12430         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12431         * sysdeps/nptl/gai_misc.h: ... here.
12432         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12433         * sysdeps/nptl/librt-cancellation.c: ... here.
12434         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12435         * sysdeps/nptl/malloc-machine.h: ... here.
12436         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12437         * sysdeps/nptl/pthread-functions.h: ... here.
12438         * nptl/sysdeps/pthread/pthread.h: Moved ...
12439         * sysdeps/nptl/pthread.h: ... here.
12440         * nptl/sysdeps/pthread/setxid.h: Moved ...
12441         * sysdeps/nptl/setxid.h: ... here.
12442         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12443         * sysdeps/nptl/sigfillset.c: ... here.
12444         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12445         * sysdeps/nptl/tcb-offsets.h: ... here.
12446         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12447         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12448         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12449         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12450         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12451         * sysdeps/pthread/allocalim.h: ... here.
12452         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12453         * sysdeps/pthread/bits/sigthread.h: ... here.
12454         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12455         * sysdeps/pthread/flockfile.c: ... here.
12456         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12457         * sysdeps/pthread/ftrylockfile.c: ... here.
12458         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12459         * sysdeps/pthread/funlockfile.c: ... here.
12460         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12461         * sysdeps/pthread/posix-timer.h: ... here.
12462         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12463         * sysdeps/pthread/timer_create.c: ... here.
12464         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12465         * sysdeps/pthread/timer_delete.c: ... here.
12466         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12467         * sysdeps/pthread/timer_getoverr.c: ... here.
12468         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12469         * sysdeps/pthread/timer_gettime.c: ... here.
12470         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12471         * sysdeps/pthread/timer_routines.c: ... here.
12472         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12473         * sysdeps/pthread/timer_settime.c: ... here.
12474         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12475         * sysdeps/pthread/tst-timer.c: ... here.
12476         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12477         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12479         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12480         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12482         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12483         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12484         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12485         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12486         Update #include target.
12487         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12488         * sysdeps/i386/i686/nptl/Makefile: ... here.
12489         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12490         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12491         Update #include target.
12492         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12493         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12494         * nptl/sysdeps/i386/Makefile: Moved ...
12495         * sysdeps/i386/nptl/Makefile: ... here.
12496         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12497         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12498         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12499         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12500         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12501         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12502         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12503         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12504         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12505         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12506         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12507         * nptl/sysdeps/i386/tls.h: Moved ...
12508         * sysdeps/i386/nptl/tls.h: ... here.
12510         * sysdeps/sh/Makefile [$(subdir) = csu]
12511         (gen-as-const-headers): Add tcb-offsets.sym.
12512         * nptl/sysdeps/sh/Makefile: File removed.
12513         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12514         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12515         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12516         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12517         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12518         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12519         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12520         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12521         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12522         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12523         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12524         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12525         * nptl/sysdeps/sh/tls.h: Moved ...
12526         * sysdeps/sh/nptl/tls.h: ... here.
12527         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12528         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12529         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12530         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12531         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12532         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12533         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12534         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12535         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12536         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12538         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12540         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12542         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12543         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12544         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12545         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12546         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12548         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12549         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12551         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12552         Moved ...
12553         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12555         Moved ...
12556         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12558         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12560         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12561         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12562         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12563         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12564         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12565         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12566         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12567         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12568         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12569         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12570         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12571         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12572         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12573         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12574         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12576 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12578         * posix/spawn_faction_addopen.c: Include string.h.
12580 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12582         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12583         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12584         * nptl/sysdeps/x86_64/Makefile: Moved ...
12585         * sysdeps/x86_64/nptl/Makefile: ... here.
12586         * nptl/sysdeps/x86_64/configure: Moved ...
12587         * sysdeps/x86_64/nptl/configure: ... here.
12588         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12589         * sysdeps/x86_64/nptl/configure.ac: ... here.
12590         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12591         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12592         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12593         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12594         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12595         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12596         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12597         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12598         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12599         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12600         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12601         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12602         * nptl/sysdeps/x86_64/tls.h: Moved ...
12603         * sysdeps/x86_64/nptl/tls.h: ... here.
12604         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12605         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12606         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12607         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12609         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12611 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12615 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12617         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12618         type.
12619         [POSIX] (off_t): Likewise.
12620         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12621         [POSIX] (S_ISBLK): Require macro.
12622         [POSIX] (S_ISCHR): Likewise.
12623         [POSIX] (S_ISDIR): Likewise.
12624         [POSIX] (S_ISFIFO): Likewise.
12625         [POSIX] (S_ISREG): Likewise.
12626         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12627         optional-macro.
12628         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12629         type.
12630         [POSIX] (time_t): Likewise.
12631         [POSIX] (timer_t): Likewise.
12633 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12635         [BZ #17048]
12636         * posix/spawn_int.h (struct __spawn_action): Make the path string
12637         non-const to support deallocation.
12638         * posix/spawn_faction_addopen.c
12639         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12640         * posix/spawn_faction_destroy.c
12641         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12642         path in all spawn_do_open actions.
12643         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12644         posix_spawn_file_actions_addopen.
12646 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12648         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12649         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12650         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12651         conditional code always true.
12652         (__libc_vfork): New alias.
12654 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12656         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12657         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12659         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12661         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12662         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12664         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12665         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12667         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12668         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12670 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12672         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12673         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12674         multiarch strcmp for PPC64.
12675         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12676         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12678         multiarch optimizations.
12679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12680         (__libc_ifunc_impl_list): Likewise.
12682 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12684         * benchtests/scripts/validate_benchout.py: New script.
12685         * benchtests/Makefile (bench-func): Call it.
12686         * benchtests/scripts/benchout.schema.json: New file.
12688 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12690         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12691         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12692         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12693         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12694         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12695         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12696         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12697         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12698         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12699         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12700         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12701         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12702         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12703         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12704         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12705         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12707         Moved ...
12708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12709         ... here.
12710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12711         Moved ...
12712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12714         Moved ...
12715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12716         ... here.
12717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12718         Moved ...
12719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12720         ... here.
12721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12722         Moved ...
12723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12725         Moved ...
12726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12727         ... here.
12728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12729         Moved ...
12730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12731         ... here.
12732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12733         Moved ...
12734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12736         Moved ...
12737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12738         ... here.
12739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12740         Moved ...
12741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12742         ... here.
12743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12744         Moved ...
12745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12746         ... here.
12747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12748         Moved ...
12749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12751         Moved ...
12752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12753         ... here.
12754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12755         Moved ...
12756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12757         ... here.
12758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12759         Moved ...
12760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12761         ... here.
12762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12763         Moved ...
12764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12766         Moved ...
12767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12768         ... here.
12769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12770         Moved ...
12771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12772         ... here.
12773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12774         Moved ...
12775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12777         Moved ...
12778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12779         ... here.
12780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12781         Moved ...
12782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12784         Moved ...
12785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12787         Moved ...
12788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12789         ... here.
12790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12791         Moved ...
12792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12793         ... here.
12794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12795         Moved ...
12796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12797         ... here.
12798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12799         Moved ...
12800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12802         Moved ...
12803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12804         ... here.
12805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12806         Moved ...
12807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12808         ... here.
12809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12810         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12812         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12814         Moved ...
12815         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12816         ... here.
12817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12818         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12820         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12821         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12822         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12823         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12824         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12828         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12830         Moved ...
12831         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12833         Moved ...
12834         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12836         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12838         Moved ...
12839         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12841         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12842         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12843         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12844         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12845         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12847 2014-06-10  Wilco  <wdijkstr@arm.com>
12849         * math/test-fenv-return.c: New file.
12850         * math/Makefile: Add new test test-fenv-return.
12852 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12854         [BZ #17042]
12855         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12856         when x - 1 is zero.
12857         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12858         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12859         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12860         0.0L for an argument of 1.0L.
12861         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12862         Likewise.
12863         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12864         value when x - 1 is zero.
12865         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12866         * sysdeps/i386/fpu/libm-test-ulps: Update.
12867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12869 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12871         [BZ #15119]
12872         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12874 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12876         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12877         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12879 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12881         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12882         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12884         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12885         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12887         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12888         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12890         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12891         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12893         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12894         if not already defined.
12895         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12896         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12897         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12898         (TLS_INIT_TP): Use it.
12899         (TLS_DEFINE_INIT_TP): New macro.
12900         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12902 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12904         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12905         constant.
12906         [POSIX] (IXANY): Likewise.
12907         [POSIX] (OLCUC): Likewise.
12908         [POSIX || POSIX2008] (CBAUD): Do not allow.
12909         [POSIX || POSIX2008] (DEFECHO): Likewise.
12910         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12911         [POSIX || POSIX2008] (ECHOKE): Likewise.
12912         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12913         [POSIX || POSIX2008] (EXTA): Likewise.
12914         [POSIX || POSIX2008] (EXTB): Likewise.
12915         [POSIX || POSIX2008] (FLUSHO): Likewise.
12916         [POSIX || POSIX2008] (LOBLK): Likewise.
12917         [POSIX || POSIX2008] (PENDIN): Likewise.
12918         [POSIX || POSIX2008] (SWTCH): Likewise.
12919         [POSIX || POSIX2008] (VDISCARD): Likewise.
12920         [POSIX || POSIX2008] (VDSUSP): Likewise.
12921         [POSIX || POSIX2008] (VLNEXT): Likewise.
12922         [POSIX || POSIX2008] (VREPRINT): Likewise.
12923         [POSIX || POSIX2008] (VSTATUS): Likewise.
12924         [POSIX || POSIX2008] (VWERASE): Likewise.
12925         (B*): Change to B[0123456789]*.
12926         * conform/data/time.h-data [POSIX || UNIX98]
12927         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12928         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12929         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12930         [POSIX] (tm_*): Do not allow.
12932 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12934         * Makefile (install): Don't set LANGUAGE.
12935         * Makefile.in (install): Likewise.
12936         * assert/Makefile (test-assert-ENV): Remove variable.
12937         (test-assert-perr-ENV): Likewise.
12938         * elf/Makefile (neededtest4-ENV): Likewise.
12939         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12940         [$(cross-compiling) = no]: Don't set LANGUAGE.
12941         * io/ftwtest-sh (LANG): Remove variable.
12942         * libio/Makefile (tst-widetext-ENV): Likewise.
12943         * manual/install.texi (Running make install): Don't refer to
12944         environment settings for make install.
12945         * INSTALL: Regenerated.
12946         * nptl/tst-tls6.sh: Don't set LANG.
12947         * posix/globtest.sh (LANG): Remove variable.
12948         * string/Makefile (tester-ENV): Likewise.
12949         (inl-tester-ENV): Likewise.
12950         (noinl-tester-ENV): Likewise.
12951         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12952         [$(cross-compiling) = no]: Don't set LANGUAGE.
12953         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12954         without explicit environment settings.
12956 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12958         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12959         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12960         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12961         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12963 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12965         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12966         other files in the crypt directory.
12967         * crypt/crypt.c: Remove duplicate includes.
12968         * crypt/crypt-entry.c: Likewise.
12969         * crypt/crypt_util.c: Likewise.
12971 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12973         * Makeconfig (run-program-env): New variable.
12974         (run-program-prefix-before-env): Likewise.
12975         (run-program-prefix-after-env): Likewise.
12976         (run-program-prefix): Define in terms of new variables.
12977         (built-program-cmd-before-env): New variable.
12978         (built-program-cmd-after-env): Likewise.
12979         (built-program-cmd): Define in terms of new variables.
12980         (test-program-prefix-before-env): New variable.
12981         (test-program-prefix-after-env): Likewise.
12982         (test-program-prefix): Define in terms of new variables.
12983         (test-program-cmd-before-env): New variable.
12984         (test-program-cmd-after-env): Likewise.
12985         (test-program-cmd): Define in terms of new variables.
12986         * Rules (make-test-out): Use $(run-program-env).
12987         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12988         (help): Do not mention environment variables.  Mention
12989         --timeoutfactor option.
12990         (timeoutfactor): New variable.
12991         (blacklist_exports): Remove function.
12992         (exports): Remove variable.
12993         (command): Do not include ${exports}.
12994         * manual/install.texi (Configuring and compiling): Do not mention
12995         test wrappers preserving environment variables.  Mention that last
12996         assignment to a variable must take precedence.
12997         * INSTALL: Regenerated.
12998         * benchtests/Makefile (run-bench): Use $(run-program-env).
12999         * catgets/Makefile ($(objpfx)test1.cat): Use
13000         $(built-program-cmd-before-env), $(run-program-env) and
13001         $(built-program-cmd-after-env).
13002         ($(objpfx)test2.cat): Do not specify environment variables
13003         explicitly.
13004         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13005         $(run-program-env) and $(built-program-cmd-after-env).
13006         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13007         $(run-program-env) and $(test-program-cmd-after-env).
13008         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13009         explicitly.
13010         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13011         run_program_env and test_program_cmd_after_env arguments.
13012         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13013         * elf/tst-pathopt.sh: Use run_program_env argument.
13014         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13015         $(test-wrapper-env) and $(run-program-env).
13016         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13017         run_program_env arguments.
13018         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13019         * intl/Makefile ($(objpfx)tst-gettext.out): Use
13020         $(test-program-prefix-before-env), $(run-program-env) and
13021         $(test-program-prefix-after-env).
13022         ($(objpfx)tst-gettext2.out): Likewise.
13023         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13024         run_program_env and test_program_prefix_after_env arguments.
13025         * intl/tst-gettext2.sh: Likewise.
13026         * intl/tst-gettext4.sh: Do not set environment variables
13027         explicitly.
13028         * intl/tst-gettext6.sh: Likewise.
13029         * intl/tst-translit.sh: Likewise.
13030         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13031         $(test-program-prefix-before-env), $(run-program-env) and
13032         $(test-program-prefix-after-env).
13033         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13034         run_program_env and test_program_prefix_after_env arguments.
13035         * math/Makefile (run-regen-ulps): Use $(run-program-env).
13036         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13037         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
13038         explicitly with each use of ${test_wrapper_env}.
13039         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13040         $(test-program-prefix-before-env), $(run-program-env) and
13041         $(test-program-prefix-after-env).
13042         * posix/tst-getconf.sh: Do not set environment variables
13043         explicitly.
13044         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13045         run_program_env and test_program_prefix_after_env arguments.
13046         * stdio-common/tst-printf.sh: Do not set environment variables
13047         explicitly.
13048         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13049         $(test-program-prefix-before-env), $(run-program-env) and
13050         $(test-program-prefix-after-env).
13051         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13052         run_program_env and test_program_prefix_after_env arguments.
13053         Split $test calls into $test_pre and $test.
13054         * timezone/Makefile (build-testdata): Use
13055         $(built-program-cmd-before-env), $(run-program-env) and
13056         $(built-program-cmd-after-env).
13058 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13060         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13061         strlen for non SHARED builds.
13063 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13065         * nptl/allocatestack.c (check_list): Inlined function...
13066         (__reclaim_stacks): ... here.
13068 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13070         [BZ #15698]
13071         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13072         memory overrun.
13074 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
13076         * Rules (make-test-out): Include
13077         LOCPATH=$(common-objpfx)localedata in default environment.
13078         * debug/Makefile (tst-chk1-ENV): Remove variable.
13079         (tst-chk2-ENV): Likewise.
13080         (tst-chk3-ENV): Likewise.
13081         (tst-chk4-ENV): Likewise.
13082         (tst-chk5-ENV): Likewise.
13083         (tst-chk6-ENV): Likewise.
13084         (tst-lfschk1-ENV): Likewise.
13085         (tst-lfschk2-ENV): Likewise.
13086         (tst-lfschk3-ENV): Likewise.
13087         (tst-lfschk4-ENV): Likewise.
13088         (tst-lfschk5-ENV): Likewise.
13089         (tst-lfschk6-ENV): Likewise.
13090         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13091         (tst-iconv7-ENV): Likewise.
13092         * intl/Makefile (LOCPATH-ENV): Likewise.
13093         (tst-codeset-ENV): Likewise.
13094         (tst-gettext3-ENV): Likewise.
13095         (tst-gettext5-ENV): Likewise.
13096         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13097         (tst-fopenloc-ENV): Likewise.
13098         (tst-fgetws-ENV): Remove variable.
13099         (tst-ungetwc1-ENV): Likewise.
13100         (tst-ungetwc2-ENV): Likewise.
13101         (bug-ungetwc2-ENV): Likewise.
13102         (tst-swscanf-ENV): Likewise.
13103         (bug-ftell-ENV): Likewise.
13104         (tst-fgetwc-ENV): Likewise.
13105         (tst-fseek-ENV): Likewise.
13106         (tst-ftell-partial-wide-ENV): Likewise.
13107         (tst-ftell-active-handler-ENV): Likewise.
13108         (tst-ftell-append-ENV): Likewise.
13109         * posix/Makefile (tst-fnmatch-ENV): Likewise.
13110         (tst-regexloc-ENV): Likewise.
13111         (bug-regex1-ENV): Likewise.
13112         (tst-regex-ENV): Likewise.
13113         (tst-regex2-ENV): Likewise.
13114         (bug-regex5-ENV): Likewise.
13115         (bug-regex6-ENV): Likewise.
13116         (bug-regex17-ENV): Likewise.
13117         (bug-regex18-ENV): Likewise.
13118         (bug-regex19-ENV): Likewise.
13119         (bug-regex20-ENV): Likewise.
13120         (bug-regex22-ENV): Likewise.
13121         (bug-regex23-ENV): Likewise.
13122         (bug-regex25-ENV): Likewise.
13123         (bug-regex26-ENV): Likewise.
13124         (bug-regex30-ENV): Likewise.
13125         (bug-regex32-ENV): Likewise.
13126         (bug-regex33-ENV): Likewise.
13127         (bug-regex34-ENV): Likewise.
13128         (bug-regex35-ENV): Likewise.
13129         (tst-rxspencer-ENV): Likewise.
13130         (tst-rxspencer-no-utf8-ENV): Likewise.
13131         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13132         (tst-sscanf-ENV): Likewise.
13133         (tst-swprintf-ENV): Likewise.
13134         (tst-swscanf-ENV): Likewise.
13135         (test-vfprintf-ENV): Likewise.
13136         (scanf13-ENV): Likewise.
13137         (bug14-ENV): Likewise.
13138         (tst-grouping-ENV): Likewise.
13139         * stdlib/Makefile (tst-strtod-ENV): Likewise.
13140         (tst-strtod3-ENV): Likewise.
13141         (tst-strtod4-ENV): Likewise.
13142         (tst-strtod5-ENV): Likewise.
13143         (testmb2-ENV): Likewise./
13144         * string/Makefile (tst-strxfrm-ENV): Likewise.
13145         (tst-strxfrm2-ENV): Likewise.
13146         (bug-strcoll1-ENV): Likewise.
13147         (test-strcasecmp-ENV): Likewise.
13148         (test-strncasecmp-ENV): Likewise.
13149         * time/Makefile (tst-strptime-ENV): Likewise.
13150         (tst-ftime_l-ENV): Likewise.
13151         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13152         (tst-mbrtowc-ENV): Likewise.
13153         (tst-wcrtomb-ENV): Likewise.
13154         (tst-mbrtowc2-ENV): Likewise.
13155         (tst-c16c32-1-ENV): Likewise.
13156         (tst-mbsnrtowcs-ENV): Likewise.
13158 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13160         * manual/resource.texi (How to get information about the memory
13161         subsystem?): Fix typo.
13162         Reported by Peon de la Parra Ivan <peon@keba.com>
13164 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
13166         [BZ #16882]
13167         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13168         (pthread_spin_lock): Branch out of spin loop to proper location.
13169         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13170         (pthread_spin_lock): Likewise.
13172         * nptl/tst-spin4.c: New test.
13173         * nptl/Makefile (tests): Add tst-spin4.
13175 2014-06-03  Andreas Schwab  <schwab@suse.de>
13177         [BZ #15946]
13178         * resolv/res_send.c (send_dg): Reload file descriptor after
13179         calling reopen.
13181 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
13183         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13185 2014-06-03  Richard Henderson  <rth@redhat.com>
13187         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13188         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13189         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13190         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
13191         in the SAVE_PID block.
13192         (__libc_vfork): New alias.
13193         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13195         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13196         child in registers, not on the stack.  Remove RESET_PID conditionals.
13197         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13199 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13201         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13203 2014-06-03  Wilco  <wdijkstr@arm.com>
13205         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13206         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13207         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13208         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13209         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13210         Likewise.
13212 2014-06-03  Wilco  <wdijkstr@arm.com>
13214         * sysdeps/aarch64/fpu/math_private.h
13215         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13216         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13217         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13218         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13219         Fix declarations.
13221 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13223         * crypt/crypt-private.h: Include ufc-crypt.h.
13224         (__b64_from_24bit): Declare extern.
13225         * crypt/crypt_util.c(__b64_from_24bit): New function.
13226         (b64t): New static const variable.
13227         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13228         (b64t): Remove variable.
13229         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13230         * crypt/sha256-crypt.c: Include crypt-private.h.
13231         (b64t): Remove variable.
13232         (__sha256_crypt_r): Remove b64_from_24bit and replace
13233         with __b64_from_24bit.
13234         * crypt/sha512-crypt.c: Likewise.
13236 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13238         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13239         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13240         Label the code __libc_vfork rather than __vfork.
13241         [!NOT_IN_libc] (vfork): Define as weak alias.
13242         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13243         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13244         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13246 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13248         * malloc/malloc.c (malloc_info): Fix format specifier for
13249         n_mmaps.
13251 2014-06-02  Wilco  <wdijkstr@arm.com>
13253         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13254         FPCR write.
13256 2014-06-02  Wilco  <wdijkstr@arm.com>
13258         [BZ #17009]
13259         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13260         Rewrite to reduce FPCR/FPSR accesses.
13262 2014-06-01  David S. Miller  <davem@davemloft.net>
13264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13266 2014-05-31  David S. Miller  <davem@davemloft.net>
13268         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13269         to occur in round to nearest mode when |x| >= 2.0
13271 2014-05-30  Richard Henderson  <rth@twiddle.net>
13273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13274         (PSEUDO_RET_NOERRNO): Remove.
13275         (ret): Don't redefine.
13276         (ret_NOERRNO): Define in terms of ret.
13277         (ret_ERRVAL): Likewise.
13279         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13280         use of PSEUDO_RET; perform the error check directly.
13282 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13284         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13285         with __int128_t.
13287 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13289         * malloc/malloc (malloc_info): Fix formatting.
13291 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13292             Roland McGrath  <roland@hack.frob.com>
13294         * malloc/malloc (malloc_info): Also print mmapped statistics.
13296 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13298         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13299         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13301 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13303         * malloc/malloc.c (malloc_info): Inline mi_arena.
13305 2014-05-29  Richard Henderson  <rth@twiddle.net>
13307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13308         Remove comma before expanding ASM_ARGS_##nr.
13309         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13310         Make _x0 a strict output; make _x8 a strict input; adjust expansion
13311         of ASM_ARGS_##nr.
13312         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13313         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13314         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13315         (ASM_ARGS_1): Add leading comma.
13317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13318         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13319         to __errno_location.
13320         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13321         Remove the expected plt for __errno_location.
13323         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13324         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13325         call to __read_tp.
13327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13328         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
13329         it and break it down.
13330         (DOCARGS_0, DOCARGS_1): Do nothing.
13331         (DOCARGS_2): Update to store into the new stack frame.
13332         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13333         (UNDOCARGS_1): Update to restore from the new stack frame.
13334         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13335         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13337         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13338         (SINGLE_THREAD_P): New parameter for result regno.
13339         (PSEUDO): Update to match; use cbz instead of beq.
13341         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13342         Use ENTRY to define the _nocancel entry point.  Share the syscall
13343         and syscall error check paths with the cancel path.
13344         (PSEUDO_END): New.
13346         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13347         whitespace; tabs before and after asm mnemonics.
13349 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13351         [BZ #15132]
13352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13353         Call fstat64 or stat64 internally, depending on arguments passed.
13354         Replace stat buffer argument with file descriptor argument.
13355         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13356         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13357         Pass fd to __internal_statvfs instead of calling fstat64.
13358         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13359         Pass fd to __internal_statvfs64 instead of calling fstat64.
13360         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13361         Pass -1 to __internal_statvfs instead of calling stat64.
13362         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13363         Pass -1 to __internal_statvfs64 instead of calling stat64.
13365 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13367         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13368         that was previously under [RESET_PID].
13369         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13371         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13372         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13374 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13376         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13378         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13379         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13381 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13383         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13385 2014-05-27  Andreas Schwab  <schwab@suse.de>
13387         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13388         TLS_INIT_TP macro.
13389         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13390         * elf/rtld.c (init_tls, dl_main): Likewise.
13391         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13392         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13393         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13394         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13395         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13396         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13397         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13398         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13399         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13400         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13401         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13402         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13403         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13404         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13405         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13406         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13407         * sysdeps/generic/tls.h: Update description.
13409 2014-05-27  Will Newton  <will.newton@linaro.org>
13411         [BZ #16990]
13412         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13413         and restore r2 rather than just restoring.
13415 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13417         [BZ #16724]
13418         * libio/tst-ftell-append.c: New test case.
13419         * libio/Makefile (tests): Add test case.
13420         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13421         append mode.
13422         * libio/wfileops.c (do_ftell_wide): Likewise.
13424 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13428         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13429         ...
13430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13432         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13433         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13434         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13435         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13436         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13439         Moved ...
13440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13442         Moved ...
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13444         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13445         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13446         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13447         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13448         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13449         ...
13450         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13451         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13452         Moved ...
13453         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13454         here.
13455         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13456         ...
13457         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13458         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13459         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13461         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13462         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13463         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13464         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13467         merge into ...
13468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13470         ...
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13473         ...
13474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13476         Moved ...
13477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13478         here.
13479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13480         Moved ...
13481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13483         Moved ...
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13487         conditional [RESET_PID].
13488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13489         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13490         removed.
13491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13492         removed.
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13495         <tcb-offsets.h>.
13496         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13497         (__libc_vfork): New strong alias.
13498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13499         removed.
13500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13501         Removed.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13504         <tcb-offsets.h>.
13505         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13506         (__libc_vfork): New strong alias.
13507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13508         removed.
13509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13510         removed.
13512 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13514         * malloc/malloc.c (mi_arena): New function.
13515         (malloc_info): Remove nested function mi_arena. Call non-nosted
13516         function mi_arena.
13518 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13520         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13521         by insrwi.
13522         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13523         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13524         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13525         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13526         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13527         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13528         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13530 2014-05-26  Andreas Schwab  <schwab@suse.de>
13532         [BZ #16984]
13533         * locale/programs/repertoire.c (repertoire_read): Add slash
13534         between I18NPATH element and file name.
13535         * locale/programs/locfile.c (locfile_read): Likewise.
13537 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13539         * nptl/pthread_mutexattr_settype.c
13540         (__pthread_mutexattr_settype):
13541         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13543 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13545         * nptl/tst-mutex5 (do_test):
13546         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13548 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13550         * benchtests/README: Document 'init' directive.
13551         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13552         BENCH_INIT.
13553         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13554         (parse_file): Recognize 'init' directive.
13556 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13558         [BZ #16796]
13559         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13560         alignment of struct pthread.
13562 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13564         [BZ #16878]
13565         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13566         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13567         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13568         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13570 2014-05-25  Richard Henderson  <rth@twiddle.net>
13572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13573         (SINGLE_THREAD_P_PIC): Remove.
13574         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13575         (SINGLE_THREAD_P_PIC): Remove.
13577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13578         branch to syscall error ...
13579         (PSEUDO): ... here.
13580         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13581         from __local_syscall_error to .Lsyscall_error.
13582         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13583         (SYSCALL_ERROR): Update label name.
13585         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13586         Do not use DOARGS/UNDOARGS.
13587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13588         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13589         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13590         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13591         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13593         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13594         block comment.
13596         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13597         define if !NOT_IN_libc.
13598         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13599         define with non-default symbol versions.
13601 2014-05-23  Richard Henderson  <rth@twiddle.net>
13603         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13604         (vfork, __vfork): Define via compat_symbol.
13606         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13607         [!HAVE_IFUNC] (vfork_compat): Remove.
13608         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13610 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13612         [BZ #16978]
13613         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13614         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13615         variable.
13617 2014-05-23  Richard Henderson  <rth@twiddle.net>
13619         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13620         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13621         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13622         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13624         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13625         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13626         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13627         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13628         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13629         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13630         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13631         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13632         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13633         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13634         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13635         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13636         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13637         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13638         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13639         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13640         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13641         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13642         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13643         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13644         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13645         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13646         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13647         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13648         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13649         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13650         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13651         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13652         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13653         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13654         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13655         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13656         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13657         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13658         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13659         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13660         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13661         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13662         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13663         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13664         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13665         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13666         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13667         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13668         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13669         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13670         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13671         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13672         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13673         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13674         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13675         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13676         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13677         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13679         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13681         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13682         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13683         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13684         before exiting on error.
13685         (__libc_vfork): New strong alias.
13686         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13687         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13689         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13690         that was previously under [RESET_PID].
13691         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13693         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13695 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13697         [BZ #16977]
13698         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13699         value when x - 1 is zero.
13700         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13701         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13702         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13703         0.0L for an argument of 1.0L.
13704         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13705         Likewise.
13706         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13707         value when x - 1 is zero.
13708         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13709         * sysdeps/i386/fpu/libm-test-ulps: Update.
13710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13712 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13714         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13715         alphasort and versionsort.
13717 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13719         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13720         macro.
13721         [copysignf]: Likewise.
13723 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13725         * crypt/md5-crypt.c: Fix formatting.
13727 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13729         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13730         (b64_from_24bit): New function.
13732 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13734         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13735         libc_hidden_builtin_def to ifunc.
13736         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13737         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13739 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13741         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13742         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13744 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13746         * nscd/Depend (linuxthreads): Remove.
13747         (nptl): Add.
13748         * resolv/Depend (linuxthreads): Remove.
13749         * rt/Depend (linuxthreads): Remove.
13751         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13752         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13753         $(common-objpfx)elf/.
13754         (link-libc-before-gnulib): Likewise.
13755         (elfobjdir): Remove variable.
13756         * Makefile (install): Use $(elf-objpfx) instead of
13757         $(common-objpfx)elf/.
13758         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13759         $(elfobjdir)/.
13760         (link-libc-deps): Likewise.
13761         ($(common-objpfx)libc.so): Likewise.
13762         ($(common-objpfx)linkobj/libc.so): Likewise.
13763         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13764         instead of $(common-objpfx)elf/.
13765         (symbolic-link-list): Likewise.
13766         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13767         [$(cross-compiling) = no]: Likewise.
13768         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13769         $(elfobjdir)/.
13770         (static-gnulib-arch): Likewise.
13771         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13772         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13773         $(common-objpfx)elf/.
13775 2014-05-21  Richard Henderson  <rth@redhat.com>
13777         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13778         (SINGLE_THREAD_P): Use the correct width load.  Fold
13779         into the ldr offset.
13781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13782         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13784 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13786         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13787         (libgcc_s_resume): Use __attribute_used__.
13788         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13789         Likewise.
13791 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13793         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13794         optimization when used with float constants.
13796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13798 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13800         [BZ #16915]
13801         * locale/nl_langinfo_l.c: Make direct reference to every
13802         _nl_current_CATEGORY symbol.
13803         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13804         (tests-static): Add tst-langinfo-static.
13805         (tests-special): Add tst-langinfo-static.out.
13806         ($(objpfx)tst-langinfo.out): Redirect output.
13807         ($(objpfx)tst-langinfo-static.out): New.
13808         * localedata/tst-langinfo.sh: Send output to stdout.
13809         * localedata/tst-langinfo-static.c: New file.
13811         [BZ #16965]
13812         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13813         when the shift amount is modulo the limb size.
13815 2014-05-20  Richard Henderson  <rth@redhat.com>
13817         [BZ #16967]
13818         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13819         Change type of sa_flags from unsigned int to int.
13821         [BZ #16966]
13822         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13824         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13826 2014-05-20  Will Newton  <will.newton@linaro.org>
13828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13829         Test the return value of the system call in the nocancel case.
13831 2014-05-20  Will Newton  <will.newton@linaro.org>
13832             Yvan Roux  <yvan.roux@linaro.org>
13834         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13835         #include of asm/ptrace.h.
13836         (PTRACE_GET_THREAD_AREA): Remove #undef.
13837         (PTRACE_GETHBPREGS): Likewise.
13838         (PTRACE_SETHBPREGS): Likewise.
13839         (struct user_regs_struct): New structure.
13840         (struct user_fpsimd_struct): New structure.
13841         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13842         #include of asm/ptrace.h and second #include of sys/user.h.
13843         (PTRACE_GET_THREAD_AREA): Remove #undef.
13844         (PTRACE_GETHBPREGS): Likewise.
13845         (PTRACE_SETHBPREGS): Likewise.
13846         (ELF_NGREG): Use new struct user_regs_struct.
13847         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13849 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13851         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13854 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13856         [BZ #16958]
13857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13858         membar to avoid block loads/stores to overlap previous stores.
13860 2014-05-17  Richard Henderson  <rth@redhat.com>
13862         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13863         Create the __##syscall_name##_nocancel entry point.
13864         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13865         Remove; let the sysdep-cancel.h code create it.
13867 2014-05-17  David S. Miller  <davem@davemloft.net>
13869         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13870         Protect with __USE_GNU.
13871         (TIOCSET_TEMPT): Likewise.
13872         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13873         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13874         these are already provided in bits/ioctl-types.h
13876 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13878         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13879         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13881         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13882         Use wait4 regardless of [__NR_waitpid].
13884 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13886         PR libgcc/60166
13887         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13888         (_FP_NANSIGN_Q): Set the quiet bit.
13890 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13892         * benchtests/Makefile
13893         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13894         not $(common-objpfx)math/libm.so.
13895         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13896         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13897         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13898         $(common-objpfx)dlfcn/libdl.so.
13899         ($(objpfx)tst-audit8): Depend on $(libm), not
13900         $(common-objpfx)math/libm.so.
13901         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13902         not $(common-objpfx)dlfcn/libdl.so.
13903         * math/Makefile
13904         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13905         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13906         [$(build-shared) = yes].
13907         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13908         $(common-objpfx)nptl/libpthread.so.
13909         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13910         $(common-objpfx)math/libm.so$(libm.so-version) or
13911         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13912         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13913         $(common-objpfx)dlfcn/libdl.so.
13914         * setjmp/Makefile (link-libm): Remove variable.
13915         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13916         * stdio-common/Makefile (link-libm): Remove variable.
13917         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13918         * stdlib/Makefile (link-libm): Remove variable.
13919         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13920         ($(objpfx)tst-strtod-round): Likewise.
13921         ($(objpfx)tst-tininess): Likewise.
13922         ($(objpfx)tst-strtod-underflow): Likewise.
13923         ($(objpfx)tst-strtod6): Likewise.
13924         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13925         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13926         $(common-objpfx)dlfcn/libdl.so.
13928 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13930         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13931         BSD terminal modes definitions.
13933 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13935         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13936         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13938         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13939         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13940         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13941         Don't do #include_next.
13942         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13943         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13944         Don't do #include_next.
13945         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13946         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13947         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13948         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13950 2014-05-16  Allan McRae  <allan@archlinux.org>
13952         * po/sv.po: Update Swedish translation from translation project.
13954         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13955         in sed expression.
13957 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13959         [BZ #16917]
13960         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13961         errno if the TIOCGPTN ioctl fails with an error different than
13962         EINVAL.
13963         * login/tst-ptsname.c: New file.
13964         * login/Makefile (tests): Add tst-ptsname.
13966         [BZ #16943]
13967         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13968         and prlimit64.
13970 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972         [BZ #16849]
13973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13974         herrno to return EAI_AGAIN.
13976 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13978         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13979         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13980         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13981         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13983         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13984         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13985         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13986         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13987         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13988         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13989         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13990         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13991         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13993         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13994         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13995         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13997         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13999         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14001         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14003         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14004         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14005         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14007         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14009         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14011         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14013         Moved ...
14014         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14016         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14018         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14020         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14022         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14024         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14026         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14028         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14030         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14032         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14034         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14036         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14038         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14040         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14042         Moved ...
14043         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14045         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14047         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14049         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14051         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14053         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14055         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14057         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14059         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14061         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14063         Moved ...
14064         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14066         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14068         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14069         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14070         (libpthread-sysdep_routines): Add elision-related stuff here instead.
14071         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14072         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14073         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14074         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14075         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14076         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14077         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14078         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14079         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14080         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14081         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14082         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14083         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14084         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14085         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14086         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14087         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14088         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14089         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14090         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14091         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14092         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14093         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14094         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14095         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14096         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14097         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14098         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14100         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14101         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14103         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14104         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14105         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14106         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14107         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14109         Moved ...
14110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14112         Moved ...
14113         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14115         Moved ...
14116         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14118         Moved ...
14119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14120         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14121         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14123         Moved ...
14124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14125         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14126         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14129         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14130         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14131         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14132         Moved ...
14133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14135         Moved ...
14136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14137         ... here.
14138         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14139         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14140         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14141         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14143         Moved ...
14144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14145         ... here.
14146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14147         Moved ...
14148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14149         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14150         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14151         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14152         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14154         Moved ...
14155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14157         Moved ...
14158         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14160         Moved ...
14161         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14163         Moved ...
14164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14165         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14166         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14168         Moved ...
14169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14170         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14171         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14173         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14174         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14175         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14176         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14177         Moved ...
14178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14180         Moved ...
14181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14182         ... here.
14183         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14184         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14185         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14186         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14188         Moved ...
14189         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14190         ... here.
14191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14192         Moved ...
14193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14194         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14195         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14196         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14197         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14198         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14199         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14200         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14201         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14203         Moved ...
14204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14206         Moved ...
14207         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14209         Moved ...
14210         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14212         Moved ...
14213         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14214         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14215         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14216         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14217         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14218         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14219         Moved ...
14220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14221         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14222         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14224         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14225         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14226         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14228         Moved ...
14229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14231         Moved ...
14232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14233         ... here.
14234         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14235         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14236         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14237         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14239         Moved ...
14240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14241         ... here.
14242         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14243         Moved ...
14244         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14245         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14246         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14247         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14248         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14249         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14250         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14251         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14252         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14253         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14254         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14256         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14257         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14259         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14260         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14262         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14263         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14264         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14265         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14266         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14267         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14268         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14269         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14270         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14271         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14273         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14274         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14275         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14276         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14278         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14280         Moved ...
14281         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14283         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14285         Moved ...
14286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14288         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14289         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14290         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14294         Moved ...
14295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14296         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14297         Moved ...
14298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14301         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14304         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14305         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14306         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14307         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14308         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14309         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14310         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14311         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14312         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14313         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14314         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14316         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14317         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14318         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14319         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14320         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14322         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14323         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14324         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14325         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14326         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14327         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14328         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14329         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14330         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14331         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14333         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14336         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14337         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14338         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14339         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14340         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14341         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14342         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14343         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14344         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14345         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14346         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14347         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14348         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14349         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14351         Update #include.
14352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14353         Likewise.
14354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14355         Likewise.
14356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14357         Likewise.
14358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14359         Likewise.
14360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14361         Likewise.
14362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14363         Likewise.
14364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14365         Likewise.
14366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14367         Likewise.
14368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14369         Likewise.
14370         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14371         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14372         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14375         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14376         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14377         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14380         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14381         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14382         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14386         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14387         that was previously under [RESET_PID].
14388         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14389         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14390         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14392         * sysdeps/i386/nptl/Implies: New file.
14393         * sysdeps/x86_64/nptl/Implies: New file.
14394         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14395         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14396         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14397         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14399         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14400         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14401         (__libc_vfork): New strong alias.
14402         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14403         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14405         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14406         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14407         (__libc_vfork): New strong alias.
14408         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14409         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14411         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14412         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14413         (__libc_vfork): New strong alias.
14414         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14415         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14416         * nptl/pt-vfork.c: New file.
14417         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14418         (libpthread: GLIBC_2.20): New version set (empty).
14420 2014-05-14  Will Newton  <will.newton@linaro.org>
14422         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14423         rather than #if.
14425 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14427         [BZ #16564]
14428         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14429         arguments with exponent 65 or above.
14430         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14431         arguments 0x1p113L or above.
14432         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14433         to arguments 0x1p107L or above.
14434         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14435         positive arguments with exponent 65 or above.
14436         * math/auto-libm-test-in: Add more tests of log1p.
14437         * math/auto-libm-test-out: Regenerated.
14439         [BZ #16928]
14440         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14441         non-finite arguments is +0.
14442         * math/s_cacosf.c (__cacosf): Likewise.
14443         * math/s_cacosl.c (__cacosl): Likewise.
14444         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14445         * sysdeps/i386/fpu/libm-test-ulps: Update.
14446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14448         [BZ #16927]
14449         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14450         value.
14451         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14452         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14453         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14454         for explicit high bit of mantissa when testing for argument equal
14455         to 1.
14456         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14457         * sysdeps/i386/fpu/libm-test-ulps: Update.
14458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14460         [BZ #16516]
14461         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14462         (__erf): Scale by 16 instead of 8 in potentially underflowing
14463         case.  Ensure exception if result actually underflows.
14464         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14465         (__erff): Scale by 16 instead of 8 in potentially underflowing
14466         case.  Ensure exception if result actually underflows.
14467         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14468         (efx8): Remove variable.
14469         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14470         case.  Ensure exception if result actually underflows.
14471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14472         (efx8): Remove variable.
14473         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14474         case.  Ensure exception if result actually underflows.
14475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14476         (efx8): Remove variable.
14477         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14478         case.  Ensure exception if result actually underflows.
14479         * math/auto-libm-test-in: Add more tests of erf.
14480         * math/auto-libm-test-out: Regenerated.
14482 2014-05-14  Andreas Schwab  <schwab@suse.de>
14484         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14485         Remove code conditionalized on USE___THREAD.
14487         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14488         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14489         not definedness.
14491 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14494         Define unconditionally.
14495         (__ASSUME_O_CLOEXEC): Likewise.
14496         (__ASSUME_SOCK_CLOEXEC): Likewise.
14497         (__ASSUME_IN_NONBLOCK): Likewise.
14498         (__ASSUME_PIPE2): Likewise.
14499         (__ASSUME_EVENTFD2): Likewise.
14500         (__ASSUME_SIGNALFD4): Likewise.
14501         (__ASSUME_DUP3): Likewise.
14502         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14503         (__ASSUME_DUP3): Do not define.
14504         (__ASSUME_EVENTFD2): Likewise.
14505         (__ASSUME_IN_NONBLOCK): Likewise.
14506         (__ASSUME_O_CLOEXEC): Likewise.
14507         (__ASSUME_PIPE2): Likewise.
14508         (__ASSUME_SIGNALFD4): Likewise.
14509         (__ASSUME_SOCK_CLOEXEC): Likewise.
14510         (__ASSUME_UTIMES): Undefine.
14511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14512         (__ASSUME_UTIMES): Do not define.
14513         (__ASSUME_O_CLOEXEC): Likewise.
14514         (__ASSUME_SOCK_CLOEXEC): Likewise.
14515         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14516         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14517         0x020621].
14518         (__ASSUME_PIPE2): Likewise.
14519         (__ASSUME_EVENTFD2): Likewise.
14520         (__ASSUME_SIGNALFD4): Likewise.
14521         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14522         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14523         Do not define.
14524         (__ASSUME_EVENTFD2): Likewise.
14525         (__ASSUME_SIGNALFD4): Likewise.
14526         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14527         (__ASSUME_32BITUIDS): Likewise.
14528         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14529         (__ASSUME_IPC64): Likewise.
14530         (__ASSUME_ST_INO_64_BIT): Likewise.
14531         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14532         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14533         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14534         (__ASSUME_UTIMES): Do not define.
14535         (__ASSUME_PSELECT): Likewise.
14536         (__ASSUME_PPOLL): Likewise.
14537         (__ASSUME_O_CLOEXEC): Likewise.
14538         (__ASSUME_SOCK_CLOEXEC): Likewise.
14539         (__ASSUME_IN_NONBLOCK): Likewise.
14540         (__ASSUME_PIPE2): Likewise.
14541         (__ASSUME_EVENTFD2): Likewise.
14542         (__ASSUME_SIGNALFD4): Likewise.
14543         (__ASSUME_DUP3): Likewise.
14544         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14545         (__ASSUME_UTIMES): Likewise.
14546         (__ASSUME_O_CLOEXEC): Likewise.
14547         (__ASSUME_SOCK_CLOEXEC): Likewise.
14548         (__ASSUME_IN_NONBLOCK): Likewise.
14549         (__ASSUME_PIPE2): Likewise.
14550         (__ASSUME_EVENTFD2): Likewise.
14551         (__ASSUME_SIGNALFD4): Likewise.
14552         (__ASSUME_DUP3): Likewise.
14553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14554         (__ASSUME_UTIMES): Likewise.
14555         (__ASSUME_O_CLOEXEC): Likewise.
14556         (__ASSUME_SOCK_CLOEXEC): Likewise.
14557         (__ASSUME_IN_NONBLOCK): Likewise.
14558         (__ASSUME_PIPE2): Likewise.
14559         (__ASSUME_EVENTFD2): Likewise.
14560         (__ASSUME_SIGNALFD4): Likewise.
14561         (__ASSUME_DUP3): Likewise.
14562         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14563         Likewise.
14564         (__ASSUME_UTIMES): Likewise.
14565         (__ASSUME_EVENTFD2): Likewise.
14566         (__ASSUME_SIGNALFD4): Likewise.
14567         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14568         (__ASSUME_O_CLOEXEC): Likewise.
14569         (__ASSUME_SOCK_CLOEXEC): Likewise.
14570         (__ASSUME_IN_NONBLOCK): Likewise.
14571         (__ASSUME_PIPE2): Likewise.
14572         (__ASSUME_EVENTFD2): Likewise.
14573         (__ASSUME_SIGNALFD4): Likewise.
14574         (__ASSUME_DUP3): Likewise.
14575         (__ASSUME_UTIMES): Undefine.
14577         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14578         feclearexcept.  Remove symbol versioning code.
14579         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14580         symbol versioning code.
14581         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14582         symbol versioning code.
14583         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14584         feupdateenv.  Remove symbol versioning code.
14585         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14586         fegetexceptflag.  Remove symbol versioning code.
14587         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14588         fesetexceptflag.  Remove symbol versioning code.
14589         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14590         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14591         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14592         (__posix_fadvise64_l32): Remove prototype.
14593         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14594         code.
14596 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14598         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14599         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14600         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14601         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14603 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14605         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14606         current working directory
14608 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14610         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14611         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14612         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14613         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14614         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14615         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14616         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14619         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14620         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14621         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14622         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14623         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14624         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14625         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14626         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14627         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14628         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14629         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14630         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14631         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14632         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14633         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14634         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14635         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14636         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14637         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14638         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14639         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14641         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14642         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14643         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14644         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14645         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14646         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14647         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14648         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14649         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14650         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14651         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14653         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14654         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14656         * sysdeps/unix/sysv/linux/arm/Makefile
14657         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14658         Add rt-aeabi_unwind_cpp_pr1.
14659         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14660         Add nptl-aeabi_unwind_cpp_pr1.
14661         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14662         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14663         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14664         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14665         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14666         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14668         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14669         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14670         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14671         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14673         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14674         Deconditionalize the code that was previously under [RESET_PID].
14675         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14677         * sysdeps/generic/exit-thread.h: New file.
14678         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14679         * include/unistd.h (__exit_thread): Remove declaration.
14680         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14681         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14682         * csu/libc-start.c: Include <exit-thread.h>.
14683         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14684         * nptl/pthread_create.c: Include <exit-thread.h>.
14685         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14686         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14687         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14688         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14689         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14690         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14691         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14692         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14693         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14694         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14695         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14696         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14697         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14698         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14699         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14700         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14701         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14703 2014-05-13  Andreas Schwab  <schwab@suse.de>
14705         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14707 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14709         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14710         (__ASSUME_UTIMES): Do not condition on kernel version.
14711         (__ASSUME_PSELECT): Define unconditionally.
14712         (__ASSUME_PPOLL): Likewise.
14713         (__ASSUME_ATFCTS): Likewise.
14714         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14715         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14716         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14717         (__ASSUME_UTIMENSAT): Define unconditionally.
14718         (__ASSUME_PRIVATE_FUTEX): Likewise.
14719         (__ASSUME_FALLOCATE): Likewise.
14720         (__ASSUME_O_CLOEXEC): Likewise.
14721         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14722         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14723         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14724         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14725         (__ASSUME_IN_NONBLOCK): Likewise.
14726         (__ASSUME_PIPE2): Likewise.
14727         (__ASSUME_EVENTFD2): Likewise.
14728         (__ASSUME_SIGNALFD4): Likewise.
14729         (__ASSUME_DUP3): Likewise.
14730         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14731         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14732         (__ASSUME_AT_RANDOM): Likewise.
14733         (__ASSUME_PREADV): Likewise.
14734         (__ASSUME_PWRITEV): Likewise.
14735         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14736         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14737         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14738         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14739         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14740         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14741         (__ASSUME_O_CLOEXEC): Define unconditionally.
14742         (__ASSUME_PSELECT): Do not undefine conditionally.
14743         (__ASSUME_PPOLL): Likewise.
14744         (__ASSUME_ATFCTS): Likewise.
14745         (__ASSUME_SET_ROBUST_LIST): Likewise.
14746         (__ASSUME_UTIMENSAT): Likewise.
14747         (__ASSUME_FDATASYNC): Define unconditionally.
14748         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14749         (__ASSUME_SIGFRAME_V2): Likewise.
14750         )__ASSUME_EVENTFD2): Likewise.
14751         (__ASSUME_SIGNALFD4): Likewise.
14752         (__ASSUME_PSELECT): Do not undefine conditionally.
14753         (__ASSUME_PPOLL): Likewise.
14754         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14755         (__ASSUME_PSELECT): Define unconditionally.
14756         (__ASSUME_PPOLL): Likewise.
14757         (__ASSUME_O_CLOEXEC): Likewise.
14758         (__ASSUME_SOCK_CLOEXEC): Likewise.
14759         (__ASSUME_IN_NONBLOCK): Likewise.
14760         (__ASSUME_PIPE2): Likewise.
14761         (__ASSUME_EVENTFD2): Likewise.
14762         (__ASSUME_SIGNALFD4): Likewise.
14763         (__ASSUME_DUP3): Likewise.
14764         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14765         (__ASSUME_O_CLOEXEC): Likewise.
14766         (__ASSUME_SOCK_CLOEXEC): Likewise.
14767         (__ASSUME_IN_NONBLOCK): Likewise.
14768         (__ASSUME_PIPE2): Likewise.
14769         (__ASSUME_EVENTFD2): Likewise.
14770         (__ASSUME_SIGNALFD4): Likewise.
14771         (__ASSUME_DUP3): Likewise.
14772         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14773         (__ASSUME_EVENTFD2): Likewise.
14774         (__ASSUME_SIGNALFD4): Likewise.
14775         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14777 2014-05-12  Andreas Schwab  <schwab@suse.de>
14779         [BZ #16932]
14780         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14781         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14782         than maximum RPC packet size.
14783         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14784         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14785         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14786         (_nss_nis_getservbyport_r): Likewise.
14788 2014-05-12  Will Newton  <will.newton@linaro.org>
14790         * malloc/Makefile (tests): Add tst-mallopt.
14791         * malloc/tst-mallopt.c: New file.
14793 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14795         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14796         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14798 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14801         (tst-tlsmod6.so): Likewise.
14803 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14805         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14807 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14809         [BZ #16064]
14810         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14811         and <dl-procinfo.h>.
14812         (__fegetenv): Save SSE state in envp->__eip if supported.
14813         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14814         envp->__eip if supported.
14815         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14816         and <dl-procinfo.h>.
14817         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14818         __data_offset and __data_selector in environment to 0.  Set SSE
14819         state if supported.
14820         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14821         test-fenv-sse.
14822         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14823         -mfpmath=sse.
14824         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14826 2014-05-09  Will Newton  <will.newton@linaro.org>
14828         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14829         and libc_relro_required for ARM.
14830         * sysdeps/arm/preconfigure: Regenerate.
14832 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14833             Stefan Liebler  <stli@linux.vnet.ibm.com>
14835         * config.make.in (enable-lock-elision): New Makefile variable.
14836         * configure.ac: Likewise.
14837         * configure: Regenerate.
14838         * sysdeps/s390/configure.ac:
14839         Add check for gcc transactions support.
14840         * sysdeps/s390/configure: Regenerate.
14841         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14842         Build elision files if enabled.
14843         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14844         Add lock elision support for s390.
14845         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14846         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14847         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14848         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14849         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14850         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14851         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14852         Likewise.
14853         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14854         Likewise.
14855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14856         Likewise.
14857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14858         Likewise.
14859         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14860         (__lll_timedlock_elision, __lll_lock_elision)
14861         (__lll_unlock_elision, __lll_trylock_elision)
14862         (lll_timedlock_elision, lll_lock_elision)
14863         (lll_unlock_elision, lll_trylock_elision): Add.
14864         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14865         (pthread_mutex_t): Add lock elision support for s390.
14867 2014-05-14  Wilco  <wdijkstr@arm.com>
14869         * sysdeps/arm/fclrexcpt.c: Cleanup.
14870         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14871         * sysdeps/arm/feenablxcpt.c: Cleanup.
14872         * sysdeps/arm/fegetenv.c: Cleanup.
14873         * sysdeps/arm/fegetexcept.c: Cleanup.
14874         * sysdeps/arm/fegetround.c: Cleanup.
14875         * sysdeps/arm/feholdexcpt.c: Cleanup.
14876         * sysdeps/arm/fesetenv.c: Cleanup.
14877         * sysdeps/arm/fesetround.c: Cleanup.
14878         * sysdeps/arm/feupdateenv.c: Cleanup.
14879         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14880         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14881         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14882         * sysdeps/arm/ftestexcept.c: Cleanup.
14883         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14884         * sysdeps/arm/setfpucw.c: Cleanup.
14886 2014-05-09  Will Newton  <will.newton@linaro.org>
14888         * sysdeps/arm/armv7/strcmp.S: New file.
14889         * NEWS: Mention addition of ARMv7 optimized strcmp.
14891 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14893         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14894         look for %.ac rather than %.in.
14896         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14897         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14898         * sysdeps/mach/hurd/configure: Regenerated.
14899         * sysdeps/unix/sysv/linux/configure: Regenerated.
14901         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14903 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14905         [BZ# 16922]
14906         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14907         (LONG_SUB): Ditto.
14908         (PTR_SUB): Ditto.
14910 2014-05-07  Andreas Schwab  <schwab@suse.de>
14912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14913         when skipping over non-matching result from nscd.
14915 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14917         [BZ #16876]
14918         * nptl/sockperf.c (client): Check socket return value.
14920         [BZ #16877]
14921         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14922         nscd security class.
14924 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14926         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14927         * sysdeps/arm/unwind.h: ... here.
14929 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14931         [BZ# 16916]
14932         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14933         Define.
14935 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14937         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14938         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14939         multiarch strncpy for PPC64.
14940         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14941         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14943         multiarch optimizations.
14944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14945         (__libc_ifunc_impl_list): Likewise.
14946         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14947         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14948         multiarch stpncpy for PPC64.
14949         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14950         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14952 2014-05-06  Andreas Schwab  <schwab@suse.de>
14954         [BZ #16912]
14955         * gmon/mcount.c (_MCOUNT_DECL): Use
14956         atomic_compare_and_exchange_bool_acq instead of
14957         catomic_compare_and_exchange_bool_acq.
14959 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14961         * elf/Makefile (others, install-bin): Remove pldd.
14962         (pldd-modules): Variable removed.
14963         ($(objpfx)pldd): Target removed.
14964         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14965         (others, install-bin): Append pldd here.
14966         ($(objpfx)pldd): New target.
14968         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14969         to 0, so the first #if test emitted later doesn't see it undefined.
14970         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14971         * sysdeps/gnu/errlist.c: Regenerated.
14973 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14976         [libc_hidden_builtin_def]: Define to empty value.
14977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14978         [libc_hidden_builtin_def]: Likewise.
14979         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14980         [libc_hidden_builtin_def]: Likewise.
14981         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14982         [libc_hidden_builtin_def]: Likewise.
14983         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14984         __redirect_memcpy and define ifunc as default hidden symbol.
14985         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14986         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14988 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14990         * locale/iso-4217.def: Reintroduce XDR currency.
14992 2014-05-04  Allan McRae  <allan@archlinux.org>
14994         * po/eo.po: Update Esperanto translation from translation project.
14996 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14998         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14999         and FEATURE_INDEX_MAX to 1.
15000         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15002 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15004         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15005         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15006         * iconvdata/big5.c (ONE_DIRECTION): Define.
15007         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15008         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15009         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15010         * iconvdata/cp932.c (ONE_DIRECTION): Define.
15011         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15012         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15013         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15014         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15015         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15016         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15017         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15018         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15019         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15020         * iconvdata/gbk.c (ONE_DIRECTION): Define.
15021         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15022         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15023         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15024         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15025         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15026         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15027         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15028         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15029         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15030         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15031         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15032         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15033         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15034         * iconvdata/iso646.c (ONE_DIRECTION): Define.
15035         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15036         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15037         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15038         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15039         * iconvdata/johab.c (ONE_DIRECTION): Define.
15040         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15041         * iconvdata/sjis.c (ONE_DIRECTION): Define.
15042         * iconvdata/t.61.c (ONE_DIRECTION): Define.
15043         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15044         * iconvdata/tscii.c (ONE_DIRECTION): Define.
15045         * iconvdata/uhc.c (ONE_DIRECTION): Define.
15046         * iconvdata/unicode.c (ONE_DIRECTION): Define.
15047         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15048         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15049         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15051 2014-05-01  Roland McGrath  <roland@hack.frob.com>
15053         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15054         (_IO_JUMPS_OFFSET): Define to 0.
15056         * nptl/sysdeps/pthread/bits/libc-lock.h
15057         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15058         (__libc_lock_define_initialized_recursive): Always define using
15059         initializer.  Modern compilers treat uninitialized (implicit zero) and
15060         explicit zero initializers the same (i.e. put the datum in bss).
15062 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15064         * nscd/nscd-client.h: Include <string.h>.
15066 2014-05-01  David S. Miller  <davem@davemloft.net>
15068         [BZ #16885]
15069         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15070         multiple zero bytes exist at the end of a string.
15071         Reported by Aurelien Jarno <aurelien@aurel32.net>
15073         * string/test-strcmp.c (check): Add explicit test for situations where
15074         there are multiple zero bytes after the first.
15076 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15078         [BZ #16890]
15079         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15080         when compiling wprintf.
15081         * stdio-common/tstdiomisc.c (t3): New function.
15082         (main): Call it.
15084 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15086         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15087         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15088         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15089         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15091 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15093         * stdlib/longlong.h: Updated from GCC.
15095 2014-05-01  Will Newton  <will.newton@linaro.org>
15096             Bernard Ogden  <bernie.ogden@linaro.org>
15098         * NEWS: Update fixed bug list.
15100         [BZ #15119]
15101         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15103 2014-04-30  David S. Miller  <davem@davemloft.net>
15105         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15106         (libc_feholdexcept_setround_sparc_ctx): New function.
15107         (libc_fesetenv_sparc_ctx): Likewise.
15108         (libc_feupdateenv_sparc_ctx): Likewise.
15109         (libc_feholdsetround_sparc_ctx): Likewise.
15110         (libc_feholdexcept_setround_ctx): Define.
15111         (libc_feholdexcept_setroundf_ctx): Likewise.
15112         (libc_feholdexcept_setroundl_ctx): Likewise.
15113         (libc_fesetenv_ctx): Likewise.
15114         (libc_fesetenvf_ctx): Likewise.
15115         (libc_fesetenvl_ctx): Likewise.
15116         (libc_feupdateenv_ctx): Likewise.
15117         (libc_feupdateenvf_ctx): Likewise.
15118         (libc_feupdateenvl_ctx): Likewise.
15119         (libc_feresetround_ctx): Likewise.
15120         (libc_feresetroundf_ctx): Likewise.
15121         (libc_feresetroundl_ctx): Likewise.
15122         (libc_feholdsetround_ctx): Likewise.
15123         (libc_feholdsetroundf_ctx): Likewise.
15124         (libc_feholdsetroundl_ctx): Likewise.
15126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15127         with __USE_GNU instead of XOPEN cpp guards.
15129         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15130         0.
15132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15133         with XOPEN cpp guards.
15135 2014-04-30  Julian Brown  <julian@codesourcery.com>
15137         [BZ #16888]
15138         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15139         handling.
15141 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
15143         [BZ #9894]
15144         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15145         Change to 2.6.32.
15146         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15147         * sysdeps/unix/sysv/linux/configure: Regenerated.
15148         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15149         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15150         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15151         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15152         * README: Update reference to required Linux kernel version.
15153         * manual/install.texi (Linux): Update reference to required Linux
15154         kernel headers version.
15155         * INSTALL: Regenerated.
15157         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15158         header inclusion.
15159         [POSIX] (limits.h): Likewise.
15160         [POSIX] (math.h): Likewise.
15161         [POSIX] (sys/wait.h): Likewise.
15162         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15163         function.
15164         [POSIX] (stddef.h): Do not allow header inclusion.
15166 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15168         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15170 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
15172         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15173         Return immediately after lll_futex_wake.
15175 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15177         [BZ #16791]
15178         * nscd/nscd-client.h (datahead_init_common): Initialize entire
15179         structure.
15180         (datahead_init_pos): Call datahead_init_common early.
15181         (datahead_init_neg): Likewise.
15183         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15184         datahead_init_neg): New functions.
15185         * nscd/aicache.c (addhstaiX): Use them.
15186         * nscd/grpcache.c (cache_addgr): Likewise.
15187         * nscd/hstcache.c (cache_addhst): Likewise.
15188         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15189         * nscd/netgroupcache.c (do_notfound): Likewise.
15190         (addgetnetgrentX): Likewise.
15191         (addinnetgrX): Likewise.
15192         * nscd/pwdcache.c (cache_addpw): Likewise.
15193         * nscd/servicescache.c (cache_addserv): Likewise.
15195 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15196             Atsushi Onoe  <atsushi@onoe.org>
15198         [BZ #14308]
15199         [BZ #12994]
15200         [BZ #13651]
15201         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15202         one response is valid.
15203         * resolv/res_send.c (send_dg): Check for validity of other
15204         response if the current response is a referral.
15206 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15208         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15210 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15212         [BZ #16823]
15213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15214         Always divide by positive zero when computing -Inf result.
15215         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15216         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15218 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15220         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15221         FPSCR if value do not change.
15222         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15223         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15224         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15225         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15226         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15227         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15228         function.
15230 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15232         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15233         * sysdeps/unix/sysv/linux/hppa: Move directory from
15234         ports/systeps/unix/sysv/linux/hppa.
15235         * README: Update listing for hppa-*-linux-gnu.
15237 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15239         [BZ #16754]
15240         * manual/stdio.texi (Hook functions): Fix types of stream hook
15241         functions.
15242         [BZ #16854]
15243         * socket/sys/socket.h: Fix typo in comment.
15245 2014-04-28  Wilco  <wdijkstr@arm.com>
15247         * sysdeps/arm/fenv_private.h: New file.
15248         * sysdeps/arm/math_private.h: New file.
15249         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15251 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15253         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15254         with __int128_t.
15255         (La_x86_64_retval): Likewise.
15257 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15259         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15260         fpsr if value didn't change.
15261         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15262         to fpcr if value didn't change.
15263         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15264         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15265         fpsr or fpcr if value didn't change.
15266         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15267         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15268         fpcr if value didn't change.
15269         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15270         to fpsr if value didn't change.
15272 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15274         * nptl/tst-sem3.c: Use test-skeleton.c
15275         (main): Rename to do_test.  Use return instead of
15276         exit.
15277         * nptl/tst-sem4.c: Use test-skeleton.c
15278         (main): Rename to do_test.
15280 2014-04-22  David S. Miller  <davem@davemloft.net>
15282         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15283         (struct sigaction): New struct member __glibc_reserved0, change
15284         type of sa_flags to int.
15286 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15288         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15289         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15291 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15293         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15294         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15296 2014-04-22  Will Newton  <will.newton@linaro.org>
15297             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15299         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15300         (__longjmp): Add longjmp and longjmp_target SystemTap
15301         probes.
15302         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15303         (__sigsetjmp): Add setjmp SystemTap probe.
15305 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15307         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15308         match manual order.
15310 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15312         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15314         * sysdeps/powerpc/fpu/fenv_private.h
15315         (libc_feholdexcept_setroundl_ctx): Define to
15316         libc_feholdexcept_setround_ppc_ctx.
15317         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15318         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15319         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15320         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15322 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15324         * sysdeps/aarch64/math-tests.h: New file.
15326 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
15328         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15329         New.
15330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15331         Check and set bit_AVX2_Usable.
15332         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15333         macro.
15334         (bit_AVX2): Likewise.
15335         (index_AVX2_Usable): Likewise.
15336         (CPUID_AVX2): Likewise.
15337         (HAS_AVX2): Likewise.
15339 2014-04-17  Will Newton  <will.newton@linaro.org>
15341         * manual/setjmp.texi (System V contexts): Add note that
15342         calling setcontext on a context created by a call to a
15343         signal handler is undefined.  Update text to note that
15344         setcontext from a signal handler is possible but not
15345         recommended.
15347         [BZ #16629]
15348         * stdlib/tst-setcontext.c: Include signal.h.
15349         (main): Check that the signal stack before and
15350         after swapcontext is the same.
15352         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15353         Re-implement to restore registers in user code and avoid
15354         rt_sigreturn system call.
15356 2014-04-17  Wilco  <wdijkstr@arm.com>
15358         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15359         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15360         * math/test-fenv.c: Skip exception trap tests on targets which only
15361         support non-stop mode.
15363 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15364             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15366         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15367         (libc_feholdsetround_aarch64_ctx)
15368         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15369         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15370         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15371         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15372         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15373         (libc_feresetround_noexl_ctx): Define.
15375 2014-04-16  Richard Henderson  <rth@redhat.com>
15377         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15379         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15380         unwind tables.
15382         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15383         const from the non-libc, non-ldso copy.
15385         * sysdeps/alpha/libm-test-ulps: Regenerate.
15387 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15388             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15390         * sysdeps/aarch64/fpu/math_private.h: New file.
15392 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15394         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15396 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15398         [BZ #16275]
15399         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15400         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15402         Intel MPX bound registers before _dl_profile_fixup.
15403         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15404         registers after _dl_profile_fixup.  Save and restore bound
15405         registers bnd0/bnd1 when calling _dl_call_pltexit.
15406         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15407         (LR_BND_OFFSET): Likewise.
15408         (LRV_BND0_OFFSET): Likewise.
15409         (LRV_BND1_OFFSET): Likewise.
15411 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15413         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15414         to...
15415         * sysdeps/mach/hurd/i386/tls.h: ... here.
15416         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15417         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15418         fields.
15420 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15422         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15424 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15426         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15428 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15430         [BZ #14770]
15431         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15432         * sysdeps/s390/configure: Regenerate.
15434         [BZ #16824]
15435         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15436         Set round-to-nearest internally to reduce error accumulation.
15438 2014-04-16  Alan Modra  <amodra@gmail.com>
15440         [BZ #16740]
15441         [BZ #16619]
15442         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15443         * math/libm-test.inc (frexp_test_data): Add tests.
15444         * NEWS: Update fixed bug list.
15446 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15448         * benchtests/Makefile: Depend on libraries in build directory.
15449         (bench-math): Separate out math tests.
15450         (bench-pthread): Separate out pthread tests.
15451         (bench): Include math and pthread tests.
15453 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15455         [BZ #16831]
15456         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15457         _dl_debug_initialize.
15459         * configure.ac: Remove SELinux header check.
15460         * configure: Regenerate.
15461         * nscd/selinux.c (perms): Array of const char* to permission names.
15462         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15463         default policy. Call string_to_security_class and string_to_av_perm to
15464         translate strings. Enforce default policy and call avs_has_perm with
15465         results of translated strings.
15467 2014-04-13  David S. Miller  <davem@davemloft.net>
15469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15471 2014-04-12  Allan McRae  <allan@archlinux.org>
15473         [BZ #16838]
15474         * manual/string.texi (Collation Functions): Fix qsort argument
15475         order in example.
15476         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15478 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15480         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15481         Make the test a no-op if there are no exceptions defined.
15483 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15485         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15486         enable-hardcoded-path-in-tests
15488 2014-04-11  Will Newton  <will.newton@linaro.org>
15490         * benchtests/Makefile (extra-objs): Add json-lib.o.
15491         (bench-func): Tidy up JSON output.
15492         * benchtests/bench-skeleton.c: Include json-lib.h.
15493         (main): Use JSON library functions to do output of
15494         benchmark results.
15495         * benchtests/bench-timing-type.c (main): Output the
15496         timing type simply, leaving formatting to the user.
15497         * benchtests/json-lib.c: New file.
15498         * benchtests/json-lib.h: Likewise.
15500 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15502         [BZ #15215]
15503         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15504         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15505         memory barriers.  Add comments.
15506         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15507         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15508         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15509         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15510         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15511         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15513 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15515         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15516         * sysdeps/s390/s390-64/configure.ac: ... this ...
15517         * sysdeps/s390/configure.ac: ... to here.
15518         * sysdeps/s390/s390-32/configure: Delete file.
15519         * sysdeps/s390/s390-64/configure: Delete file.
15520         * sysdeps/s390/configure: Regenerate.
15522 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15524         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15526 2014-04-11  Will Newton  <will.newton@linaro.org>
15528         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15529         to zero if it is not defined elsewhere.  (mtrim): Test
15530         the value of MALLOC_DEBUG with #if rather than #ifdef.
15532 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15534         * benchtests/pthread_once-inputs: New file.
15535         * benchtests/pthread_once-source.c: New file.
15536         * benchtests/README: Update documentation.
15538 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15539             H.J. Lu  <hongjiu.lu@intel.com>
15541         [BZ #16275]
15542         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15543         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15544         * sysdeps/x86_64/configure: Regenerated.
15545         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15546         macro.
15547         (REGISTER_SAVE_RAX): Likewise.
15548         (REGISTER_SAVE_RCX): Likewise.
15549         (REGISTER_SAVE_RDX): Likewise.
15550         (REGISTER_SAVE_RSI): Likewise.
15551         (REGISTER_SAVE_RDI): Likewise.
15552         (REGISTER_SAVE_R8): Likewise.
15553         (REGISTER_SAVE_R9): Likewise.
15554         (REGISTER_SAVE_BND0): Likewise.
15555         (REGISTER_SAVE_BND1): Likewise.
15556         (REGISTER_SAVE_BND2): Likewise.
15557         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15558         bound registers when calling _dl_fixup.
15560 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15562         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15563         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15564         of its definition.
15565         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15566         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15567         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15568         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15569         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15570         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15571         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15573 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15575         [BZ #15514]
15576         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15577         pathconf(_PC_NAME_MAX).
15579 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15581         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15582         Remove macro usage.
15583         (__PTHREAD_SPINS): Move definition to ...
15584         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15585         (__PTHREAD_SPINS): ... here.
15586         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15587         (__PTHREAD_SPIN): Likewise.
15588         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15589         (__PTHREAD_SPIN): Likewise.
15590         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15591         (__PTHREAD_SPIN): Likewise.
15592         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15593         (__PTHREAD_SPIN): Likewise.
15594         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15595         (__PTHREAD_SPIN): Likewise.
15596         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15597         (__PTHREAD_SPIN): Likewise.
15598         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15599         (__PTHREAD_SPIN): Likewise.
15600         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15601         (__PTHREAD_SPIN): Likewise.
15602         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15603         (__PTHREAD_SPIN): Likewise.
15604         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15605         (__PTHREAD_SPIN): Likewise.
15606         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15607         (__PTHREAD_SPIN): Likewise.
15608         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15609         (__PTHREAD_SPIN): Likewise.
15611         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15612         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15613         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15614         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15615         imply folder.
15616         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15617         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15618         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15619         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15620         correct imply path.
15621         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15622         strlen symbol for non multi-arch builds.
15623         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15624         missing hidden_def and weak_alias.
15626 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15628         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15630 2014-04-07  Will Newton  <will.newton@linaro.org>
15632         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15633         and contents.  [!_LIBC] Remove #ifndef and contents.
15634         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15635         * string/memccpy.c (__memccpy): Use ANSI prototype.
15636         * string/memfrob.c (memfrob): Likewise.
15637         * string/strcoll.c (STRCOLL): Likewise.
15638         * string/strlen.c (strlen): Likewise.
15639         * string/strtok.c (STRTOK): Likewise.
15640         * string/strcat.c: Remove unused #include of memcopy.h.
15641         (strcat): Use ANSI prototype.
15642         * string/strchr.c: Remove unused #include of memcopy.h.
15643         (strchr): Use ANSI prototype.
15644         * string/strcmp.c: Remove unused #include of memcopy.h.
15645         (strcmp): Use ANSI prototype.
15646         * string/strcpy.c: Remove unused #include of memcopy.h.
15647         (strcpy): Use ANSI prototype.
15649 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15651         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15652         * config.make.in (config-extra-cppflags): Set it from
15653         libc_extra_cppflags.
15654         * configure.ac (libc_extra_cflags): Make it accumulate over
15655         configure fragments.
15656         (libc_extra_cppflags): New flag.
15657         * configure. Regenerate.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15659         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15660         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15663         [BZ #16815]
15664         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15665         result for FE_DOWNWARD rounding mode.
15666         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15667         Likewise.
15668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15670 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15672         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15673         in function argument name.
15675 2014-04-03  David Svoboda  <svoboda@cert.org>
15677         [BZ #5666]
15678         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15679         explicitly.
15681 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15683         * elf/dl-unmap-segments.h: New file.
15684         * sysdeps/generic/ldsodefs.h
15685         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15686         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15687         * elf/dl-fptr.c: Likewise.
15688         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15689         * sysdeps/aarch64/tlsdesc.c: Likewise.
15690         * sysdeps/arm/tlsdesc.c: Likewise.
15691         * sysdeps/i386/tlsdesc.c: Likewise.
15692         * sysdeps/tile/dl-runtime.c: Likewise.
15693         * sysdeps/x86_64/tlsdesc.c: Likewise.
15694         * elf/dl-load.h: New file.
15695         * elf/dl-load.c: Include it.
15696         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15697         Macros moved to dl-load.h.
15698         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15699         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15700         Use _dl_unmap_segments in place of __munmap.
15701         Break out segment-mapping loop into ...
15702         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15704 2014-04-03  Will Newton  <will.newton@linaro.org>
15706         * elf/dl-lookup.c (do_lookup_x): Remove comment
15707         referring to nested function and move variable
15708         declarations down to before first use.
15710 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15712         [BZ #16799]
15713         [BZ #16800]
15714         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15715         with 0 numerator.
15716         * math/s_catanf.c (__catanf): Likewise.
15717         * math/s_catanh.c (__catanh): Likewise.
15718         * math/s_catanhf.c (__catanhf): Likewise.
15719         * math/s_catanhl.c (__catanhl): Likewise.
15720         * math/s_catanl.c (__catanl): Likewise.
15721         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15722         by positive zero when computing -Inf result.
15723         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15724         (catanh_test): Likewise.
15725         * sysdeps/i386/fpu/libm-test-ulps: Update.
15726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15728         [BZ #16789]
15729         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15730         instead of using underflowing value in computing result.
15731         * math/s_clog10.c (__clog10): Likewise.
15732         * math/s_clog10f.c (__clog10f): Likewise.
15733         * math/s_clog10l.c (__clog10l): Likewise.
15734         * math/s_clogf.c (__clogf): Likewise.
15735         * math/s_clogl.c (__clogl): Likewise.
15736         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15737         (clog10_test): Likewise.
15738         * sysdeps/i386/fpu/libm-test-ulps: Update.
15739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15741 2014-04-02  Alan Modra  <amodra@gmail.com>
15743         [BZ #16739]
15744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15745         output when value is near a power of two.  Use int64_t for lx and
15746         remove casts.  Use decimal rather than hex exponent constants.
15747         Don't use long double multiplication when double will suffice.
15748         * math/libm-test.inc (nextafter_test_data): Add tests.
15749         * NEWS: Add 16739 and 16786 to bug list.
15751         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15753         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15755 2014-04-01  Will Newton  <will.newton@linaro.org>
15757         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15758         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15760 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15762         [BZ #13347]
15763         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15764         * nptl/tst-setuid2.c: New file.
15765         * nptl/Makefile (xtests): Add tst-setuid2.
15767 2014-04-01  Alan Modra  <amodra@gmail.com>
15769         [BZ #16786]
15770         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15772 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15774         [BZ #6803]
15775         [BZ #6804]
15776         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15777         set errno as appropriate.
15778         * math/w_scalbf.c (__scalbf): Likewise.
15779         * math/w_scalbl.c (__scalbl): Likewise.
15780         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15781         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15782         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15783         Add more NaN tests.
15785         [BZ #16349]
15786         * math/w_atan2.c: Include <errno.h>.
15787         (__atan2): Set errno for result underflowing to zero.
15788         * math/w_atan2f.c: Include <errno.h>.
15789         (__atan2f): Set errno for result underflowing to zero.
15790         * math/w_atan2l.c: Include <errno.h>.
15791         (__atan2l): Set errno for result underflowing to zero.
15792         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15793         tests.
15794         * math/auto-libm-test-out: Regenerated.
15796 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15798         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15799         Encode instruction correctly in little endian.
15800         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15801         Likewise.
15802         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15803         Likewise.
15804         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15805         Likewise.
15806         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15807         Likewise.
15809 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15811         [BZ #9894]
15812         * sysdeps/unix/sysv/linux/kernel-features.h
15813         [__sparc__ && !__arch64__ && !__sparc_v9__]
15814         (__ASSUME_SET_ROBUST_LIST): Do not define.
15815         [__sparc__ && !__arch64__ && !__sparc_v9__]
15816         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15817         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15818         Likewise.
15819         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15820         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15821         (__ASSUME_REQUEUE_PI): Likewise.
15822         (__ASSUME_SET_ROBUST_LIST): Likewise.
15823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15824         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15825         Undefine.
15826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15827         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15828         Likewise.
15829         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15830         Likewise.
15831         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15832         Likewise.
15833         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15834         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15835         Undefine.
15836         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15837         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15838         Likewise.
15840         [BZ #16648]
15841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15843         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15845 2014-03-31  Will Newton  <will.newton@linaro.org>
15847         * benchtests/Makefile (bench): Add ffs and ffsll to list
15848         of tests.
15849         * benchtests/ffs-inputs: New file.
15850         * benchtests/ffsll-inputs: Likewise.
15852 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15854         [BZ #16770]
15855         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15856         too large before casting to int.
15857         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15858         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15859         * math/libm-test.inc (scalb_test_data): Add more tests.
15861 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15863         * benchtests/Makefile (DETAILED_OPT): New make option.
15864         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15865         set.
15866         * benchtests/bench-skeleton.c: Include stdbool.h.
15867         (main): Store and print timings per input.
15868         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15869         member to each argument value.
15870         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15871         (_print_arg_data): Initialize per-input timing to 0.
15873         * benchtests/Makefile (timing-type): New binary.
15874         (bench-clean): Also remove bench-timing-type.
15875         (bench): New target for timing-type.
15876         (bench-func): Print output in JSON format.
15877         * benchtests/bench-skeleton.c (main): Print output in JSON
15878         format.
15879         * benchtests/bench-timing-type.c: New file.
15880         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15881         (TIMING_PRINT_STATS): Remove.
15882         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15883         name separately.
15885         * benchtests/bench-modf.c: Remove.
15886         * benchtests/modf-inputs: New inputs file.
15888 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #16362]
15891         * math/s_clog10.c (M_PI_LOG10E): New macro.
15892         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15893         imaginary parts are 0.
15894         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15895         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15896         imaginary parts are 0.
15897         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15898         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15899         imaginary parts are 0.
15900         * math/libm-test.inc (clog10_test_data): Update expected results
15901         for when real and imaginary parts are 0.
15903 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15905         * elf/dl-load.c: Finish conversion of __builtin_expect into
15906         __glibc_{un}likely.
15908 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15910         [BZ #16348]
15911         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15912         1+x for argument with exponent below -67.
15913         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15914         Likewise.
15915         * math/auto-libm-test-in: Add more tests of exp.
15916         * math/auto-libm-test-out: Regenerated.
15918 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15920         [BZ #16759]
15921         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15922         (nscd_getnetgrent): Use it.
15924         [BZ #16760]
15925         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15926         of stpcpy.
15928 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15930         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15931         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15932         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15933         (lll_robust_unlock): Remove out of line section. Use cfi
15934         intrinsics.
15935         (LLL_STUB_UNWIND_INFO*): Remove.
15936         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15937         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15938         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15939         (lll_robust_unlock): Remove out of line section. Use cfi
15940         intrinsics.
15941         (LLL_STUB_UNWIND_INFO*): Remove.
15943 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15945         [BZ #16758]
15946         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15947         blank values.
15949 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15951         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15953 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #16198]
15956         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15957         fnstenv.
15958         * math/test-fenv-preserve.c: New file.
15959         * math/Makefile (tests): Add test-fenv-preserve.
15961 2014-03-26  Will Newton <will.newton@linaro.org>
15963         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15965 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15967         * scripts/versionlist.awk: Partition the version sets and emit all
15968         GLIBC_* (sorted) before all others (sorted).
15970 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15972         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15973         GLIBC_2.2.5 version.
15975 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15977         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15978         calls.
15980         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15981         previous change.
15983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15985 2014-03-25  Andreas Schwab  <schwab@suse.de>
15987         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15988         label to be used after in6ailist is initialized.
15990 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15992         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15993         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15995 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15997         [BZ #16357]
15998         [BZ #16599]
15999         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16000         min_plus_half.
16001         (fp_formats): Update initializers.
16002         (init_fp_formats): Initialize new field.
16003         (output_for_one_input_case): Allow underflow for results up to
16004         min_plus_half.
16005         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16006         * math/auto-libm-test-in: Don't mark some underflows from asin and
16007         atanh as spurious.
16008         * math/auto-libm-test-out: Regenerated.
16009         * sysdeps/i386/fpu/libm-test-ulps: Update.
16010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012 2014-03-25  Andreas Schwab  <schwab@suse.de>
16014         * libio/Makefile (tst-ftell-partial-wide-ENV)
16015         (tst-ftell-active-handler-ENV): Define.
16017 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
16019         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16021 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16023         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16025 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16027         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16028         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16029         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16031 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16033         [BZ #16634]
16034         * elf/dl-load.c (open_verify): Add mode parameter.
16035         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16036         (open_path): Change from boolean 'secure' to complete flag 'mode'
16037         (_dl_map_object): Adjust.
16038         * elf/Makefile (tests): Add tst-dlopen-aout.
16039         * elf/tst-dlopen-aout.c: New test.
16041 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
16043         [BZ #16714]
16044         * sysdeps/unix/sysv/linux/s390/bits/stat.h
16045         (struct stat): Rename member pad0 to __glibc_reserved0.
16047         [BZ #16712]
16048         * sysdeps/s390/s390-32/bits/wordsize.h
16049         (__WORDSIZE32_SIZE_ULONG): New define.
16050         * sysdeps/s390/s390-64/bits/wordsize.h
16051         (__WORDSIZE32_SIZE_ULONG): Likewise.
16052         * sysdeps/generic/stdint.h (SIZE_MAX):
16053         Define as UL if __WORDSIZE32_SIZE_ULONG.
16055         [BZ #16713]
16056         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16057         (__glibc_reserved0): New variable.
16058         (sa_flags): Change type to int.
16060         * posix/Makefile (before-compile): Use += before-compile instead
16061         of a :=.
16063         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16064         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16066 2014-03-20  Andreas Schwab  <schwab@suse.de>
16068         [BZ #16743]
16069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16070         non-matching result from nscd.
16072 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16074         * scripts/bench.py: Moved to ...
16075         * benchtests/scripts/bench.py: ... here.
16076         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16078 2014-03-24  Andreas Schwab  <schwab@suse.de>
16080         [BZ #16002]
16081         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16082         alloca_account and account alloca use for struct in6ailist.
16084 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16086         [BZ #16284]
16087         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16088         rounding mode to recompute results that overflow to infinity or
16089         underflow to zero.
16090         * math/auto-libm-test-in: Don't mark tests as expected to fail for
16091         bug 16284.
16092         * math/auto-libm-test-out: Regenerated.
16093         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16094         (ccosh_test): Likewise.
16095         (csin_test_data): Use plus_oflow.
16096         (csin_test): Use ALL_RM_TEST.
16097         (csinh_test_data): Use plus_oflow.
16098         (csinh_test): Use ALL_RM_TEST.
16099         * sysdeps/i386/fpu/libm-test-ulps: Update.
16100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16102 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
16104         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16105         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16106         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16108         [BZ #16731]
16109         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16110         when x - 1 is zero.
16111         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16112         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16113         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16115         argument is 1.
16116         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16117         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16118         zero.
16119         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16120         * sysdeps/i386/fpu/libm-test-ulps: Update.
16121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16123 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16125         * scripts/bench.pl: Remove file.
16126         * scripts/bench.py: New benchmark script.
16127         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16128         * benchtests/README: Mention python dependency.
16129         * scripts/pylintrc: New file.
16130         * scripts/pylint: New file.
16132         * bits/mathdef.h: Use #ifdef instead of #if.
16133         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16134         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16135         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16136         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16137         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16138         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16140 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16141             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16143         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16145         and strpbrk-ppc64 objects.
16146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16147         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16148         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16149         multiarch strpbrk for POWER7.
16150         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16151         multiarch strpbrk for PPC64.
16152         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16153         ifunc selector.
16154         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16155         strpbrk for POWER7.
16157 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16159         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16160         (atan_test): Likewise.
16161         (atanh_test_data): Use NO_TEST_INLINE for two tests.
16162         (atanh_test): Use ALL_RM_TEST.
16163         (atan2_test_data): Likewise.
16164         (cabs_test): Likewise.
16165         (cacosh_test): Likewise.
16166         (carg_test): Likewise.
16167         (casin_test): Likewise.
16168         (casinh_test): Likewise.
16169         (cbrt_test): Likewise.
16170         (csqrt_test): Likewise.
16171         (erf_test): Likewise.
16172         (erfc_test): Likewise.
16173         (pow10_test): Likewise.
16174         (exp2_test): Likewise.
16175         (hypot_test): Likewise.
16176         (j0_test): Likewise.
16177         (j1_test): Likewise.
16178         (lgamma_test): Likewise.
16179         (gamma_test): Likewise.
16180         (sincos_test): Likewise.
16181         (tanh_test): Likewise.
16182         (y0_test): Likewise.
16183         (y1_test): Likewise.
16184         * sysdeps/i386/fpu/libm-test-ulps: Update.
16185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16187 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16189         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16191         and strcspn-ppc64 objects.
16192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16193         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16194         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16195         multiarch strcspn for POWER7.
16196         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16197         multiarch strcspn for PPC64.
16198         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16199         ifunc selector.
16200         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16201         strcspn for POWER7.
16203 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16205         * math/gen-libm-test.pl (generate_testfile): Expect only function
16206         name as argument to AUTO_TESTS_* and pass results for all rounding
16207         modes to parse_args.
16208         (parse_auto_input): Separate inputs of automatic tests from
16209         outputs before storing in %auto_tests.
16210         * math/libm-test.inc (acos_test_data): Update call to
16211         AUTO_TESTS_f_f.
16212         (acos_test): Use ALL_RM_TEST.
16213         (acos_tonearest_test_data): Remove.
16214         (acos_test_tonearest): Likewise.
16215         (acos_towardzero_test_data): Likewise.
16216         (acos_test_towardzero): Likewise.
16217         (acos_downward_test_data): Likewise.
16218         (acos_test_downward): Likewise.
16219         (acos_upward_test_data): Likewise.
16220         (acos_test_upward): Likewise.
16221         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16222         (asin_test_data): Likewise.
16223         (asin_test): Use ALL_RM_TEST.
16224         (asin_tonearest_test_data): Remove.
16225         (asin_test_tonearest): Likewise.
16226         (asin_towardzero_test_data): Likewise.
16227         (asin_test_towardzero): Likewise.
16228         (asin_downward_test_data): Likewise.
16229         (asin_test_downward): Likewise.
16230         (asin_upward_test_data): Likewise.
16231         (asin_test_upward): Likewise.
16232         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16233         (atan_test_data): Likewise.
16234         (atanh_test_data): Likewise.
16235         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16236         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16237         (carg_test_data): Likewise.
16238         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16239         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16240         (ccosh_test_data): Likewise.
16241         (cexp_test_data): Likewise.
16242         (clog_test_data): Likewise.
16243         (clog10_test_data): Likewise.
16244         (cos_test_data): Update call to AUTO_TESTS_f_f.
16245         (cos_test): Use ALL_RM_TEST.
16246         (cos_tonearest_test_data): Remove.
16247         (cos_test_tonearest): Likewise.
16248         (cos_towardzero_test_data): Likewise.
16249         (cos_test_towardzero): Likewise.
16250         (cos_downward_test_data): Likewise.
16251         (cos_test_downward): Likewise.
16252         (cos_upward_test_data): Likewise.
16253         (cos_test_upward): Likewise.
16254         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16255         (cosh_test): Use ALL_RM_TEST.
16256         (cosh_tonearest_test_data): Remove.
16257         (cosh_test_tonearest): Likewise.
16258         (cosh_towardzero_test_data): Likewise.
16259         (cosh_test_towardzero): Likewise.
16260         (cosh_downward_test_data): Likewise.
16261         (cosh_test_downward): Likewise.
16262         (cosh_upward_test_data): Likewise.
16263         (cosh_test_upward): Likewise.
16264         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16265         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16266         (ctan_test_data): Likewise.
16267         (ctan_test): Use ALL_RM_TEST.
16268         (ctan_tonearest_test_data): Remove.
16269         (ctan_test_tonearest): Likewise.
16270         (ctan_towardzero_test_data): Likewise.
16271         (ctan_test_towardzero): Likewise.
16272         (ctan_downward_test_data): Likewise.
16273         (ctan_test_downward): Likewise.
16274         (ctan_upward_test_data): Likewise.
16275         (ctan_test_upward): Likewise.
16276         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16277         (ctanh_test): Use ALL_RM_TEST.
16278         (ctanh_tonearest_test_data): Remove.
16279         (ctanh_test_tonearest): Likewise.
16280         (ctanh_towardzero_test_data): Likewise.
16281         (ctanh_test_towardzero): Likewise.
16282         (ctanh_downward_test_data): Likewise.
16283         (ctanh_test_downward): Likewise.
16284         (ctanh_upward_test_data): Likewise.
16285         (ctanh_test_upward): Likewise.
16286         (erf_test_data): Update call to AUTO_TESTS_f_f.
16287         (erfc_test_data): Likewise.
16288         (exp_test_data): Likewise.
16289         (exp_test): Use ALL_RM_TEST.
16290         (exp_tonearest_test_data): Remove.
16291         (exp_test_tonearest): Likewise.
16292         (exp_towardzero_test_data): Likewise.
16293         (exp_test_towardzero): Likewise.
16294         (exp_downward_test_data): Likewise.
16295         (exp_test_downward): Likewise.
16296         (exp_upward_test_data): Likewise.
16297         (exp_test_upward): Likewise.
16298         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16299         (exp10_test): Use ALL_RM_TEST.
16300         (exp10_tonearest_test_data): Remove.
16301         (exp10_test_tonearest): Likewise.
16302         (exp10_towardzero_test_data): Likewise.
16303         (exp10_test_towardzero): Likewise.
16304         (exp10_downward_test_data): Likewise.
16305         (exp10_test_downward): Likewise.
16306         (exp10_upward_test_data): Likewise.
16307         (exp10_test_upward): Likewise.
16308         (exp2_test_data): Update call to AUTO_TESTS_f_f.
16309         (expm1_test_data): Likewise.
16310         (expm1_test): Use ALL_RM_TEST.
16311         (expm1_tonearest_test_data): Remove.
16312         (expm1_test_tonearest): Likewise.
16313         (expm1_towardzero_test_data): Likewise.
16314         (expm1_test_towardzero): Likewise.
16315         (expm1_downward_test_data): Likewise.
16316         (expm1_test_downward): Likewise.
16317         (expm1_upward_test_data): Likewise.
16318         (expm1_test_upward): Likewise.
16319         (fma_test_data): Update call to AUTO_TESTS_fff_f.
16320         (fma_test): Use ALL_RM_TEST.
16321         (fma_towardzero_test_data): Remove.
16322         (fma_test_towardzero): Likewise.
16323         (fma_downward_test_data): Likewise.
16324         (fma_test_downward): Likewise.
16325         (fma_upward_test_data): Likewise.
16326         (fma_test_upward): Likewise.
16327         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16328         (j0_test_data): Update call to AUTO_TESTS_f_f.
16329         (j1_test_data): Likewise.
16330         (jn_test_data): Update call to AUTO_TESTS_if_f.
16331         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16332         (log_test_data): Update call to AUTO_TESTS_f_f.
16333         (log10_test_data): Likewise.
16334         (log1p_test_data): Likewise.
16335         (log2_test_data): Likewise.
16336         (pow_test_data): Update call to AUTO_TESTS_ff_f.
16337         (pow_tonearest_test_data): Likewise.
16338         (sin_test_data): Update call to AUTO_TESTS_f_f.
16339         (sin_test): Use ALL_RM_TEST.
16340         (sin_tonearest_test_data): Remove.
16341         (sin_test_tonearest): Likewise.
16342         (sin_towardzero_test_data): Likewise.
16343         (sin_test_towardzero): Likewise.
16344         (sin_downward_test_data): Likewise.
16345         (sin_test_downward): Likewise.
16346         (sin_upward_test_data): Likewise.
16347         (sin_test_upward): Likewise.
16348         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16349         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16350         (sinh_test): Use ALL_RM_TEST.
16351         (sinh_tonearest_test_data): Remove.
16352         (sinh_test_tonearest): Likewise.
16353         (sinh_towardzero_test_data): Likewise.
16354         (sinh_test_towardzero): Likewise.
16355         (sinh_downward_test_data): Likewise.
16356         (sinh_test_downward): Likewise.
16357         (sinh_upward_test_data): Likewise.
16358         (sinh_test_upward): Likewise.
16359         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16360         (sqrt_test): Use ALL_RM_TEST.
16361         (sqrt_tonearest_test_data): Remove.
16362         (sqrt_test_tonearest): Likewise.
16363         (sqrt_towardzero_test_data): Likewise.
16364         (sqrt_test_towardzero): Likewise.
16365         (sqrt_downward_test_data): Likewise.
16366         (sqrt_test_downward): Likewise.
16367         (sqrt_upward_test_data): Likewise.
16368         (sqrt_test_upward): Likewise.
16369         (tan_test_data): Update call to AUTO_TESTS_f_f.
16370         (tan_test): Use ALL_RM_TEST.
16371         (tan_tonearest_test_data): Remove.
16372         (tan_test_tonearest): Likewise.
16373         (tan_towardzero_test_data): Likewise.
16374         (tan_test_towardzero): Likewise.
16375         (tan_downward_test_data): Likewise.
16376         (tan_test_downward): Likewise.
16377         (tan_upward_test_data): Likewise.
16378         (tan_test_upward): Likewise.
16379         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16380         (tgamma_test_data): Likewise.
16381         (y0_test_data): Likewise.
16382         (y1_test_data): Likewise.
16383         (yn_test_data): Update call to AUTO_TESTS_if_f.
16384         (main): Do not call removed functions.
16386 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16388         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16389         (ldexp_test_data): Remove.
16390         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16391         scalbn_test_data.
16392         (scalb_test): Use ALL_RM_TEST.
16394 2014-03-19  Andreas Schwab  <schwab@suse.de>
16396         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16398 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16400         [BZ #16649]
16401         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16402         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16405         (__ASSUME_PREADV): Undefine.
16406         (__ASSUME_PWRITEV): Likewise.
16408 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16410         * bits/mman-linux.h: Add comment about non-Linux use.
16411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16412         bits/mman-linux.h resting place.
16414         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16415         * bits/mman-linux.h: ... here.
16417 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16419         * conform/conformtest.pl: Add standard definition when calling C
16420         preprocessor on data files.
16421         (checknamespace): Remove unused variable.
16423 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16425         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16426         minus_oflow, plus_uflow and minus_uflow in expected results.
16427         * math/libm-test.inc (scalbn_test_data): Add more tests of
16428         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16429         minus_uflow.
16430         (scalbn_test): Use ALL_RM_TEST.
16431         (scalbln_test_data): Add more tests of negative arguments.  Use
16432         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16433         (scalbln_test): Use ALL_RM_TEST.
16435 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16437         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16439 2014-03-18  Will Newton  <will.newton@linaro.org>
16441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16442         inaccurate comment.
16444 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16446         * Makerules [!subdir] (check-abi): Exit with error status if a
16447         test failed.
16449 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16451         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16452         for rint.  Include results for all rounding modes.
16453         (nearbyint_test): Use ALL_RM_TEST.
16454         (rint_test_data): Include all tests used for nearbyint.
16456 2014-03-17  Will Newton  <will.newton@linaro.org>
16458         * nptl/sysdeps/pthread/pthread.h: Revert previous
16459         change.
16461         * sysdeps/generic/ldsodefs.h: Revert previous
16462         change.
16464         * libio/genops.c: Revert previous change.
16465         * libio/libioP.h: Likewise.
16466         * stdio-common/vfprintf.c: Likewise.
16468         * sysdeps/generic/math_private.h: Revert previous
16469         change.
16471         * sysdeps/generic/math_private.h: Check whether
16472         HAVE_RM_CTX is defined with #ifdef rather
16473         than #if.
16475         * argp/argp-fmtstream.h: Check whether
16476         __STRICT_ANSI__ is defined with #ifdef rather
16477         than #if.
16478         * argp/argp.h: Likewise.
16480         * libio/genops.c: Check whether
16481         _IO_JUMPS_OFFSET is defined with #ifdef rather
16482         than #if.
16483         * libio/libioP.h: Likewise.
16484         * stdio-common/vfprintf.c: Likewise.
16486         * sysdeps/generic/ldsodefs.h: Check whether
16487         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16488         than #if.
16490         * nptl/sysdeps/pthread/pthread.h: Check
16491         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16492         its value.
16494 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16496         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16497         setting O_APPEND.
16498         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16499         test case.
16501         [BZ #16680]
16502         * libio/fileops.c (_IO_file_open): Seek to end of file but
16503         don't cache the offset.
16504         (get_file_offset): Remove function.
16505         (do_ftell): Use cached offset when available.
16506         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16507         don't cache the offset.
16508         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16509         case.
16510         (do_one_test): Call it.
16511         (do_ftell_test): Fix up expected old offset for a+ mode.
16512         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16513         available.
16515         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16516         up test status with function return status.
16517         (do_write_test): Likewise.
16518         (do_append_test): Likewise.
16520         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16521         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16522         Remove.
16524 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16526         * math/gen-libm-test.pl (parse_args): Handle results specified for
16527         each rounding mode separately.
16528         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16529         tests and results from lrint_tonearest_test_data,
16530         lrint_towardzero_test_data, lrint_downward_test_data and
16531         lrint_upward_test_data.
16532         (lrint_test): Use ALL_RM_TEST.
16533         (lrint_tonearest_test_data): Remove.
16534         (lrint_test_tonearest): Likewise.
16535         (lrint_towardzero_test_data): Likewise.
16536         (lrint_test_towardzero): Likewise.
16537         (lrint_downward_test_data): Likewise.
16538         (lrint_test_downward): Likewise.
16539         (lrint_upward_test_data): Likewise.
16540         (lrint_test_upward): Likewise.
16541         (llrint_test_data): Merge in per-rounding-mode tests and results
16542         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16543         llrint_downward_test_data and llrint_upward_test_data.
16544         (llrint_test): Use ALL_RM_TEST.
16545         (llrint_tonearest_test_data): Remove.
16546         (llrint_test_tonearest): Likewise.
16547         (llrint_towardzero_test_data): Likewise.
16548         (llrint_test_towardzero): Likewise.
16549         (llrint_downward_test_data): Likewise.
16550         (llrint_test_downward): Likewise.
16551         (llrint_upward_test_data): Likewise.
16552         (llrint_test_upward): Likewise.
16553         (rint_test_data): Merge in per-rounding-mode tests and results
16554         from rint_tonearest_test_data, rint_towardzero_test_data,
16555         rint_downward_test_data and rint_upward_test_data.  Add
16556         per-rounding-mode results for tests not in those arrays.
16557         (rint_test): Use ALL_RM_TEST.
16558         (rint_tonearest_test_data): Remove.
16559         (rint_test_tonearest): Likewise.
16560         (rint_towardzero_test_data): Likewise.
16561         (rint_test_towardzero): Likewise.
16562         (rint_downward_test_data): Likewise.
16563         (rint_test_downward): Likewise.
16564         (rint_upward_test_data): Likewise.
16565         (rint_test_upward): Likewise.
16566         (main): Don't call removed functions.
16568 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16570         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16571         "Compiled on ..." crapola.  It is anti-useful.
16573 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16575         * scripts/evaluate-test.sh: Handle fourth argument to determine
16576         whether test run should stop on failure.
16577         * Makeconfig (stop-on-test-failure): New variable.
16578         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16579         $(stop-on-test-failure).
16580         * Makefile (tests): Give a summary of results from testing and
16581         exit with failure status if they include an ERROR or FAIL.
16582         (xtests): Likewise.
16583         * manual/install.texi (Configuring and compiling): Mention
16584         stop-on-test-failure=y.
16585         * INSTALL: Regenerated.
16587 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16589         * scripts/versionlist.awk: New file.
16590         * Makerules [$(build-shared) = yes]
16591         (postclean-generated): Add Versions.def, not Versions.def.v and
16592         Versions.def.v.i.
16593         ($(common-objpfx)Versions.def.v.i): Target removed.
16594         ($(common-objpfx)Versions.def): New target.
16595         ($(common-objpfx)Versions.all): Depend on that rather that
16596         $(common-objpfx)Versions.def.v.
16597         * Versions.def: File removed.
16599         * Makeconfig (+gccwarn): Add -Wundef.
16600         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16601         a dl-sysdep.h breaking its contract.
16602         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16603         * include/stackinfo.h: New file.
16604         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16605         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16606         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16607         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16608         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16609         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16610         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16611         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16612         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16613         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16614         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16615         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16616         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16617         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16618         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16620 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         [BZ #16707]
16623         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16624         implementation.
16625         * math/libm-test.inc (round_test_data): Add more tests.
16627         [BZ #16706]
16628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16629         implementation.
16630         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16632         [BZ #16701]
16633         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16634         implementation.
16635         * math/libm-test.inc (ceil_test_data): Add more tests.
16637         * math/libm-test.inc (trunc_test_data): Add more tests related to
16638         BZ#16414.
16640 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16642         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16643         with #if rather than #ifdef.
16644         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16646 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16648         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16649         first.  Disable AVX-512 GCC support if assembler doesn't support
16650         it.
16651         * sysdeps/x86_64/configure: Regenerated.
16653 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16655         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16656         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16657         (__old_pthread_attr_setstack): Likewise.
16658         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16659         [!_STACK_GROWS_DOWN]: Likewise.
16661 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16663         * config.make.in (have-bash2): Delete.
16664         * configure.ac (libc_cv_have_bash2): Delete.
16665         * configure: Regenerate.
16666         * elf/Makefile (common-ldd-rewrite): Rename to ...
16667         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16668         (sh-ldd-rewrite): Delete.
16669         (bash-ldd-rewrite): Delete.
16670         (have-bash2): Delete checks.
16671         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16672         ldd-rewrite.
16674         * config.make.in (have-ksh): Delete.
16675         (KSH): Delete.
16676         * configure.ac (libc_cv_have_ksh): Delete.
16677         * configure: Regenerate.
16679         * elf/Makefile: Delete $(have-ksh) check.
16680         ($(objpfx)sotruss): Change KSH to BASH.
16681         * elf/sotruss.ksh: Rename to ...
16682         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16683         function style to match POSIX.  Drop ksh vim mode setting.
16685         * manual/time.texi (Specifying the Time Zone with TZ): Change
16686         Tuesday to Thursday.
16688         * debug/tst-longjmp_chk2.c: Update header comment.
16689         (stackoverflow_handler): Add comment.  Call assert on pass value.
16691 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16693         [BZ #16194]
16694         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16695         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16696         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16697         (La_x86_64_vector): Add zmm.
16698         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16699         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16700         ($(objpfx)tst-audit10): New target.
16701         ($(objpfx)tst-audit10.out): Likewise.
16702         (tst-audit10-ENV): New.
16703         (AVX512-CFLAGS): Likewise.
16704         (CFLAGS-tst-audit10.c): Likewise.
16705         (CFLAGS-tst-auditmod10a.c): Likewise.
16706         (CFLAGS-tst-auditmod10b.c): Likewise.
16707         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16708         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16709         * sysdeps/x86_64/configure: Regenerated.
16710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16711         AVX-512 zmm register support.
16712         (_dl_x86_64_save_sse): Likewise.
16713         (_dl_x86_64_restore_sse): Likewise.
16714         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16715         size vector registers.
16716         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16717         (ZMM_SIZE): Likewise.
16718         * sysdeps/x86_64/tst-audit10.c: New file.
16719         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16720         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16722 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16724         * configure.ac (HAVE_EHDR_START): New check.
16725         * configure: Regenerated.
16726         * config.h.in (HAVE_EHDR_START): New #undef.
16727         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16728         assuming the lowest-addressed segment maps the start of the file.
16730 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16732         * INSTALL: Regenerated.
16734 2014-03-13  Will Newton  <will.newton@linaro.org>
16736         * manual/setjmp.texi (System V contexts): Improve
16737         clarity and grammar of documentation.
16739 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16741         [BZ #16381]
16742         * elf/Makefile (tests): Add tst-pie2.
16743         (tests-pie): Add tst-pie2.
16744         * elf/tst-pie2.c: New file.
16745         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16746         for ET_EXEC.
16747         * elf/rtld.c (map_doit): Load executable as lt_executable.
16748         (dl_main): Likewise.
16750 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16752         [BZ #16642]
16753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16754         (__ASSUME_PSELECT): Undefine.
16756 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16758         [BZ #16689]
16759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16760         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16761         static build.
16762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16763         selector for static builds.
16765 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16767         [BZ #16695]
16768         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16769         key in the buffer.
16771 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16773         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16774         IFUNC selector for static builds.
16776 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16778         * sysdeps/mips/math_private.h [__mips_hard_float]
16779         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16780         libc_feresetround_mips_ctx.
16781         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16782         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16783         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16785         [BZ #16677]
16786         * math/s_nextafter.c (__nextafter): Do not return value from
16787         overflowing computation.
16788         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16789         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16790         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16791         Likewise.
16792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16793         Likewise.
16794         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16795         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16797 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16799         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16800         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16801         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16802         the new mov targetting sp.
16804 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16806         [BZ #16683]
16807         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16808         Define it for static builds as well.
16809         (NO_BZERO_IMPL): Likewise.
16811 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16813         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16814         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16815         multiarch strspn for PPC64.
16816         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16817         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16819         (__libc_ifunc_impl_list): Likewise.
16820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16821         multiarch optimizations
16822         * string/strspn.c (strspn): Using macro to redefine symbol name.
16824 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16827         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16828         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16829         multiarch strncat for PPC64.
16830         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16831         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16833         (__libc_ifunc_impl_list): Likewise.
16834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16835         multiarch optimizations
16837 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16839         [BZ #16639]
16840         * nscd/nscd.service: Make service type forking.
16842 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16844         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16845         sign in non default rounding modes.
16846         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16848 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16850         * math/libm-test.inc (ALL_RM_TEST): New macro.
16851         (ceil_test): Use ALL_RM_TEST.
16852         (cimag_test): Likewise.
16853         (conj_test): Likewise.
16854         (copysign_test): Likewise.
16855         (cproj_test): Likewise.
16856         (creal_test): Likewise.
16857         (fabs_test): Likewise.
16858         (floor_test): Likewise.
16859         (fmax_test): Likewise.
16860         (fmin_test): Likewise.
16861         (fmod_test): Likewise.
16862         (fpclassify_test): Likewise.
16863         (frexp_test): Likewise.
16864         (ilogb_test): Likewise.
16865         (isfinite_test): Likewise.
16866         (finite_test): Likewise.
16867         (isgreater_test): Likewise.
16868         (isgreaterequal_test): Likewise.
16869         (isinf_test): Likewise.
16870         (isless_test): Likewise.
16871         (islessequal_test): Likewise.
16872         (islessgreater_test): Likewise.
16873         (isnan_test): Likewise.
16874         (isnormal_test): Likewise.
16875         (issignaling_test): Likewise.
16876         (isunordered_test): Likewise.
16877         (logb_test): Likewise.
16878         (logb_downward_test_data): Remove.
16879         (logb_test_downward): Likewise.
16880         (lround_test): Use ALL_RM_TEST.
16881         (llround_test): Likewise.
16882         (modf_test): Likewise.
16883         (nexttoward_test): Likewise.
16884         (remainder_test): Likewise.
16885         (drem_test): Likewise.
16886         (remainder_tonearest_test_data): Likewise.
16887         (remainder_test_tonearest): Likewise.
16888         (drem_test_tonearest): Likewise.
16889         (remainder_towardzero_test_data): Likewise.
16890         (remainder_test_towardzero): Likewise.
16891         (drem_test_towardzero): Likewise.
16892         (remainder_downward_test_data): Likewise.
16893         (remainder_test_downward): Likewise.
16894         (drem_test_downward): Likewise.
16895         (remainder_upward_test_data): Likewise.
16896         (remainder_test_upward): Likewise.
16897         (drem_test_upward): Likewise.
16898         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16899         (round_test): Use ALL_RM_TEST.
16900         (signbit_test): Likewise.
16901         (trunc_test): Likewise.
16902         (significand_test): Likewise.
16903         (main): Don't call removed functions.
16905 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16907         [BZ #16674]
16908         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16909         || __USE_XOPEN2K8].
16910         (ILL_ILLOPN): Likewise.
16911         (ILL_ILLADR): Likewise.
16912         (ILL_ILLTRP): Likewise.
16913         (ILL_PRVOPC): Likewise.
16914         (ILL_PRVREG): Likewise.
16915         (ILL_COPROC): Likewise.
16916         (ILL_BADSTK): Likewise.
16917         (FPE_INTDIV): Likewise.
16918         (FPE_INTOVF): Likewise.
16919         (FPE_FLTDIV): Likewise.
16920         (FPE_FLTOVF): Likewise.
16921         (FPE_FLTUND): Likewise.
16922         (FPE_FLTRES): Likewise.
16923         (FPE_FLTINV): Likewise.
16924         (FPE_FLTSUB): Likewise.
16925         (SEGV_MAPERR): Likewise.
16926         (SEGV_ACCERR): Likewise.
16927         (BUS_ADRALN): Likewise.
16928         (BUS_ADRERR): Likewise.
16929         (BUS_OBJERR): Likewise.
16930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16931         (TRAP_TRACE): Likewise.
16932         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16933         __USE_XOPEN2K8].
16934         (CLD_KILLED): Likewise.
16935         (CLD_DUMPED): Likewise.
16936         (CLD_TRAPPED): Likewise.
16937         (CLD_STOPPED): Likewise.
16938         (CLD_CONTINUED): Likewise.
16939         (POLL_IN): Likewise.
16940         (POLL_OUT): Likewise.
16941         (POLL_MSG): Likewise.
16942         (POLL_ERR): Likewise.
16943         (POLL_PRI): Likewise.
16944         (POLL_HUP): Likewise.
16945         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16946         Likewise.
16947         (ILL_ILLOPN): Likewise.
16948         (ILL_ILLADR): Likewise.
16949         (ILL_ILLTRP): Likewise.
16950         (ILL_PRVOPC): Likewise.
16951         (ILL_PRVREG): Likewise.
16952         (ILL_COPROC): Likewise.
16953         (ILL_BADSTK): Likewise.
16954         (FPE_INTDIV): Likewise.
16955         (FPE_INTOVF): Likewise.
16956         (FPE_FLTDIV): Likewise.
16957         (FPE_FLTOVF): Likewise.
16958         (FPE_FLTUND): Likewise.
16959         (FPE_FLTRES): Likewise.
16960         (FPE_FLTINV): Likewise.
16961         (FPE_FLTSUB): Likewise.
16962         (SEGV_MAPERR): Likewise.
16963         (SEGV_ACCERR): Likewise.
16964         (BUS_ADRALN): Likewise.
16965         (BUS_ADRERR): Likewise.
16966         (BUS_OBJERR): Likewise.
16967         (BUS_MCEERR_AR): Likewise.
16968         (BUS_MCEERR_AO): Likewise.
16969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16970         (TRAP_TRACE): Likewise.
16971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16972         __USE_XOPEN2K8].
16973         (CLD_KILLED): Likewise.
16974         (CLD_DUMPED): Likewise.
16975         (CLD_TRAPPED): Likewise.
16976         (CLD_STOPPED): Likewise.
16977         (CLD_CONTINUED): Likewise.
16978         (POLL_IN): Likewise.
16979         (POLL_OUT): Likewise.
16980         (POLL_MSG): Likewise.
16981         (POLL_ERR): Likewise.
16982         (POLL_PRI): Likewise.
16983         (POLL_HUP): Likewise.
16984         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16985         (ILL_ILLOPN): Likewise.
16986         (ILL_ILLADR): Likewise.
16987         (ILL_ILLTRP): Likewise.
16988         (ILL_PRVOPC): Likewise.
16989         (ILL_PRVREG): Likewise.
16990         (ILL_COPROC): Likewise.
16991         (ILL_BADSTK): Likewise.
16992         (FPE_INTDIV): Likewise.
16993         (FPE_INTOVF): Likewise.
16994         (FPE_FLTDIV): Likewise.
16995         (FPE_FLTOVF): Likewise.
16996         (FPE_FLTUND): Likewise.
16997         (FPE_FLTRES): Likewise.
16998         (FPE_FLTINV): Likewise.
16999         (FPE_FLTSUB): Likewise.
17000         (SEGV_MAPERR): Likewise.
17001         (SEGV_ACCERR): Likewise.
17002         (BUS_ADRALN): Likewise.
17003         (BUS_ADRERR): Likewise.
17004         (BUS_OBJERR): Likewise.
17005         (BUS_MCEERR_AR): Likewise.
17006         (BUS_MCEERR_AO): Likewise.
17007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17008         (TRAP_TRACE): Likewise.
17009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17010         __USE_XOPEN2K8].
17011         (CLD_KILLED): Likewise.
17012         (CLD_DUMPED): Likewise.
17013         (CLD_TRAPPED): Likewise.
17014         (CLD_STOPPED): Likewise.
17015         (CLD_CONTINUED): Likewise.
17016         (POLL_IN): Likewise.
17017         (POLL_OUT): Likewise.
17018         (POLL_MSG): Likewise.
17019         (POLL_ERR): Likewise.
17020         (POLL_PRI): Likewise.
17021         (POLL_HUP): Likewise.
17022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17023         Likewise.
17024         (ILL_ILLOPN): Likewise.
17025         (ILL_ILLADR): Likewise.
17026         (ILL_ILLTRP): Likewise.
17027         (ILL_PRVOPC): Likewise.
17028         (ILL_PRVREG): Likewise.
17029         (ILL_COPROC): Likewise.
17030         (ILL_BADSTK): Likewise.
17031         (ILL_BADIADDR): Likewise.
17032         (ILL_BREAK): Likewise.
17033         (FPE_INTDIV): Likewise.
17034         (FPE_INTOVF): Likewise.
17035         (FPE_FLTDIV): Likewise.
17036         (FPE_FLTOVF): Likewise.
17037         (FPE_FLTUND): Likewise.
17038         (FPE_FLTRES): Likewise.
17039         (FPE_FLTINV): Likewise.
17040         (FPE_FLTSUB): Likewise.
17041         (FPE_DECOVF): Likewise.
17042         (FPE_DECDIV): Likewise.
17043         (FPE_DECERR): Likewise.
17044         (FPE_INVASC): Likewise.
17045         (FPE_INVDEC): Likewise.
17046         (SEGV_MAPERR): Likewise.
17047         (SEGV_ACCERR): Likewise.
17048         (SEGV_PSTKOVF): Likewise.
17049         (BUS_ADRALN): Likewise.
17050         (BUS_ADRERR): Likewise.
17051         (BUS_OBJERR): Likewise.
17052         (BUS_MCEERR_AR): Likewise.
17053         (BUS_MCEERR_AO): Likewise.
17054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17055         (TRAP_TRACE): Likewise.
17056         (TRAP_BRANCH): Likewise.
17057         (TRAP_HWBKPT): Likewise.
17058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17059         __USE_XOPEN2K8].
17060         (CLD_KILLED): Likewise.
17061         (CLD_DUMPED): Likewise.
17062         (CLD_TRAPPED): Likewise.
17063         (CLD_STOPPED): Likewise.
17064         (CLD_CONTINUED): Likewise.
17065         (POLL_IN): Likewise.
17066         (POLL_OUT): Likewise.
17067         (POLL_MSG): Likewise.
17068         (POLL_ERR): Likewise.
17069         (POLL_PRI): Likewise.
17070         (POLL_HUP): Likewise.
17071         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17072         (ILL_ILLOPN): Likewise.
17073         (ILL_ILLADR): Likewise.
17074         (ILL_ILLTRP): Likewise.
17075         (ILL_PRVOPC): Likewise.
17076         (ILL_PRVREG): Likewise.
17077         (ILL_COPROC): Likewise.
17078         (ILL_BADSTK): Likewise.
17079         (FPE_INTDIV): Likewise.
17080         (FPE_INTOVF): Likewise.
17081         (FPE_FLTDIV): Likewise.
17082         (FPE_FLTOVF): Likewise.
17083         (FPE_FLTUND): Likewise.
17084         (FPE_FLTRES): Likewise.
17085         (FPE_FLTINV): Likewise.
17086         (FPE_FLTSUB): Likewise.
17087         (SEGV_MAPERR): Likewise.
17088         (SEGV_ACCERR): Likewise.
17089         (BUS_ADRALN): Likewise.
17090         (BUS_ADRERR): Likewise.
17091         (BUS_OBJERR): Likewise.
17092         (BUS_MCEERR_AR): Likewise.
17093         (BUS_MCEERR_AO): Likewise.
17094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17095         (TRAP_TRACE): Likewise.
17096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17097         __USE_XOPEN2K8].
17098         (CLD_KILLED): Likewise.
17099         (CLD_DUMPED): Likewise.
17100         (CLD_TRAPPED): Likewise.
17101         (CLD_STOPPED): Likewise.
17102         (CLD_CONTINUED): Likewise.
17103         (POLL_IN): Likewise.
17104         (POLL_OUT): Likewise.
17105         (POLL_MSG): Likewise.
17106         (POLL_ERR): Likewise.
17107         (POLL_PRI): Likewise.
17108         (POLL_HUP): Likewise.
17109         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17110         (ILL_ILLOPN): Likewise.
17111         (ILL_ILLADR): Likewise.
17112         (ILL_ILLTRP): Likewise.
17113         (ILL_PRVOPC): Likewise.
17114         (ILL_PRVREG): Likewise.
17115         (ILL_COPROC): Likewise.
17116         (ILL_BADSTK): Likewise.
17117         (FPE_INTDIV): Likewise.
17118         (FPE_INTOVF): Likewise.
17119         (FPE_FLTDIV): Likewise.
17120         (FPE_FLTOVF): Likewise.
17121         (FPE_FLTUND): Likewise.
17122         (FPE_FLTRES): Likewise.
17123         (FPE_FLTINV): Likewise.
17124         (FPE_FLTSUB): Likewise.
17125         (SEGV_MAPERR): Likewise.
17126         (SEGV_ACCERR): Likewise.
17127         (BUS_ADRALN): Likewise.
17128         (BUS_ADRERR): Likewise.
17129         (BUS_OBJERR): Likewise.
17130         (BUS_MCEERR_AR): Likewise.
17131         (BUS_MCEERR_AO): Likewise.
17132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17133         (TRAP_TRACE): Likewise.
17134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17135         __USE_XOPEN2K8].
17136         (CLD_KILLED): Likewise.
17137         (CLD_DUMPED): Likewise.
17138         (CLD_TRAPPED): Likewise.
17139         (CLD_STOPPED): Likewise.
17140         (CLD_CONTINUED): Likewise.
17141         (POLL_IN): Likewise.
17142         (POLL_OUT): Likewise.
17143         (POLL_MSG): Likewise.
17144         (POLL_ERR): Likewise.
17145         (POLL_PRI): Likewise.
17146         (POLL_HUP): Likewise.
17147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17148         (ILL_ILLOPN): Likewise.
17149         (ILL_ILLADR): Likewise.
17150         (ILL_ILLTRP): Likewise.
17151         (ILL_PRVOPC): Likewise.
17152         (ILL_PRVREG): Likewise.
17153         (ILL_COPROC): Likewise.
17154         (ILL_BADSTK): Likewise.
17155         (FPE_INTDIV): Likewise.
17156         (FPE_INTOVF): Likewise.
17157         (FPE_FLTDIV): Likewise.
17158         (FPE_FLTOVF): Likewise.
17159         (FPE_FLTUND): Likewise.
17160         (FPE_FLTRES): Likewise.
17161         (FPE_FLTINV): Likewise.
17162         (FPE_FLTSUB): Likewise.
17163         (SEGV_MAPERR): Likewise.
17164         (SEGV_ACCERR): Likewise.
17165         (BUS_ADRALN): Likewise.
17166         (BUS_ADRERR): Likewise.
17167         (BUS_OBJERR): Likewise.
17168         (BUS_MCEERR_AR): Likewise.
17169         (BUS_MCEERR_AO): Likewise.
17170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17171         (TRAP_TRACE): Likewise.
17172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17173         __USE_XOPEN2K8].
17174         (CLD_KILLED): Likewise.
17175         (CLD_DUMPED): Likewise.
17176         (CLD_TRAPPED): Likewise.
17177         (CLD_STOPPED): Likewise.
17178         (CLD_CONTINUED): Likewise.
17179         (POLL_IN): Likewise.
17180         (POLL_OUT): Likewise.
17181         (POLL_MSG): Likewise.
17182         (POLL_ERR): Likewise.
17183         (POLL_PRI): Likewise.
17184         (POLL_HUP): Likewise.
17185         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17186         (ILL_ILLOPN): Likewise.
17187         (ILL_ILLADR): Likewise.
17188         (ILL_ILLTRP): Likewise.
17189         (ILL_PRVOPC): Likewise.
17190         (ILL_PRVREG): Likewise.
17191         (ILL_COPROC): Likewise.
17192         (ILL_BADSTK): Likewise.
17193         (ILL_DBLFLT): Likewise.
17194         (ILL_HARDWALL): Likewise.
17195         (FPE_INTDIV): Likewise.
17196         (FPE_INTOVF): Likewise.
17197         (FPE_FLTDIV): Likewise.
17198         (FPE_FLTOVF): Likewise.
17199         (FPE_FLTUND): Likewise.
17200         (FPE_FLTRES): Likewise.
17201         (FPE_FLTINV): Likewise.
17202         (FPE_FLTSUB): Likewise.
17203         (SEGV_MAPERR): Likewise.
17204         (SEGV_ACCERR): Likewise.
17205         (BUS_ADRALN): Likewise.
17206         (BUS_ADRERR): Likewise.
17207         (BUS_OBJERR): Likewise.
17208         (BUS_MCEERR_AR): Likewise.
17209         (BUS_MCEERR_AO): Likewise.
17210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17211         (TRAP_TRACE): Likewise.
17212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17213         __USE_XOPEN2K8].
17214         (CLD_KILLED): Likewise.
17215         (CLD_DUMPED): Likewise.
17216         (CLD_TRAPPED): Likewise.
17217         (CLD_STOPPED): Likewise.
17218         (CLD_CONTINUED): Likewise.
17219         (POLL_IN): Likewise.
17220         (POLL_OUT): Likewise.
17221         (POLL_MSG): Likewise.
17222         (POLL_ERR): Likewise.
17223         (POLL_PRI): Likewise.
17224         (POLL_HUP): Likewise.
17225         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17226         (ILL_ILLOPN): Likewise.
17227         (ILL_ILLADR): Likewise.
17228         (ILL_ILLTRP): Likewise.
17229         (ILL_PRVOPC): Likewise.
17230         (ILL_PRVREG): Likewise.
17231         (ILL_COPROC): Likewise.
17232         (ILL_BADSTK): Likewise.
17233         (FPE_INTDIV): Likewise.
17234         (FPE_INTOVF): Likewise.
17235         (FPE_FLTDIV): Likewise.
17236         (FPE_FLTOVF): Likewise.
17237         (FPE_FLTUND): Likewise.
17238         (FPE_FLTRES): Likewise.
17239         (FPE_FLTINV): Likewise.
17240         (FPE_FLTSUB): Likewise.
17241         (SEGV_MAPERR): Likewise.
17242         (SEGV_ACCERR): Likewise.
17243         (BUS_ADRALN): Likewise.
17244         (BUS_ADRERR): Likewise.
17245         (BUS_OBJERR): Likewise.
17246         (BUS_MCEERR_AR): Likewise.
17247         (BUS_MCEERR_AO): Likewise.
17248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17249         (TRAP_TRACE): Likewise.
17250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17251         __USE_XOPEN2K8].
17252         (CLD_KILLED): Likewise.
17253         (CLD_DUMPED): Likewise.
17254         (CLD_TRAPPED): Likewise.
17255         (CLD_STOPPED): Likewise.
17256         (CLD_CONTINUED): Likewise.
17257         (POLL_IN): Likewise.
17258         (POLL_OUT): Likewise.
17259         (POLL_MSG): Likewise.
17260         (POLL_ERR): Likewise.
17261         (POLL_PRI): Likewise.
17262         (POLL_HUP): Likewise.
17263         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17264         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17266         [BZ #16670]
17267         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17268         before #include of <time.h>.
17269         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17270         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17271         (test-xfail-UNIX98/sched.h/conform): Likewise.
17273 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17276         error absence of trapping exception support.
17277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17279 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17281         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17282         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17283         * timezone/Makefile (testdata): Move definition above include of
17284         Rules.
17285         (test-zones): New variable.
17286         (tests-special): Add zone files.
17287         (build-testdata): Use $(evaluate-test).
17289         * elf/Makefile (tests-special): Rename tests to end with .out.
17290         ($(objpfx)noload-mem): Likewise.
17291         ($(objpfx)tst-leaks1-mem): Likewise.
17292         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17293         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17294         $(objpfx)test-iconvconfig.out.
17295         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17296         set -e inside subshell and redirect output to file.
17297         * iconvdata/Makefile (generated): Rename tests to end with .out.
17298         Correct type.
17299         (tests-special): Rename tests to end with .out.
17300         ($(objpfx)mtrace-tst-loading): Likewise.
17301         * intl/Makefile (generated): Likewise.
17302         (tests-special): Likewise.
17303         ($(objpfx)mtrace-tst-gettext): Likewise.
17304         * misc/Makefile (generated): Likewise.
17305         (tests-special): Likewise.
17306         ($(objpfx)tst-error1-mem): Likewise.
17307         * nptl/Makefile (tests-special): Likewise.
17308         ($(objpfx)tst-stack3-mem): Likewise.
17309         (generated): Likewise.
17310         * posix/Makefile (generated): Likewise.
17311         (tests-special): Likewise.
17312         (xtests-special): Likewise.
17313         ($(objpfx)tst-fnmatch-mem): Likewise.
17314         ($(objpfx)bug-regex2-mem): Likewise.
17315         ($(objpfx)bug-regex14-mem): Likewise.
17316         ($(objpfx)bug-regex21-mem): Likewise.
17317         ($(objpfx)bug-regex31-mem): Likewise.
17318         ($(objpfx)tst-vfork3-mem): Likewise.
17319         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17320         ($(objpfx)tst-pcre-mem): Likewise.
17321         ($(objpfx)tst-boost-mem): Likewise.
17322         ($(objpfx)bug-ga2-mem): Likewise.
17323         ($(objpfx)bug-glob2-mem): Likewise.
17324         * resolv/Makefile (generate): Likewise.
17325         (tests-special): Likewise.
17326         (xtests-special): Likewise.
17327         (generated): Likewise.
17328         ($(objpfx)mtrace-tst-leaks): Likewise.
17329         ($(objpfx)mtrace-tst-leaks2): Likewise.
17331         * scripts/merge-test-results.sh: New file.
17332         * Makefile (tests-special-notdir): New variable.
17333         (tests): Run merge-test-results.sh.
17334         (xtests): Likewise.
17335         * Rules (tests-special-notdir): New variable.
17336         (xtests-special-notdir): Likewise.
17337         (tests): Run merge-test-results.sh
17338         (xtests): Likewise.
17340         * Makeconfig (test-xfail-name): New variable.
17341         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17342         compute variable name for expected failures.
17343         * conform/Makefile (conformtest-headers-data): New variable.
17344         (conformtest-standards): Likewise.
17345         (conformtest-headers-ISO): Likewise.
17346         (conformtest-headers-ISO99): Likewise.
17347         (conformtest-headers-ISO11): Likewise.
17348         (conformtest-headers-POSIX): Likewise.
17349         (conformtest-headers-XPG3): Likewise.
17350         (conformtest-headers-XPG4): Likewise.
17351         (conformtest-headers-UNIX98): Likewise.
17352         (conformtest-headers-XOPEN2K): Likewise.
17353         (conformtest-headers-POSIX2008): Likewise.
17354         (conformtest-headers-XOPEN2K8): Likewise.
17355         (conformtest-header-list-base): Likewise.
17356         (conformtest-header-list-tests): Likewise.
17357         (conformtest-header-base): Likewise.
17358         (conformtest-header-tests): Likewise.
17359         (tests-special): Add $(conformtest-header-list-tests).  If
17360         [$(fast-check) && !$(cross-compiling)], add
17361         $(conformtest-header-tests) instead of
17362         $(objpfx)run-conformtest.out.
17363         (generated): Add $(conformtest-header-list-base).  If
17364         [$(fast-check) && !$(cross-compiling)], add
17365         $(conformtest-header-base).  Remove previous setting.
17366         ($(conformtest-header-list-tests)): New target.
17367         (test-xfail-run-conformtest): Remove variable.
17368         ($(objpfx)run-conformtest.out): Remove target.
17369         (test-xfail-ISO11/complex.h/conform): New variable.
17370         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17371         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17372         (test-xfail-XPG3/varargs.h/conform): Likewise.
17373         (test-xfail-XPG4/varargs.h/conform): Likewise.
17374         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17375         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17376         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17377         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17378         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17379         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17380         (test-xfail-XPG3/ftw.h/conform): Likewise.
17381         (test-xfail-XPG3/grp.h/conform): Likewise.
17382         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17383         (test-xfail-XPG3/limits.h/conform): Likewise.
17384         (test-xfail-XPG3/pwd.h/conform): Likewise.
17385         (test-xfail-XPG3/search.h/conform): Likewise.
17386         (test-xfail-XPG3/signal.h/conform): Likewise.
17387         (test-xfail-XPG3/stdio.h/conform): Likewise.
17388         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17389         (test-xfail-XPG3/string.h/conform): Likewise.
17390         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17391         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17392         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17393         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17394         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17395         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17396         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17397         (test-xfail-XPG3/termios.h/conform): Likewise.
17398         (test-xfail-XPG3/time.h/conform): Likewise.
17399         (test-xfail-XPG3/unistd.h/conform): Likewise.
17400         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17401         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17402         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17403         (test-xfail-XPG4/netdb.h/conform): Likewise.
17404         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17405         (test-xfail-XPG4/signal.h/conform): Likewise.
17406         (test-xfail-XPG4/stdio.h/conform): Likewise.
17407         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17408         (test-xfail-XPG4/stropts.h/conform): Likewise.
17409         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17410         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17411         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17412         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17413         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17414         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17415         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17416         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17417         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17418         (test-xfail-XPG4/termios.h/conform): Likewise.
17419         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17420         (test-xfail-XPG4/unistd.h/conform): Likewise.
17421         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17422         (test-xfail-POSIX/sched.h/conform): Likewise.
17423         (test-xfail-POSIX/signal.h/conform): Likewise.
17424         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17425         (test-xfail-POSIX/tar.h/conform): Likewise.
17426         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17427         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17428         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17429         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17430         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17431         (test-xfail-UNIX98/sched.h/conform): Likewise.
17432         (test-xfail-UNIX98/signal.h/conform): Likewise.
17433         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17434         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17435         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17436         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17437         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17438         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17439         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17440         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17441         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17442         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17443         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17444         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17445         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17446         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17447         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17448         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17449         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17450         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17451         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17452         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17453         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17454         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17455         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17456         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17457         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17458         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17459         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17460         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17461         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17462         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17463         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17464         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17465         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17466         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17467         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17468         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17469         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17470         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17471         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17472         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17473         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17474         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17475         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17476         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17477         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17478         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17479         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17480         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17481         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17482         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17483         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17484         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17485         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17486         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17487         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17488         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17489         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17490         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17491         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17492         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17493         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17494         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17495         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17496         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17497         (conformtest-cc-flags): Likewise.
17498         ($(conformtest-header-tests): New target.
17499         * conform/check-header-lists.sh: New file.
17500         * conform/run-conformtest.sh: Remove.
17502         * conform/conformtest.pl: Allow ' and \ in values given for
17503         constants.
17504         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17505         inclusion.
17506         [POSIX] (sys/types.h): Likewise.
17507         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17508         inclusion.
17509         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17510         inclusion.
17511         * conform/data/signal.h-data (SIGIO): Remove expectation.
17512         [XPG3] (SIGBUS): Do not expect.
17513         [POSIX || XPG3] (SIGPOLL): Likewise.
17514         [POSIX || XPG3] (SIGPROF): Likewise.
17515         [POSIX || XPG3] (SIGSYS): Likewise.
17516         [XPG3] (SIGTRAP): Likewise.
17517         [POSIX || XPG3] (SIGURG): Likewise.
17518         [POSIX || XPG3] (SIGVTALRM): Likewise.
17519         [POSIX || XPG3] (SIGXCPU): Likewise.
17520         [POSIX || XPG3] (SIGXFSZ): Likewise.
17521         [POSIX] (SA_SIGINFO): Expect.
17522         [XPG3] (siginfo_t): Do not expect type or contents.
17523         [POSIX] (si_pid): Do not expect element.
17524         [POSIX] (si_uid): Likewise.
17525         [POSIX] (si_addr): Likewise.
17526         [POSIX] (si_status): Likewise.
17527         [POSIX] (si_band): Likewise.
17528         [XPG4] (si_value): Likewise.
17529         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17530         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17531         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17532         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17533         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17534         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17535         [POSIX || XPG3] (ILL_COPROC): Likewise.
17536         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17537         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17538         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17539         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17540         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17541         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17542         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17543         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17544         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17545         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17546         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17547         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17548         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17549         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17550         [POSIX || XPG3] (CLD_EXITED): Likewise.
17551         [POSIX || XPG3] (CLD_KILLED): Likewise.
17552         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17553         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17554         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17555         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17556         [POSIX || XPG3] (POLL_IN): Likewise.
17557         [POSIX || XPG3] (POLL_OUT): Likewise.
17558         [POSIX || XPG3] (POLL_MSG): Likewise.
17559         [POSIX || XPG3] (POLL_ERR): Likewise.
17560         [POSIX || XPG3] (POLL_PRI): Likewise.
17561         [POSIX || XPG3] (POLL_HUP): Likewise.
17562         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17563         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17564         (SIG*): Do not allow.
17565         [XPG3] (si_*): Likewise.
17566         [XPG3] (SI_*): Likewise.
17567         [XPG3 || XPG4] (sigev_*): Likewise.
17568         [XPG3 || XPG4] (SIGEV_*): Likewise.
17569         [XPG3 || XPG4] (sival_*): Likewise.
17570         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17571         [POSIX || XPG3] (BUS_*): Likewise.
17572         [POSIX || XPG3] (CLD_*): Likewise.
17573         [POSIX || XPG3] (FPE_*): Likewise.
17574         [POSIX || XPG3] (ILL_*): Likewise.
17575         [POSIX || XPG3] (POLL_*): Likewise.
17576         [POSIX || XPG3] (SEGV_*): Likewise.
17577         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17578         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17579         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17580         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17581         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17582         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17583         Specify type and value.
17584         (TVERSLEN): Likewise.
17585         (REGTYPE): Likewise.
17586         (AREGTYPE): Likewise.
17587         (LNKTYPE): Likewise.
17588         (SYMTYPE): Likewise.
17589         (CHRTYPE): Likewise.
17590         (BLKTYPE): Likewise.
17591         (DIRTYPE): Likewise.
17592         (FIFOTYPE): Likewise.
17593         (CONTTYPE): Likewise.
17594         (TSUID): Likewise.
17595         (TSGID): Likewise.
17596         (TSVTX): Likewise.
17597         (TUREAD): Likewise.
17598         (TUWRITE): Likewise.
17599         (TUEXEC): Likewise.
17600         (TGREAD): Likewise.
17601         (TGWRITE): Likewise.
17602         (TGEXEC): Likewise.
17603         (TOREAD): Likewise.
17604         (TOWRITE): Likewise.
17605         (TOEXEC): Likewise.
17606         [POSIX] (TSVTX): Expect constant.
17608 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17610         * Makefile (tests): Change dependencies to ....
17611         (tests-special): ... additions to this variable.
17612         (tests): Depend on $(tests-special).
17613         * Makerules (check-abi-list): New variable.
17614         (check-abi): Depend on $(check-abi-list).
17615         [$(subdir) = elf] (tests-special): Add
17616         $(objpfx)check-abi-libc.out.
17617         [$(build-shared) = yes && subdir] (tests-special): Add
17618         $(check-abi-list).
17619         [$(build-shared) = yes && subdir] (tests): Do not depend on
17620         check-abi.
17621         * Rules (tests): Depend on $(tests-special).
17622         (xtests): Depend on $(xtests-special).
17623         * catgets/Makefile (tests): Change dependencies to ....
17624         (tests-special): ... additions to this variable.
17625         * conform/Makefile (tests): Change dependencies to ....
17626         (tests-special): ... additions to this variable.
17627         * elf/Makefile (tests): Change dependencies to ....
17628         (tests-special): ... additions to this variable.
17629         * grp/Makefile (tests): Change dependencies to ....
17630         (tests-special): ... additions to this variable.
17631         * iconv/Makefile (xtests): Change dependencies to ....
17632         (xtests-special): ... additions to this variable.
17633         * iconvdata/Makefile (tests): Change dependencies to ....
17634         (tests-special): ... additions to this variable.
17635         * intl/Makefile (tests): Change dependencies to ....
17636         (tests-special): ... additions to this variable.  Also add
17637         $(objpfx)tst-gettext.out.
17638         * io/Makefile (tests): Change dependencies to ....
17639         (tests-special): ... additions to this variable.
17640         * libio/Makefile (tests): Change dependencies to ....
17641         (tests-special): ... additions to this variable.
17642         * malloc/Makefile (tests): Change dependencies to ....
17643         (tests-special): ... additions to this variable.
17644         * misc/Makefile (tests): Change dependencies to ....
17645         (tests-special): ... additions to this variable.
17646         * nptl/Makefile (tests): Change dependencies to ....
17647         (tests-special): ... additions to this variable.
17648         * nptl_db/Makefile (tests): Change dependencies to ....
17649         (tests-special): ... additions to this variable.
17650         * posix/Makefile (tests): Change dependencies to ....
17651         (tests-special): ... additions to this variable.
17652         (xtests): Change dependencies to ....
17653         (xtests-special): ... additions to this variable.
17654         * resolv/Makefile (tests): Change dependencies to ....
17655         (tests-special): ... additions to this variable.
17656         (xtests): Change dependencies to ....
17657         (xtests-special): ... additions to this variable.
17658         * stdio-common/Makefile (tests): Change dependencies to ....
17659         (tests-special): ... additions to this variable.
17660         (do-tst-unbputc): Remove target.
17661         (do-tst-printf): Likewise.
17662         * stdlib/Makefile (tests): Change dependencies to ....
17663         (tests-special): ... additions to this variable.
17664         * string/Makefile (tests): Change dependencies to ....
17665         (tests-special): ... additions to this variable.
17666         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17667         (tests-special): ... additions to this variable.
17669         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17670         whole file.
17671         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17672         whole file.
17673         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17674         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17676         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17677         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17678         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17679         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17680         * conform/data/libgen.h-data [XPG3]: Likewise.
17681         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17682         * conform/data/ndbm.h-data [XPG3]: Likewise.
17683         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17684         * conform/data/netdb.h-data [XPG3]: Likewise.
17685         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17686         * conform/data/poll.h-data [XPG3]: Likewise.
17687         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17688         * conform/data/strings.h-data [XPG3]: Likewise.
17689         * conform/data/stropts.h-data [XPG3]: Likewise.
17690         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17691         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17692         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17693         Likewise.
17694         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17695         * conform/data/sys/time.h-data [XPG3]: Likewise.
17696         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17697         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17698         * conform/data/sys/un.h-data [XPG3]: Likewise.
17699         * conform/data/syslog.h-data [XPG3]: Likewise.
17700         * conform/data/ucontext.h-data [XPG3]: Likewise.
17701         * conform/data/utmpx.h-data [XPG3]: Likewise.
17702         * conform/data/varargs.h-data [UNIX98]: Enable file.
17704         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17706         * math/libm-test.inc (struct test_f_f_data): Move expected results
17707         into structure for each rounding mode.
17708         (struct test_ff_f_data): Likewise.
17709         (struct test_ff_f_data_nexttoward): Likewise.
17710         (struct test_fi_f_data): Likewise.
17711         (struct test_fl_f_data): Likewise.
17712         (struct test_if_f_data): Likewise.
17713         (struct test_fff_f_data): Likewise.
17714         (struct test_c_f_data): Likewise.
17715         (struct test_f_f1_data): Likewise.
17716         (struct test_fF_f1_data): Likewise.
17717         (struct test_ffI_f1_data): Likewise.
17718         (struct test_c_c_data): Likewise.
17719         (struct test_cc_c_data): Likewise.
17720         (struct test_f_i_data): Likewise.
17721         (struct test_ff_i_data): Likewise.
17722         (struct test_f_l_data): Likewise.
17723         (struct test_f_L_data): Likewise.
17724         (struct test_fFF_11_data): Likewise.
17725         (RM_): New macro.
17726         (RM_FE_DOWNWARD): Likewise.
17727         (RM_FE_TONEAREST): Likewise.
17728         (RM_FE_TOWARDZERO): Likewise.
17729         (RM_FE_UPWARD): Likewise.
17730         (RUN_TEST_LOOP_f_f): Update references to expected results.
17731         (RUN_TEST_LOOP_2_f): Likewise.
17732         (RUN_TEST_LOOP_fff_f): Likewise.
17733         (RUN_TEST_LOOP_c_f): Likewise.
17734         (RUN_TEST_LOOP_f_f1): Likewise.
17735         (RUN_TEST_LOOP_fF_f1): Likewise.
17736         (RUN_TEST_LOOP_fI_f1): Likewise.
17737         (RUN_TEST_LOOP_ffI_f1): Likewise.
17738         (RUN_TEST_LOOP_c_c): Likewise.
17739         (RUN_TEST_LOOP_cc_c): Likewise.
17740         (RUN_TEST_LOOP_f_i): Likewise.
17741         (RUN_TEST_LOOP_f_i_tg): Likewise.
17742         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17743         (RUN_TEST_LOOP_f_b): Likewise.
17744         (RUN_TEST_LOOP_f_b_tg): Likewise.
17745         (RUN_TEST_LOOP_f_l): Likewise.
17746         (RUN_TEST_LOOP_f_L): Likewise.
17747         (RUN_TEST_LOOP_fFF_11): Likewise.
17748         * math/gen-libm-test.pl (parse_args): Output four copies of
17749         expected results for each test.
17751         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17752         (__ASSUME_UTIMES): Remove.
17753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17754         (__ASSUME_UTIMES): Likewise.
17756         * math/gen-auto-libm-tests.c: Update comment on output format.
17757         (output_for_one_input_case): Generate before-rounding and
17758         after-rounding information as conditions on output flags not
17759         floating-point format.
17760         * math/auto-libm-test-out: Regenerated.
17761         * math/gen-libm-test.pl (cond_value): New function.
17762         (or_cond_value): Use cond_value.
17763         (generate_testfile): Handle conditional exceptions.
17765 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17767         * math/libm-test.inc (max_valid_error): New variable.
17768         (init_max_error): Take new argument specifying whether function
17769         results are exactly determined.  Set max_valid_error and bound
17770         other variables for errors based on this argument.
17771         (set_max_error): Do not record results above max_valid_error.
17772         (check_float_internal): Only accept errors of up to 0.5ulps if
17773         also at most max_valid_error.
17774         (START): Take new argument EXACT and pass it to init_max_error.
17775         (acos_test): Update call to START.
17776         (acos_test_tonearest): Likewise.
17777         (acos_test_towardzero): Likewise.
17778         (acos_test_downward): Likewise.
17779         (acos_test_upward): Likewise.
17780         (acosh_test): Likewise.
17781         (asin_test): Likewise.
17782         (asin_test_tonearest): Likewise.
17783         (asin_test_towardzero): Likewise.
17784         (asin_test_downward): Likewise.
17785         (asin_test_upward): Likewise.
17786         (asinh_test): Likewise.
17787         (atan_test): Likewise.
17788         (atanh_test): Likewise.
17789         (atan2_test): Likewise.
17790         (cabs_test): Likewise.
17791         (cacos_test): Likewise.
17792         (cacosh_test): Likewise.
17793         (carg_test): Likewise.
17794         (casin_test): Likewise.
17795         (casinh_test): Likewise.
17796         (catan_test): Likewise.
17797         (catanh_test): Likewise.
17798         (cbrt_test): Likewise.
17799         (ccos_test): Likewise.
17800         (ccosh_test): Likewise.
17801         (ceil_test): Likewise.
17802         (cexp_test): Likewise.
17803         (cimag_test): Likewise.
17804         (clog_test): Likewise.
17805         (clog10_test): Likewise.
17806         (conj_test): Likewise.
17807         (copysign_test): Likewise.
17808         (cos_test): Likewise.
17809         (cos_test_tonearest): Likewise.
17810         (cos_test_towardzero): Likewise.
17811         (cos_test_downward): Likewise.
17812         (cos_test_upward): Likewise.
17813         (cosh_test): Likewise.
17814         (cosh_test_tonearest): Likewise.
17815         (cosh_test_towardzero): Likewise.
17816         (cosh_test_downward): Likewise.
17817         (cosh_test_upward): Likewise.
17818         (cpow_test): Likewise.
17819         (cproj_test): Likewise.
17820         (creal_test): Likewise.
17821         (csin_test): Likewise.
17822         (csinh_test): Likewise.
17823         (csqrt_test): Likewise.
17824         (ctan_test): Likewise.
17825         (ctan_test_tonearest): Likewise.
17826         (ctan_test_towardzero): Likewise.
17827         (ctan_test_downward): Likewise.
17828         (ctan_test_upward): Likewise.
17829         (ctanh_test): Likewise.
17830         (ctanh_test_tonearest): Likewise.
17831         (ctanh_test_towardzero): Likewise.
17832         (ctanh_test_downward): Likewise.
17833         (ctanh_test_upward): Likewise.
17834         (erf_test): Likewise.
17835         (erfc_test): Likewise.
17836         (exp_test): Likewise.
17837         (exp_test_tonearest): Likewise.
17838         (exp_test_towardzero): Likewise.
17839         (exp_test_downward): Likewise.
17840         (exp_test_upward): Likewise.
17841         (exp10_test): Likewise.
17842         (exp10_test_tonearest): Likewise.
17843         (exp10_test_towardzero): Likewise.
17844         (exp10_test_downward): Likewise.
17845         (exp10_test_upward): Likewise.
17846         (pow10_test): Likewise.
17847         (exp2_test): Likewise.
17848         (expm1_test): Likewise.
17849         (expm1_test_tonearest): Likewise.
17850         (expm1_test_towardzero): Likewise.
17851         (expm1_test_downward): Likewise.
17852         (expm1_test_upward): Likewise.
17853         (fabs_test): Likewise.
17854         (fdim_test): Likewise.
17855         (floor_test): Likewise.
17856         (fma_test): Likewise.
17857         (fma_test_towardzero): Likewise.
17858         (fma_test_downward): Likewise.
17859         (fma_test_upward): Likewise.
17860         (fmax_test): Likewise.
17861         (fmin_test): Likewise.
17862         (fmod_test): Likewise.
17863         (fpclassify_test): Likewise.
17864         (frexp_test): Likewise.
17865         (hypot_test): Likewise.
17866         (ilogb_test): Likewise.
17867         (isfinite_test): Likewise.
17868         (finite_test): Likewise.
17869         (isgreater_test): Likewise.
17870         (isgreaterequal_test): Likewise.
17871         (isinf_test): Likewise.
17872         (isless_test): Likewise.
17873         (islessequal_test): Likewise.
17874         (islessgreater_test): Likewise.
17875         (isnan_test): Likewise.
17876         (isnormal_test): Likewise.
17877         (issignaling_test): Likewise.
17878         (isunordered_test): Likewise.
17879         (j0_test): Likewise.
17880         (j1_test): Likewise.
17881         (jn_test): Likewise.
17882         (ldexp_test): Likewise.
17883         (lgamma_test): Likewise.
17884         (gamma_test): Likewise.
17885         (lrint_test): Likewise.
17886         (lrint_test_tonearest): Likewise.
17887         (lrint_test_towardzero): Likewise.
17888         (lrint_test_downward): Likewise.
17889         (lrint_test_upward): Likewise.
17890         (llrint_test): Likewise.
17891         (llrint_test_tonearest): Likewise.
17892         (llrint_test_towardzero): Likewise.
17893         (llrint_test_downward): Likewise.
17894         (llrint_test_upward): Likewise.
17895         (log_test): Likewise.
17896         (log10_test): Likewise.
17897         (log1p_test): Likewise.
17898         (log2_test): Likewise.
17899         (logb_test): Likewise.
17900         (logb_test_downward): Likewise.
17901         (lround_test): Likewise.
17902         (llround_test): Likewise.
17903         (modf_test): Likewise.
17904         (nearbyint_test): Likewise.
17905         (nextafter_test): Likewise.
17906         (nexttoward_test): Likewise.
17907         (pow_test): Likewise.
17908         (pow_test_tonearest): Likewise.
17909         (pow_test_towardzero): Likewise.
17910         (pow_test_downward): Likewise.
17911         (pow_test_upward): Likewise.
17912         (remainder_test): Likewise.
17913         (drem_test): Likewise.
17914         (remainder_test_tonearest): Likewise.
17915         (drem_test_tonearest): Likewise.
17916         (remainder_test_towardzero): Likewise.
17917         (drem_test_towardzero): Likewise.
17918         (remainder_test_downward): Likewise.
17919         (drem_test_downward): Likewise.
17920         (remainder_test_upward): Likewise.
17921         (drem_test_upward): Likewise.
17922         (remquo_test): Likewise.
17923         (rint_test): Likewise.
17924         (rint_test_tonearest): Likewise.
17925         (rint_test_towardzero): Likewise.
17926         (rint_test_downward): Likewise.
17927         (rint_test_upward): Likewise.
17928         (round_test): Likewise.
17929         (scalb_test): Likewise.
17930         (scalbn_test): Likewise.
17931         (scalbln_test): Likewise.
17932         (signbit_test): Likewise.
17933         (sin_test): Likewise.
17934         (sin_test_tonearest): Likewise.
17935         (sin_test_towardzero): Likewise.
17936         (sin_test_downward): Likewise.
17937         (sin_test_upward): Likewise.
17938         (sincos_test): Likewise.
17939         (sinh_test): Likewise.
17940         (sinh_test_tonearest): Likewise.
17941         (sinh_test_towardzero): Likewise.
17942         (sinh_test_downward): Likewise.
17943         (sinh_test_upward): Likewise.
17944         (sqrt_test): Likewise.
17945         (sqrt_test_tonearest): Likewise.
17946         (sqrt_test_towardzero): Likewise.
17947         (sqrt_test_downward): Likewise.
17948         (sqrt_test_upward): Likewise.
17949         (tan_test): Likewise.
17950         (tan_test_tonearest): Likewise.
17951         (tan_test_towardzero): Likewise.
17952         (tan_test_downward): Likewise.
17953         (tan_test_upward): Likewise.
17954         (tanh_test): Likewise.
17955         (tgamma_test): Likewise.
17956         (trunc_test): Likewise.
17957         (y0_test): Likewise.
17958         (y1_test): Likewise.
17959         (yn_test): Likewise.
17960         (significand_test): Likewise.
17962         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17963         individual tests in comment.
17964         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17965         (prev_max_error): New variable.
17966         (prev_real_max_error): Likewise.
17967         (prev_imag_max_error): Likewise.
17968         (compare_ulp_data): Don't refer to test names in comment.
17969         (find_test_ulps): Remove function.
17970         (find_function_ulps): Likewise.
17971         (find_complex_function_ulps): Likewise.
17972         (init_max_error): Take function name as argument.  Look up ulps
17973         for that function.
17974         (print_ulps): Remove function.
17975         (print_max_error): Use prev_max_error instead of calling
17976         find_function_ulps.
17977         (print_complex_max_error): Use prev_real_max_error and
17978         prev_imag_max_error instead of calling find_complex_function_ulps.
17979         (check_float_internal): Take max_ulp parameter instead of calling
17980         find_test_ulps.  Don't call print_ulps.
17981         (check_float): Update call to check_float_internal.
17982         (check_complex): Update calls to check_float_internal.
17983         (START): Pass argument to init_max_error.
17984         * math/gen-libm-test.pl (%results): Don't include "kind"
17985         information.
17986         (parse_ulps): Don't handle ulps of individual tests.
17987         (print_ulps_file): Likewise.
17988         (output_ulps): Likewise.
17989         * math/README.libm-test: Update.
17990         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17991         individual tests.
17992         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17993         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17994         * sysdeps/arm/libm-test-ulps: Likewise.
17995         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17996         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17997         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17998         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17999         * sysdeps/microblaze/libm-test-ulps: Likewise.
18000         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18003         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18005         * sysdeps/sh/libm-test-ulps: Likewise.
18006         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18007         * sysdeps/tile/libm-test-ulps: Likewise.
18008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18010 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
18012         * math/libm-test.inc (print_complex_max_error): Check separately
18013         whether real and imaginary errors are within allowed range and
18014         pass 0 to print_complex_function_ulps instead of value within
18015         allowed range.
18017 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18019         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18020         formatting.
18021         (get_handles_fopen): Likewise.
18022         (do_write_test): Likewise.
18024         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18026         * libio/fileops.c (do_ftell): Use cached offset when
18027         available.
18028         * libio/iofwide.c (do_ftell_wide): Likewise.
18029         * libio/iofdopen.c (_IO_new_fdopen): Don't use
18030         _IO_file_attach.
18031         * libio/wfileops.c (_IO_fwide): Don't cache offset.
18033         [BZ #16532]
18034         * libio/libioP.h (get_file_offset): New function.
18035         * libio/fileops.c (get_file_offset): Likewise.
18036         (do_ftell): Likewise.
18037         (_IO_new_file_seekoff): Split out ftell logic.
18038         * libio/wfileops.c (do_ftell_wide): Likewise.
18039         (_IO_wfile_seekoff): Split out ftell logic.
18040         * libio/tst-ftell-active-handler.c: New test case.
18041         * libio/Makefile (tests): Add it.
18043 2014-03-03  Roland McGrath  <roland@hack.frob.com>
18045         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18046         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18048 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18050         [BZ #16639]
18051         * nscd/connections.c (nscd_init): Call do_exit.
18052         (start_threads): Call do_exit and notify_parent.
18053         (begin_drop_privileges): Call do_exit.
18054         (finish_drop_privileges): Likewise.
18055         * nscd/selinux.c (preserve_capabilities): Likewise.
18056         (install_real_capabilities): Likewise.
18057         (nscd_selinux_enabled): Likewise.
18058         (avc_create_thread): Likewise.
18059         (avc_alloc_lock): Likewise.
18060         (nscd_avc_init): Likewise.
18061         * nscd/nscd.c (parent_fd): New static variable.
18062         (main): Create a pipe between parent and child processes.
18063         Skip closing parent_fd.
18064         (monitor_child): New function.
18065         (do_exit): Likewise.
18066         (notify_parent): Likewise.
18067         * nscd/nscd.h (notify_parent): Likewise.
18068         (do_exit): Likewise.
18070 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
18072         * malloc/malloc.c (__libc_calloc): Revert last change.
18074 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18078 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18080         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18082         implementation.
18083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18084         (__libc_ifunc_impl_list): Likewise.
18085         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18086         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18087         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18088         * string/strrchr.c: Define STRRCHR.
18090 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
18092         * benchtest/bench-strtok.c (simple_strtok): Delete.
18093         (strtok_string): Use as benchmark.
18094         * string/strtok (STRTOK): New macro.
18096 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
18098         * manual/threads.texi: Add header and standard comments to all
18099         functions.
18101         * elf/dl-lookup.c (check_match): New function.
18102         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18103         (do_lookup_x): Remove nested function check_match. Use non-nested
18104         function check_match.
18106 2014-02-28  Roland McGrath  <roland@hack.frob.com>
18108         * csu/Makefile (generated, before-compile): Use += rather than =.
18109         * catgets/Makefile (generated, generated-dirs): Likewise.
18110         * debug/Makefile (generated): Likewise.
18111         * dlfcn/Makefile (generated): Likewise.
18112         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18113         * iconvdata/Makefile (before-compile, generated): Likewise.
18114         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18115         * libio/Makefile (generated): Likewise.
18116         * malloc/Makefile (generated): Likewise.
18117         * manual/Makefile (generated, generated-dirs): Likewise.
18118         * misc/Makefile (generated): Likewise.
18119         * posix/Makefile (generated): Likewise.
18120         * resolv/Makefile (generated): Likewise.
18121         * sunrpc/Makefile (generated, generated-dirs): Likewise.
18122         * timezone/Makefile (generated, generated-dirs): Likewise.
18124         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18126 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18129         power8 implementation.
18130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18131         file: POWER8 llround ifunc implementation.
18132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18133         (__lllround): Add POWER8 implementation.
18134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18135         POWER8 llround implementation.
18137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18138         power8 implementation.
18139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18140         file: POWER8 llrint ifunc implementation.
18141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18142         Add POWER8 implementation.
18143         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18144         POWER8 llrint implementation.
18146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18147         power8 implementation.
18148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18149         file: POWER8 finite ifunc implementation.
18150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18151         Add POWER8 implementation.
18152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18153         Likewise.
18154         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18155         POWER8 finite implementation.
18156         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18159         power8 implementation.
18160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18161         file: POWER8 isinf ifunc implementation.
18162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18163         POWER8 implementation.
18164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18165         Likewise.
18166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18167         isinf implementation.
18168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18170         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18171         (INIT_ARCH): Add hwcap2 initialization.
18172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18173         power8 implementation.
18174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18175         file: POWER8 isnan ifunc implementation.
18176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18177         POWER8 implementation.
18178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18179         Likewise.
18180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18181         isnan implementation.
18182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18184 2014-02-27  Joey Ye  <joey.ye@arm.com>
18186         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18187         (_FP_NANFRAC_Q): Set to zero.
18189 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18191         [BZ #16623]
18192         * math/auto-libm-test-in: New test inputs.
18193         * math/auto-libm-test-out: Regenerate.
18194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18195         and DA.
18196         (__cos): Likewise.
18197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18199 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18201         * scripts/evaluate-test.sh: Take new argument indicating whether
18202         failure is expected.
18203         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18204         indicating whether failure is expected.
18205         * conform/Makefile (test-xfail-run-conformtest): New variable.
18206         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18207         level.
18208         * posix/Makefile (test-xfail-annexc): New variable.
18209         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18211 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18213         * argp/Makefile: Include Makeconfig immediately after defining
18214         subdir.
18215         * assert/Makefile: Likewise.
18216         * benchtests/Makefile: Likewise.
18217         * catgets/Makefile: Likewise.
18218         * conform/Makefile: Likewise.
18219         * crypt/Makefile: Likewise.
18220         * csu/Makefile: Likewise.
18221         (all): Remove target.
18222         * ctype/Makefile: Include Makeconfig immediately after defining
18223         subdir.
18224         * debug/Makefile: Likewise.
18225         * dirent/Makefile: Likewise.
18226         * dlfcn/Makefile: Likewise.
18227         * gmon/Makefile: Likewise.
18228         * gnulib/Makefile: Likewise.
18229         * grp/Makefile: Likewise.
18230         * gshadow/Makefile: Likewise.
18231         * hesiod/Makefile: Likewise.
18232         * hurd/Makefile: Likewise.
18233         (all): Remove target.
18234         * iconvdata/Makefile: Include Makeconfig immediately after
18235         defining subdir.
18236         * inet/Makefile: Likewise.
18237         * intl/Makefile: Likewise.
18238         * io/Makefile: Likewise.
18239         * libio/Makefile: Likewise.
18240         (all): Remove target.
18241         * locale/Makefile: Include Makeconfig immediately after defining
18242         subdir.
18243         * login/Makefile: Likewise.
18244         * mach/Makefile: Likewise.
18245         (all): Remove target.
18246         * malloc/Makefile: Include Makeconfig immediately after defining
18247         subdir.
18248         (all): Remove target.
18249         * manual/Makefile: Include Makeconfig immediately after defining
18250         subdir.
18251         * math/Makefile: Likewise.
18252         * misc/Makefile: Likewise.
18253         * nis/Makefile: Likewise.
18254         * nss/Makefile: Likewise.
18255         * po/Makefile: Likewise.
18256         (all): Remove target.
18257         * posix/Makefile: Include Makeconfig immediately after defining
18258         subdir.
18259         * pwd/Makefile: Likewise.
18260         * resolv/Makefile: Likewise.
18261         * resource/Makefile: Likewise.
18262         * rt/Makefile: Likewise.
18263         * setjmp/Makefile: Likewise.
18264         * shadow/Makefile: Likewise.
18265         * signal/Makefile: Likewise.
18266         * socket/Makefile: Likewise.
18267         * soft-fp/Makefile: Likewise.
18268         * stdio-common/Makefile: Likewise.
18269         * stdlib/Makefile: Likewise.
18270         * streams/Makefile: Likewise.
18271         * string/Makefile: Likewise.
18272         * sunrpc/Makefile: Likewise.
18273         (all): Remove target.
18274         * sysvipc/Makefile: Include Makeconfig immediately after defining
18275         subdir.
18276         * termios/Makefile: Likewise.
18277         * time/Makefile: Likewise.
18278         * timezone/Makefile: Likewise.
18279         (all): Remove target.
18280         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18281         subdir.
18282         * wctype/Makefile: Likewise.
18284 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18286         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18287         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18288         (libc_feholdexcept_setround_mips): Ditto.
18289         (libc_feholdsetround): New.
18290         (libc_feholdsetroundf): New.
18291         (libc_feholdsetroundl): New.
18292         (libc_feupdateenv_test_mips): New.
18293         (libc_feupdateenv_test): New.
18294         (libc_feupdateenv_testf): New.
18295         (libc_feupdateenv_testl): New.
18296         (libc_feresetround): New.
18297         (libc_feresetroundf): New.
18298         (libc_feresetroundl): New.
18299         (libc_fetestexcept_mips): New.
18300         (libc_fetestexcept): New.
18301         (libc_fetestexceptf): New.
18302         (libc_fetestexceptl): New.
18303         (HAVE_RM_CTX): New.
18304         (libc_feholdexcept_setround_mips_ctx): New.
18305         (libc_feholdexcept_setround_ctx): New.
18306         (libc_feholdexcept_setroundf_ctx): New.
18307         (libc_feholdexcept_setroundl_ctx): New.
18308         (libc_fesetenv_mips_ctx): New.
18309         (libc_fesetenv_ctx): New.
18310         (libc_fesetenv_ctxf): New.
18311         (libc_fesetenv_ctxl): New.
18312         (libc_feupdateenv_mips_ctx): New.
18313         (libc_feupdateenv_ctx): New.
18314         (libc_feupdateenvf_ctx): New.
18315         (libc_feupdateenvl_ctx): New.
18316         (libc_feholdsetround_mips_ctx): New.
18317         (libc_feholdsetround_ctx): New.
18318         (libc_feholdsetroundf_ctx): New.
18319         (libc_feholdsetroundl_ctx): New.
18320         (libc_feresetround_mips_ctx): New.
18321         (libc_feresetround_ctx): New.
18322         (libc_feresetroundf_ctx): New.
18323         (libc_feresetroundl_ctx): New.
18325 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
18327         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18329         * manual/ipc.texi: New file.
18330         * manual/Makefile (chapters): Add ipc.
18331         * manual/job.texi: Add "Inter-Process Communication" to next.
18332         * manual/process.texi: Add "Inter-Process Communication" to prev.
18334 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18338 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
18340         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18342         * manual/arith.texi: Fix spaces after sentences.
18343         * manual/charset.texi: Likewise.
18344         * manual/errno.texi: Likewise.
18345         * manual/install.texi: Likewise.
18346         * manual/llio.texi: Likewise.
18347         * manual/locale.texi: Likewise.
18348         * manual/maint.texi: Likewise.
18349         * manual/math.texi: Likewise.
18350         * manual/memory.texi: Likewise.
18351         * manual/message.texi: Likewise.
18352         * manual/probes.texi: Likewise.
18353         * manual/resource.texi: Likewise.
18354         * manual/signal.texi: Likewise.
18355         * manual/socket.texi: Likewise.
18356         * manual/stdio.texi: Likewise.
18357         * manual/string.texi: Likewise.
18358         * manual/time.texi: Likewise.
18359         * manual/users.texi: Likewise.
18361 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18363         [BZ #16632]
18364         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18365         _DEFAULT_SOURCE is defined.
18367 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18368             Carlos O'Donell  <carlos@redhat.com>
18370         [BZ #16613]
18371         * elf/dl-tls.c (_dl_count_modids): New function.
18372         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18373         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18374         audit library and increment generation counter.
18375         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18376         * elf/tst-audit9.c: New file.
18377         * elf/tst-auditmod9a.c: New file.
18378         * elf/tst-auditmod9b.c: New file.
18379         * elf/Makefile: Add rules to build and run tst-audit9.
18381 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18383         [BZ #15347]
18384         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18386 2014-02-25  Will Newton  <will.newton@linaro.org>
18388         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18389         (__longjmp): Restore sp and lr before restoring callee
18390         saved registers.  Add longjmp and longjmp_target
18391         SystemTap probe point.
18392         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18393         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18394         Define to zero to match jmpbuf layout.
18395         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18396         (__sigsetjmp): Save sp and lr before saving callee
18397         saved registers.  Add setjmp SystemTap probe point.
18399 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18401         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18403 2014-02-24  Andreas Schwab  <schwab@suse.de>
18405         [BZ #15804]
18406         * elf/pldd.c (wait_for_ptrace_stop): New function.
18407         (main): Call it after attaching.
18409 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18411         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18412         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18413         Versions files is now verboten.
18414         * hurd/Versions (libc: GLIBC_2.0):
18415         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18416         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18417         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18418         * mach/Versions: Likewise.
18420         * csu/Versions: Remove unused %include.
18421         * resolv/Versions: Likewise.
18423 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18425         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18426         ($(objpfx)check-local-headers.out): Likewise.
18427         ($(objpfx)begin-end-check.out): Likewise.
18428         * Makerules (check-abi-%.out): Likewise.
18429         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18430         ($(objpfx)test2.cat): Likewise.
18431         ($(objpfx)de/libc.cat): Likewise.
18432         ($(objpfx)test-gencat.out): Likewise.
18433         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18434         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18435         ($(objpfx)noload-mem): Likewise.
18436         ($(objpfx)tst-pathopt.out): Likewise.
18437         ($(objpfx)tst-rtld-load-self.out): Likewise.
18438         ($(objpfx)tst-array1-cmp.out): Likewise.
18439         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18440         ($(objpfx)tst-array2-cmp.out): Likewise.
18441         ($(objpfx)tst-array3-cmp.out): Likewise.
18442         ($(objpfx)tst-array4-cmp.out): Likewise.
18443         ($(objpfx)tst-array5-cmp.out): Likewise.
18444         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18445         ($(objpfx)check-textrel.out): Likewise.
18446         ($(objpfx)check-execstack.out): Likewise.
18447         ($(objpfx)check-localplt.out): Likewise.
18448         ($(objpfx)order2-cmp.out): Likewise.
18449         ($(objpfx)tst-leaks1-mem): Likewise.
18450         ($(objpfx)tst-leaks1-static-mem): Likewise.
18451         ($(objpfx)tst-initorder-cmp.out): Likewise.
18452         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18453         ($(objpfx)tst-unused-dep.out): Likewise.
18454         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18455         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18456         * iconv/Makefile (test-iconvconfig): Likewise.
18457         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18458         ($(objpfx)iconv-test.out): Likewise.
18459         ($(objpfx)tst-tables.out): Likewise.
18460         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18461         ($(objpfx)tst-gettext.out): Likewise.
18462         ($(objpfx)tst-translit.out): Likewise.
18463         ($(objpfx)tst-gettext2.out): Likewise.
18464         ($(objpfx)tst-gettext4.out): Likewise.
18465         ($(objpfx)tst-gettext6.out): Likewise.
18466         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18467         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18468         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18469         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18470         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18471         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18472         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18473         ($(objpfx)wordexp-tst.out): Likewise.
18474         ($(objpfx)annexc.out): Likewise.
18475         ($(objpfx)tst-fnmatch-mem): Likewise.
18476         ($(objpfx)bug-regex2-mem): Likewise.
18477         ($(objpfx)bug-regex14-mem): Likewise.
18478         ($(objpfx)bug-regex21-mem): Likewise.
18479         ($(objpfx)bug-regex31-mem): Likewise.
18480         ($(objpfx)tst-vfork3-mem): Likewise.
18481         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18482         ($(objpfx)tst-pcre-mem): Likewise.
18483         ($(objpfx)tst-boost-mem): Likewise.
18484         ($(objpfx)tst-getconf.out): Likewise.
18485         ($(objpfx)bug-ga2-mem): Likewise.
18486         ($(objpfx)bug-glob2-mem): Likewise.
18487         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18488         ($(objpfx)mtrace-tst-leaks2): Likewise.
18489         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18490         ($(objpfx)tst-printf.out): Likewise.
18491         ($(objpfx)tst-setvbuf1.out): Likewise.
18492         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18493         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18494         ($(objpfx)tst-fmtmsg.out): Likewise.
18495         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18496         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18498         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18499         * bits/sigaction.h [__USE_MISC]: Likewise.
18500         * bits/waitstatus.h: Update #endif comments.
18501         * ctype/ctype.h: Likewise.
18502         * dirent/dirent.h: Likewise.
18503         [__USE_MISC]: Remove redundant conditionals.
18504         * grp/grp.h: Update #endif comments.
18505         [__USE_GNU]: Remove redundant conditionals.
18506         [__USE_MISC]: Likewise.
18507         * inet/netinet/in.h [__USE_GNU]: Likewise.
18508         * io/sys/stat.h [__USE_MISC]: Likewise.
18509         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18510         * libio/bits/stdio.h: Update #endif comments.
18511         [__USE_MISC]: Remove redundant conditionals.
18512         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18513         * libio/stdio.h: Update #endif comments.
18514         [__USE_MISC]: Remove redundant conditionals.
18515         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18516         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18517         * math/math.h: Update #else and #endif comments.
18518         [__USE_MISC]: Remove redundant conditionals.
18519         * misc/sys/uio.h: Update #endif comments.
18520         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18521         * posix/glob.h [__USE_MISC]: Likewise.
18522         * posix/sys/types.h: Update #endif comments.
18523         [__USE_MISC]: Remove redundant conditionals.
18524         * posix/sys/wait.h: Update #endif comments.
18525         [__USE_MISC]: Remove redundant conditionals.
18526         * posix/unistd.h: Update #endif comments.
18527         [__USE_MISC]: Remove redundant conditionals.
18528         * pwd/pwd.h [__USE_GNU]: Likewise.
18529         [__USE_MISC]: Likewise.
18530         * resolv/netdb.h [__USE_GNU]: Likewise.
18531         * signal/signal.h: Update #endif comments.
18532         [__USE_MISC]: Remove redundant conditionals.
18533         * stdlib/stdlib.h: Update #else and #endif comments.
18534         [__USE_MISC]: Remove redundant conditionals.
18535         [__USE_GNU]: Likewise.
18536         * string/bits/string2.h [__USE_MISC]: Likewise.
18537         * string/string.h: Update #endif comments.
18538         [__USE_MISC]: Remove redundant conditionals.
18539         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18540         Likewise.
18541         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18542         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18543         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18544         Likewise.
18545         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18546         Likewise.
18547         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18548         comments.
18549         [__USE_MISC]: Remove redundant conditionals.
18550         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18551         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18552         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18553         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18554         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18555         Likewise.
18556         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18557         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18558         Likewise.
18559         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18560         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18561         Likewise.
18562         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18563         Likewise.
18564         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18565         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18566         Likewise.
18567         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18568         Likewise.
18569         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18570         * sysdeps/x86/bits/string.h: Update #endif comments.
18571         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18572         conditionals.
18573         * time/sys/time.h: Update #endif comments.
18574         * time/time.h: Likewise.
18575         [__USE_MISC]: Remove redundant conditionals.
18577 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18579         [BZ #16600]
18580         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18582 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18584         * Versions.def (librt): Add GLIBC_2.17.
18586 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18588         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18589         synonym for _SYS_AUXV_H to allow direct inclusion.
18590         * sysdeps/sparc/bits/hwcap.h: Likewise.
18591         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18592         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18593         * sysdeps/sparc/sysdep.h: Likewise.
18595 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18597         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18599 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18601         * benchtests/bench-strrchr.c: Print length instead of position.
18603 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18605         [BZ #16611]
18606         * sysdeps/unix/sysv/linux/kernel-features.h
18607         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18608         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18609         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18610         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18611         Likewise.
18612         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18613         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18614         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18615         (__ASSUME_SENDMMSG): Define instead of using previous
18616         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18618         (__ASSUME_SENDMMSG_SYSCALL): Define.
18619         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18620         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18621         Likewise.
18622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18624         Likewise.
18625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18627         Likewise.
18628         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18629         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18630         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18631         [__ASSUME_SENDMMSG]: Change conditionals to
18632         [__ASSUME_SENDMMSG_SOCKETCALL].
18633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18634         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18635         Define.
18636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18637         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18638         Likewise.
18639         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18640         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18641         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18642         [!__ASSUME_SENDMMSG]: Change conditional to
18643         [!__ASSUME_SENDMMSG_SOCKETCALL].
18644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18646         Define.
18648         [BZ #16610]
18649         * sysdeps/unix/sysv/linux/kernel-features.h
18650         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18651         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18652         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18653         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18654         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18655         [__i386__ || __sparc__]
18656         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18657         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18658         (__ASSUME_RECVMMSG): Define instead of using previous
18659         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18660         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18661         (__ASSUME_RECVMMSG_SYSCALL): Define.
18662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18664         Likewise.
18665         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18666         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18667         Likewise.
18668         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18670         Likewise.
18671         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18672         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18673         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18674         [__ASSUME_RECVMMSG]: Change condition to
18675         [__ASSUME_RECVMMSG_SOCKETCALL].
18676         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18678         Define.
18679         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18682         Likewise.
18683         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18684         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18685         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18686         [!__ASSUME_RECVMMSG]: Change condition to
18687         [!__ASSUME_RECVMMSG_SOCKETCALL].
18688         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18689         (__ASSUME_RECVMMSG_SYSCALL): Define.
18691         [BZ #16609]
18692         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18693         __powerpc__ || __s390__ || __sh__ || __sparc__]
18694         (__ASSUME_SOCKETCALL): Define.
18695         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18696         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18697         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18698         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18699         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18700         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18701         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18702         (__ASSUME_ACCEPT4): Define instead of using previous
18703         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18704         __powerpc__ || __sparc__ || __s390__)] condition.
18705         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18706         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18707         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18708         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18709         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18710         [!__ASSUME_ACCEPT4]: Change condition to
18711         [!__ASSUME_ACCEPT4_SOCKETCALL].
18712         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18713         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18714         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18716         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18717         __ASSUME_ACCEPT4_SYSCALL.
18718         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18719         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18721         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18722         __ASSUME_ACCEPT4_SYSCALL.
18723         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18724         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18726         [__ASSUME_ACCEPT4]: Change condition to
18727         [__ASSUME_ACCEPT4_SOCKETCALL].
18728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18729         (__ASSUME_SOCKETCALL): Define.
18730         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18732         (__ASSUME_SOCKETCALL): Define.
18733         (__ASSUME_ACCEPT4): Remove.
18734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18735         Define.
18736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18737         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18738         Likewise.
18739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18740         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18742         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18743         macro.
18744         (HWCAP_ARM_LPAE): Likewise.
18745         (HWCAP_ARM_EVTSTRM): Likewise.
18746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18747         Add vpfd32, lpae and evtstrm.
18748         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18749         Increase to 22.
18751 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18753         * math/auto-libm-test-in: Add tests of clog10.
18754         * math/auto-libm-test-out: Regenerated.
18755         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18756         * sysdeps/i386/fpu/libm-test-ulps: Update.
18757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18759 2014-02-18  Andreas Schwab  <schwab@suse.de>
18761         [BZ #16574]
18762         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18763         Store non-zero if the second buffer was newly allocated.
18764         (send_dg): Likewise.
18765         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18766         to send_vc and send_dg.
18767         (res_nsend): Pass NULL for ansp2_malloced.
18768         * resolv/res_query.c (__libc_res_nquery): Add parameter
18769         answerp2_malloced and pass it down to __libc_res_nsend.
18770         (res_nquery): Pass additional NULL to __libc_res_nquery.
18771         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18772         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18773         second answer buffer if answerp2_malloced was set.
18774         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18775         (__libc_res_nquerydomain): Add parameter
18776         answerp2_malloced and pass it down to __libc_res_nquery.
18777         (res_nquerydomain): Pass additional NULL to
18778         __libc_res_nquerydomain.
18779         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18780         additional NULL to __libc_res_nsend and __libc_res_nquery.
18781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18782         additional NULL to __libc_res_nsearch.
18783         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18784         parameter of __libc_res_nsearch to check for separately allocated
18785         second buffer.
18786         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18787         __libc_res_nquery.
18788         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18789         additional NULL to __libc_res_nquery.
18790         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18791         __libc_res_nsearch.
18792         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18793         * include/resolv.h: Update prototypes of __libc_res_nquery,
18794         __libc_res_nsearch, __libc_res_nsend.
18796 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18798         * math/auto-libm-test-in: Add tests of fma.
18799         * math/auto-libm-test-out: Regenerated.
18800         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18801         (fma_towardzero_test_data): Likewise.
18802         (fma_downward_test_data): Likewise.
18803         (fma_upward_test_data): Likewise.
18804         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18805         mpc_mode.
18806         (rounding_modes): Add values for new field.
18807         (func_calc_method): Add value mpfr_fff_f.
18808         (func_calc_desc): Add mpfr_fff_f union field.
18809         (test_function): Add field exact_args.
18810         (FUNC): Add macro argument EXACT_ARGS.
18811         (FUNC_mpfr_f_f): Update call to FUNC.
18812         (FUNC_mpfr_f_f): Likewise.
18813         (FUNC_mpfr_ff_f): Likewise.
18814         (FUNC_mpfr_if_f): Likewise.
18815         (FUNC_mpc_c_f): Likewise.
18816         (FUNC_mpc_c_c): Likewise.
18817         (test_functions): Add fma.  Update calls to FUNC.
18818         (handle_input_arg): Add argument exact_args.
18819         (add_test): Update call to handle_input_arg.
18820         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18821         (output_for_one_input_case): Update call to calc_generic_results.
18822         Recalculate exact zero results in each rounding mode.
18824         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18825         non-negative before setting low bit.
18826         * math/auto-libm-test-in: Mark one asin test possibly having
18827         spurious underflow.
18828         * math/auto-libm-test-out: Regenerated.
18829         * sysdeps/i386/fpu/libm-test-ulps: Update.
18830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18832 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18834         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18835         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18836         ports/sysdeps/unix/sysv/linux/microblaze.
18837         * README: Add missing listing for microblaze*-*-linux-gnu.
18839 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18841         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18842         duplicate code
18844 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18846         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18847         * sysdeps/unix/sysv/linux/ia64: Move directory from
18848         ports/sysdeps/unix/sysv/linux/ia64.
18849         * README: Update listing for ia64-*-linux-gnu.
18851 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18852             Joseph Myers  <joseph@codesourcery.com>
18854         * Makeconfig (test-name): New variable.
18855         (evaluate-test): Likewise.
18856         * Makerules (do-test-clean): Remove .test-result files.
18857         (common-mostlyclean): Likewise.
18858         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18859         * scripts/evaluate-test.sh: New file.
18861 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18863         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18864         separate $(objpfx)tst-fopenloc-cmp.out and
18865         $(objpfx)tst-fopenloc-mem.out targets.
18866         (tests): Update dependencies.
18867         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18868         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18869         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18870         (tst-rxspencer-no-utf8-ARGS): New variable.
18871         (tst-rxspencer-no-utf8-ENV): Likewise.
18872         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18873         instead of $(objpfx)tst-rxspencer-mem.
18874         ($(objpfx)tst-rxspencer-mem): Change target to
18875         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18876         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18877         * posix/tst-rxspencer-no-utf8.c: New file.
18879         * elf/Makefile ($(objpfx)order.out): Remove rule.
18880         [$(run-built-tests) = yes] (tests): Depend on
18881         $(objpfx)order-cmp.out.
18882         ($(objpfx)order-cmp.out): New rule.
18883         [$(run-built-tests) = yes] (tests): Depend on
18884         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18885         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18886         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18887         $(objpfx)tst-array5-static-cmp.out.
18888         ($(objpfx)tst-array1.out): Remove rule.
18889         ($(objpfx)tst-array1-cmp.out): New rule.
18890         ($(objpfx)tst-array1-static.out): Remove rule.
18891         ($(objpfx)tst-array1-static-cmp.out): New rule.
18892         ($(objpfx)tst-array2.out): Remove rule.
18893         ($(objpfx)tst-array2-cmp.out): New rule.
18894         ($(objpfx)tst-array3.out): Remove rule.
18895         ($(objpfx)tst-array3-cmp.out): New rule.
18896         ($(objpfx)tst-array4.out): Remove rule.
18897         ($(objpfx)tst-array4-cmp.out): New rule.
18898         ($(objpfx)tst-array5.out): Remove rule.
18899         ($(objpfx)tst-array5-cmp.out): New rule.
18900         ($(objpfx)tst-array5-static.out): Remove rule.
18901         ($(objpfx)tst-array5-static-cmp.out): New rule.
18902         [$(run-built-tests) = yes] (tests): Depend on
18903         $(objpfx)order2-cmp.out.
18904         ($(objpfx)order2.out): Remove rule.
18905         ($(objpfx)order2-cmp.out): New rule.
18906         ($(objpfx)tst-initorder.out): Remove rule.
18907         [$(run-built-tests) = yes] (tests): Depend on
18908         $(objpfx)tst-initorder-cmp.out.
18909         ($(objpfx)tst-initorder-cmp.out): New rule.
18910         ($(objpfx)tst-initorder2.out): Remove rule.
18911         [$(run-built-tests) = yes] (tests): Depend on
18912         $(objpfx)tst-initorder2-cmp.out.
18913         ($(objpfx)tst-initorder2-cmp.out): New rule.
18914         [$(run-built-tests) = yes] (tests): Depend on
18915         $(objpfx)tst-unused-dep-cmp.out.
18916         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18917         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18918         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18919         on $(objpfx)tst-setvbuf1-cmp.out.
18920         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18921         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18922         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18923         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18924         ($(objpfx)tst-svc.out): Remove rule.
18925         ($(objpfx)tst-svc-cmp.out): New rule.
18927 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18929         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18930         * ctype/ctype.h [__USE_MISC]: Likewise.
18931         * dirent/dirent.h [__USE_MISC]: Likewise.
18932         * grp/grp.h [__USE_MISC]: Likewise.
18933         * io/fcntl.h [__USE_MISC]: Likewise.
18934         * io/sys/stat.h [__USE_MISC]: Likewise.
18935         * libio/stdio.h [__USE_MISC]: Likewise.
18936         * posix/unistd.h [__USE_MISC]: Likewise.
18937         * pwd/pwd.h [__USE_MISC]: Likewise.
18938         * stdlib.h [__USE_MISC]: Likewise.
18939         * string/bits/string2.h [__USE_MISC]: Likewise.
18940         * string/string.h [__USE_MISC]: Likewise.
18941         * time/time.h [__USE_MISC]: Likewise.
18943 2014-02-13  Andreas Schwab  <schwab@suse.de>
18945         [BZ #16574]
18946         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18947         second answer buffer if it was separately allocated.
18949 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18951         * sysdeps/mips/math-tests.h: Include <features.h>.
18952         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18953         (ROUNDING_TESTS_long_double): Do not define.
18954         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18955         (EXCEPTION_TESTS_long_double): Likewise.
18956         * sysdeps/mips/mips64/libm-test-ulps: Update.
18958         * include/features.h (__USE_BSD): Remove macro definitions.
18959         (__USE_SVID): Likewise.
18960         (_BSD_SOURCE): Likewise.
18961         (_SVID_SOURCE): Likewise.
18962         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18963         from definition of _DEFAULT_SOURCE.
18964         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18965         [_DEFAULT_SOURCE].
18966         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18967         * bits/mman.h [__USE_BSD]: Likewise.
18968         * bits/termios.h [__USE_BSD]: Likewise.
18969         * bits/waitstatus.h [__USE_BSD]: Likewise.
18970         * ctype/ctype.h [__USE_SVID]: Likewise.
18971         * dirent/dirent.h [__USE_BSD]: Likewise.
18972         * grp/grp.h [__USE_SVID]: Likewise.
18973         [__USE_BSD]: Likewise.
18974         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18975         * io/fcntl.h [__USE_BSD]: Likewise.
18976         * io/ftw.h [__USE_BSD]: Likewise.
18977         * io/sys/stat.h [__USE_BSD]: Likewise.
18978         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18979         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18980         * libio/stdio.h [__USE_SVID]: Likewise.
18981         [__USE_BSD]: Likewise.
18982         * math/math.h [__USE_SVID]: Likewise.
18983         [__USE_BSD]: Likewise.
18984         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18985         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18986         * misc/search.h [__USE_SVID]: Likewise.
18987         * misc/sys/mman.h [__USE_BSD]: Likewise.
18988         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18989         * misc/sys/uio.h [__USE_BSD]: Likewise.
18990         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18991         * posix/glob.h [__USE_BSD]: Likewise.
18992         * posix/regex.h [__USE_BSD]: Likewise.
18993         * posix/sys/types.h [__USE_BSD]: Likewise.
18994         [__USE_SVID]: Likewise.
18995         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18996         * posix/sys/wait.h [__USE_BSD]: Likewise.
18997         [__USE_SVID]: Likewise.
18998         * posix/unistd.h [__USE_BSD]: Likewise.
18999         [__USE_SVID]: Likewise.
19000         * pwd/pwd.h [__USE_SVID]: Likewise.
19001         * resolv/netdb.h [__USE_BSD]: Likewise.
19002         * setjmp/setjmp.h [__USE_BSD]: Likewise.
19003         * signal/signal.h [__USE_BSD]: Likewise.
19004         [__USE_SVID]: Likewise.
19005         * socket/sys/socket.h [__USE_BSD]: Likewise.
19006         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19007         * stdlib/stdlib.h [__USE_BSD]: Likewise.
19008         [__USE_SVID]: Likewise.
19009         * string/bits/string2.h [__USE_BSD]: Likewise.
19010         [__USE_SVID]: Likewise.
19011         * string/bits/string3.h [__USE_BSD]: Likewise.
19012         * string/endian.h [__USE_BSD]: Likewise.
19013         * string/string.h [__USE_SVID]: Likewise.
19014         [__USE_BSD]: Likewise.
19015         * string/strings.h [__USE_BSD]: Likewise.
19016         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19017         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19018         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19019         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19020         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19021         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19022         Likewise.
19023         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19024         Likewise.
19025         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19026         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19027         Likewise.
19028         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19029         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19030         Likewise.
19031         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19032         Likewise.
19033         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19034         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19036         Likewise.
19037         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19038         Likewise.
19039         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19040         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19041         * termios/termios.h [__USE_BSD]: Likewise.
19042         * time/sys/time.h [__USE_BSD]: Likewise.
19043         * time/time.h [__USE_BSD]: Likewise.
19044         [__USE_SVID]: Likewise.
19046         * Makefile (subdir_targets): Remove subdir_lint.out.
19048         * stdio-common/Makefile (do-tst-unbputc): Remove target.
19049         (do-tst-printf): Likewise.
19050         (tests): Depend directly on $(objpfx)tst-unbputc.out and
19051         $(objpfx)tst-printf.out.
19053         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19055         * Makerules (check-abi-%): Change target to
19056         $(objpfx)check-abi-%.out.
19057         (check-abi target): Update dependencies.
19058         (check-abi-pattern variable): Redirect output of diff to $@.
19059         (check-abi variable): Likewise.
19060         * elf/Makefile (check-abi): Update dependencies.
19062         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19063         unused.
19064         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19065         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19066         subnormal range.
19067         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19068         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19069         value has largest subnormal exponent.
19070         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19071         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19072         * sysdeps/aarch64/soft-fp/sfp-machine.h
19073         (_FP_TININESS_AFTER_ROUNDING): New macro.
19074         * sysdeps/alpha/soft-fp/sfp-machine.h
19075         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19076         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19077         Likewise.
19078         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19079         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19080         * sysdeps/mips/soft-fp/sfp-machine.h
19081         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19082         * sysdeps/powerpc/soft-fp/sfp-machine.h
19083         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19084         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19085         Likewise.
19086         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19087         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19088         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19089         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19090         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19091         Likewise.
19093 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
19095         [BZ #16545]
19096         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19097         model 1.
19099 2014-02-12  Richard Henderson  <rth@redhat.com>
19101         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19102         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19103         * sysdeps/unix/sysv/linux/alpha: Move directory from
19104         ports/sysdeps/unix/sysv/linux/alpha.
19105         * README: Update listing for alpha-*-linux-gnu.
19107 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
19109         * include/features.h: Update comment documenting feature test
19110         macros.
19111         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
19112         _DEFAULT_SOURCE.
19113         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19114         (_SVID_SOURCE): Likewise.
19115         (_DEFAULT_SOURCE): Update description of default features.
19116         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19117         with _GNU_SOURCE.
19118         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19119         (S_ISVTX): Likewise.
19120         * manual/math.texi (Mathematical Constants): Likewise.
19121         * manual/signal.texi (Interrupted Primitives): Likewise.
19122         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19123         * math/test-matherr.c (_SVID_SOURCE): Do not define.
19124         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19125         Don't refer to _SVID_SOURCE in warning text.
19127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19129         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19130         already defined.
19131         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19132         * sysdeps/mips/dl-lookup.c: Remove.
19133         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19135 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19137         [BZ #16447]
19138         * math/auto-libm-test-in: Add testcase for expl.
19139         * math/auto-libm-test-out: Regenerate.
19140         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19141         calculation of unsafe.
19142         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19144 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19146         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19147         * sysdeps/unix/sysv/linux/aarch64: Move directory from
19148         ports/sysdeps/unix/sysv/linux/aarch64.
19149         * README: Update listing for aarch64*-*-linux-gnu.
19151 2014-02-11  Will Newton  <will.newton@linaro.org>
19153         * manual/probes.texi (Mathematical Function Probes): Use
19154         "triggered" instead of "hit".
19156         * manual/probes.texi (Internal Probes): Add documentation
19157         of setjmp, longjmp and longjmp_target probes.
19159         * include/stap-probe.h: Add comment about probe argument
19160         format.
19162         * malloc/mtrace.c (attribute_hidden): Remove unused macro
19163         definition.  (tr_where, tr_freehook, tr_mallochook,
19164         tr_reallochook, tr_memalignhook): Use ANSI protoype.
19166 2014-02-11  David S. Miller  <davem@davemloft.net>
19168         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19169         processing int_tests.
19171 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19173         * sysdeps/mips: Move directory from ports/sysdeps/mips.
19174         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19175         * sysdeps/unix/sysv/linux/mips: Move directory from
19176         ports/sysdeps/unix/sysv/linux/mips.
19177         * README: Update listing for mips-*-linux-gnu and
19178         mips64-*-linux-gnu.
19180 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
19182         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19183         * sysdeps/unix/sysv/linux/m68k: Move directory from
19184         ports/sysdeps/unix/sysv/linux/m68k.
19185         * README: Update listing for m68k-*-linux-gnu.
19187 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19189         * sysdeps/tile: Move directory from ports/sysdeps/tile.
19190         * sysdeps/unix/sysv/linux/generic: Move directory from
19191         ports/sysdeps/unix/sysv/linux/generic.
19192         * sysdeps/unix/sysv/linux/tile: Move directory from
19193         ports/sysdeps/unix/sysv/linux/tile.
19194         * README: Update listing for tile*-*-linux-gnu.
19196 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19198         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19199         __builtin_expect.
19200         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19201         * catgets/open_catalog.c (__open_catalog): Likewise.
19202         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19203         * debug/confstr_chk.c: Likewise.
19204         * debug/fread_chk.c (__fread_chk): Likewise.
19205         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19206         * debug/getgroups_chk.c: Likewise.
19207         * debug/mbsnrtowcs_chk.c: Likewise.
19208         * debug/mbsrtowcs_chk.c: Likewise.
19209         * debug/mbstowcs_chk.c: Likewise.
19210         * debug/memcpy_chk.c: Likewise.
19211         * debug/memmove_chk.c: Likewise.
19212         * debug/mempcpy_chk.c: Likewise.
19213         * debug/memset_chk.c: Likewise.
19214         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19215         * debug/strcat_chk.c (__strcat_chk): Likewise.
19216         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19217         * debug/strncat_chk.c (__strncat_chk): Likewise.
19218         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19219         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19220         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19221         * debug/wcpncpy_chk.c: Likewise.
19222         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19223         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19224         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19225         * debug/wcsncpy_chk.c: Likewise.
19226         * debug/wcsnrtombs_chk.c: Likewise.
19227         * debug/wcsrtombs_chk.c: Likewise.
19228         * debug/wcstombs_chk.c: Likewise.
19229         * debug/wmemcpy_chk.c: Likewise.
19230         * debug/wmemmove_chk.c: Likewise.
19231         * debug/wmempcpy_chk.c: Likewise.
19232         * debug/wmemset_chk.c: Likewise.
19233         * dirent/scandirat.c (SCANDIRAT): Likewise.
19234         * dlfcn/dladdr1.c (dladdr1): Likewise.
19235         * dlfcn/dladdr.c (dladdr): Likewise.
19236         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19237         * dlfcn/dlerror.c (__dlerror): Likewise.
19238         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19239         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19240         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19241         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19242         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19243         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19244         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19245         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19246         Likewise.
19247         * elf/dl-conflict.c: Likewise.
19248         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19249         * elf/dl-dst.h: Likewise.
19250         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19251         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19252         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19253         * elf/dl-init.c (call_init, _dl_init): Likewise.
19254         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19255         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19256         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19257         Likewise.
19258         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19259         Likewise.
19260         * elf/dl-minimal.c (__libc_memalign): Likewise.
19261         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19262         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19263         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19264         * elf/dl-sym.c (do_sym): Likewise.
19265         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19266         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19267         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19268         * elf/dl-writev.h (_dl_writev): Likewise.
19269         * elf/ldconfig.c (search_dir): Likewise.
19270         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19271         (dl_main): Likewise.
19272         * elf/setup-vdso.h (setup_vdso): Likewise.
19273         * grp/compat-initgroups.c (compat_call): Likewise.
19274         * grp/fgetgrent.c (fgetgrent): Likewise.
19275         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19276         * grp/putgrent.c (putgrent): Likewise.
19277         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19278         Likewise.
19279         * hurd/hurdinit.c: Likewise.
19280         * iconvdata/8bit-gap.c (struct): Likewise.
19281         * iconvdata/ansi_x3.110.c : Likewise.
19282         * iconvdata/big5.c : Likewise.
19283         * iconvdata/big5hkscs.c : Likewise.
19284         * iconvdata/cp1255.c: Likewise.
19285         * iconvdata/cp1258.c : Likewise.
19286         * iconvdata/cp932.c : Likewise.
19287         * iconvdata/euc-cn.c: Likewise.
19288         * iconvdata/euc-jisx0213.c : Likewise.
19289         * iconvdata/euc-jp.c: Likewise.
19290         * iconvdata/euc-jp-ms.c : Likewise.
19291         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19292         * iconvdata/gb18030.c : Likewise.
19293         * iconvdata/gbbig5.c (const): Likewise.
19294         * iconvdata/gbgbk.c: Likewise.
19295         * iconvdata/gbk.c : Likewise.
19296         * iconvdata/ibm1364.c : Likewise.
19297         * iconvdata/ibm930.c : Likewise.
19298         * iconvdata/ibm932.c: Likewise.
19299         * iconvdata/ibm933.c : Likewise.
19300         * iconvdata/ibm935.c : Likewise.
19301         * iconvdata/ibm937.c : Likewise.
19302         * iconvdata/ibm939.c : Likewise.
19303         * iconvdata/ibm943.c: Likewise.
19304         * iconvdata/iso_11548-1.c: Likewise.
19305         * iconvdata/iso-2022-cn.c : Likewise.
19306         * iconvdata/iso-2022-cn-ext.c : Likewise.
19307         * iconvdata/iso-2022-jp-3.c: Likewise.
19308         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19309         * iconvdata/iso-2022-kr.c : Likewise.
19310         * iconvdata/iso646.c (gconv_end): Likewise.
19311         * iconvdata/iso_6937-2.c : Likewise.
19312         * iconvdata/iso_6937.c : Likewise.
19313         * iconvdata/iso8859-1.c: Likewise.
19314         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19315         * iconvdata/shift_jisx0213.c : Likewise.
19316         * iconvdata/sjis.c : Likewise.
19317         * iconvdata/t.61.c : Likewise.
19318         * iconvdata/tcvn5712-1.c : Likewise.
19319         * iconvdata/tscii.c: Likewise.
19320         * iconvdata/uhc.c : Likewise.
19321         * iconvdata/unicode.c (gconv_end): Likewise.
19322         * iconvdata/utf-16.c (gconv_end): Likewise.
19323         * iconvdata/utf-32.c (gconv_end): Likewise.
19324         * iconvdata/utf-7.c (base64): Likewise.
19325         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19326         * iconv/gconv_close.c (__gconv_close): Likewise.
19327         * iconv/gconv_open.c (__gconv_open): Likewise.
19328         * iconv/gconv_simple.c (internal_ucs4_loop_single)
19329         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19330         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19331         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19332         (ucs4le_internal_loop_single): Likewise.
19333         * iconv/iconv.c (iconv): Likewise.
19334         * iconv/iconv_close.c: Likewise.
19335         * iconv/loop.c (SINGLE): Likewise.
19336         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19337         * include/atomic.h: Likewise.
19338         * inet/inet6_option.c (option_alloc): Likewise.
19339         * intl/bindtextdom.c (set_binding_values): Likewise.
19340         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19341         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19342         * intl/localealias.c (read_alias_file): Likewise.
19343         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19344         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19345         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19346         * libio/fmemopen.c (fmemopen): Likewise.
19347         * libio/iofgets.c (_IO_fgets): Likewise.
19348         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19349         * libio/iofgetws.c (fgetws): Likewise.
19350         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19351         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19352         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19353         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19354         * locale/findlocale.c (_nl_find_locale): Likewise.
19355         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19356         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19357         Likewise.
19358         * locale/setlocale.c (setlocale): Likewise.
19359         * login/programs/pt_chown.c (main): Likewise.
19360         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19361         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19362         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19363         (mmap, mmap64, mremap, munmap): Likewise.
19364         * math/e_exp2l.c: Likewise.
19365         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19366         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19367         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19368         * math/s_catan.c (__catan): Likewise.
19369         * math/s_catanf.c (__catanf): Likewise.
19370         * math/s_catanh.c (__catanh): Likewise.
19371         * math/s_catanhf.c (__catanhf): Likewise.
19372         * math/s_catanhl.c (__catanhl): Likewise.
19373         * math/s_catanl.c (__catanl): Likewise.
19374         * math/s_ccosh.c (__ccosh): Likewise.
19375         * math/s_ccoshf.c (__ccoshf): Likewise.
19376         * math/s_ccoshl.c (__ccoshl): Likewise.
19377         * math/s_cexp.c (__cexp): Likewise.
19378         * math/s_cexpf.c (__cexpf): Likewise.
19379         * math/s_cexpl.c (__cexpl): Likewise.
19380         * math/s_clog10.c (__clog10): Likewise.
19381         * math/s_clog10f.c (__clog10f): Likewise.
19382         * math/s_clog10l.c (__clog10l): Likewise.
19383         * math/s_clog.c (__clog): Likewise.
19384         * math/s_clogf.c (__clogf): Likewise.
19385         * math/s_clogl.c (__clogl): Likewise.
19386         * math/s_csin.c (__csin): Likewise.
19387         * math/s_csinf.c (__csinf): Likewise.
19388         * math/s_csinh.c (__csinh): Likewise.
19389         * math/s_csinhf.c (__csinhf): Likewise.
19390         * math/s_csinhl.c (__csinhl): Likewise.
19391         * math/s_csinl.c (__csinl): Likewise.
19392         * math/s_csqrt.c (__csqrt): Likewise.
19393         * math/s_csqrtf.c (__csqrtf): Likewise.
19394         * math/s_csqrtl.c (__csqrtl): Likewise.
19395         * math/s_ctan.c (__ctan): Likewise.
19396         * math/s_ctanf.c (__ctanf): Likewise.
19397         * math/s_ctanh.c (__ctanh): Likewise.
19398         * math/s_ctanhf.c (__ctanhf): Likewise.
19399         * math/s_ctanhl.c (__ctanhl): Likewise.
19400         * math/s_ctanl.c (__ctanl): Likewise.
19401         * math/w_pow.c: Likewise.
19402         * math/w_powf.c: Likewise.
19403         * math/w_powl.c: Likewise.
19404         * math/w_scalb.c (sysv_scalb): Likewise.
19405         * math/w_scalbf.c (sysv_scalbf): Likewise.
19406         * math/w_scalbl.c (sysv_scalbl): Likewise.
19407         * misc/error.c (error_tail): Likewise.
19408         * misc/pselect.c (__pselect): Likewise.
19409         * nis/nis_callback.c (__nis_create_callback): Likewise.
19410         * nis/nis_call.c (__nisfind_server): Likewise.
19411         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19412         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19413         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19414         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19415         * nis/nis_lookup.c (nis_lookup): Likewise.
19416         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19417         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19418         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19419         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19420         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19421         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19422         * nis/nss_compat/compat-initgroups.c (add_group)
19423         (internal_getgrent_r): Likewise.
19424         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19425         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19426         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19427         (internal_getspnam_r): Likewise.
19428         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19429         (_nss_nis_getaliasbyname_r): Likewise.
19430         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19431         (_nss_nis_getntohost_r): Likewise.
19432         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19433         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19434         (_nss_nis_getgrgid_r): Likewise.
19435         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19436         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19437         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19438         (_nss_nis_gethostbyname4_r): Likewise.
19439         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19440         (initgroups_netid): Likewise.
19441         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19442         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19443         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19444         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19445         (_nss_nis_getprotobynumber_r): Likewise.
19446         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19447         (_nss_nis_getsecretkey): Likewise.
19448         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19449         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19450         (_nss_nis_getpwuid_r): Likewise.
19451         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19452         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19453         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19454         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19455         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19456         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19457         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19458         Likewise.
19459         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19460         (_nss_nisplus_getntohost_r): Likewise.
19461         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19462         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19463         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19464         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19465         Likewise.
19466         * nis/nss_nisplus/nisplus-initgroups.c
19467         (_nss_nisplus_initgroups_dyn): Likewise.
19468         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19469         (_nss_nisplus_getnetbyaddr_r): Likewise.
19470         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19471         (_nss_nisplus_getprotobynumber_r): Likewise.
19472         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19473         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19474         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19475         Likewise.
19476         * nis/nss_nisplus/nisplus-service.c
19477         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19478         (_nss_nisplus_getservbyport_r): Likewise.
19479         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19480         (_nss_nisplus_getspnam_r): Likewise.
19481         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19482         Likewise.
19483         * nscd/aicache.c (addhstaiX): Likewise.
19484         * nscd/cache.c (cache_search, prune_cache): Likewise.
19485         * nscd/connections.c (register_traced_file, send_ro_fd)
19486         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19487         (main_loop_epoll): Likewise.
19488         * nscd/grpcache.c (addgrbyX): Likewise.
19489         * nscd/hstcache.c (addhstbyX): Likewise.
19490         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19491         * nscd/mem.c (gc, mempool_alloc): Likewise.
19492         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19493         (addinnetgrX): Likewise.
19494         * nscd/nscd-client.h (__nscd_acquire_maplock)
19495         (__nscd_drop_map_ref): Likewise.
19496         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19497         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19498         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19499         Likewise.
19500         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19501         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19502         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19503         (__nscd_get_map_ref): Likewise.
19504         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19505         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19506         Likewise.
19507         * nscd/pwdcache.c (addpwbyX): Likewise.
19508         * nscd/selinux.c (preserve_capabilities): Likewise.
19509         * nscd/servicescache.c (addservbyX): Likewise.
19510         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19511         * posix/fnmatch.c (fnmatch): Likewise.
19512         * posix/getopt.c (_getopt_internal_r): Likewise.
19513         * posix/glob.c (glob, glob_in_dir): Likewise.
19514         * posix/wordexp.c (exec_comm_child): Likewise.
19515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19516         (getanswer_r, gaih_getanswer_slice): Likewise.
19517         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19518         * resolv/res_init.c: Likewise.
19519         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19520         * resolv/res_query.c (__libc_res_nquery): Likewise.
19521         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19522         Likewise.
19523         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19524         * stdio-common/perror.c (perror): Likewise.
19525         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19526         * stdio-common/tmpnam.c (tmpnam): Likewise.
19527         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19528         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19529         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19530         Likewise.
19531         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19532         * stdlib/putenv.c (putenv): Likewise.
19533         * stdlib/setenv.c (__add_to_environ): Likewise.
19534         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19535         * stdlib/strtol_l.c (INTERNAL): Likewise.
19536         * string/memmem.c (memmem): Likewise.
19537         * string/strerror.c (strerror): Likewise.
19538         * string/strnlen.c (__strnlen): Likewise.
19539         * string/test-memmem.c (simple_memmem): Likewise.
19540         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19541         * sunrpc/pm_getport.c (__get_socket): Likewise.
19542         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19543         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19544         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19545         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19546         Likewise.
19547         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19548         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19549         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19550         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19551         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19552         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19553         Likewise.
19554         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19555         Likewise.
19556         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19557         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19559         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19560         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19562         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19563         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19564         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19565         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19566         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19567         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19568         Likewise.
19569         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19570         Likewise.
19571         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19572         Likewise.
19573         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19575         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19576         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19577         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19578         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19579         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19583         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19585         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19586         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19588         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19589         Likewise.
19590         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19591         Likewise.
19592         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19593         Likewise.
19594         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19595         Likewise.
19596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19598         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19599         Likewise.
19600         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19601         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19602         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19603         * sysdeps/posix/sleep.c: Likewise.
19604         * sysdeps/posix/tempname.c: Likewise.
19605         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19606         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19607         Likewise.
19608         * sysdeps/powerpc/powerpc32/dl-machine.h
19609         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19610         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19612         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19613         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19614         Likewise.
19615         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19617         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19618         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19619         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19620         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19621         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19622         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19623         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19624         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19625         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19626         (elf_machine_lazy_rel): Likewise.
19627         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19629         (elf_machine_lazy_rel): Likewise.
19630         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19631         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19632         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19633         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19634         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19635         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19636         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19637         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19638         Likewise.
19639         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19640         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19641         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19642         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19643         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19644         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19645         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19646         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19647         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19648         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19649         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19650         Likewise.
19651         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19652         (__posix_fallocate64_l64): Likewise.
19653         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19654         (posix_fallocate): Likewise.
19655         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19656         Likewise.
19657         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19658         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19659         (getifaddrs_internal): Likewise.
19660         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19661         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19662         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19663         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19664         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19665         (__posix_fallocate64_l64): Likewise.
19666         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19667         Likewise.
19668         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19669         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19670         (__get_clockfreq): Likewise.
19671         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19672         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19673         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19676         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19677         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19678         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19679         Likewise.
19680         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19681         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19682         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19683         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19684         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19685         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19686         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19687         Likewise.
19688         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19689         (posix_fallocate): Likewise.
19690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19691         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19692         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19693         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19694         (elf_machine_rela, elf_machine_rela_relative)
19695         (elf_machine_lazy_rel): Likewise.
19696         * time/asctime.c (asctime_internal): Likewise.
19697         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19698         * time/tzset.c (__tzset_parse_tz): Likewise.
19699         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19700         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19701         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19702         * wcsmbs/wcsmbsload.h: Likewise.
19704         [BZ #15894]
19705         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19707         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19708         (arena_get2): Remove THREAD_STATS conditionals.
19709         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19710         (__malloc_stats, int): Likewise.
19712 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19714         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19715         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19717         * manual/setjmp.texi: Fix typos/grammar errors.
19719         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19720         Only return early when n is <= 0.  Delete unused return statement.
19722         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19723         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19724         * debug/tst-longjmp_chk3.c: New file.
19726         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19727         (test_main): Replace code with set_fortify_handler call.
19728         * debug/test-strcpy_chk.c: Likewise.
19729         * debug/tst-chk1.c: Likewise.
19730         * debug/tst-longjmp_chk.c: Likewise.
19731         * test-skeleton.c: Include fcntl.h & paths.h
19732         (set_fortify_handler): Define.
19734         * debug/tst-longjmp_chk.c: Add header comment and include
19735         ../test-skeleton.c.
19736         (do_test): Mark static.
19737         (TEST_FUNCTION): Define.
19739         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19740         (IP_PMTUDISC_INTERFACE): Likewise.
19741         (IP_MULTICAST_IF): Likewise.
19742         (IP_MULTICAST_TTL): Likewise.
19743         (IP_MULTICAST_LOOP): Likewise.
19744         (IP_ADD_MEMBERSHIP): Likewise.
19745         (IP_DROP_MEMBERSHIP): Likewise.
19746         (IP_UNBLOCK_SOURCE): Likewise.
19747         (IP_BLOCK_SOURCE): Likewise.
19748         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19749         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19750         (IP_MSFILTER): Likewise.
19751         (MCAST_JOIN_GROUP): Likewise.
19752         (MCAST_BLOCK_SOURCE): Likewise.
19753         (MCAST_UNBLOCK_SOURCE): Likewise.
19754         (MCAST_LEAVE_GROUP): Likewise.
19755         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19756         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19757         (MCAST_MSFILTER): Likewise.
19758         (IP_MULTICAST_ALL): Likewise.
19759         (IP_UNICAST_IF): Likewise.
19761         * timezone/Makefile: Delete $(have-ksh) check.
19762         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19763         * timezone/tzselect.ksh: Add +x mode bits.
19765         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19766         (ANON_INODE_FS_MAGIC): Likewise.
19767         (BDEVFS_MAGIC): Likewise.
19768         (BINFMTFS_MAGIC): Likewise.
19769         (BTRFS_TEST_MAGIC): Likewise.
19770         (CRAMFS_MAGIC_WEND): Likewise.
19771         (DEBUGFS_MAGIC): Likewise.
19772         (ECRYPTFS_SUPER_MAGIC): Likewise.
19773         (EXT3_SUPER_MAGIC): Likewise.
19774         (EXT4_SUPER_MAGIC): Likewise.
19775         (FUTEXFS_SUPER_MAGIC): Likewise.
19776         (HOSTFS_SUPER_MAGIC): Likewise.
19777         (HUGETLBFS_MAGIC): Likewise.
19778         (MINIX3_SUPER_MAGIC): Likewise.
19779         (MTD_INODE_FS_MAGIC): Likewise.
19780         (NILFS_SUPER_MAGIC): Likewise.
19781         (OPENPROM_SUPER_MAGIC): Likewise.
19782         (PIPEFS_MAGIC): Likewise.
19783         (PSTOREFS_MAGIC): Likewise.
19784         (QNX6_SUPER_MAGIC): Likewise.
19785         (RAMFS_MAGIC): Likewise.
19786         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19787         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19788         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19789         (SECURITYFS_MAGIC): Likewise.
19790         (SELINUX_MAGIC): Likewise.
19791         (SMACK_MAGIC): Likewise.
19792         (SOCKFS_MAGIC): Likewise.
19793         (SQUASHFS_MAGIC): Likewise.
19794         (STACK_END_MAGIC): Likewise.
19795         (TMPFS_MAGIC): Likewise.
19796         (USBDEVICE_SUPER_MAGIC): Likewise.
19797         (V9FS_MAGIC): Likewise.
19798         (XENFS_SUPER_MAGIC): Likewise.
19799         (CRAMFS_MAGIC): Fix typo in comment.
19800         (EXT2_SUPER_MAGIC): Update comment.
19801         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19803 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19805         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19806         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19807         * sysdeps/unix/sysv/linux/arm: Move directory from
19808         ports/sysdeps/unix/sysv/linux/arm.
19809         * README: Update listing for arm-*-linux-gnueabi.
19811         * README: Remove mention of am33.
19813 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19815         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19816         than the comma operator, to avoid "rhs of comma has no effect"
19817         compiler warnings.
19818         (__sigfillset, __sigandset, __sigorset): Likewise.
19819         * include/signal.h (__sigemptyset): Likewise.
19820         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19822 2014-02-07  Allan McRae  <allan@archlinux.org>
19824         * version.h (RELEASE): Set to "development".
19825         (VERSION): Set to "2.19.90"
19826         * NEWS: Add 2.20 section.
19828 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19830         [BZ #16529]
19831         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19833 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19835         * manual/contrib.texi: Update entry for Carlos O'Donell,
19836         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19838 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19840         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19842         * sysdeps/unix/sysv/linux/kernel-features.h
19843         [__LINUX_KERNEL_VERSION >= 0x020621]
19844         (__ASSUME_PROC_PID_TASK_COMM): Define.
19846 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19848         [BZ #16398]
19849         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19850         conversion when destination buffer does not have enough space.
19851         * libio/tst-ftell-partial-wide.c: New test case.
19852         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19854         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19855         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19856         Leonard and Allan McRae.
19858 2014-02-04  David S. Miller  <davem@davemloft.net>
19860         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19861         32-bit.
19863 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19866         New file
19867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19868         New file
19869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19870         New file.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19872         New file.
19873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19874         New file.
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19876         New file.
19877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19878         New file.
19879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19880         New file.
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19882         New file.
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19884         New file.
19885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19886         New file.
19887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19888         New file.
19889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19890         New file.
19892 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19894         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19895         * shlib-versions: Likewise.
19897 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19900         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19901         (abilist-pattern): New variable, set to %-le.abilist.
19903         * Makerules (abilist-pattern): New variable.
19904         (vpath): Use $(abilist-pattern) in place of %.abilist.
19905         (check-abi-% pattern rule): Likewise.
19906         (check-abi, update-abi): Likewise.
19908 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19912 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19914         * manual/startup.texi: Add next, previous, and top entries for
19915         the `Program Arguments' and `Environment Variables' nodes.
19917 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19919         * manual/macros.texi: Add comments before MTASC-safety macros.
19921         * manual/users.texi: Document MTASC-safety properties.
19923         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19924         (pthread_getspecific, pthread_setspecific): Format with
19925         @deftypefun, and add @safety note.
19926         * manual/signal.texi: Move comments that analyze the above
19927         functions to their home place.
19929 2014-02-03  Allan McRae  <allan@archlinux.org>
19931         * po/sl.po: Update Slovenian translation from translation project.
19933 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19935         * manual/time.texi (timegm): Add missing blank after @c.
19936         Reported by Joseph Myers <joseph@codesourcery.com>.
19938 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19940         * manual/check-safety.sh: New.
19941         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19943         * manual/terminal.texi: Document MTASC-safety properties.
19945         * manual/filesys.texi: Document MTASC-safety properties.
19947         * manual/errno.texi: Document MTASC-safety properties.
19949         * manual/intro.texi: Document safety identifiers and
19950         conditionals.
19952         * manual/string.texi (wcstok): Fix prototype.
19953         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19955         * manual/time.texi: Document MTASC-safety properties.
19957         * manual/string.texi: Document MTASC-safety properties.
19959         * manual/threads.texi: Document MTASC-safety properties.
19961         * manual/stdio.texi: Document MTASC-safety properties.
19963         * manual/syslog.texi: Document MTASC-safety properties.
19965         * manual/sysinfo.texi: Document MTASC-safety properties.
19967         * manual/startup.texi: Document MTASC-safety properties.
19969         * manual/socket.texi: Document MTASC-safety properties.
19971         * manual/signal.texi: Document MTASC-safety properties.
19973 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19975         * manual/setjmp.texi: Document MTASC-safety properties.
19977         * manual/search.texi: Document MTASC-safety properties.
19979         * manual/resource.texi: Document MTASC-safety properties.
19981         * manual/process.texi: Document MTASC-safety properties.
19983         * manual/platform.texi: Document MTASC-safety properties.
19985         * manual/pipe.texi: Document MTASC-safety properties.
19987         * manual/pattern.texi: Document MTASC-safety properties.
19989         * manual/message.texi: Document MTASC-safety properties.
19991         [BZ #12751]
19992         * manual/memory.texi: Document MTASC-safety properties.
19994         * manual/math.texi: Document MTASC-safety properties.
19996         * manual/locale.texi: Document MTASC-safety properties.
19998         * manual/llio.texi: Document MTASC-safety properties.
20000         * manual/libdl.texi: New.
20002         * manual/lang.texi: Document MTASC-safety properties.
20004         * manual/job.texi: Document MTASC-safety properties.
20006         * manual/getopt.texi: Document MTASC-safety properties.
20008         * manual/ctype.texi: Document MTASC-safety properties.
20010 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
20012         [BZ #16046]
20013         * csu/libc-tls.c (static_map): Remove variable.
20014         (__libc_setup_tls): Use main executable's link map for TLS data.
20015         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20016         casing for LM_ID_BASE and GL(dl_nns).
20017         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20018         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
20019         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20020         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20021         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20022         member.
20023         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20024         l_phnum members.
20026 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
20028         * manual/debug.texi: Document MTASC-safety properties.
20030 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
20032         [BZ #16510]
20033         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20034         of __x86_64__ when disabling x87 inline functions.
20036 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
20038         * manual/charset.texi: Document MTASC-safety properties.
20040         * manual/crypt.texi: Document MTASC-safety properties.
20042         * manual/conf.texi: Document MTASC-safety properties.
20044         * manual/arith.texi: Document MTASC-safety properties.
20046         * manual/argp.texi: Document MTASC-safety properties.
20048         * manual/macros.texi: Introduce macros to document multi
20049         thread, asynchronous signal and asynchronous cancellation
20050         safety properties.
20051         * manual/intro.texi: Introduce the properties themselves.
20053 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20055         * sysdeps/sh/sh4/Makefile: New file.
20057 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
20059         * math/gen-libm-test.pl ($srcdir): New variable.
20060         ($auto_input): Use it.
20062 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20064         [BZ #16506]
20065         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20066         access beyond array bounds when parsing netgroups file.
20068         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20069         the old buffer before realloc.
20071 2014-01-27  Allan McRae  <allan@archlinux.org>
20073         * po/fr.po: Update French translation from translation project.
20075 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20077         * sysdeps/sh/libm-test-ulps: Regenerate.
20079 2014-01-24  David S. Miller  <davem@davemloft.net>
20081         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20083 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20085         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20086         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20088 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20090         [BZ #16474]
20091         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20092         string pointers after reallocation.
20094 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20096         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20097         __SH4A__ instead of __SH_FPU_ANY__.
20099 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20101         * sysdeps/sh/fpu_control.h: New file.
20102         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20103         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20104         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20105         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20106         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20107         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20108         * sysdeps/sh/sys/ucontext.h: Remove.
20109         * sysdeps/sh/sys: Remove directory.
20111 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20113         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20114         s390/sys/ucontext.h.
20115         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20116         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20118 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
20120         [BZ #15605]
20121         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20123 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20125         [BZ#16431]
20126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20127         Adjust the vDSO correctly for internal calls.
20128         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20130 2014-01-20  Allan McRae  <allan@archlinux.org>
20132         * po/ca.po: Update Catalan translation from translation project.
20134 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
20136         * sysdeps/s390/sotruss-lib.c: New file.
20138 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20140         [BZ#16430]
20141         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20142         (__GI___gettimeofday): Alias for a different internal symbol to avoid
20143         local calls issues by not having a PLT stub required for IFUNC calls.
20144         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20146 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
20148         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20149         * math/test-fpucw-static.c: Likewise.
20151 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20153         [BZ #16453]
20154         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20156 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20158         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20159         implementation for powerpc.
20161 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
20163         [BZ #14782]
20164         * sysdeps/posix/system.c (__libc_system): Do not enable
20165         asynchronous cancellation.
20167 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20169         [BZ #16427]
20170         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20171         handling only for numbers special also in the IEEE case.
20173 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20175         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20177 2014-01-11  Allan McRae  <allan@archlinux.org>
20179         * po/bg.po: Update Bulgarian translation from translation project.
20181         * po/de.po: Update German translation from translation project.
20183 2014-01-10  Roland McGrath  <roland@hack.frob.com>
20185         * sysdeps/generic/gcc-compat.h: New file.
20187 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20189         * benchtests/asin-inputs: Correct slow inputs.
20190         * benchtests/acos-inputs: Likewise.
20192 2014-01-10  Allan McRae  <allan@archlinux.org>
20194         * po:sv.po: Update Swedish translation from translation project.
20196         * po/vi.po: Update Vietnamese translation from translation project.
20198         * po/eo.po: Update Esperanto translation from translation project.
20200         * po/cs.po: Update Czech translation from translation project.
20202         * po/nl.po: Update Dutch translation from translation project.
20204         * po/pl.po: Update Polish translation from translation project.
20206         * po/ru.po: Update Russian translation from translation project.
20208         * po/uk.po: Update Ukrainian translation from translation project.
20210 2014-01-08  Brooks Moses  <bmoses@google.com>
20212         * elf/dl-load.c: Fix comment typo.
20214 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20216         * po/header.pot: Rename to...
20217         * po/pot.header: ... this.
20218         * po/Makefile: Use pot.header.
20220 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20221             Maxim Kuvyrkov  <maxim@kugelworks.com>
20223         [BZ #16394]
20224         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20225         SRC and DEST against LEN.
20227 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20229         [BZ #16414]
20230         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20231         implementation.
20232         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20234 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20238 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20240         [BZ #16408]
20241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20242         for large positive arguments.
20244 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20246         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20248         * math/auto-libm-test-in: Mark various tests with
20249         xfail-rounding:ldbl-128ibm.
20250         * math/auto-libm-test-out: Regenerated.
20252         [BZ #16407]
20253         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20254         Increase overflow threshold.
20256 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20258         [BZ #14286]
20259         * stdio-common/vfprintf.c: Check for integer overflow.
20261 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20263         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20264         the first argument and return value of __tls_get_addr_internal.
20266 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20268         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20269         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20271 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20273         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20274         * sysdeps/s390/rtld-global-offsets.sym: New file.
20275         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20276         GLIBC_2.19 symbol.
20277         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20278         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20279         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20280         ... this.
20281         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20282         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20283         ... this.
20284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20285         Regenerate.
20286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20287         Regenerate.
20288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20289         halfs of GPRs for high_gprs contexts.
20290         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20291         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20292         field.
20293         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20294         uc_flags field.
20295         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20296         64 bit versions:
20297         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20298         for high GPRs (uc_high_gprs) and for future extensions
20299         (__reserved).
20300         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20301         for future extensions (__reserved).
20302         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20303         64 bit versions:
20304         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20305         SC_HIGHGPRS offset definition.
20306         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20307         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20309         * Versions.def: Add GLIBC_2.19 for libpthread.
20310         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20311         siglongjmp for libpthread with GLIBC_2.19 symver.
20312         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20313         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20314         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20315         * sysdeps/s390/__longjmp.c: New file.
20316         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20317         * sysdeps/s390/longjmp.c: New file.
20318         * sysdeps/s390/setjmp.S: New file.
20319         * sysdeps/s390/sigjmp.S: New file.
20320         * sysdeps/s390/v1-longjmp.c: New file.
20321         * sysdeps/s390/v1-setjmp.h: New file.
20322         * sysdeps/s390/v1-sigjmp.c: New file.
20323         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20324         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20325         GLIBC_2.19 version.
20326         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20327         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20328         versioned symbols for ____longjmp_chk.
20329         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20330         Likewise.
20331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20332         Regenerate.
20333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20334         Regenerate.
20335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20336         Regenerate.
20337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20338         Regenerate.
20339         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20340         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20341         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20342         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20343         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20344         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20345         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20346         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20347         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20348         * sysdeps/s390/rtld-__longjmp.c: New file.
20349         * sysdeps/s390/rtld-setjmp.S: New file.
20351 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20353         [BZ #16400]
20354         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20355         Return -__logl (x) for small positive arguments without evaluating
20356         a polynomial.
20358 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20360         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20361         Rename to ...
20362         (__ptrace_peeksiginfo_args): ... this.
20363         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20364         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20365         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20367 2014-01-06  Allan McRae  <allan@archlinux.org>
20369         * inet/netinet/in.h: Fix typo in comment.
20371 2014-01-05  Andreas Jaeger  <aj@suse.de>
20373         * sysdeps/i386/fpu/libm-test-ulps: Update.
20375 2014-01-05  Allan McRae  <allan@archlinux.org>
20377         * po/libc.pot: Regenerated.
20379         * malloc/memusagestat.c: Fix gettext call formatting.
20381 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20383         * nscd/nscd.c: Improve usage() output.
20385 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20387         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20388         * sysdeps/unix/sysv/linux/configure: Regenerated.
20389         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20390         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20392 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20394         [BZ #16390]
20395         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20396         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20398 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20400         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20401         extra tokens at end of #undef directive.
20402         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20403         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20406 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20408         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20410         * math/auto-libm-test-in: Mark various tests with
20411         xfail-rounding:ldbl-128ibm.
20412         * math/auto-libm-test-out: Regenerated.
20414 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20416         [BZ #16386]
20417         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20418         numbers with subnormal high part when calculating exponent.
20420         [BZ #16385]
20421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20422         fabs.
20424         [BZ #16384]
20425         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20426         M_LN2l.
20427         (__ieee754_acoshl): Use __log1pl not __log1p.
20429 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20431         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20432         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20433         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20434         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20435         (reused_arena, arena_get2): Convert to GNU style.
20436         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20437         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20438         (memalign_check, __malloc_set_state): Likewise.
20439         * malloc/mallocbug.c (main): Likewise.
20440         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20441         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20442         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20443         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20444         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20445         (__posix_memalign, malloc_info): Likewise.
20446         * malloc/malloc.h: Likewise.
20447         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20448         (mallochook, memalignhook, reallochook, mabort): Likewise.
20449         * malloc/mcheck.h: Likewise.
20450         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20451         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20452         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20453         * malloc/morecore.c (__default_morecore): Likewise.
20454         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20455         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20456         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20457         (print_and_abort): Likewise.
20458         * malloc/obstack.h: Likewise.
20459         * malloc/set-freeres.c (__libc_freeres): Likewise.
20460         * malloc/tst-mallocstate.c (main): Likewise.
20461         * malloc/tst-mtrace.c (main): Likewise.
20462         * malloc/tst-realloc.c (do_test): Likewise.
20464 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20466         [BZ #16366]
20467         * nscd/netgroupcache.c (do_notfound): New function.
20468         (addgetnetgrentX): Use it.
20470         [BZ # 16365]
20471         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20472         NSS_STATUS_NOTFOUND.
20474 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20476         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20479 2014-01-01  Allan McRae  <allan@archlinux.org>
20481         * scripts/update-copyrights: Update configure input file suffix.
20483         * NEWS: Update copyright year.
20484         * catgets/gencat.c: Likewise.
20485         * csu/version.c: Likewise.
20486         * debug/catchsegv.sh: Likewise.
20487         * debug/pcprofiledump.c: Likewise.
20488         * debug/xtrace.sh: Likewise.
20489         * elf/ldconfig.c: Likewise.
20490         * elf/ldd.bash.in: Likewise.
20491         * elf/pldd.c: Likewise.
20492         * elf/sotruss.ksh: Likewise.
20493         * elf/sprof.c: Likewise.
20494         * iconv/iconv_prog.c: Likewise.
20495         * iconv/iconvconfig.c: Likewise.
20496         * locale/programs/locale.c: Likewise.
20497         * locale/programs/localedef.c: Likewise.
20498         * login/programs/pt_chown.c: Likewise.
20499         * malloc/memusage.sh: Likewise.
20500         * malloc/memusagestat.c: Likewise.
20501         * malloc/mtrace.pl: Likewise.
20502         * manual/libc.texinfo: Likewise.
20503         * nscd/nscd.c: Likewise.
20504         * nss/getent.c: Likewise.
20505         * nss/makedb.c: Likewise.
20506         * posix/getconf.c: Likewise.
20507         * scripts/test-installation.pl: Likewise.
20509         * All files with FSF copyright notices: Update copyright dates
20510         using scripts/update-copyrights.
20511         * intl/plural.c: Regenerated.
20512         * locale/programs/charmap-kw.h: Likewise.
20513         * locale/programs/locfile-kw.h: Likewise.
20515 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20517         * sysdeps/unix/sysv/linux/configure: Regenerated.
20518         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20519         the linux/fanotify.h header.
20520         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20521         HAVE_LINUX_FANOTIFY_H is defined.
20523 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20525         * benchtests/cos-inputs: New inputs.
20526         * benchtests/sin-inputs: Likewise.
20528         * benchtests/atan-inputs: New inputs. Fix name of multiple
20529         precision fallback inputs.
20531         * benchtests/atanh-inputs: New inputs.
20532         * benchtests/tanh-inputs: Likewise.
20534         * benchtests/acosh-inputs: New inputs.
20535         * benchtests/asinh-inputs: Likewise.
20537         * benchtests/cosh-inputs: New inputs.
20538         * benchtests/sinh-inputs: Likewise.
20540         * benchtests/acos-inputs: Add more inputs.
20541         * benchtests/asin-inputs: Likewise.
20543 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20545         [BZ #16375]
20546         * manual/arith.texi: Fix spelling.
20547         * manual/charset.texi: Likewise.
20548         * manual/errno.texi: Likewise.
20549         * manual/filesys.texi: Likewise.
20550         * manual/lang.texi: Likewise.
20551         * manual/llio.texi: Likewise.
20552         * manual/locale.texi: Likewise.
20553         * manual/message.texi: Likewise.
20554         * manual/resource.texi: Likewise.
20555         * manual/search.texi: Likewise.
20556         * manual/setjmp.texi: Likewise.
20557         * manual/stdio.texi: Likewise.
20558         * manual/string.texi: Likewise.
20559         * manual/sysinfo.texi: Likewise.
20560         * manual/time.texi: Likewise.
20562 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20564         * po/sl.po: New file.
20566 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20568         * .gitignore: Add core/.gdbinit/.gdb_history.
20570 2013-12-27  Allan McRae  <allan@archlinux.org>
20572         [BZ #16369]
20573         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20574         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20576 2013-12-24  Brooks Moses  <bmoses@google.com>
20578         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20579         all compilers that claim C++98 compliance, not just GCC.
20580         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20581         Likewise.
20583 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20585         * NEWS: Restore accidentally deleted bug-fix entries.
20587 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20588             Ondřej Bílka  <neleai@seznam.cz>
20590         [BZ #15073]
20591         * malloc/malloc.c (_int_free): Perform sanity check only if we
20592         have_lock.
20594 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20596         [BZ #12986]
20597         * manual/stdio.texi (String Input Conversions): Clarify that character
20598         classes are not supported.
20600 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20604 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20606         [BZ #16337]
20607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20608         Calculate results for small negative arguments directly rather
20609         than using reflection formula with special underflow handling.
20611         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20612         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20613         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20614         (fchflags): Likewise.
20615         (revoke): Likewise.
20616         (setlogin): Likewise.
20617         (sigaltstack): Likewise.
20618         (wait4): Likewise.
20619         (sigblock): Remove.
20620         (sigsetmask): Likewise.
20621         (wait3): Likewise.
20622         (waitpid): Likewise.
20623         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20624         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20625         file.
20626         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20627         * sysdeps/unix/bsd/Makefile: ... here.
20628         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20629         * sysdeps/unix/bsd/Versions: ... here.
20630         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20631         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20632         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20633         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20634         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20635         * sysdeps/unix/bsd/sigblock.c: ... here.
20636         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20637         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20638         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20639         * sysdeps/unix/bsd/sigvec.c: ... here.
20640         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20641         * sysdeps/unix/bsd/tcdrain.c: ... here.
20642         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20643         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20644         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20645         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20646         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20647         * sysdeps/unix/bsd/wait.c: ... here.
20648         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20649         * sysdeps/unix/bsd/wait3.c: ... here.
20650         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20651         * sysdeps/unix/bsd/waitpid.c: ... here.
20653 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20655         [BZ #16356]
20656         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20657         round-to-nearest for [!USE_AS_EXPM1L].
20658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20659         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20660         more tests of exp and exp10.  Expect some exp10 tests to miss
20661         exceptions or fail in directed rounding modes.
20662         * math/auto-libm-test-out: Regenerated.
20663         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20664         (exp10_test_tonearest): New function.
20665         (exp10_towardzero_test_data): New array.
20666         (exp10_test_towardzero): New function.
20667         (exp10_downward_test_data): New array.
20668         (exp10_test_downward): New function.
20669         (exp10_upward_test_data): New array.
20670         (exp10_test_upward): New function.
20671         (main): Call the new functions.
20672         * sysdeps/i386/fpu/libm-test-ulps: Update.
20673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20677         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20678         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20679         * math/auto-libm-test-out: Regenerated.
20680         * math/libm-test.inc (acosh_test_data): Add more tests.
20681         (atanh_test_data): Likewise.
20682         (ceil_test_data): Likewise.
20683         (copysign_test_data): Likewise.
20684         * sysdeps/i386/fpu/libm-test-ulps: Update.
20685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20687         * timezone/checktab.awk: Update from tzcode 2013i.
20688         * timezone/private.h: Likewise.
20689         * timezone/scheck.c: Likewise.
20690         * timezone/tzfile.h: Likewise.
20691         * timezone/tzselect.ksh: Likewise.
20692         * timezone/zdump.c: Likewise.
20693         * timezone/zic.c: Likewise.
20695         * math/auto-libm-test-in: Add tests of cpow.
20696         * math/auto-libm-test-out: Regenerated.
20697         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20698         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20699         mpc_cc_c.
20700         (func_calc_desc): Add mpc_cc_c union field.
20701         (test_functions): Add cpow.
20702         (special_fill_2pi): New function.
20703         (special_real_inputs): Add 2pi.
20704         (calc_generic_results): Handle mpc_cc_c.
20705         * sysdeps/i386/fpu/libm-test-ulps: Update.
20706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20708         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20709         csqrt, ctan and ctanh.
20710         * math/auto-libm-test-out: Regenerated.
20711         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20712         (TEST_COND_x86): Likewise.
20713         (ccos_test_data): Use AUTO_TESTS_c_c.
20714         (ccosh_test_data): Likewise.
20715         (cexp_test_data): Likewise.
20716         (clog_test_data): Likewise.
20717         (csqrt_test_data): Likewise.
20718         (ctan_test_data): Likewise.
20719         (ctan_tonearest_test_data): Likewise.
20720         (ctan_towardzero_test_data): Likewise.
20721         (ctan_downward_test_data): Likewise.
20722         (ctan_upward_test_data): Likewise.
20723         (ctanh_test_data): Likewise.
20724         (ctanh_tonearest_test_data): Likewise.
20725         (ctanh_towardzero_test_data): Likewise.
20726         (ctanh_downward_test_data): Likewise.
20727         (ctanh_upward_test_data): Likewise.
20728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20729         mpc_c_c.
20730         (func_calc_desc): Add mpc_c_c union field.
20731         (FUNC_mpc_c_c): New macro.
20732         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20733         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20734         ctanh.
20735         (special_fill_min_subnorm_p120): New function.
20736         (special_real_inputs): Add min_subnorm_p120.
20737         (calc_generic_results): Handle mpc_c_c.
20738         * sysdeps/i386/fpu/libm-test-ulps: Update.
20739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20741 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20743         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20744         (do_sin_slow): New functions.
20745         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20746         (cslow2, csloww1, csloww2): Use the new functions.
20748         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20749         Use M to change sign of result instead of X.  Assume X is
20750         positive.
20751         (csloww1): Likewise.
20752         (__sin): Adjust.
20753         (__cos): Adjust.
20755         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20756         arguments A and DA.
20757         (__sin): Adjust.
20758         (__cos): Likewise.
20760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20761         (__cos): Likewise.
20762         (sloww1): Don't adjust sign of DX.
20763         (csloww1): Likewise.
20764         (sloww2): Use X directly and don't adjust sign of DX.
20765         (csloww2): Likewise.
20767 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20769         * math/auto-libm-test-in: Add tests of cabs and carg.
20770         * math/auto-libm-test-out: Regenerated.
20771         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20772         (carg_test_data): Likewise.
20773         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20774         mpc_c_f.
20775         (func_calc_desc): Add mpc_c_f union field.
20776         (test_functions): Add cabs and carg.
20777         (calc_generic_results): Handle mpc_c_f.
20779         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20780         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20781         as a macro and a compat symbol.
20782         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20783         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20784         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20785         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20786         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20788         not use .hidden.
20789         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20790         Likewise.
20791         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20792         Likewise.
20793         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20794         Likewise.
20795         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20796         Likewise.
20797         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20798         Likewise.
20799         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20800         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20801         from GLIBC_2.3.2.
20803 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20807 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20809         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20810         trailing whitespace removed.
20811         * scripts/config.guess: Update to version 2013-11-29.
20812         * scripts/config.sub: Update to version 2013-10-01.
20814         * math/auto-libm-test-in: Add tests of sincos.
20815         * math/auto-libm-test-out: Regenerated.
20816         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20817         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20818         mpfr_f_11.
20819         (func_calc_desc): Add mpfr_f_11 union field.
20820         (test_functions): Add sincos.
20821         (calc_generic_results): Handle mpfr_f_11.
20822         * sysdeps/i386/fpu/libm-test-ulps: Update.
20823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20825 2013-12-19  Andreas Schwab  <schwab@suse.de>
20827         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20828         CALL_MCOUNT.
20829         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20830         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20831         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20833 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20835         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20836         * sysdeps/i386/fpu/libm-test-ulps: Update.
20837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20839         [BZ #16293]
20840         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20841         round-to-nearest mode when using frndint.
20842         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20843         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20844         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20845         Likewise.
20846         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20847         sinh test to fail.
20848         * math/auto-libm-test-out: Regenerated.
20849         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20850         (TEST_COND_x86): Likewise.
20851         (expm1_tonearest_test_data): New array.
20852         (expm1_test_tonearest): New function.
20853         (expm1_towardzero_test_data): New array.
20854         (expm1_test_towardzero): New function.
20855         (expm1_downward_test_data): New array.
20856         (expm1_test_downward): New function.
20857         (expm1_upward_test_data): New array.
20858         (expm1_test_upward): New function.
20859         (main): Run the new test functions.
20860         * sysdeps/i386/fpu/libm-test-ulps: Update.
20861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20863         * include/features.h: Update comment documenting feature test
20864         macros.  Mention _DEFAULT_SOURCE in comment.
20865         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20866         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20867         _BSD_SOURCE and _SVID_SOURCE.
20868         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20869         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20870         !_SVID_SOURCE]: Likewise.
20871         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20872         (__USE_POSIX_IMPLICITLY): Define.
20873         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20874         (_POSIX_SOURCE): Undefine and redefine.
20875         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20876         (_POSIX_C_SOURCE): Likewise.
20877         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20878         (Feature Test Macros): Update documentation of default features.
20880 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20882         * benchtests/Makefile: Add bench-strtok.
20883         * benchtests/bench-strtok.c: New file: strtok benchtest.
20885 2013-12-19  Allan McRae  <allan@archlinux.org>
20887         * manual/install.texi: Suppress menu for plain text output.
20888         * INSTALL: Regenerated.
20890 2013-12-18  Brooks Moses  <bmoses@google.com>
20892         [BZ #15846]
20893         * misc/getauxval.c: Include errno.h.
20894         (__getauxval): Set errno to ENOENT if the requested type is not
20895         found.
20896         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20897         don't declare with __attribute_const__.
20898         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20899         * manual/startup.texi: Document that getauxval sets errno.
20901 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20903         * math/auto-libm-test-in: Add tests of jn and yn.
20904         * math/auto-libm-test-out: Regenerated.
20905         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20906         (yn_test_data): Likewise.
20907         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20908         mpfr_if_f.
20909         (func_calc_desc): Add mpfr_if_f union field.
20910         (FUNC_mpfr_if_f): New macro.
20911         (test_functions): Add jn and yn.
20912         (calc_generic_results): Assert type of second input for
20913         mpfr_ff_f.  Handle mpfr_if_f.
20914         (output_for_one_input_case): Disable all checking for arguments
20915         fitting floating-point types in case of an integer argument.
20916         * sysdeps/i386/fpu/libm-test-ulps: Update.
20917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20920         Don't expect fegetround reference in libm.so.
20922 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20924         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20925         $(config-cflags-nofma).
20927 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20929         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20930         * math/auto-libm-test-out: Regenerated.
20932         [BZ #16338]
20933         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20934         to determine exponent and adjust argument to have exponent of -1.
20935         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20936         log2.
20937         * math/auto-libm-test-out: Regenerated.
20938         * sysdeps/i386/fpu/libm-test-ulps: Update.
20939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20941 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20943         * manual/probes.texi: Remove cases when per-thread arenas are
20944         disabled.
20946 2013-12-18  Andreas Schwab  <schwab@suse.de>
20948         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20949         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20950         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20951         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20952         * sysdeps/i386/i686/multiarch/Makefile: Update.
20953         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20955 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20957         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20958         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20960 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20962         [BZ #15968]
20963         Support TZ transition times < 00:00:00.
20964         This is needed for version-3 tz-format files; it supports time
20965         stamps past 2037 for America/Godthab (the only entry in the tz
20966         database for which this change is relevant).
20967         * manual/time.texi (TZ Variable): Document transition times
20968         from -167:59:59 through -00:00:01.
20969         * time/tzset.c (tz_rule): Time of day is now signed.
20970         (__tzset_parse_tz): Parse negative time of day.
20972         Document TZ transition times >= 25:00:00.
20973         * manual/time.texi (TZ Variable): Document transition times from
20974         25:00:00 through 167:59:59.  These are already supported, and this
20975         support will help with version-3 tz-format files.
20977         * manual/time.texi (TZ Variable): Modernize North America example
20978         to reflect current (i.e., 2007-and-later) daylight saving rules.
20980         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20982 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20984         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20985         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20988         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20989         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20990         * sysdeps/unix/bsd/clock.c: Likewise.
20991         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20992         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20993         * sysdeps/unix/bsd/init-posix.c: Likewise.
20994         * sysdeps/unix/bsd/poll.c: Likewise.
20995         * sysdeps/unix/bsd/ptsname.c: Likewise.
20996         * sysdeps/unix/bsd/seekdir.c: Likewise.
20997         * sysdeps/unix/bsd/setegid.c: Likewise.
20998         * sysdeps/unix/bsd/seteuid.c: Likewise.
20999         * sysdeps/unix/bsd/setgid.c: Likewise.
21000         * sysdeps/unix/bsd/setrgid.c: Likewise.
21001         * sysdeps/unix/bsd/setruid.c: Likewise.
21002         * sysdeps/unix/bsd/setsid.c: Likewise.
21003         * sysdeps/unix/bsd/setuid.c: Likewise.
21004         * sysdeps/unix/bsd/sigaction.c: Likewise.
21005         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21006         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21007         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21008         * sysdeps/unix/bsd/telldir.c: Likewise.
21009         * sysdeps/unix/bsd/times.c: Likewise.
21010         * sysdeps/unix/bsd/usleep.c: Likewise.
21012         * misc/Makefile (install-lib): Remove libbsd-compat.a.
21013         ($(objpfx)libbsd-compat.a): Remove rule.
21015         * include/features.h (__FAVOR_BSD): Do not define.
21016         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21017         features conflicting with POSIX.
21018         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21019         (_BSD_SOURCE): Remove description of not being a subset of other
21020         feature test macros.
21021         * manual/job.texi (getpgrp): Do not document BSD version.
21022         (getpgid): Do not document by reference to BSD getpgrp.
21023         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21024         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21025         * signal/signal.h [__FAVOR_BSD]: Likewise.
21026         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21027         instead of making contents conditional on [__FAVOR_BSD].
21028         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21030 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21034 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21036         [BZ #16314]
21037         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21038         values below 2**-450, not 2**-500.
21039         * math/auto-libm-test-in: Don't allow spurious underflow from
21040         hypot.
21041         * math/auto-libm-test-out: Regenerated.
21043         [BZ #16316]
21044         [BZ #16330]
21045         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21046         values of ha and hb and sort them after adjusting subnormal
21047         arguments.
21048         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21049         Likewise.
21050         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21051         values of ea and eb and sort them after adjusting subnormal
21052         arguments.
21053         * math/auto-libm-test-in: Do not expect some hypot tests of
21054         subnormals to fail.  Add more hypot tests.
21055         * math/auto-libm-test-out: Regenerated.
21057 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21059         [BZ #13304]
21060         * sysdeps/sh/s_fma.c: New file.
21061         * sysdeps/sh/s_fmaf.c: New file.
21062         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
21063         version.
21064         * sysdeps/sh/Implies: Add sh/soft-fp.
21066 2013-12-16  Roland McGrath  <roland@hack.frob.com>
21068         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
21069         level of indirection to members `objname', `errstring', `malloced'.
21070         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21071         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
21072         it as the __longjmp argument (just pass 1 instead).
21073         (_dl_catch_error): Initialize C with argument pointers and address of
21074         volatile local ERRCODE rather than copying values out of C at return.
21076 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
21078         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21079         * math/auto-libm-test-out: Regenerated.
21080         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21081         (hypot_test_data): Likewise.
21082         (pow_test_data): Likewise.
21083         (pow_tonearest_test_data): Likewise.
21084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21085         mpfr_ff_f.
21086         (func_calc_desc): Add mpfr_ff_f union field.
21087         (FUNC_mpfr_ff_f): New macro.
21088         (test_functions): Add atan2, hypot and pow.
21089         (special_fill_min): New function.
21090         (special_fill_minus_min): Likewise.
21091         (special_fill_min_subnorm): Likewise.
21092         (special_fill_minus_min_subnorm): Likewise.
21093         (special_real_inputs): Add min, -min, min_subnorm and
21094         -min_subnorm.
21095         (calc_generic_results): Handle mpfr_ff_f.
21096         * sysdeps/i386/fpu/libm-test-ulps: Update.
21097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21099 2013-12-16  Will Newton  <will.newton@linaro.org>
21101         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21102         (Aligned Memory Blocks): Add documentation for aligned_alloc
21103         and suggest it as an alternative to posix_memalign.
21104         (Hooks for Malloc): Document __memalign_hook is also called
21105         for aligned_alloc.  (Summary of Malloc): Add summary for
21106         aligned alloc.  Document __memalign_hook is also called
21107         for aligned_alloc.
21109 2013-12-16  Will Newton  <will.newton@linaro.org>
21111         * manual/memory.texi (Malloc Examples): Clarify default
21112         alignment documentation.  Suggest posix_memalign rather
21113         than memalign or valloc.
21114         (Aligned Memory Blocks): Remove suggestion to use memalign
21115         or valloc.  Remove obsolete comment about BSD.
21116         Document memalign errno values and mark the function obsolete.
21117         Document posix_memalign returned error codes.  Mark valloc
21118         as obsolete.  (Hooks for Malloc): __memalign_hook is also
21119         called for posix_memalign and valloc.
21120         (Summary of Malloc): Add posix_memalign to function summary.
21121         __memalign_hook is also called for posix_memalign and valloc.
21123 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21125         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21126         TAYLOR_SIN.
21127         (__sin): Adjust.
21128         (__cos): Likewise.
21129         (sloww): Use mynumber union.  Expand ternary operator into
21130         if-else statements.
21131         (cslow): use mynumber union.
21133 2013-12-16  Allan McRae  <allan@archlinux.org>
21135         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21136         * configure: Regenerated.
21138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21140         [BZ #14120]
21141         * configure.ac: Added --enable-maintainer-mode. Check for
21142         autoconf when enabled.
21143         * configure: Regenerated.
21145         * nscd/nscd.service: New file.
21146         * nscd/nscd.tmpfiles: New file.
21148 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
21150         [BZ #12100]
21151         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21152         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21153         * sysdeps/x86_64/multiarch/strstr.c: ... here.
21154         (strstr): Add __strstr_sse2_unaligned ifunc.
21155         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21156         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21157         (strcasestr): Remove __strcasestr_sse42 ifunc.
21158         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21162 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21164         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21165         * sysdeps/sh/bits/fenv.h: ... here.
21166         * sysdeps/sh/sh4/fpu/bits: Remove directory.
21168 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21170         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21173         hypotf multiarch implementations.
21174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21176         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21177         multiarch hypot for PPC64.
21178         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21179         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21180         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21181         multiarch hypotf for PPC64.
21183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21184         modff multiarch implementations.
21185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21188         multiarch modf for PPC64.
21189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21192         multiarch modff for PPC64.
21194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21195         and logl multiarch implementations.
21196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21199         multiarch logb for PPC64.
21200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21203         multiarch logb for PPC64.
21204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21207         multiarch logb for PPC64.
21209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21210         isinff multiarch implementation.
21211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21212         file.
21213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21215         multiarch isinf for PPC64.
21216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21217         file.
21218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21219         multiarch isinff for PPC64.
21221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21222         finitef multiarch implementation.
21223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21224         file.
21225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21227         multiarch finite for PPC64.
21228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21229         file.
21230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21231         multiarch finitef for PPC64.
21233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21234         lrint multiarch implementation.
21235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21236         file.
21237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21239         multiarch llrint for PPC64.
21240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21241         multiarch lrint for PPC64.
21243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21244         copysignf multiarch implementation.
21245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21246         file.
21247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21248         file.
21249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21250         multiarch copysign for PPC64.
21251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21252         multiarch copysignf for PPC64.
21254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21255         multiarch implementation.
21256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21257         file.
21258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21259         file.
21260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21261         file.
21262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21263         file.
21264         multiarch llround for PPC64.
21265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21266         multiarch trunc for PPC64.
21267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21268         multiarch truncf for PPC64.
21270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21271         multiarch implementation.
21272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21273         file.
21274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21275         file.
21276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21277         file.
21278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21279         file.
21280         multiarch llround for PPC64.
21281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21282         multiarch round for PPC64.
21283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21284         multiarch roundf for PPC64.
21286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21287         multiarch implementation.
21288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21289         file.
21290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21291         file.
21292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21293         file.
21294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21295         file.
21296         multiarch llround for PPC64.
21297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21298         multiarch floor for PPC64.
21299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21300         multiarch floorf for PPC64.
21302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21303         multiarch implementation.
21304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21305         file.
21306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21307         file.
21308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21309         file.
21310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21311         file.
21312         multiarch llround for PPC64.
21313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21314         multiarch ceil for PPC64.
21315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21316         multiarch ceilf for PPC64.
21318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21319         multiarch implementation.
21320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21321         file.
21322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21323         file.
21324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21325         file.
21326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21327         multiarch llround for PPC64.
21328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21329         multiarch lround for PPC64.
21331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21332         multiarch implementation.
21333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21336         file.
21337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21340         multiarch isnan for PPC64.
21341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21342         multiarch isnanf for PPC64.
21344         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21345         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21346         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21347         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21348         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21351         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21352         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21354         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21357         multiarch implementations.
21358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21359         (__libc_ifunc_impl_list): Likewise.
21360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21363         multiarch stpcpy for PPC64.
21365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21366         multiarch implementations.
21367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21368         (__libc_ifunc_impl_list): Likewise.
21369         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21370         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21371         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21372         multiarch strcpy for PPC64.
21374         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21375         redefine function name.
21376         (_wordcopy_fwd_dest_aligned): Likewise.
21377         (_wordcopy_bwd_aligned): Likewise.
21378         (_wordcopy_bwd_dest_aligned): Likewise.
21379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21380         multiarch implementations.
21381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21382         (__libc_ifunc_impl_list): Likewise.
21383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21384         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21385         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21386         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21387         multiarch wcscpy for PPC64.
21389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21390         multiarch implementations.
21391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21392         (__libc_ifunc_impl_list): Likewise.
21393         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21395         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21396         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21397         multiarch wcscpy for PPC64.
21399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21400         multiarch implementations.
21401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21402         (__libc_ifunc_impl_list): Likewise.
21403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21404         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21406         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21407         multiarch wcsrchr for PPC64.
21409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21410         multiarch implementations.
21411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21412         (__libc_ifunc_impl_list): Likewise.
21413         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21414         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21415         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21416         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21417         multiarch wcschr for PPC64.
21419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21420         multiarch implementations.
21421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21422         (__libc_ifunc_impl_list): Likewise.
21423         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21424         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21425         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21426         multiarch strchrnul for PPC64.
21428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21429         implementations.
21430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21431         (__libc_ifunc_impl_list): Likewise.
21432         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21433         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21434         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21435         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21436         strchr for PPC64.
21438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21439         implementations.
21440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21441         (__libc_ifunc_impl_list): Likewise.
21442         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21443         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21444         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21445         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21446         strncmp for PPC64.
21448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21449         multiarch implementations.
21450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21451         (__libc_ifunc_impl_list): Likewise.
21452         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21453         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21454         strncasecmp for PPC64.
21455         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21456         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21457         multiarch strncasecmp_l for PPC64.
21459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21460         multiarch implementations.
21461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21462         (__libc_ifunc_impl_list): Likewise.
21463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21465         multiarch strcasecmp for PPC64.
21466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21467         file.
21468         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21469         multiarch strcasecmp_l for PPC64.
21471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21472         implementations.
21473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21474         (__libc_ifunc_impl_list): Likewise.
21475         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21476         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21477         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21478         strnlen for PPC64.
21480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21481         implementations.
21482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21483         (__libc_ifunc_impl_list): Likewise.
21484         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21485         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21486         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21487         strlen for PPC64.
21489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21490         implementations.
21491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21492         (__libc_ifunc_impl_list): Likewise.
21493         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21494         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21495         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21496         rawmemrchr for PPC64.
21498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21499         implementation.
21500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21501         (__libc_ifunc_impl_list): Likewise.
21502         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21503         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21504         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21505         memrchr for PPC64.
21507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21508         implementation.
21509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21510         (__libc_ifunc_impl_list): Likewise.
21511         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21512         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21513         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21514         memchr for PPC64.
21516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21517         implementation.
21518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21519         (__libc_ifunc_impl_list): Likewise.
21520         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21521         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21522         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21523         mempcpy for PPC64.
21525         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21526         avoid cretion of __bzero symbol.
21527         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21528         Likewise.
21529         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21530         Likewise.
21531         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21532         Likewise.
21533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21534         multiarch implementations.
21535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21536         (__libc_ifunc_impl_list): Likewise.
21537         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21538         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21539         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21540         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21541         bzero for PPC32.
21542         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21543         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21544         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21545         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21546         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21547         memset for PPC64.
21548         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21550         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21552         implementations.
21553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21554         (__libc_ifunc_impl_list): Likewise.
21555         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21556         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21557         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21558         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21559         memcmp for PPC64.
21561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21562         multiarch for POWER/PPC64.
21563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21564         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21566         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21567         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21568         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21569         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21571         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21572         memcpy for PPC64.
21574         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21575         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21576         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21577         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21578         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21579         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21580         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21581         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21582         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21583         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21584         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21585         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21586         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21587         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21588         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21597 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21599         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21601 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21603         * benchtests/Makefile (bench): Add exp2 and log2.
21604         (LDLIBS-bench-exp2): Add -lm.
21605         (LDLIBS-bench-log2): Likewise.
21606         * benchtests/exp2-inputs: New inputs file.
21607         * benchtests/log2-inputs: New inputs file.
21608         * benchtests/log-inputs: Add new inputs.
21609         * benchtests/tan-inputs: Likewise.
21611 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21613         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21614         definition...
21615         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21616         (csloww2): ... from here.
21618         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21619         instead of structures.
21620         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21621         (POLYNOMIAL): Likewise.
21622         (TAYLOR_SLOW): Likewise.
21623         (__sin): Likewise.
21624         (__cos): Likewise.
21625         (slow1): Likewise.
21626         (slow2): Likewise.
21627         (sloww): Likewise.
21628         (sloww1); Likewise.
21629         (sloww2): Likewise.
21630         (bsloww1): Likewise.
21631         (bsloww2): Likewise.
21632         (cslow2): Likewise.
21633         (csloww): Likewise.
21634         (csloww1): Likewise.
21635         (csloww2): Likewise.
21637 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21639         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21640         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21641         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21642         * malloc/hooks.c (realloc_check): Likewise.
21644         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21645         * malloc/arena.c: Remove PER_THREAD conditional.
21646         [!PER_THREAD]: Remove code.
21647         (ptmalloc_unlock_all2): Likewise.
21648         (ptmalloc_init): Likewise.
21649         (_int_new_arena): Likewise.
21650         (arena_get2): Likewise.
21651         * malloc/hooks.c (__malloc_get_state): Likewise.
21652         (__malloc_set_state): Likewise.
21653         * malloc/malloc.c: Likewise.
21654         (struct malloc_state): Likewise.
21655         (struct malloc_par): Likewise.
21656         (__libc_realloc): Likewise.
21657         (__libc_mallopt): Likewise.
21659 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21661         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21663 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21665         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21666         macro to a function.  Check for zero perturb_byte.
21667         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21669         * malloc/malloc.c: (force_reg): Remove.
21670         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21671         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21672         force_reg by atomic_forced_read.
21673         * malloc/arena.c (ptmalloc_init): Likewise.
21674         * malloc/hooks.c (top_check): Likewise.
21676 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21680 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21684 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21686         * math/auto-libm-test-in: Add tests of lgamma.
21687         * math/auto-libm-test-out: Regenerated.
21688         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21689         (M_LOG_2_SQRT_PIl): Likewise.
21690         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21692         mpfr_f_f1.
21693         (func_calc_desc): Add mpfr_f_f1 union field.
21694         (ARGS1): New macro.
21695         (ARGS2): Likewise.
21696         (ARGS3): Likewise.
21697         (ARGS4): Likewise.
21698         (RET1): Likewise.
21699         (RET2): Likewise.
21700         (CALC): Likewise.
21701         (FUNC): Likewise.
21702         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21703         (test_functions): Add lgamma.
21704         (calc_generic_results): Handle mpfr_f_f1.
21705         * sysdeps/i386/fpu/libm-test-ulps: Update.
21706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21708 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21710         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21711         __mpn_add_n for PowerPC64/POWER7.
21712         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21713         __mpn_sub_n for PowerPC64/POWER7.
21715         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21716         __mpn_addmul_1 for PowerPC64.
21717         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21718         __mpn_submul_1 for PowerPC64.
21719         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21720         for PowerPC64.
21721         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21722         for PowerPC64.
21724 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21726         [BZ #15089]
21727         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21731         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21733         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21734         add multiarch folders.
21735         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21736         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21737         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21738         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21739         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21740         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21741         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21742         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21743         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21744         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21745         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21754         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21756         New file.
21757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21758         New file.
21759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21760         multiarch __ieee754_hypot for PowerPC32.
21761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21762         New file.
21763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21764         New file.
21765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21766         multiarch __ieee754_hypotf for PowerPC32.
21768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21769         long_double_symbol only if __logbl is defined.
21770         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21771         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21773         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21774         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21775         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21776         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21777         path for implementation.
21778         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21781         logb, and logbl multiarch implementations for PowerPC32.
21782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21783         file.
21784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21785         file.
21786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21787         multiarch logb for PowerPC32.
21788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21789         file.
21790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21791         file.
21792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21793         multiarch logbf for PowerPC32.
21794         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21796         file.
21797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21798         multiarch logbl implementation for PowerPC32.
21800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21801         and modff multiarch implementations.
21802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21803         New file.
21804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21805         New file.
21806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21807         multiarch modf for PowerPC32.
21808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21809         New file.
21810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21811         New file.
21812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21813         multiarch modff for PowerPC32.
21815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21816         and lrintf multiarch implementations.
21817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21818         New file.
21819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21820         New file.
21821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21822         multiarch lrint for PowerPC32.
21823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21824         file: multiarch lrintf for PowerPC32.
21826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21827         and lroundf multiarch implementations.
21828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21829         New file.
21830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21831         New file.
21832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21833         New file.
21834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21835         multiarch lround for PowerPC32.
21836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21837         file: multiarch lroundf for PowerPC32.
21839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21840         copysign and copysignf multiarch implementations.
21841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21842         New file.
21843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21844         New file.
21845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21846         file: multiarch copysign for PowerPC32.
21847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21848         file: multiarch copysignf for PowerPC32.
21850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21851         and truncf multiarch implementations.
21852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21853         New file.
21854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21855         file.
21856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21857         multiarch trunc for PowerPC32.
21858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21859         New file.
21860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21861         New file.
21862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21863         multiarch truncf for PowerPC32.
21865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21866         and roundf multiarch implementations.
21867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21868         New file.
21869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21870         file.
21871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21872         multiarch round for PowerPC32.
21873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21874         New file.
21875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21876         New file.
21877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21878         multiarch roundf for PowerPC32.
21880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21881         and floorf multiarch implementations.
21882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21883         New file.
21884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21885         file.
21886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21887         multiarch floor for PowerPC32.
21888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21889         New file.
21890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21891         New file.
21892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21893         multiarch floorf for PowerPC32.
21895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21896         and ceilf multiarch implementations.
21897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21898         New file.
21899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21900         file.
21901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21902         multiarch ceil for PowerPC32.
21903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21904         New file.
21905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21906         file.
21907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21908         multiarch ceilf for PowerPC32.
21910         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21911         is defined.
21912         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21913         FINITEF is defined.
21914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21915         and finitef multiarch implementations.
21916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21917         New file.
21918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21919         file.
21920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21921         multiarch finite for PowerPC32.
21922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21923         New file.
21924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21925         file: multiarch finitef for PowerPC32.
21927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21928         and isinff multiarch implementations.
21929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21930         file.
21931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21932         file.
21933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21934         multiarch isinf for PowerPC32.
21935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21936         New file.
21937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21938         multiarch isinff for PowerPC32.
21940         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21941         alias when __isnan is defined.
21942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21943         and isnanf multiarch implementations.
21944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21945         file.
21946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21947         file.
21948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21949         file.
21950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21951         file.
21952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21953         multiarch isnan for PowerPC32.
21954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21955         New file.
21956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21957         New file.
21958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21959         multiarch isnanf for PowerPC32.
21961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21962         and sqrtf multiarch implementations.
21963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21964         file.
21965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21966         file.
21967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21968         multiarch sqrt for PowerPC32.
21969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21970         file.
21971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21972         file.
21973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21974         multiarch sqrtf for PowerPC32.
21976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21977         and llroundf multiarch implementations.
21978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21979         New file.
21980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21981         New file.
21982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21983         New file.
21984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21985         file: multiarch llround for PowerPC32.
21986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21987         file: multiarch llroundf for PowerPC32.
21989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21990         multiarch PowerPC32 fpu implementations.
21991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21992         New file.
21993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21994         New file.
21995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21996         multiarch llrint for PowerPC32.
21997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21998         New file.
21999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22000         New file.
22001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22002         file.
22004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22006         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22007         file.
22008         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22009         file.
22010         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22011         file.
22012         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22013         multiarch wordcopy for PPC32.
22014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22015         wordcopy objects.
22016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22017         (__libc_ifunc_impl_list): Likewise.
22018         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22019         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22020         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22021         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22023         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22025         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22027         file.
22028         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22029         file.
22030         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22031         file.
22032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22033         multiarch wcscpy for PPC32.
22034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22035         multiarch objects.
22036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22037         (__libc_ifunc_impl_list): Likewise.
22038         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22039         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22040         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22041         sysdeps/powerpc/power6/wcscpy.c.
22043         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22045         file.
22046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22047         file.
22048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22049         file.
22050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22051         multiarch wcsrchr for PPC32.
22052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22053         multiarch objects.
22054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22055         (__libc_ifunc_impl_list): Likewise.
22056         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22057         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22058         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22059         sysdeps/powerpc/power6/wcsrchr.c.
22061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22062         file.
22063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22064         file.
22065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22067         multiarch wcschr for PPc32.
22068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22069         multiarch objects.
22070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22071         (__libc_ifunc_impl_list): Likewise.
22072         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22073         * sysdeps/powerpc/power6/wcschr.c: ... to here.
22074         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22075         sysdeps/powerpc/power6/wcschr.c.
22077         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22078         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22079         file.
22080         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22081         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22082         file: multiarch strchr for PPC32.
22083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22084         multiarch objects.
22085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22086         (__libc_ifunc_impl_list): Likewise.
22088         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22089         name.
22090         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22091         file.
22092         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22093         file.
22094         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22095         multiarch strchrnul for PPC32.
22096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22097         multiarch objects.
22098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22099         (__libc_ifunc_impl_list): Likewise.
22101         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22102         file.
22103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22104         multiarch strncasecmp for PPC32.
22105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22106         file.
22107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22108         multiarch strncasecmp_l for PPC32.
22109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22110         strncasecmp multiarch objects.
22111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22112         (__libc_ifunc_impl_list): Likewise.
22114         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22115         file.
22116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22117         multiarch strncasecmp for PPC32.
22118         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22119         New file.
22120         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22121         multiarch strcasecmp_l for PPC32.
22122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22123         multiarch objects.
22124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22125         (__libc_ifunc_impl_list): Likewise.
22127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22128         file.
22129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22130         file.
22131         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22132         multiarch strncmp for PPC32.
22133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22134         multiarch objects.
22135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22136         (__libc_ifunc_impl_list): Likewise.
22138         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22139         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22140         file.
22141         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22144         multiarch objects.
22145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22146         (__libc_ifunc_impl_list): Likewise.
22148         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22149         file.
22150         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22151         file.
22152         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22154         multiarch objects.
22155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22156         (__libc_ifunc_impl_list): Likewise.
22158         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22159         file.
22160         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22161         file.
22162         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22163         multiarch rawmemchr for PPC32.
22164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22165         multiarch objects.
22166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22167         (__libc_ifunc_impl_list): Likewise.
22169         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22170         file.
22171         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22172         file.
22173         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22174         file: memrchr multiarch for PPC32.
22175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22176         multiarch objects.
22177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22178         (__libc_ifunc_impl_list): Likewise.
22180         * string/memchr.c (__memchr): Using macro to redefine symbol name.
22181         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22182         file.
22183         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22184         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22185         multiarch memchr for PPC32.
22186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22187         multiarch objects.
22188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22189         (__libc_ifunc_impl_list): Likewise.
22191         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22193         file.
22194         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22195         file.
22196         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22197         file: multiarch mempcpy for PPC32.
22198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22199         multiarch objects.
22200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22201         (__libc_ifunc_impl_list): Likewise.
22203         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22204         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22205         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22206         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22207         multiarch bzero for PPC32.
22208         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22209         file.
22210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22211         file.
22212         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22213         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22214         file: multiarch memset for PPC32.
22215         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22217         memset multiarch objects.
22218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22219         (__libc_ifunc_impl_list): Likewise.
22221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22222         file.
22223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22225         memcmp for PPC32.
22226         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22228         multiarch objects.
22229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22230         (__libc_ifunc_impl_list): Likewise.
22232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22235         file.
22236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22237         file.
22238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22239         file.
22240         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22241         multiarch memcpy for PPC32.
22242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22243         multiarch objects.
22244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22245         (__libc_ifunc_impl_list): Likewise.
22247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22248         support multiarch for POWER/PPC32.
22249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22250         Likewise.
22251         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22253         Implies file to make multiarch folder appers before the fpu and
22254         default folder for power4 configuration.
22256 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22258         * scripts/bench.pl: Append volatile keyword to type.
22260 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22262         * sysdeps/sh/sotruss-lib.c: New file.
22263         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22265 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22269 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22271         [BZ #6810]
22272         * math/w_tgamma.c: Include <errno.h>.
22273         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22274         * math/w_tgammaf.c: Include <errno.h>.
22275         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22276         * math/w_tgammal.c: Include <errno.h>.
22277         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22278         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22279         underflow.  Add more tgamma tests.
22280         * math/auto-libm-test-out: Regenerated.
22281         * sysdeps/i386/fpu/libm-test-ulps: Update.
22282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22284         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22285         sin, sinh, tan, tanh, tgamma, y0 and y1.
22286         * math/auto-libm-test-out: Regenerated.
22287         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22288         (TEST_COND_x86): Likewise.
22289         (M_E2l): Remove macro.
22290         (M_E3l): Likewise.
22291         (M_2_SQRT_PIl): Likewise.
22292         (M_SQRT_PIl): Likewise.
22293         (M_1_DIV_El): Likewise.
22294         (log_test_data): Use AUTO_TESTS_f_f.
22295         (log10_test_data): Likewise.
22296         (log1p_test_data): Likewise.
22297         (log2_test_data): Likewise.
22298         (sin_test_data): Likewise.
22299         (sin_tonearest_test_data): Likewise.
22300         (sin_towardzero_test_data): Likewise.
22301         (sin_downward_test_data): Likewise.
22302         (sin_upward_test_data): Likewise.
22303         (sinh_test_data): Likewise.
22304         (sinh_tonearest_test_data): Likewise.
22305         (sinh_towardzero_test_data): Likewise.
22306         (sinh_downward_test_data): Likewise.
22307         (sinh_upward_test_data): Likewise.
22308         (tan_test_data): Likewise.
22309         (tan_tonearest_test_data): Likewise.
22310         (tan_towardzero_test_data): Likewise.
22311         (tan_downward_test_data): Likewise.
22312         (tan_upward_test_data): Likewise.
22313         (tanh_test_data): Likewise.
22314         (tgamma_test_data): Likewise.
22315         (y0_test_data): Likewise.
22316         (y1_test_data): Likewise.
22317         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22318         (special_real_inputs): Add pi/4.
22319         * sysdeps/i386/fpu/libm-test-ulps: Update.
22320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22322 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22324         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22325         "longjmp_target" static probes.
22326         (__longjmp): Rename to __longjmp_symbol.
22327         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22328         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22329         on which longjmp to generate.
22330         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22332         probe.
22333         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22334         (__sigjmp_save): Rename to __sigjmp_save_symbol.
22335         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22336         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22337         and __sigjmp_save_symbol based on which sigsetjmp to generated.
22338         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22340         __longjmp_symbol based on which __longjmp to generate.
22341         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22342         probe.
22343         (setjmp): Rename to setjmp_symbol.
22344         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22345         (_setjmp): Rename to _setjmp_symbol.
22346         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22347         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22348         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22349         which setjmp to generate.
22350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22351         "longjmp_target" static probes.
22353 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22355         * benchtests/README: Add note about output arguments.
22356         * benchtests/bench-sincos.c: Remove file.
22357         * benchtests/sincos-inputs: New file.
22358         * scripts/bench.pl: Identify output arguments and define
22359         static variables for them.
22361         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22363         [BZ #15941]
22364         * Makefile (INSTALL): Add install-plain.texi as the primary
22365         dependency.
22366         * manual/install-plain.texi: New file.
22367         * manual/install.texi: Include node directive only for
22368         non-plaintext output.
22370 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22372         * stdlib/longlong.h: Update from GCC.
22374         [BZ #6807]
22375         [BZ #15901]
22376         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22377         * math/w_j0f.c (y0f): Likewise.
22378         * math/w_j0l.c (__y0l): Likewise.
22379         * math/w_j1.c (y1): Likewise.
22380         * math/w_j1f.c (y1f): Likewise.
22381         * math/w_j1l.c (__y1l): Likewise
22382         * math/w_jn.c (yn): Likewise.
22383         * math/w_jnf.c (ynf): Likewise.
22384         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22385         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22386         value for Bessel function domain errors outside _SVID_ mode.
22387         Adjust sign of return value for yn (negative integer, 0).
22388         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22389         by zero in return for negative x and set sign appropriately for
22390         negative n.
22391         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22392         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22393         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22394         expectations in error cases.
22395         (y1_test_data): Likewise.
22396         (yn_test_data): Likewise.
22397         * sysdeps/i386/fpu/libm-test-ulps: Update.
22398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22400 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22402         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22403         "64" to "64-v1".  Add "64-v2".
22404         (abi-64-options): Rename to ...
22405         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22406         (abi-64-condition): Rename to ...
22407         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22408         (abi-64-ld-soname): Rename to ...
22409         (abi-64-v1-ld-soname): ... this.
22410         (abi-64-v2-options): Define.
22411         (abi-64-v2-condition): Likewise.
22412         (abi-64-v2-ld-soname): Likewise.
22413         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22414         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22419 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22420             Alan Modra  <amodra@gmail.com>
22422         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22423         New versions for use with the ELFv2 ABI.
22424         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22425         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22426         declaration.
22427         (struct La_ppc64v2_retval): Likewise.
22428         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22429         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22430         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22431         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22432         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22433         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22434         Do not save or restore CR.
22435         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22436         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22437         return values for ELFv2 ABI.  Fix location of FPR return registers.
22438         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22439         updated values for _CALL_ELF == 2.
22440         (La_regs, La_retval, int_retval): Likewise.
22442 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22444         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22445         (FRAME_MIN_SIZE_PARM): Likewise.
22446         (FRAME_BACKCHAIN): Likewise.
22447         (FRAME_CR_SAVE): Likewise.
22448         (FRAME_LR_SAVE): Likewise.
22449         (FRAME_TOC_SAVE): Likewise.
22450         (FRAME_PARM_SAVE): Likewise.
22451         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22452         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22453         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22454         (call_mcount_parm_offset): New macro.
22455         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22456         (PROF): Use symbolic stack frame offsets.
22457         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22458         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22459         Redefine in terms of FRAME_MIN_SIZE.
22460         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22461         (_dl_profile_resolve): Likewise.  Update comment.
22462         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22463         symbols stack frame offsets.
22464         (__sigsetjmp): Likewise.
22465         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22466         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22467         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22468         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22471         (FRAME_BACKCHAIN): Remove.
22472         (FRAME_CR_SAVE): Likewise.
22473         (FRAME_LR_SAVE): Likewise.
22474         (FRAME_COMPILER_DW): Likewise.
22475         (FRAME_LINKER_DW): Likewise.
22476         (FRAME_TOC_SAVE): Likewise.
22477         (FRAME_PARM_SAVE): Likewise.
22478         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22479         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22480         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22482         (CHECK_SP): Use symbolic stack frame offsets.
22483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22484         zone" instead of caller's parameter save area for temp storage.
22485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22486         Likewise.  Also, use symbolic stack frame offsets.
22487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22488         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22489         our own stack frame instead of the caller's.
22490         (__socket): Use symbolic stack frame offsets.
22492 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22493             Alan Modra  <amodra@gmail.com>
22495         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22496         Define.
22497         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22498         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22499         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22500         New function.
22501         (elf_machine_fixup_plt): Call it.
22502         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22503         reloc arguments.
22504         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22506         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22507         r2 before calling target.
22509 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22510             Alan Modra  <amodra@gmail.com>
22512         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22513         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22514         versions of macros to support ELFv2 ABI.
22515         (LOCALENTRY): New macro.
22516         (ENTRY, EALIGN): Use it.
22517         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22518         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22519         fall through into ENTRY entry point.
22520         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22521         Only define if _CALL_ELF != 2.
22523         (elf_machine_matches_host): Verify ABI version matches.
22524         (RTLD_START): Use LOCALENTRY.
22525         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22526         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22527         (PLT_ENTRY_WORDS): New macro.
22528         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22529         (elf_machine_runtime_setup): Support ELFv2 ABI.
22530         (elf_machine_fixup_plt): Likewise.
22531         (elf_machine_plt_conflict): Likewise.
22532         (resolve_ifunc): Likewise.
22533         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22535         Likewise.
22536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22537         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22539         (makecontext): Support ELFv2 ABI.
22540         * elf/elf.h (EF_PPC64_ABI): Define.
22542 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22544         * sysdeps/powerpc/powerpc64/sysdep.h
22545         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22546         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22547         (ENTRY) [ASSEMBLER]: ... but instead here ...
22548         (EALIGN) [ASSEMBLER]: ... and here.
22549         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22550         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22551         (ENTRY_2) [!ASSEMBLER]: Use it.
22552         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22553         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22554         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22555         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22556         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22558         Use PPC64_LOAD_FUNCPTR.
22560         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22562 2013-12-04  Alan Modra  <amodra@gmail.com>
22564         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22565         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22566         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22567         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22570         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22571         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22572         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22573         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22574         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22576 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22579         (__makecontext): Fix incorrect CFI when backtracing out of
22580         context created via makecontext.
22581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22582         (__setcontext): Fix incorrect CFI during switch to new context.
22583         (__novec_setcontext): Likewise.
22585 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22587         [BZ #4772]
22588         * time/strptime_l.c (__strptime_internal): Allow modifiers
22589         in strptime.
22590         * time/tst-strptime.c (day_tests): Add testcase.
22592 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22594         * scripts/bench.pl: Skip over blank lines.
22596 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22598         [BZ #926]
22599         * manual/time.texi (Calendar Time): Clarify what timezone functions
22600         use.
22602 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22606 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22608         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22609         implementation.
22610         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22611         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22612         * debug/memset_chk.c (__memset_chk): Likewise.
22613         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22614         * debug/strncpy_chk.c: Likewise.
22616 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22618         [BZ #15268]
22619         [BZ #15425]
22620         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22621         (__ieee754_exp): For possibly underflowing results, check size of
22622         result and force underflow exception if required.
22623         * math/auto-libm-test-in: Add more tests of exp.
22624         * math/auto-libm-test-out: Regenerated.
22625         * sysdeps/i386/fpu/libm-test-ulps: Update.
22626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22628         [BZ #16283]
22629         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22630         * math/w_exp2f.c (__exp2f): Likewise.
22631         * math/w_exp2l.c (__exp2l): Likewise.
22632         * math/auto-libm-test-in: Do not allow missing errno on exp2
22633         underflow.
22634         * math/auto-libm-test-out: Regenerated.
22636 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22638         [BZ #16274]
22639         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22640         handle filename validation.
22641         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22642         (do_open): Delete.
22644 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22646         [BZ #6786]
22647         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22648         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22649         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22650         <float.h>.
22651         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22653         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22655         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22656         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22657         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22658         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22659         Add more erfc tests.
22660         * math/auto-libm-test-out: Regenerated.
22661         * sysdeps/i386/fpu/libm-test-ulps: Update.
22662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22664         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22665         exp2, expm1, j0 and j1.
22666         * math/auto-libm-test-out: Regenerated.
22667         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22668         (erfc_test_data): Likewise.
22669         (exp_test_data): Likewise.
22670         (exp_tonearest_test_data): Likewise.
22671         (exp_towardzero_test_data): Likewise.
22672         (exp_downward_test_data): Likewise.
22673         (exp_upward_test_data): Likewise.
22674         (exp10_test_data): Likewise.
22675         (exp2_test_data): Likewise.
22676         (expm1_test_data): Likewise.
22677         (j0_test_data): Likewise.
22678         (j1_test_data): Likewise.
22679         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22680         (input_flag_type): Add flag_xfail_rounding.
22681         (input_flags): Add xfail-rounding.
22682         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22683         (output_for_one_input_case): Handle flag_xfail_rounding.
22684         * sysdeps/i386/fpu/libm-test-ulps: Update.
22685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22687 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22689         [BZ #16289]
22690         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22691         division by 0.
22693 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         [BZ #16195]
22696         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22697         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22698         (STAP_PROBE0): New macro.
22699         (STAP_PROBE1): Likewise.
22700         (STAP_PROBE2): Likewise.
22701         (STAP_PROBE3): Likewise.
22702         (STAP_PROBE4): Likewise.
22704 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22706         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22708 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22710         * benchtests/Makefile (bench): Add sqrt.
22711         (LDLIBS-bench-sqrt): New.
22712         * benchtests/sqrt-input: New.
22714 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22716         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22717         (GAIH_EAI): Likewise.
22718         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22719         (gaih_inet): Likewise.
22720         (getaddrinfo): Don't use GAIH_EAI.
22722         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22723         (struct gaih): Remove definition.
22725 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22727         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22728         Use HERRNOP directly.
22730 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22734 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22736         * math/gen-auto-libm-tests.c (test_functions): Add more
22737         single-argument functions.
22738         (special_fill_pi_2): New function.
22739         (special_fill_minus_pi_2): Likewise.
22740         (special_fill_pi_6): Likewise.
22741         (special_fill_minus_pi_6): Likewise.
22742         (special_fill_pi_3): Likewise.
22743         (special_fill_2pi_3): Likewise.
22744         (special_fill_e): Likewise.
22745         (special_fill_1_e): Likewise.
22746         (special_fill_e_minus_1): Likewise.
22747         (special_real_inputs): Add more special inputs.
22748         (output_for_one_input_case): Do not require ERANGE on underflow to
22749         zero if round-to-nearest result does not underflow to zero, unless
22750         exact results required.
22751         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22752         atan, atanh, cbrt, cos and cosh.
22753         * math/auto-libm-test-out: Regenerated.
22754         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22755         (acos_tonearest_test_data): Likewise.
22756         (acos_towardzero_test_data): Likewise.
22757         (acos_downward_test_data): Likewise.
22758         (acos_upward_test_data): Likewise.
22759         (acosh_test_data): Likewise.
22760         (asin_test_data): Likewise.
22761         (asin_tonearest_test_data): Likewise.
22762         (asin_towardzero_test_data): Likewise.
22763         (asin_upward_test_data): Likewise.
22764         (asinh_test_data): Likewise.
22765         (atan_test_data): Likewise.
22766         (atanh_test_data): Likewise.
22767         (cbrt_test_data): Likewise.
22768         (cos_test_data): Likewise.
22769         (cos_tonearest_test_data): Likewise.
22770         (cos_towardzero_test_data): Likewise.
22771         (cos_downward_test_data): Likewise.
22772         (cos_upward_test_data): Likewise.
22773         (cosh_test_data): Likewise.
22774         (cosh_tonearest_test_data): Likewise.
22775         (cosh_towardzero_test_data): Likewise.
22776         (cosh_downward_test_data): Likewise.
22777         (cosh_upward_test_data): Likewise.
22778         * sysdeps/i386/fpu/libm-test-ulps: Update.
22779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22781 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22783         [BZ #6787]
22784         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22785         * math/w_exp10f.c (__exp10f): Likewise.
22786         * math/w_exp10l.c (__exp10l): Likewise.
22787         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22788         errno settings in existing tests.
22790         [BZ #14032]
22791         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22792         precision control set to double precision.
22793         * sysdeps/i386/fpu/w_sqrt.c: New file.
22794         * math/auto-libm-test-in: Add more tests.
22795         * math/auto-libm-test-out: Update.
22797         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22798         (sqrt_test_tonearest): New function.
22799         (sqrt_towardzero_test_data): New variable.
22800         (sqrt_test_towardzero): New function.
22801         (sqrt_downward_test_data): New variable.
22802         (sqrt_test_downward): New function.
22803         (sqrt_upward_test_data): New variable.
22804         (sqrt_test_upward): New function.
22805         (main): Call the new functions.
22807         * math/gen-auto-libm-tests.c: New file.
22808         * math/auto-libm-test-in: Likewise.
22809         * math/auto-libm-test-out: New generated file.
22810         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22811         variables.
22812         (%beautify): Add generated representations of zero.
22813         (top level): Set $auto_input and call parse_auto_input.
22814         (beautify): Remove trailing "f" from hex float constants.
22815         (parse_args): Handle XFAIL_TEST.
22816         (convert_condition): New function.
22817         (or_value): Likewise.
22818         (or_cond_value): Likewise.
22819         (generate_testfile): Handle AUTO_TESTS_* lines.
22820         (parse_auto_input): New function.
22821         * math/libm-test.inc (XFAIL_TEST): New macro.
22822         (ERRNO_UNCHANGED): Update value.
22823         (ERRNO_EDOM): Likewise.
22824         (ERRNO_ERANGE): Likewise.
22825         (IGNORE_RESULT): Likewise.
22826         (TEST_COND_flt_32): New macro.
22827         (TEST_COND_dbl_64): Likewise.
22828         (TEST_COND_ldbl_96_intel): Likewise.
22829         (TEST_COND_ldbl_96_m68k): Likewise.
22830         (TEST_COND_ldbl_128): Likewise.
22831         (TEST_COND_ldbl_128ibm): Likewise.
22832         (TEST_COND_long32): Likewise.
22833         (TEST_COND_long64): Likewise.
22834         (TEST_COND_before_rounding): Likewise.
22835         (TEST_COND_after_rounding): Likewise.
22836         (enable_test): Handle XFAIL_TEST flag.
22837         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22838         with finite results.
22839         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22840         auto-libm-test-out.
22842 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22843             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22845         [BZ #16214]
22846         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22847         __tls_get_addr_internal instead of __tls_get_offset in order to
22848         avoid GOT pointer dependency.  Make rtld export
22849         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22850         __tls_get_addr since we are a __tls_get_offset platform.
22851         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22852         GOT pointer being set up before.
22853         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22855 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22857         * manual/math.texi (Errors in Math Functions): Document accuracy
22858         goals.
22860         [BZ #15004]
22861         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22862         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22863         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22864         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22865         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22866         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22867         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22868         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22869         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22870         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22871         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22874         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22876         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22878         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22879         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22880         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22881         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22882         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22883         Likewise.
22884         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22885         Likewise.
22886         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22887         Likewise.
22888         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22889         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22890         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22891         atomic-feupdateenv and flt-rounds.
22892         * sysdeps/powerpc/nofpu/Versions (libc): Add
22893         __atomic_feholdexcept, __atomic_feclearexcept,
22894         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22895         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22896         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22897         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22898         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22899         here.
22900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22901         Update.
22903         * manual/arith.texi (FP Exceptions): Document that exceptions may
22904         not be raised when matherr is used.
22905         (Math Error Reporting): Document overflow in directed rounding
22906         modes.  Document that errno may not be set when finite values are
22907         returned on overflow.  Document intent to set errno on underflow
22908         only for underflow to zero.
22910         [BZ #16271]
22911         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22912         round-to-nearest then adjust result for other rounding modes.
22913         * include/fenv.h (fegetround): Use libm_hidden_proto.
22914         * math/fegetround.c (fegetround): Use libm_hidden_def.
22915         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22916         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22917         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22918         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22919         Likewise.
22920         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22921         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22922         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22923         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22925 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22927         [BZ #16077]
22928         * nss/Versions (libnss_files): Add
22929         _nss_files_gethostbyname3_r.
22930         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22931         New function.
22932         (HOST_DB_LOOKUP): Remove macro.
22933         (_nss_files_gethostbyname_r): Implement function without the
22934         HOST_DB_LOOKUP macro.
22935         (_nss_files_gethostbyname2_r): Likewise.
22937 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22939         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22941 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22943         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22944         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22945         warning.
22947 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22949         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22950         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22951         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22952         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22953         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22954         __fe_nomask_env_priv and attribute_hidden.
22955         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22956         (libc_feupdateenv_test_ppc): Likewise.
22957         (libc_feresetround_ppc): Likewise.
22958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22959         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22960         compat_symbol macro.
22961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22962         (__fe_nomask_env): Likewise.
22963         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22965 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22967         * string/Makefile: Remove ifunc tests.
22968         * string/test-string.h: Define TEST_IFUNC.
22969         * string/test-bcopy-ifunc.c: Remove.
22970         * string/test-bzero-ifunc.c: Likewise.
22971         * string/test-memccpy-ifunc.c: Likewise.
22972         * string/test-memchr-ifunc.c: Likewise.
22973         * string/test-memcmp-ifunc.c: Likewise.
22974         * string/test-memcpy-ifunc.c: Likewise.
22975         * string/test-memmem-ifunc.c: Likewise.
22976         * string/test-memmove-ifunc.c: Likewise.
22977         * string/test-mempcpy-ifunc.c: Likewise.
22978         * string/test-memrchr-ifunc.c: Likewise.
22979         * string/test-memset-ifunc.c: Likewise.
22980         * string/test-rawmemchr-ifunc.c: Likewise.
22981         * string/test-stpcpy-ifunc.c: Likewise.
22982         * string/test-stpncpy-ifunc.c: Likewise.
22983         * string/test-strcasecmp-ifunc.c: Likewise.
22984         * string/test-strcasestr-ifunc.c: Likewise.
22985         * string/test-strcat-ifunc.c: Likewise.
22986         * string/test-strchr-ifunc.c: Likewise.
22987         * string/test-strchrnul-ifunc.c: Likewise.
22988         * string/test-strcmp-ifunc.c: Likewise.
22989         * string/test-strcpy-ifunc.c: Likewise.
22990         * string/test-strcspn-ifunc.c: Likewise.
22991         * string/test-strlen-ifunc.c: Likewise.
22992         * string/test-strncasecmp-ifunc.c: Likewise.
22993         * string/test-strncat-ifunc.c: Likewise.
22994         * string/test-strncmp-ifunc.c: Likewise.
22995         * string/test-strncpy-ifunc.c: Likewise.
22996         * string/test-strnlen-ifunc.c: Likewise.
22997         * string/test-strpbrk-ifunc.c: Likewise.
22998         * string/test-strrchr-ifunc.c: Likewise.
22999         * string/test-strspn-ifunc.c: Likewise.
23000         * string/test-strstr-ifunc.c: Likewise.
23002 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23004         * benchtests/Makefile: Remove ifunc tests.
23005         * benchtests/bench-string.h: Define TEST_IFUNC.
23006         * benchtests/bench-bcopy-ifunc.c: Remove.
23007         * benchtests/bench-bzero-ifunc.c: Likewise.
23008         * benchtests/bench-memccpy-ifunc.c: Likewise.
23009         * benchtests/bench-memchr-ifunc.c: Likewise.
23010         * benchtests/bench-memcmp-ifunc.c: Likewise.
23011         * benchtests/bench-memcpy-ifunc.c: Likewise.
23012         * benchtests/bench-memmem-ifunc.c: Likewise.
23013         * benchtests/bench-memmove-ifunc.c: Likewise.
23014         * benchtests/bench-mempcpy-ifunc.c: Likewise.
23015         * benchtests/bench-memrchr-ifunc.c: Likewise.
23016         * benchtests/bench-memset-ifunc.c: Likewise.
23017         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23018         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23019         * benchtests/bench-stpcpy-ifunc.c: Likewise.
23020         * benchtests/bench-stpncpy-ifunc.c: Likewise.
23021         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23022         * benchtests/bench-strcasestr-ifunc.c: Likewise.
23023         * benchtests/bench-strcat-ifunc.c: Likewise.
23024         * benchtests/bench-strchr-ifunc.c: Likewise.
23025         * benchtests/bench-strchrnul-ifunc.c: Likewise.
23026         * benchtests/bench-strcmp-ifunc.c: Likewise.
23027         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23028         * benchtests/bench-strcpy-ifunc.c: Likewise.
23029         * benchtests/bench-strcspn-ifunc.c: Likewise.
23030         * benchtests/bench-strlen-ifunc.c: Likewise.
23031         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23032         * benchtests/bench-strncat-ifunc.c: Likewise.
23033         * benchtests/bench-strncmp-ifunc.c: Likewise.
23034         * benchtests/bench-strncpy-ifunc.c: Likewise.
23035         * benchtests/bench-strnlen-ifunc.c: Likewise.
23036         * benchtests/bench-strpbrk-ifunc.c: Likewise.
23037         * benchtests/bench-strrchr-ifunc.c: Likewise.
23038         * benchtests/bench-strsep-ifunc.c: Likewise.
23039         * benchtests/bench-strspn-ifunc.c: Likewise.
23040         * benchtests/bench-strstr-ifunc.c: Likewise.
23042 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23044         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23046 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23048         * resolv/netdb.h: Use __glibc_reserved instead __unused.
23049         * rt/aio.h: Likewise.
23050         * sysdeps/gnu/bits/utmp.h: Likewise.
23051         * sysdeps/gnu/bits/utmpx.h: Likewise.
23052         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23053         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23054         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23055         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23056         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23057         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23058         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23059         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23060         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23061         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23062         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23063         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23064         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23066         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23067         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23068         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23069         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23070         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23071         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23072         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23073         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23074         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23075         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23076         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23078         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23079         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23080         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23081         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23082         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23083         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23084         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23085         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23086         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23087         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23088         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23089         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23090         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23091         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23092         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23093         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23095 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
23097         [BZ #16245]
23098         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23099         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23101 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
23103         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23104         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23105         Likewise.
23107 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23109         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23110         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23111         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23112         (__fesetround): Remove define.
23113         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23114         rounding and exceptions handling.
23115         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23116         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23117         (__fe_nomask_env): Likewise.
23118         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23119         __fegetround instead of fegetround.
23120         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23121         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23123 2013-11-21  Roland McGrath  <roland@hack.frob.com>
23125         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23126         it's there.
23128         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23130 2013-11-21  Meador Inge  <meadori@codesourcery.com>
23132         [BZ #11157]
23133         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23134         (encrypt_r): Likewise.
23135         * malloc/obstack.h (obstack_free): Likewise.
23136         * posix/unistd.h (encrypt): Likewise.
23138 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
23140         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23141         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23142         DL_CALL_DT_FINI() that call the functions directly.
23143         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23144         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23145         * elf/dl-fini.c: Likewise.
23147 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
23149         * malloc/hooks.c (memalign_check): Add alignment rounding.
23150         * malloc/malloc.c (_mid_memalign): New function.
23151         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23152         Implement by calling _mid_memalign.
23153         * manual/probes.texi (Memory Allocation Probes): Remove
23154         memory_valloc_retry and memory_pvalloc_retry.
23156 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23158         * locale/programs/locarchive.c (open_archive): Add const
23159         qualifier to ARCHIVEFNAME and copy default fname to
23160         DEFAULT_FNAME.
23162         [BZ #15601]
23163         * libio/tst-widetext.input: Rename Oriya to Odia.
23164         * locale/iso-639.def: Likewise.
23166         * manual/probes.texi (Mathematical Function Probes): Add
23167         documentation for sin, cos, asin and acos probes.
23168         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23169         (__sin32): Add slowasin probe.
23170         (__cos32): Add slowacos probe.
23171         (__mpsin): Add slowsin probe.
23172         (__mpcos): Add slowcos probe.
23174 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
23176         [BZ #15483]
23177         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23178         thread-local __sim_exceptions_thread and global
23179         __sim_exceptions_global.
23180         (__sim_disabled_exceptions): Change to thread-local
23181         __sim_disabled_exceptions_thread and global
23182         __sim_disabled_exceptions_global.
23183         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23184         and global __sim_round_mode_global.
23185         (__simulate_exceptions): Use thread-local floating-point state and
23186         set global state from it as needed.
23187         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23188         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23189         __sim_round_mode_thread.
23190         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23191         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23192         and global __sim_exceptions_global.
23193         (__sim_disabled_exceptions): Change to thread-local
23194         __sim_disabled_exceptions_thread and global
23195         __sim_disabled_exceptions_global.
23196         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23197         and global __sim_round_mode_global.
23198         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23199         (SIM_SET_GLOBAL): Likewise.
23200         * sysdeps/powerpc/soft-fp/sfp-machine.h
23201         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23202         __sim_round_mode_thread.
23203         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23204         __sim_disabled_exceptions_thread.
23205         (__sim_exceptions): Change to __sim_exceptions_thread.
23206         (__sim_disabled_exceptions): Change to
23207         __sim_disabled_exceptions_thread.
23208         (__sim_round_mode): Change to __sim_round_mode_thread.
23209         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23210         thread-local floating-point state and set global state from it as
23211         needed.
23212         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23213         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23214         (__sim_disabled_exceptions): Remove extern declaration.
23215         (feenableexcept): Use thread-local floating-point state and set
23216         global state from it as needed.
23217         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23218         extern declaration.
23219         (__sim_disabled_exceptions): Likewise.
23220         (__sim_round_mode): Likewise.
23221         (__fegetenv): Use thread-local floating-point state.
23222         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23223         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23224         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23225         floating-point state and set global state from it as needed.
23226         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23227         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23228         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23229         Likewise.
23230         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23231         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23232         Likewise.
23233         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23234         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23235         Use __sim_round_mode_thread.
23236         * math/test-fenv-tls.c: New file.
23237         * math/Makefile (tests): Add test-fenv-tls.
23238         ($(objpfx)test-fenv-tls): Depend on
23239         $(common-objpfx)nptl/libpthread.so.
23241 2013-11-19  Andreas Schwab  <schwab@suse.de>
23243         * locale/programs/locale.c (show_info): Decode wordarray elements.
23244         * locale/categories.def (LC_MONETARY): Add element for
23245         _NL_MONETARY_CRNCYSTR.
23246         * locale/C-monetary.c (conversion_rate): New variable.
23247         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23248         element.
23250 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23252         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23253         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23255 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23257         * elf/Makefile (tst-auxv): New test.
23258         * elf/tst-auxv.c: New
23259         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23261 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23263         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23264         (hidden_proto): Caller changed.
23265         (hidden_tls_proto): New macro.
23266         (libc_hidden_tls_proto): Likewise.
23267         (rtld_hidden_tls_proto): Likewise.
23268         (libm_hidden_tls_proto): Likewise.
23269         (libresolv_hidden_tls_proto): Likewise.
23270         (librt_hidden_tls_proto): Likewise.
23271         (libdl_hidden_tls_proto): Likewise.
23272         (libnss_files_hidden_tls_proto): Likewise.
23273         (libnsl_hidden_tls_proto): Likewise.
23274         (libnss_nisplus_hidden_tls_proto): Likewise.
23275         (libutil_hidden_tls_proto): Likewise.
23277 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23279         [BZ #10253]
23280         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23281         (decompose_rpath): Defer expansion to fillin_rpath.
23282         (_dl_init_paths): Pass linkmap to fillin_rpath.
23284 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23286         * benchtests/Makefile: Add strsep.
23287         * benchtests/bench-strsep.c: New file: strsep benchtest.
23288         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23290 2013-11-18  Andreas Schwab  <schwab@suse.de>
23292         * locale/programs/locale.c (show_info) [case byte]: Check for
23293         '\377' instead of '\177'.
23294         * locale/C-monetary.c (not_available): Always use "\377".
23295         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23296         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23297         detect unavailable sign_posn locale elements.
23298         * locale/localeconv.c (__localeconv): For grouping and
23299         mon_grouping handle "\177" and "\377" like no grouping.
23300         (INT_ELEM): New macro.  Use it to set all numeric members.
23301         * locale/programs/ld-monetary.c (monetary_read)
23302         <tok_mon_grouping>: Normalize single -1 to the empty string.
23303         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23304         Likewise.
23306 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23308         [BZ #16055]
23309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23310         when we match (nil).
23311         * stdio-common/tst-sscanf.c (struct test): Add testcase.
23313 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
23315         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23316         (NO_TEST_INLINE): Update value.
23317         (ERRNO_UNCHANGED): Likewise.
23318         (ERRNO_EDOM): Likewise.
23319         (ERRNO_ERANGE): Likewise.
23320         (IGNORE_RESULT): Likewise.
23321         (check_float_internal): Check signs of NaN results if
23322         TEST_NAN_SIGN used.
23323         (check_complex): Pass TEST_NAN_SIGN flag through to second
23324         check_float_internal call.
23325         (copysign_test_data): Add tests with quiet NaNs as second
23326         argument.  Use TEST_NAN_SIGN.
23327         (fabs_test_data): Add test of negative quiet NaN argument.  Use
23328         TEST_NAN_SIGN.
23329         (signbit_test_data): Add tests of quiet NaN argument.
23330         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23332         * math/gen-libm-test.pl (show_exceptions): Take extra argument
23333         $ignore_result.
23334         (parse_args): Handle function results specified as IGNORE.
23335         * math/libm-test.inc (IGNORE_RESULT): New macro.
23336         (check_float_internal): Do not check numerical result if flag
23337         IGNORE_RESULT set.
23338         (check_complex): Pass through IGNORE_RESULT to second
23339         check_float_internal call.
23340         (check_int): Do not check numerical result if flag IGNORE_RESULT
23341         set.
23342         (check_long): Likewise.
23343         (check_bool): Likewise.
23344         (check_longlong): Likewise.
23345         (lrint_test_data): Add tests of infinite and NaN arguments.
23346         (lrint_tonearest_test_data): Likewise.
23347         (lrint_towardzero_test_data): Likewise.
23348         (lrint_downward_test_data): Likewise.
23349         (lrint_upward_test_data): Likewise.
23350         (llrint_test_data): Likewise.
23351         (llrint_tonearest_test_data): Likewise.
23352         (llrint_towardzero_test_data): Likewise.
23353         (llrint_downward_test_data): Likewise.
23354         (llrint_upward_test_data): Likewise.
23355         (lround_test_data): Likewise.
23356         (llround_test_data): Likewise.
23358         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23359         (ERRNO_UNCHANGED): Update value.
23360         (ERRNO_EDOM): Likewise.
23361         (ERRNO_ERANGE): Likewise.
23362         (NO_TEST_INLINE_FLOAT): New macro.
23363         (NO_TEST_INLINE_DOUBLE): Likewise.
23364         (enable_test): New function.
23365         (RUN_TEST_f_f): Check enable_test before running test.
23366         (RUN_TEST_2_f): Likewise.
23367         (RUN_TEST_fff_f): Likewise.
23368         (RUN_TEST_c_f): Likewise.
23369         (RUN_TEST_f_f1): Likewise.
23370         (RUN_TEST_fF_f1): Likewise.
23371         (RUN_TEST_fI_f1): Likewise.
23372         (RUN_TEST_ffI_f1): Likewise.
23373         (RUN_TEST_c_c): Likewise.
23374         (RUN_TEST_cc_c): Likewise.
23375         (RUN_TEST_f_i): Likewise.
23376         (RUN_TEST_f_i_tg): Likewise.
23377         (RUN_TEST_ff_i_tg): Likewise.
23378         (RUN_TEST_f_b): Likewise.
23379         (RUN_TEST_f_b_tg): Likewise.
23380         (RUN_TEST_f_l): Likewise.
23381         (RUN_TEST_f_L): Likewise.
23382         (RUN_TEST_fFF_11): Likewise.
23383         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23384         conditionals.
23385         (cosh_test_data): Likewise.
23386         (exp_test_data): Likewise.
23387         (expm1_test_data): Likewise.
23388         (hypot_test_data): Likewise.
23389         (pow_test_data): Likewise.
23390         (sinh_test_data): Likewise.
23391         (tanh_test_data): Likewise.
23392         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23393         flags argument.
23395         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23396         tests with quiet NaN input and output.
23397         (acosh_test_data): Likewise.
23398         (asin_test_data): Likewise.
23399         (asinh_test_data): Likewise.
23400         (atan_test_data): Likewise.
23401         (atanh_test_data): Likewise.
23402         (atan2_test_data): Likewise.
23403         (cbrt_test_data): Likewise.
23404         (cos_test_data): Likewise.
23405         (cosh_test_data): Likewise.
23406         (erf_test_data): Likewise.
23407         (erfc_test_data): Likewise.
23408         (exp_test_data): Likewise.
23409         (exp10_test_data): Likewise.
23410         (exp2_test_data): Likewise.
23411         (expm1_test_data): Likewise.
23412         (hypot_test_data): Likewise.
23413         (j0_test_data): Likewise.
23414         (j1_test_data): Likewise.
23415         (jn_test_data): Likewise.
23416         (lgamma_test_data): Likewise.
23417         (log_test_data): Likewise.
23418         (log10_test_data): Likewise.
23419         (log1p_test_data): Likewise.
23420         (log2_test_data): Likewise.
23421         (pow_test_data): Likewise.
23422         (scalb_test_data): Likewise.
23423         (sin_test_data): Likewise.
23424         (sincos_test_data): Likewise.
23425         (sinh_test_data): Likewise.
23426         (tan_test_data): Likewise.
23427         (tanh_test_data): Likewise.
23428         (tgamma_test_data): Likewise.
23429         (y0_test_data): Likewise.
23430         (y1_test_data): Likewise.
23431         (yn_test_data): Likewise.
23433         [BZ #16167]
23434         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23435         argument being NaN and avoid computations with second argument in
23436         that case.
23437         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23438         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23439         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23441 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23443         * locale/iso-639.def: Add Chitwani Tharu (the).
23445 2013-11-14  Andreas Schwab  <schwab@suse.de>
23447         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23448         word instead of empty string.
23450 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23453         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23455         (__fe_nomask_env): Likewise.
23457 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23459         * benchtests/bench-timing.h: Include time.h.
23461 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23463         [BZ #15997]
23464         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23465         to 3.4.0 for x32.
23466         * sysdeps/unix/sysv/linux/configure: Regenerated.
23468 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23470         [BZ #16151]
23471         * stdlib/strtod_l.c (round_and_return): Do not consider
23472         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23473         exponent one less than half the least subnormal exponent.
23474         * stdlib/test-strtod-round-data: Add more tests.
23475         * stdlib/tst-strtod-round.c (tests): Regenerated.
23477 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23479         [BZ #14143]
23480         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23481         (__fe_mask_env): Likewise.
23482         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23483         libm_hidden_proto and add function prototype.
23484         (__fe_mask_env): Add function prototype.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23486         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23488         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23490         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23492 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23494         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23495         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23497 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23499         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23500         of htab_find_slot().
23502 2013-11-11  David S. Miller  <davem@davemloft.net>
23504         [BZ #16150]
23505         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23506         symbol in the non-vis3 case in static builds.
23507         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23508         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23509         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23510         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23512 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23514         [BZ #387]
23515         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23516         it is empty.
23518 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23520         * benchtests/Makefile: Add bench-strtod.
23521         * benchtests/bench-strtod.c: New file: strtod benchtest
23523 2013-11-11  Andreas Schwab  <schwab@suse.de>
23525         [BZ #16153]
23526         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23527         terminating NUL in key length.
23529 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23531         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23532         Add artificial ODP entry for vDSO symbol for PPC64.
23533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23534         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23536 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23538         [BZ #15374]
23539         * nss/getent.c (services_keys): Recognize services starting with digit.
23541 2013-11-06  David S. Miller  <davem@davemloft.net>
23543         [BZ #15985]
23544         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23545         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23547 2013-11-06  Will Newton  <will.newton@linaro.org>
23549         * manual/memory.texi (Malloc Examples): Remove register
23550         keyword from examples.
23552 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23554         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23556 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23558         [BZ #6981]
23559         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23560         depending on [__GCC_IEC_559 > 0].
23561         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23562         depending on [__GCC_IEC_559_COMPLEX > 0].
23564 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23566         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23567         to iso-639.def.
23569 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23571         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23573 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23575         [BZ #16112]
23576         * malloc/malloc (malloc_info): Do not handle first bin as
23577         special case.
23579 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23581         * locale/iso-639.def: Add Central Nahuatl (nhn).
23583 2013-11-01  Bruno Haible  <bruno@clisp.org>
23585         [BZ #7003]
23586         * manual/math.texi (BSD Random): Specify range upper bound as
23587         in POSIX.
23589 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23591         * locale/iso-639.def: Add Meadow Mari (mhr).
23593 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23595         [BZ #14752], [BZ #15763]
23596         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23597         Validate name.
23598         * rt/tst_shm.c: Add test for escaping directory.
23600 2013-10-31  Andreas Schwab  <schwab@suse.de>
23602         [BZ #15917]
23603         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23604         followed by 'x' as part of digit sequence.
23605         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23607 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23609         [BZ #16037]
23610         * configure.ac: allow GNU Make 4.0 and greater.
23611         * configure: Regenerated.
23613 2013-10-30  Will Newton  <will.newton@linaro.org>
23615         [BZ #16038]
23616         * malloc/hooks.c (memalign_check): Limit alignment to the
23617         maximum representable power of two.
23618         * malloc/malloc.c (__libc_memalign): Likewise.
23619         * malloc/tst-memalign.c (do_test): Add test for very
23620         large alignment values.
23621         * malloc/tst-posix_memalign.c (do_test): Likewise.
23623 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23625         [BZ #11087]
23626         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23627         (munmap_chunk): Likewise.
23628         (mremap_chunk): Likewise.
23630 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23632         [BZ #15799]
23633         * stdlib/div.c (div): Remove obsolete code.
23634         * stdlib/ldiv.c (ldiv): Likewise.
23635         * stdlib/lldiv.c (lldiv): Likewise.
23637 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23639         [BZ #16071]
23640         * nss/nss_files/files-XXX.c (get_contents_ret): New
23641         enumerator.
23642         (get_contents): New function.
23643         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23645 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23647         * configure.in: Moved to ...
23648         * configure.ac: ... here. Change reference to configure.in
23649         to configure.ac.
23650         * sysdeps/arm/preconfigure.ac: ... here.
23651         configure.in to configure.ac.
23652         * sysdeps/gnu/configure.in: Moved to ...
23653         * sysdeps/gnu/configure.ac: ... here.
23654         * sysdeps/i386/configure.in: Moved to ...
23655         * sysdeps/i386/configure.ac: ... here.
23656         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23657         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23658         * sysdeps/mach/configure.in: Moved to ...
23659         * sysdeps/mach/configure.ac: ... here.
23660         * sysdeps/mach/hurd/configure.in: Moved to ...
23661         * sysdeps/mach/hurd/configure.ac: ... here.
23662         * sysdeps/powerpc/configure.in: Moved to ...
23663         * sysdeps/powerpc/configure.ac: ... here.
23664         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23665         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23666         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23667         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23668         * sysdeps/s390/s390-32/configure.in: Moved to ...
23669         * sysdeps/s390/s390-32/configure.ac: ... here.
23670         * sysdeps/s390/s390-64/configure.in: Moved to ...
23671         * sysdeps/s390/s390-64/configure.ac: ... here.
23672         * sysdeps/sh/configure.in: Moved to ...
23673         * sysdeps/sh/configure.ac: ... here.
23674         * sysdeps/sparc/configure.in: Moved to ...
23675         * sysdeps/sparc/configure.ac: ... here.
23676         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23677         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23678         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23679         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23680         * sysdeps/x86_64/configure.in: Moved to ...
23681         * sysdeps/x86_64/configure.ac: ... here.
23682         * sysdeps/x86_64/preconfigure.in: Moved to ...
23683         * sysdeps/x86_64/preconfigure.ac: ... here.
23684         * aclocal.m4: Change reference to configure.in to configure.ac.
23685         * config.h.in: Likewise.
23686         * manual/install.texi: Likewise.
23687         * manual/maint.texi: Likewise.
23688         * Makefile: Likewise.
23689         * malloc/Makefile: Likewise.
23690         * nscd/Makefile: Likewise.
23691         * Makeconfig: Change reference to configure.in and
23692         preconfigure.in to configure.ac and preconfigure.ac
23693         respectively.
23694         * INSTALL: Regenerated.
23695         * configure: Likewise.
23696         * sysdeps/gnu/configure: Likewise.
23697         * sysdeps/i386/configure: Likewise.
23698         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23699         * sysdeps/mach/configure: Likewise.
23700         * sysdeps/mach/hurd/configure: Likewise.
23701         * sysdeps/powerpc/configure: Likewise.
23702         * sysdeps/powerpc/powerpc32/configure: Likewise.
23703         * sysdeps/powerpc/powerpc64/configure: Likewise.
23704         * sysdeps/s390/s390-32/configure: Likewise.
23705         * sysdeps/s390/s390-64/configure: Likewise.
23706         * sysdeps/sh/configure: Likewise.
23707         * sysdeps/sparc/configure: Likewise.
23708         * sysdeps/unix/sysv/linux/configure: Likewise.
23709         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23710         * sysdeps/x86_64/configure: Likewise.
23711         * sysdeps/x86_64/preconfigure: Likewise.
23713 2013-10-29  Andreas Schwab  <schwab@suse.de>
23715         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23717 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23719         * benchtests/pow-inputs: Add new inputs.
23721         * benchtests/exp-inputs: Add new inputs.
23723         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23724         conditional check for return value.
23725         (__cos32): Likewise.
23727 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23729         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23730         to provide a boost for large inputs with word alignment.
23731         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23732         implementation based on optimized PPC64 strcpy.
23733         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23734         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23735         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23736         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23738 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23740         [BZ #2801]
23741         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23743 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23745         [BZ #14876]
23746         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23747         * time/tst-strptime.c (day_tests): Add testcase.
23749 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23751         [BZ #14029]
23752         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23754 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23756         [BZ #16074]
23757         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23758         MAP_FAILED on error.
23760 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23762         [BZ #16072]
23763         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23764         heap for large requests.
23766 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23768         [BZ #9954]
23769         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23770         result if the result has no associated interface.
23771         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23772         interface for all 127.X.Y.Z addresses.
23774 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23776         * locale/iso-639.def: Add Ligurian (lij)
23778 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23780         [BZ #15825]
23781         * sunrpc/rpc_main.c: Document rpcgen -5.
23783 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23785         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23787 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23789         [BZ #10278]
23790         * posix/glob.c: Match only directories when trailing slash is present.
23791         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23792         (main): Add testcase.
23794 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23796         [BZ #15670]
23797         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23799 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23801         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23802         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23803         AUTH_DES and cindex for FIPS 140-2.
23804         (DES Encryption): Add cindex FIPS 46-3.
23806         * locale/locarchive.h (struct locarhandle): Add fname.
23807         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23808         if an optional argument was specified to --list-archive,
23809         otherwise NULL.
23810         * locale/programs/locarchive.c (show_archive_content): Take new
23811         argument fname and pass it via ah.fname to open_archive.
23812         * locale/programs/localedef.h: Update decl.
23813         (open_archive): If AH->fname is non-null, open that file
23814         rather than the default file name, and don't ignore ENOENT.
23815         (create_archive): Set AH.fname to NULL.
23816         (delete_locales_from_archive): Likewise.
23817         (add_locales_to_archive): Likewise.
23818         * locale/programs/locfile.c (write_all_categories): Likewise.
23820 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23821             Aldy Hernandez  <aldyh@redhat.com>
23823         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23824         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23825         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23826         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23827         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23828         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23829         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23831         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23832         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23833         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23834         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23835         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23836         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23837         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23838         Likewise.
23839         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23840         Likewise.
23841         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23842         Likewise.
23843         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23844         Likewise.
23845         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23846         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23847         Likewise.
23848         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23849         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23850         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23851         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23852         Likewise.
23853         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23854         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23855         * sysdeps/powerpc/preconfigure: Likewise.
23856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23857         Likewise.
23858         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23859         Replace contents of file by #include of <fenv_libc.h>.
23860         * sysdeps/powerpc/soft-fp/sfp-machine.h
23861         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23862         and <sys/prctl.h>.
23863         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23870         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23871         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23872         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23873         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23874         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23876         Allow copysignl PLT reference to be missing.
23878 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23879             Joseph Myers  <joseph@codesourcery.com
23881         [BZ #15948]
23882         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23883         single character.
23884         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23886 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23888         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23889         * elf/tst-tls1.c: Likewise.
23890         * elf/tst-tls10.h: Likewise.
23891         * elf/tst-tls14.c: Likewise.
23892         * elf/tst-tls2.c: Likewise.
23893         * elf/tst-tls3.c: Likewise.
23894         * elf/tst-tls4.c: Likewise.
23895         * elf/tst-tls5.c: Likewise.
23896         * elf/tst-tls6.c: Likewise.
23897         * elf/tst-tls7.c: Likewise.
23898         * elf/tst-tls8.c: Likewise.
23899         * elf/tst-tls9.c: Likewise.
23900         * elf/tst-tlsmod1.c: Likewise.
23901         * elf/tst-tlsmod13.c: Likewise.
23902         * elf/tst-tlsmod13a.c: Likewise.
23903         * elf/tst-tlsmod14a.c: Likewise.
23904         * elf/tst-tlsmod16a.c: Likewise.
23905         * elf/tst-tlsmod16b.c: Likewise.
23906         * elf/tst-tlsmod2.c: Likewise.
23907         * elf/tst-tlsmod3.c: Likewise.
23908         * elf/tst-tlsmod4.c: Likewise.
23909         * elf/tst-tlsmod5.c: Likewise.
23910         * elf/tst-tlsmod6.c: Likewise.
23912 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23914         [BZ #12486]
23915         * malloc/malloc.c: remove checks for statistics.
23917 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23919         [BZ #15277]
23920         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23921         * inet/tst-network.c: Add testcase.
23923 2013-10-17  Andreas Schwab  <schwab@suse.de>
23925         [BZ #15218]
23926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23927         to determine canonical name.
23929 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23931         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23932         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23934         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23936         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23937         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23938         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23939         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23940         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23941         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23942         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23943         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23944         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23945         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23946         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23947         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23948         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23949         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23950         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23951         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23954         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23955         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23956         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23957         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23958         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23959         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23960         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23961         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23962         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23963         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23964         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23965         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23966         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23967         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23968         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23969         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23970         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23971         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23972         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23973         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23974         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23975         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23976         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23977         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23978         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23979         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23980         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23981         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23982         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23983         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23984         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23985         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23986         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23988         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23990 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #16041]
23993         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23994         make result into a quiet NaN.
23996 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23998         * soft-fp/adddf3.c: Fix horizontal whitespace.
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/floatunditf.c: Likewise.
24043         * soft-fp/floatunsidf.c: Likewise.
24044         * soft-fp/floatunsisf.c: Likewise.
24045         * soft-fp/floatunsitf.c: Likewise.
24046         * soft-fp/floatuntidf.c: Likewise.
24047         * soft-fp/floatuntisf.c: Likewise.
24048         * soft-fp/floatuntitf.c: Likewise.
24049         * soft-fp/fmadf4.c: Likewise.
24050         * soft-fp/fmasf4.c: Likewise.
24051         * soft-fp/fmatf4.c: Likewise.
24052         * soft-fp/gedf2.c: Likewise.
24053         * soft-fp/gesf2.c: Likewise.
24054         * soft-fp/getf2.c: Likewise.
24055         * soft-fp/ledf2.c: Likewise.
24056         * soft-fp/lesf2.c: Likewise.
24057         * soft-fp/letf2.c: Likewise.
24058         * soft-fp/muldf3.c: Likewise.
24059         * soft-fp/mulsf3.c: Likewise.
24060         * soft-fp/multf3.c: Likewise.
24061         * soft-fp/negdf2.c: Likewise.
24062         * soft-fp/negsf2.c: Likewise.
24063         * soft-fp/negtf2.c: Likewise.
24064         * soft-fp/op-1.h: Likewise.
24065         * soft-fp/op-2.h: Likewise.
24066         * soft-fp/op-4.h: Likewise.
24067         * soft-fp/op-8.h: Likewise.
24068         * soft-fp/op-common.h: Likewise.
24069         * soft-fp/quad.h: Likewise.
24070         * soft-fp/single.h: Likewise.
24071         * soft-fp/soft-fp.h: Likewise.
24072         * soft-fp/sqrtdf2.c: Likewise.
24073         * soft-fp/sqrtsf2.c: Likewise.
24074         * soft-fp/sqrttf2.c: Likewise.
24075         * soft-fp/subdf3.c: Likewise.
24076         * soft-fp/subsf3.c: Likewise.
24077         * soft-fp/subtf3.c: Likewise.
24078         * soft-fp/truncdfsf2.c: Likewise.
24079         * soft-fp/trunctfdf2.c: Likewise.
24080         * soft-fp/trunctfsf2.c: Likewise.
24081         * soft-fp/trunctfxf2.c: Likewise.
24082         * soft-fp/unorddf2.c: Likewise.
24083         * soft-fp/unordsf2.c: Likewise.
24084         * soft-fp/unordtf2.c: Likewise.
24086 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
24088         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24089         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24091 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
24093         * elf/dl-libc.c: Clear initfini list after freeing.
24095 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
24097         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24098         * soft-fp/addsf3.c: Likewise.
24099         * soft-fp/addtf3.c: Likewise.
24100         * soft-fp/divdf3.c: Likewise.
24101         * soft-fp/divsf3.c: Likewise.
24102         * soft-fp/divtf3.c: Likewise.
24103         * soft-fp/double.h: Likewise.
24104         * soft-fp/eqdf2.c: Likewise.
24105         * soft-fp/eqsf2.c: Likewise.
24106         * soft-fp/eqtf2.c: Likewise.
24107         * soft-fp/extenddftf2.c: Likewise.
24108         * soft-fp/extended.h: Likewise.
24109         * soft-fp/extendsfdf2.c: Likewise.
24110         * soft-fp/extendsftf2.c: Likewise.
24111         * soft-fp/extendxftf2.c: Likewise.
24112         * soft-fp/fixdfdi.c: Likewise.
24113         * soft-fp/fixdfsi.c: Likewise.
24114         * soft-fp/fixdfti.c: Likewise.
24115         * soft-fp/fixsfdi.c: Likewise.
24116         * soft-fp/fixsfsi.c: Likewise.
24117         * soft-fp/fixsfti.c: Likewise.
24118         * soft-fp/fixtfdi.c: Likewise.
24119         * soft-fp/fixtfsi.c: Likewise.
24120         * soft-fp/fixtfti.c: Likewise.
24121         * soft-fp/fixunsdfdi.c: Likewise.
24122         * soft-fp/fixunsdfsi.c: Likewise.
24123         * soft-fp/fixunsdfti.c: Likewise.
24124         * soft-fp/fixunssfdi.c: Likewise.
24125         * soft-fp/fixunssfsi.c: Likewise.
24126         * soft-fp/fixunssfti.c: Likewise.
24127         * soft-fp/fixunstfdi.c: Likewise.
24128         * soft-fp/fixunstfsi.c: Likewise.
24129         * soft-fp/fixunstfti.c: Likewise.
24130         * soft-fp/floatdidf.c: Likewise.
24131         * soft-fp/floatdisf.c: Likewise.
24132         * soft-fp/floatditf.c: Likewise.
24133         * soft-fp/floatsidf.c: Likewise.
24134         * soft-fp/floatsisf.c: Likewise.
24135         * soft-fp/floatsitf.c: Likewise.
24136         * soft-fp/floattidf.c: Likewise.
24137         * soft-fp/floattisf.c: Likewise.
24138         * soft-fp/floattitf.c: Likewise.
24139         * soft-fp/floatundidf.c: Likewise.
24140         * soft-fp/floatundisf.c: Likewise.
24141         * soft-fp/floatunsidf.c: Likewise.
24142         * soft-fp/floatunsisf.c: Likewise.
24143         * soft-fp/floatuntidf.c: Likewise.
24144         * soft-fp/floatuntisf.c: Likewise.
24145         * soft-fp/floatuntitf.c: Likewise.
24146         * soft-fp/fmadf4.c: Likewise.
24147         * soft-fp/fmasf4.c: Likewise.
24148         * soft-fp/fmatf4.c: Likewise.
24149         * soft-fp/gedf2.c: Likewise.
24150         * soft-fp/gesf2.c: Likewise.
24151         * soft-fp/getf2.c: Likewise.
24152         * soft-fp/ledf2.c: Likewise.
24153         * soft-fp/lesf2.c: Likewise.
24154         * soft-fp/letf2.c: Likewise.
24155         * soft-fp/muldf3.c: Likewise.
24156         * soft-fp/mulsf3.c: Likewise.
24157         * soft-fp/multf3.c: Likewise.
24158         * soft-fp/negdf2.c: Likewise.
24159         * soft-fp/negsf2.c: Likewise.
24160         * soft-fp/negtf2.c: Likewise.
24161         * soft-fp/op-1.h: Likewise.
24162         * soft-fp/op-2.h: Likewise.
24163         * soft-fp/op-4.h: Likewise.
24164         * soft-fp/op-8.h: Likewise.
24165         * soft-fp/op-common.h: Likewise.
24166         * soft-fp/quad.h: Likewise.
24167         * soft-fp/single.h: Likewise.
24168         * soft-fp/soft-fp.h: Likewise.
24169         * soft-fp/sqrtdf2.c: Likewise.
24170         * soft-fp/sqrtsf2.c: Likewise.
24171         * soft-fp/sqrttf2.c: Likewise.
24172         * soft-fp/subdf3.c: Likewise.
24173         * soft-fp/subsf3.c: Likewise.
24174         * soft-fp/subtf3.c: Likewise.
24175         * soft-fp/truncdfsf2.c: Likewise.
24176         * soft-fp/trunctfdf2.c: Likewise.
24177         * soft-fp/trunctfsf2.c: Likewise.
24178         * soft-fp/trunctfxf2.c: Likewise.
24179         * soft-fp/unorddf2.c: Likewise.
24180         * soft-fp/unordsf2.c: Likewise.
24181         * soft-fp/unordtf2.c: Likewise.
24183 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
24185         [BZ #15672]
24186         * misc/error.c (error_tail): Fix possible buffer overflow.
24188 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
24190         [BZ #13028]
24191         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24192         address.
24194 2013-10-14  P. J. McDermott  <pj@pehjota.net>
24196         [BZ #832]
24197         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24198         testing pipefail option.
24200 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24202         * soft-fp/double.h: Indent preprocessor directives inside #if.
24203         * soft-fp/extended.h: Likewise.
24204         * soft-fp/op-2.h: Likewise.
24205         * soft-fp/op-4.h: Likewise.
24206         * soft-fp/op-common.h: Likewise.
24207         * soft-fp/quad.h: Likewise.
24208         * soft-fp/single.h: Likewise.
24209         * soft-fp/soft-fp.h: Likewise.
24211 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24213         * iconv/iconv_prog.c: Fix typos.
24214         * stdio-common/psiginfo-data.h: Likewise.
24216 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24218         [BZ #15764]
24219         * locale/setlocale.c: Fix typo.
24221 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24223         [BZ #16036]
24224         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24225         signaling NaN arguments.
24226         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24227         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24229         [BZ #14910]
24230         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24231         unordered operands.
24232         * soft-fp/gesf2.c (__gesf2): Likewise.
24233         * soft-fp/getf2.c (__getf2): Likewise.
24234         * soft-fp/ledf2.c (__ledf2): Likewise.
24235         * soft-fp/lesf2.c (__lesf2): Likewise.
24236         * soft-fp/letf2.c (__letf2): Likewise.
24238         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24239         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24240         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24241         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24242         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24243         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24244         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24245         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24246         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24247         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24248         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24249         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24250         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24251         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24252         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24253         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24254         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24255         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24256         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24257         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24258         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24259         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24260         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24261         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24262         * soft-fp/floattidf.c (__floattidf): Likewise.
24263         * soft-fp/floattisf.c (__floattisf): Likewise.
24264         * soft-fp/floattitf.c (__floattitf): Likewise.
24265         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24266         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24267         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24268         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24269         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24270         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24271         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24272         * soft-fp/gesf2.c (__gesf2): Likewise.
24273         * soft-fp/getf2.c (__getf2): Likewise.
24274         * soft-fp/ledf2.c (__ledf2): Likewise.
24275         * soft-fp/lesf2.c (__lesf2): Likewise.
24276         * soft-fp/letf2.c (__letf2): Likewise.
24278         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24279         Undefine and redefine.
24280         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24281         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24282         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24283         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24284         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24285         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24286         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24287         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24288         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24289         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24290         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24291         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24292         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24293         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24294         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24296         [BZ #16032]
24297         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24298         without decrementing exponent if mantissa >= that for the
24299         denominator, not >.
24300         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24301         denominator, not >.  Decrement exponent in < case instead of
24302         incrementing in >= case.
24303         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24304         without decrementing exponent if mantissa >= that for the
24305         denominator, not >.
24307         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24308         computing saturated result for unsigned overflow.
24310 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24311             Jeff Law  <law@redhat.com>
24313         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24314         (atan2Mp): Add systemtap probe marker.
24315         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24316         (__ieee754_log): Add systemtap probe marker.
24317         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24318         (atanMp): Add systemtap probe marker.
24319         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24320         (tanMp): Add systemtap probe marker.
24321         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24322         (__slowexp): Add systemtap probe marker.
24323         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24324         (__slowpow): Add systemtap probe marker.
24325         * manual/probes.texi: Document probes.
24327 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
24329         [BZ #15362]
24330         * libio/fileops.c (_IO_new_file_write): Return count of bytes
24331         written.
24332         (_IO_new_file_xsputn): Don't return EOF if nothing has been
24333         written.
24334         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24335         written to buffer but not flushed.
24336         * libio/iofwrite_u.c:  Likewise.
24337         * libio/iopadn.c:  Return bytes returned even if EOF was
24338         encountered.
24339         * libio/iowpadn.c:  Likewise.
24340         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24341         if _IO_padn does not write the whole buffer.
24342         [!COMPILE_WPRINTF] (PAD): Likewise.
24344 2013-10-10  David S. Miller  <davem@davemloft.net>
24346         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24347         directory block.
24349 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24351         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24352         instead of FSF address.
24353         * soft-fp/fixdfti.c: Likewise.
24354         * soft-fp/fixsfti.c: Likewise.
24355         * soft-fp/fixtfti.c: Likewise.
24356         * soft-fp/fixunsdfti.c: Likewise.
24357         * soft-fp/fixunssfti.c: Likewise.
24358         * soft-fp/fixunstfti.c: Likewise.
24359         * soft-fp/floattidf.c: Likewise.
24360         * soft-fp/floattisf.c: Likewise.
24361         * soft-fp/floattitf.c: Likewise.
24362         * soft-fp/floatuntidf.c: Likewise.
24363         * soft-fp/floatuntisf.c: Likewise.
24364         * soft-fp/floatuntitf.c: Likewise.
24365         * soft-fp/trunctfxf2.c: Likewise.
24367         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24368         * soft-fp/fixdfti.c: Likewise.
24369         * soft-fp/fixsfti.c: Likewise.
24370         * soft-fp/fixtfti.c: Likewise.
24371         * soft-fp/fixunsdfti.c: Likewise.
24372         * soft-fp/fixunssfti.c: Likewise.
24373         * soft-fp/fixunstfti.c: Likewise.
24374         * soft-fp/floattidf.c: Likewise.
24375         * soft-fp/floattisf.c: Likewise.
24376         * soft-fp/floattitf.c: Likewise.
24377         * soft-fp/floatuntidf.c: Likewise.
24378         * soft-fp/floatuntisf.c: Likewise.
24379         * soft-fp/floatuntitf.c: Likewise.
24380         * soft-fp/trunctfxf2.c: Likewise.
24382 2013-10-10  David S. Miller  <davem@davemloft.net>
24384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24386 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24388         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24389         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24390         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24391         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24392         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24393         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24394         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24396         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24397         for NaNs before doing comparisons on argument.
24398         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24399         Likewise.
24401 2013-10-10  Will Newton  <will.newton@linaro.org>
24403         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24404         passed to _int_memalign does not overflow.
24406 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24408         * scripts/bench.pl: Add include-sources directive.
24409         * benchtests/README: Update documentation.
24411 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24413         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24414         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24415         instead of FP_INIT_ROUNDMODE.
24416         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24417         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24419         [BZ #16034]
24420         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24421         copy class of input value.
24422         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24423         not handle exceptions.
24424         * soft-fp/negsf2.c (__negsf2): Likewise.
24425         * soft-fp/negtf2.c (__negtf2): Likewise.
24426         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24428 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24430         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24431         semicolon.  From Linux kernel.
24433 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24435         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24437 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24439         [BZ #156]
24440         * manual/socket.texi: Added statement about buffer
24441         for gethostbyname2_r.
24443 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24445         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24446         Use .p2align directive instead, throughout.
24447         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24448         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24449         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24452         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24453         * sysdeps/x86_64/strchr.S: Likewise.
24454         * sysdeps/x86_64/strrchr.S: Likewise.
24456 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24460         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24462         * sysdeps/generic/math_private.h (__mpsin1): Remove
24463         declaration.
24464         (__mpcos1): Likewise.
24465         (__mpsin): New argument __range_reduce.
24466         (__mpcos): Likewise.
24467         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24468         (slow): Use __mpsin and __mpcos.
24469         (slow1): Likewise.
24470         (slow2): Likewise.
24471         (sloww): Likewise.
24472         (sloww1): Likewise.
24473         (sloww2): Likewise.
24474         (bsloww): Likewise.
24475         (bsloww1): Likewise.
24476         (bsloww2): Likewise.
24477         (cslow2): Likewise.
24478         (csloww): Likewise.
24479         (csloww1): Likewise.
24480         (csloww2): Likewise.
24481         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24482         range_reduce.  Merge in __mpsin1.
24483         (__mpcos): Likewise.
24484         (__mpsin1): Remove.
24485         (__mpcos1): Likewise.
24487 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24489         * locale/loadlocale.c (_nl_intern_locale_data): Use
24490         LOCFILE_ALIGNED_P.
24491         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24492         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24493         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24494         obstack data is appropriately aligned.
24495         (obstack_int32_grow_fast): Likewise.
24496         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24497         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24498         (add_locale_uint32_array): Likewise.
24500 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24502         * benchtests/Makefile: Remove ARGLIST and RET variables.
24503         ($(objpfx)bench-%.c): Pass only function name to the script.
24504         * benchtests/README: Update documentation.
24505         * benchtests/acos-inputs: Add new directives.
24506         * benchtests/acosh-inputs: Likewise.
24507         * benchtests/asin-inputs: Likewise.
24508         * benchtests/asinh-inputs: Likewise.
24509         * benchtests/atan-inputs: Likewise.
24510         * benchtests/atanh-inputs: Likewise.
24511         * benchtests/cos-inputs: Likewise.
24512         * benchtests/cosh-inputs: Likewise.
24513         * benchtests/exp-inputs: Likewise.
24514         * benchtests/log-inputs: Likewise.
24515         * benchtests/pow-inputs: Likewise.
24516         * benchtests/rint-inputs: Likewise.
24517         * benchtests/sin-inputs: Likewise.
24518         * benchtests/sinh-inputs: Likewise.
24519         * benchtests/tan-inputs: Likewise.
24520         * benchtests/tanh-inputs: Likewise.
24521         * scripts/bench.pl: Add support for new directives.
24523 2013-10-07  Alan Modra  <amodra@gmail.com>
24525         * README: Fix careless merge.
24527 2013-10-05  Alan Modra  <amodra@gmail.com>
24529         * NEWS: Mention powerpc64le support and bugs fixed.
24530         * README: Both big-endian and little-endian powerpc64 supported.
24532 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24534         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24535         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24536         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24537         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24539 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24541         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24542         match prototype.
24544 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24546         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24547         Move -mhard-float appending from
24548         ports/sysdeps/powerpc/powerpc32/Makefile.
24549         [$(with-fp) = yes] (ASFLAGS): Likewise.
24550         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24551         * sysdeps/powerpc/nofpu: Move directory from
24552         ports/sysdeps/powerpc/nofpu.
24553         * sysdeps/powerpc/soft-fp: Move directory from
24554         ports/sysdeps/powerpc/soft-fp.
24555         * sysdeps/powerpc/powerpc32/405: Move directory from
24556         ports/sysdeps/powerpc/powerpc32/405.
24557         * sysdeps/powerpc/powerpc32/440: Move directory from
24558         ports/sysdeps/powerpc/powerpc32/440.
24559         * sysdeps/powerpc/powerpc32/464: Move directory from
24560         ports/sysdeps/powerpc/powerpc32/464.
24561         * sysdeps/powerpc/powerpc32/476: Move directory from
24562         ports/sysdeps/powerpc/powerpc32/476.
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24564         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24566         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24568         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24570         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24572         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24573         * README: Update for powerpc-*-linux-gnu software floating point
24574         support in libc.
24576         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24577         case to powerpc/powerpc32*.
24578         * sysdeps/unix/sysv/linux/configure: Regenerated.
24580         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24581         (_FPU_MASK_OM): Define as 0x04.
24582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24584         0x00c10080.
24585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24586         0x0000003c.
24587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24590         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24591         getcontext_e500.
24592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24593         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24594         setcontext_e500.
24595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24596         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24597         and setcontext_e500.
24599 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24601         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24603 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24605         * manual/threads.texi (Default Thread Attributes): Fix typo.
24607 2013-10-04  Will Newton  <will.newton@linaro.org>
24609         * malloc/Makefile: Add tst-memalign.
24610         * malloc/tst-memalign.c: New file.
24612         * malloc/tst-posix_memalign.c: Add comments.
24613         (do_test): Add comments and call free on all potentially
24614         allocated pointers. Add space after cast.
24616         * malloc/tst-pvalloc.c: Add comments.
24617         (do_test): Add comments and call free on all potentially
24618         allocated pointers. Remove duplicate check for NULL pointer.
24619         Add space after cast.
24621         * malloc/tst-valloc.c: Add comments.
24622         (do_test): Add comments and call free on all potentially
24623         allocated pointers. Remove duplicate check for NULL pointer.
24624         Add space after cast.
24626 2013-10-04  Alan Modra  <amodra@gmail.com>
24628         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24629         Use stdint types in rather than __attribute__((mode())).
24630         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24632 2013-10-04  Alan Modra  <amodra@gmail.com>
24634         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24635         Correct handling of unaligned relocs for little-endian.
24636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24638 2013-10-04  Alan Modra  <amodra@gmail.com>
24640         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24641         * configure: Regenerate.
24642         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24643         * shlib-versions: Likewise.
24645 2013-10-04  Alan Modra  <amodra@gmail.com>
24647         * string/tester.c (test_memrchr): Increment reported test cycle.
24649 2013-10-04  Alan Modra  <amodra@gmail.com>
24651         * string/test-memcpy.c (do_one_test): When reporting errors, print
24652         string address and don't overrun end of string.
24654 2013-10-04  Alan Modra  <amodra@gmail.com>
24656         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24657         insrdi.  Make better use of reg selection to speed exit slightly.
24658         Schedule entry path a little better.  Remove useless "are we done"
24659         checks on entry to main loop.  Handle wrapping around zero address.
24660         Correct main loop count.  Handle single left-over word from main
24661         loop inline rather than by using loop_small.  Remove extra word
24662         case in loop_small caused by wrong loop count.  Add little-endian
24663         support.
24664         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24665         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24666         cache hint.
24667         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24668         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24669         support.  Avoid rlwimi.
24670         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24672 2013-10-04  Alan Modra  <amodra@gmail.com>
24674         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24675         insrdi.  Formatting.
24676         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24677         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24678         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24679         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24680         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24681         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24683 2013-10-04  Alan Modra  <amodra@gmail.com>
24685         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24686         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24687         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24688         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24689         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24690         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24691         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24692         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24693         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24694         use of regs.  Use power7 mtocrf.  Tidy function tails.
24696 2013-10-04  Alan Modra  <amodra@gmail.com>
24698         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24699         Formatting.  Consistently use rXXX register defines or rN defines.
24700         Use early exit labels that avoid restoring unused non-volatile regs.
24701         Make cr field use more consistent with rWORDn compares.  Rename
24702         regs used as shift registers for unaligned loop, using rN defines
24703         for short lifetime/multiple use regs.
24704         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24705         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24706         addi 1,1,64 to pop stack frame.  Simplify return value code.
24707         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24709 2013-10-04  Alan Modra  <amodra@gmail.com>
24711         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24712         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24713         rather than rlwimi.
24714         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24716         little-endian support.  Correct typos.
24717         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24718         rather than rlwimi.
24719         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24720         in loop and entry code to keep "and." results.
24721         (strchr): Add little-endian support.  Comment.  Move cntlzd
24722         earlier in tail.
24723         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24725 2013-10-04  Alan Modra  <amodra@gmail.com>
24727         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24728         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24729         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24730         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24732 2013-10-04  Alan Modra  <amodra@gmail.com>
24734         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24735         (rTMP): Define as r11.
24736         (strcmp): Add little-endian support.  Optimise tail.
24737         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24738         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24739         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24740         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24741         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24742         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24743         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24745 2013-10-04  Alan Modra  <amodra@gmail.com>
24747         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24748         little-endian support.  Remove unnecessary "are we done" tests.
24749         Handle "s" wrapping around zero and extremely large "size".
24750         Correct main loop count.  Handle single left-over word from main
24751         loop inline rather than by using small_loop.  Correct comments.
24752         Delete "zero" tail, use "end_max" instead.
24753         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24755 2013-10-04  Alan Modra  <amodra@gmail.com>
24757         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24758         support.  Don't branch over align.
24759         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24760         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24761         support.  Rearrange tmp reg use to suit.  Comment.
24762         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24764 2013-10-04  Alan Modra  <amodra@gmail.com>
24766         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24768 2013-10-04  Alan Modra  <amodra@gmail.com>
24770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24771         conditional form of branch and link when obtaining pc.
24772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24774 2013-10-04  Alan Modra  <amodra@gmail.com>
24776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24777         HIWORD/LOWORD.
24778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24781 2013-10-04  Alan Modra  <amodra@gmail.com>
24783         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24784         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24785         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24786         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24787         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24788         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24789         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24790         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24791         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24792         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24794 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24795             Alistair Popple <alistair@ozlabs.au.ibm.com>
24796             Alan Modra <amodra@gmail.com>
24798         [BZ #15723]
24799         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24801         _dl_hwcap access for little-endian.
24802         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24803         destroy vmx regs when saving unaligned.
24804         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24805         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24806         destroy vmx regs when saving unaligned.
24808 2013-10-04  Alan Modra  <amodra@gmail.com>
24810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24811         Don't use a union to pack hi/low value.
24813 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24815         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24816         for little-endian.
24817         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24819         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24821         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24823 2013-10-04  Alan Modra  <amodra@gmail.com>
24825         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24826         constants to usual value for .cst8 section, and remove redundant
24827         high address load.
24828         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24829         constant for 0x1p52.  Load little-endian words of double from
24830         correct stack offsets.
24832 2013-10-04  Alan Modra  <amodra@gmail.com>
24834         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24835         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24836         words of double from correct stack offsets.
24837         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24838         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24839         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24840         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24841         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24842         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24843         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24844         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24845         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24846         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24847         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24848         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24849         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24850         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24851         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24852         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24853         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24855 2013-10-04  Alan Modra  <amodra@gmail.com>
24857         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24858         64-bit int/double union.
24859         (_FPU_SETCW): Likewise.
24860         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24861         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24863 2013-10-04  Alan Modra  <amodra@gmail.com>
24865         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24866         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24868 2013-10-04  Alan Modra  <amodra@gmail.com>
24870         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24871         use vector int constants.
24872         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24874 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24876         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24877         array with long long.
24878         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24879         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24880         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24881         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24882         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24883         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24884         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24885         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24886         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24887         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24888         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24889         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24890         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24892 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24894         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24895         (__signbit): Likewise.  Correct for little-endian.
24896         (__signbitl): Call __signbit.
24897         (lrint): Correct for little-endian.
24898         (lrintf): Call lrint.
24900 2013-10-04  Alan Modra  <amodra@gmail.com>
24902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24903         union 32-bit int array member with 64-bit int array.
24904         (t515, tm256): Double rather than long double.
24905         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24907 2013-10-04  Alan Modra  <amodra@gmail.com>
24909         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24910         Delete.
24911         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24913         version of math_ldbl.h.
24915 2013-10-04  Alan Modra  <amodra@gmail.com>
24917         [BZ #15734], [BZ #15735]
24918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24919         all uses of ieee875 long double macros and unions.  Simplify test
24920         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24921         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24922         normalize after ldbl_extract_mantissa, and don't add hidden bit
24923         already handled.  Don't treat low word of ieee854 mantissa like
24924         low word of IBM long double and mask off bit when testing for
24925         zero.
24926         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24927         all uses of ieee875 long double macros and unions.  Simplify tests
24928         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24929         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24930         two1022, instead use their values.  Recognise that tests for large
24931         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24932         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24933         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24934         test for 0.0L and nan.  Correct negation.
24935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24936         ieee875 long double macros and unions.  Correct output for large
24937         magnitude x.  Correct absolute value calculation.
24938         (__erfcl): Likewise.
24939         * math/libm-test.inc: Add tests for errors discovered in IBM long
24940         double versions of fmodl, remainderl, erfl and erfcl.
24942 2013-10-04  Alan Modra  <amodra@gmail.com>
24944         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24945         all uses of ieee854 long double macros and unions.  Simplify tests
24946         for long doubles that are fully specified by the high double.
24947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24948         Likewise.
24949         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24950         Remove dead code too.
24951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24952         (__ieee754_ynl): Likewise.
24953         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24954         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24955         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24956         Remove dead code too.
24957         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24959         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24961         Simplify.
24962         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24963         Simplify.
24964         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24965         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24966         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24967         Comment on variable precision.
24968         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24969         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24970         Likewise.
24971         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24974         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24975         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24977 2013-10-04  Alan Modra  <amodra@gmail.com>
24979         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24980         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24981         all uses of ieee854 long double macros and unions.
24982         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24984         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24985         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24987         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24988         Likewise.
24989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24990         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24991         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24992         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24993         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24994         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24995         Simplify sign and nan test too.
24996         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24997         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24998         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24999         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25000         Likewise.
25001         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25002         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25003         Likewise.
25004         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25005         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25006         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25007         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25008         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25011 2013-10-04  Alan Modra  <amodra@gmail.com>
25013         * stdio-common/printf_size.c (__printf_size): Don't use
25014         union ieee854_long_double in fpnum union.
25015         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
25016         signbit macro to retrieve sign from long double.
25017         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25018         retrieve sign from long double.
25019         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25020         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25021         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25022         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25023         * math/test-misc.c (main): Don't use union ieee854_long_double.
25025 2013-10-04  Alan Modra  <amodra@gmail.com>
25027         [BZ #15680]
25028         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25029         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25030         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25031         calculation.  Remove unnecessary test for denormal exponent.
25032         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25033         Correct handling of denormals.  Avoid undefined shift behaviour.
25034         Correct normalisation of low mantissa when low double is denormal.
25035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25036         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
25037         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25038         Correct normalisation of low mantissa.  Test for overflow of high
25039         mantissa and normalise.
25040         (ldbl_nearbyint): Use more readable constant for two52.
25041         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25042         (__mpn_construct_long_double): Fix test for overflow of high
25043         mantissa and correct normalisation.  Avoid undefined shift.
25045 2013-10-04  Alan Modra  <amodra@gmail.com>
25047         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25048         (union ibm_extended_long_double): Define as an array of ieee754_double.
25049         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25050         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25051         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25052         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25054         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25056         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25057         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25058         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25059         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25061 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
25063         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25064         page size instead of calling getpagesize.
25066         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25067         (LOCFILE_ALIGN_MASK): Likewise.
25068         (LOCFILE_ALIGN_UP): Likewise.
25069         (LOCFILE_ALIGNED_P): Likewise.
25070         * locale/programs/ld-collate.c (collate_output): Use the new
25071         macros instead of __alignof__ (int32_t).
25072         * locale/weight.h (findidx): Likewise.
25074 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
25076         [BZ #431]
25077         * manual/string.texi: Fix strncat and wcsncat.
25079 2013-10-03  Brooks Moses  <bmoses@google.com>
25081         [BZ #15915]
25082         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25083         * Makerules: ...here, and adjust associated comments.
25085 2013-10-02  Will Newton  <will.newton@linaro.org>
25087         * malloc/Makefile: Add tst-pvalloc.
25088         * malloc/tst-pvalloc.c: New file.
25090 2013-10-02  Will Newton  <will.newton@linaro.org>
25092         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25093         improve test coverage.
25095 2013-10-02  Will Newton  <will.newton@linaro.org>
25097         * malloc/Makefile: Add tst-posix_memalign.
25098         * malloc/tst-posix_memalign.c: New file.
25100 2013-10-01  Eric Blake  <eblake@redhat.com>
25102         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25103         Use __THROWNL rather than __THROW on static functions.
25105 2013-09-30  Petr Machata  <pmachata@redhat.com>
25107         * elf/elf.h (R_AARCH64_ABS16): New macro.
25108         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25109         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25110         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25111         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25112         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25113         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25114         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25115         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25116         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25117         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25118         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25119         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25120         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25121         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25122         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25123         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25124         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25125         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25126         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25127         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25128         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25129         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25130         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25131         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25132         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25133         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25134         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25135         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25136         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25137         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25138         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25139         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25140         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25141         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25142         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25143         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25144         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25145         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25146         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25147         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25148         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25149         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25150         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25151         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25152         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25153         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25154         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25155         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25156         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25157         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25158         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25159         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25160         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25161         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25162         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25163         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25164         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25165         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25166         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25167         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25168         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25169         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25170         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25171         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25172         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25173         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25174         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25175         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25176         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25177         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25178         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25179         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25180         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25181         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25182         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25183         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25184         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25185         (R_AARCH64_TLSDESC_LDR): Likewise.
25186         (R_AARCH64_TLSDESC_ADD): Likewise.
25187         (R_AARCH64_TLSDESC_CALL): Likewise.
25189 2013-09-30  Andreas Schwab  <schwab@suse.de>
25191         [BZ #15048]
25192         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25193         the nss database lookup.
25194         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25197 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25199         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25201 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25203         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25204         ${Bash-specific parameter/pattern/string} parameter expansion.
25205         * sysdeps/unix/make-syscalls.sh: Likewise.
25207 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25209         * sysdeps/sh/stackguard-macros.h: New file.
25211 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25215         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25216         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25218         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25220 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25222         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25223         Fix thread ID register.
25225 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25227         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25228         [POSIX || UNIX98]: Require rather than permitting all symbols from
25229         <time.h>.
25230         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25231         element of struct sched_param.
25232         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25233         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25234         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25235         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25236         constant.
25238 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25240         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25241         argument calculation.
25243 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25245         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25246         Expect macro.
25247         [POSIX] (pthread_attr_t): Do not require type.
25248         [POSIX] (pthread_cond_t): Likewise.
25249         [POSIX] (pthread_condattr_t): Likewise.
25250         [POSIX] (pthread_key_t): Likewise.
25251         [POSIX] (pthread_mutex_t): Likewise.
25252         [POSIX] (pthread_mutexattr_t): Likewise.
25253         [POSIX] (pthread_once_t): Likewise.
25254         [POSIX] (pthread_t): Likewise.
25255         [POSIX-based standards] (pthread_atfork): Expect function.
25257 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25258             Richard Sandiford  <richard@codesourcery.com>
25260         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25261         (swap_endianness_p): New extern variable.
25262         (set_big_endian): New inline function.
25263         (maybe_swap_uint32): Likewise.
25264         (maybe_swap_uint32_array): Likewise.
25265         (maybe_swap_uint32_obstack): Likewise.
25266         * locale/programs/locfile.c: Include <stdbool.h>.
25267         (swap_endianness_p): New variable.
25268         (add_locale_uint32): Call maybe_swap_uint32.
25269         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25270         (write_locale_data): Call maybe_swap_uint32_array.
25271         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25272         maybe_swap_uint32.
25273         (obstack_int32_grow_fast): Likewise.
25274         (output_weightwc): Call maybe_swap_uint32_obstack.
25275         (collate_output): Likewise.
25276         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25277         (OPT_LITTLE_ENDIAN): Likewise.
25278         (options): Add --little-endian and --big-endian options.
25279         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25280         * locale/programs/locarchive.c: Include "locfile.h".
25281         (GET): New macro.
25282         (SET): Likewise.
25283         (INC): Likewise.
25284         (create_archive): Use the new macros to access fields of
25285         structures directly mapped from or written to locale archives.
25286         (oldlocrecentcmp): Likewise.
25287         (enlarge_archive): Likewise.
25288         (insert_name): Likewise.
25289         (add_alias): Likewise.
25290         (add_locale): Likewise.
25291         (delete_locales_from_archive): Likewise.
25292         (show_archive_content): Likewise.
25293         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25294         locale data.
25296 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25298         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25299         http://www.gnu.org/doc/freemanuals.texi.
25300         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25302 2013-09-24  Will Newton  <will.newton@linaro.org>
25304         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25305         macro.
25307 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
25309         * locale/hashval.h (compute_hashval): Interpret bytes of key as
25310         unsigned char.
25312 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
25314         * manual/threads.texi (POSIX Threads): Fix a typo.
25316 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25318         [BZ #14547]
25319         * string/tst-strcoll-overflow.c: New test case.
25320         * string/Makefile (xtests): Add tst-strcoll-overflow.
25321         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25322         cache if string sizes may cause integer overflow.
25324         [BZ #14547]
25325         * string/strcoll_l.c (coll_seq): New members rule, idx,
25326         save_idx and back_us.
25327         (get_next_seq_nocache): New function.
25328         (do_compare_nocache): New function.
25329         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25330         when malloc fails.
25332 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
25334         [BZ #15754]
25335         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25336         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25337         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25339         [BZ #15754]
25340         * elf/Makefile (tests): Add tst-ptrguard1.
25341         (tests-static): Add tst-ptrguard1-static.
25342         (tst-ptrguard1-ARGS): Define.
25343         (tst-ptrguard1-static-ARGS): Define.
25344         * elf/tst-ptrguard1.c: New file.
25345         * elf/tst-ptrguard1-static.c: New file.
25346         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25347         * sysdeps/i386/stackguard-macros.h: Likewise.
25348         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25349         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25350         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25351         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25352         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25353         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25355 2013-09-23  Hector Marco  <hecmargi@upv.es>
25356             Ismael Ripoll  <iripoll@disca.upv.es>
25357             Carlos O'Donell  <carlos@redhat.com>
25359         [BZ #15754]
25360         * sysdeps/generic/stackguard-macros.h: Define
25361         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25362         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25363         Define __pointer_chk_guard_local.
25364         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25365         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25367 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25369         [BZ #15859]
25370         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25372 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25374         * include/string.h (__ffs): Declare as hidden.
25375         * string/ffs.c (__ffs): Define as hidden.
25376         * sysdeps/i386/ffs.c (__ffs): Likewise.
25377         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25378         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25379         * sysdeps/s390/ffs.c (__ffs): Likewise.
25380         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25382 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25384         * NEWS: Mention malloc probes.
25386         * malloc/arena.c (new_heap): New memory_heap_new probe.
25387         (grow_heap): New memory_heap_more probe.
25388         (shrink_heap): New memory_heap_less probe.
25389         (heap_trim): New memory_heap_free probe.
25390         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25391         (systrim): New memory_sbrk_less probe.
25392         * manual/probes.texi: Document them.
25394         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25395         * manual/probes.texi: Document it.
25397         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25398         (__libc_realloc): Add memory_realloc_retry probe.
25399         (__libc_memalign): Add memory_memalign_retry probe.
25400         (__libc_valloc): Add memory_valloc_retry probe.
25401         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25402         (__libc_calloc): Add memory_calloc_retry probe.
25403         * manual/probes.texi: Document them.
25405         * malloc/arena.c (get_free_list): Add probe
25406         memory_arena_reuse_free_list.
25407         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25408         and memory_arena_reuse.
25409         (arena_get2) [!PER_THREAD]: Likewise.
25410         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25411         memory_arena_reuse_realloc.
25412         * manual/probes.texi: Document them.
25414         * malloc/malloc.c (__libc_free): Add
25415         memory_mallopt_free_dyn_thresholds probe.
25416         (__libc_mallopt): Add multiple memory_mallopt probes.
25417         * manual/probes.texi: Document them.
25419         * malloc/malloc.c: Include stap-probe.h.
25420         (__libc_mallopt): Add memory_mallopt probe.
25421         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25422         * manual/probes.texi: New.
25423         * manual/Makefile (chapters): Add probes.
25424         * manual/threads.texi: Set next node.
25426 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25428         [BZ #15963, #13985]
25429         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25430         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25431         Add `Chinese' to `nan' entry name.
25433 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25435         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25436         (POLYNOMIAL): Likewise.
25437         (TAYLOR_SINCOS): Likewise.
25438         (TAYLOR_SLOW): Likewise.
25439         (__sin): Use TAYLOR_SINCOS.
25440         (__cos): Likewise.
25441         (slow): Use TAYLOR_SLOW.
25442         (sloww): Likewise.
25443         (bsloww): Likewise.
25444         (csloww): Likewise.
25446 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25448         * stdlib/strtod_l.c: Fix buffer overrun.
25450 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25452         * benchtests/Makefile (bench): Add sincos.
25453         * benchtests/bench-sincos.c: New file.
25455         * math/libm-test.inc (cos_test_data): New test inputs.
25456         (sin_test_data): Likewise.
25458         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25459         macro.
25460         (__sin): Use it.
25461         (__cos): Likewise.
25462         (slow1): Likewise.
25463         (slow2): Likewise.
25464         (sloww1): Likewise.
25465         (sloww2): Likewise.
25466         (bsloww1): Likewise.
25467         (bsloww2): Likewise.
25468         (cslow2): Likewise.
25469         (csloww1): Likewise.
25470         (csloww2): Likewise.
25472         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25473         function.
25474         (__sin): Use it.
25475         (__cos): Likewise.
25477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25478         gotos.
25479         (__cos): Likewise.
25481 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25483         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25484         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25485         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25486         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25487         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25488         * elf/cache.c (print_entry): Handle the new cache flags.
25490 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25491             Aldy Hernandez  <aldyh@redhat.com>
25493         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25494         Change condition to [_SOFT_FLOAT].
25495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25507         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25510         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25511         declaration.
25513 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25515         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25516         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25517         (__longjmp): Use LOAD_GP to load saved GPRs.
25518         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25519         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25520         (__sigsetjmp): Use SAVE_GP to save GPRs.
25522         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25523         Do not append -msoft-float.
25524         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25526 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25528         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25530 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25532         [BZ #15966]
25533         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25534         (_FPU_GETCW): Use initial "__" on variable and field names but not
25535         on macro parameter name.
25536         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25537         parentheses around reference to macro parameter.
25539 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25541         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25542         prototype.
25543         (ctype_startup): Use uint32_t in cast and sizeof for
25544         ctype->charnames.
25546 2013-09-11  Jia Liu  <proljc@gmail.com>
25548         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25549         __daddr_t_defined.
25550         [__FreeBSD__]: Likewise.
25552 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25555         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25556         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25557         (strchr): Remove __strchr_sse42 ifunc selection.
25558         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25559         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25561 2013-09-11  Will Newton  <will.newton@linaro.org>
25563         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25564         parameter to RES. Remove hardcoded 1000 value.
25565         * benchtests/bench-skeleton.c (main): Pass RES parameter
25566         to TIMING_INIT and multiply result by 1000.
25568 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25572 2013-09-11  Andreas Schwab  <schwab@suse.de>
25574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25575         if not defined.
25576         (O_TMPFILE) [__USE_GNU]: Define.
25577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25578         Define.
25580 2013-09-11  Will Newton  <will.newton@linaro.org>
25582         [BZ #15857]
25583         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25584         does not overflow.
25586 2013-09-11  Will Newton  <will.newton@linaro.org>
25588         [BZ #15856]
25589         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25590         does not overflow.
25592 2013-09-11  Will Newton  <will.newton@linaro.org>
25594         [BZ #15855]
25595         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25596         does not overflow.
25598 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25600         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25601         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25602         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25606 2013-09-10  Allan McRae  <allan@archlinux.org>
25608         [BZ #15748]
25609         * manual/arith.texi (Parsing of Floats): Clarify
25610         cross-reference.
25612         [BZ #15849]
25613         * manual/install.texi (Running make install): Mention
25614         --enable-pt-chown.
25615         * INSTALL: Regenerated.
25617 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25619         * csu/init-first.c (_init): Remove the !SHARED condition around
25620         FPU control word initialization.
25621         * elf/dl-support.c (_dl_fpu_control): New variable.
25622         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25623         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25624         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25625         * math/test-fpucw-static.c: New file.
25626         * math/test-fpucw-ieee.c: New file.
25627         * math/test-fpucw-ieee-static.c: New file.
25628         * math/Makefile (tests): Add `test-fpucw-ieee' and
25629         `$(tests-static)'.
25630         (tests-static): New variable.
25631         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25632         dependency to...
25633         [($(build-shared),yes)]
25634         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25635         ... this.
25636         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25637         New dependency.
25639 2013-09-09  Allan McRae  <allan@archlinux.org>
25641         [BZ #15939]
25642         * manual/string.texi (Collation Functions): Fix typo in
25643         strcoll example.
25644         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25646         [BZ #15893]
25647         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25649         [BZ #15892]
25650         * libio/memstream.c (open_memstream): Fix memory leak.
25651         * libio/wmemstream.c (open_wmemstream): Likewise.
25653         [BZ #15895]
25654         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25656 2013-09-09  Will Newton  <will.newton@linaro.org>
25658         * malloc/Makefile: Add tst-realloc to tests.
25659         * malloc/tst-realloc.c: New file.
25661 2013-09-09  Allan McRae  <allan@archlinux.org>
25663         [BZ #15844]
25664         * COPYING: Update from GNU website to fix FSF address.
25665         * COPYING.LIB: Likewise.
25667 2013-09-06  David S. Miller  <davem@davemloft.net>
25669         * po/zh_TW.po: Update Chinese (traditional) translation from
25670         translation project.
25672 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25673             Joseph Myers  <joseph@codesourcery.com>
25675         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25676         "localeinfo.h".
25677         (obstack_chunk_alloc): New macro.
25678         (obstack_chunk_free): Likewise.
25679         (record_offset): New function.
25680         (init_locale_data): Likewise.
25681         (align_locale_data): Likewise.
25682         (add_locale_empty): Likewise.
25683         (add_locale_raw_data): Likewise.
25684         (add_locale_raw_obstack): Likewise.
25685         (add_locale_string): Likewise.
25686         (add_locale_wstring): Likewise.
25687         (add_locale_uint32): Likewise.
25688         (add_locale_uint32_array): Likewise.
25689         (add_locale_char): Likewise.
25690         (start_locale_structure): Likewise.
25691         (end_locale_structure): Likewise.
25692         (start_locale_prelude): Likewise.
25693         (end_locale_prelude): Likewise.
25694         (write_locale_data): Take locale_file structure rather than an
25695         iovec.
25696         * locale/programs/locfile.h: Include "obstack.h".
25697         (struct locale_file): Change to store locale file contents instead
25698         of header.
25699         (init_locale_data): New prototype.
25700         (align_locale_data): Likewise.
25701         (add_locale_empty): Likewise.
25702         (add_locale_raw_data): Likewise.
25703         (add_locale_raw_obstack): Likewise.
25704         (add_locale_string): Likewise.
25705         (add_locale_wstring): Likewise.
25706         (add_locale_uint32): Likewise.
25707         (add_locale_uint32_array): Likewise.
25708         (add_locale_char): Likewise.
25709         (start_locale_structure): Likewise.
25710         (end_locale_structure): Likewise.
25711         (start_locale_prelude): Likewise.
25712         (end_locale_prelude): Likewise.
25713         (write_locale_data): Update prototype.
25714         * locale/programs/3level.h (struct TABLE): Remove result field.
25715         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25716         Use new locale_file interface.
25717         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25718         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25719         * locale/programs/ld-address.c (address_output): Use new
25720         locale_file interface.
25721         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25722         NO_ADD_LOCALE.
25723         (collate_finish): Don't call collseq_table_finalize.
25724         (collate_output): Use new locale_file interface.
25725         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25726         in file.
25727         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25728         (TABLE): Move defines earlier in file.
25729         (ELEMENT): Likewise.
25730         (DEFAULT): Likewise.
25731         (wctrans_table_add): Move macro and inline function earlier in
25732         file.
25733         (struct wctype_table): Move type earlier in file.
25734         (add_locale_wctype_table): New static prototype.
25735         (struct locale_ctype_t): Use logical types instead of struct iovec
25736         pointers for members.
25737         (ctype_output): Use new locale_file interface.
25738         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25739         new locale_file interface.
25740         (allocate_arrays): Update for use of new locale_file interface.
25741         * locale/programs/ld-identification.c (identification_output): Use
25742         new locale_file interface.
25743         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25744         * locale/programs/ld-messages.c (messages_output): Likewise.
25745         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25746         * locale/programs/ld-name.c (name_output): Likewise.
25747         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25748         * locale/programs/ld-paper.c (paper_output): Likewise.
25749         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25750         * locale/programs/ld-time.c (time_output): Likewise.
25752 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25754         * benchtests/Makefile: Add memrchr benchmark.
25755         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25756         benchmark as memrchr.
25757         * benchtests/bench-memrchr-ifunc.c: New file.
25758         * benchtests/bench-memrchr.c: New file.
25760 2013-09-06   Will Newton  <will.newton@linaro.org>
25762         * benchtests/Makefile (string-bench): Add memcpy.
25764 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25765             Cong Wang  <amwang@redhat.com>
25767         [BZ #15850]
25768         * sysdeps/unix/sysv/linux/bits/in.h
25769         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25770         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25771         before __USE_KERNEL_IPV6_DEFS uses.
25772         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25773         IPPROTO_BEETPH.
25774         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25775         sockaddr_in6, or ipv6_mreq.
25777 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25779         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25780         memory access for final bytes in some large inputs.
25781         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25783 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25785         * string/test-memrchr.c: New file.
25786         * string/test-memrchr-ifunc.c: New file.
25787         * string/Makefile: Add new memrchr testcase.
25789 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25791         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25792         fanotify_init returns EPERM.
25794 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25796         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25797         errors.
25798         (top level): Treat second token from macro or constant entries for
25799         allowed headers as allowed.
25800         * include/complex.h: Condition internal declarations on
25801         [!_ISOMAC].
25802         * include/fenv.h: Condition include of <stdbool.h> and internal
25803         declarations on [!_ISOMAC].
25805 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25807         [BZ #15923]
25808         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25810 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25812         * configure.in (--enable-versioning): Remove configure option.
25813         (libc_cv_asm_symver_directive): Remove configure test.
25814         (libc_cv_ld_version_script_option): Likewise.
25815         (VERSIONING): Remove variable and AC_SUBST.
25816         (DO_VERSIONING): Remove AC_DEFINE.
25817         * configure: Regenerated.
25818         * config.h.in (DO_VERSIONING): Remove macro.
25819         * Makerules [$(versioning) = yes]: Change conditionals to
25820         [$(build-shared) = yes].
25821         * config.make.in (versioning): Remove variable.
25822         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25823         [$(build-shared) = yes].
25824         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25825         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25826         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25827         [$(build-shared) = yes].
25828         * extra-lib.mk [$(versioning) = yes]: Likewise.
25829         * hurd/Makefile [$(versioning) = yes]: Likewise.
25830         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25831         [SHARED].
25832         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25833         [SHARED].
25834         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25835         [SHARED && !NO_HIDDEN].
25836         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25837         [SHARED].
25838         [SHARED && DO_VERSIONING]: Likewise..
25839         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25840         [$(build-shared) = yes].
25841         * manual/install.texi (--disable-versioning): Remove
25842         documentation.
25843         * INSTALL: Regenerated.
25844         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25845         to [SHARED].
25846         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25847         [$(build-shared) = yes].
25848         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25849         * sysdeps/i386/i686/multiarch/strstr-c.c
25850         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25851         [SHARED && !NO_HIDDEN].
25852         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25853         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25854         * sysdeps/powerpc/powerpc32/dl-machine.c
25855         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25856         * sysdeps/powerpc/powerpc32/sysdep.h
25857         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25858         to [SHARED && PIC && !NO_HIDDEN].
25859         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25860         conditional to [SHARED].
25862 2013-09-04   Will Newton  <will.newton@linaro.org>
25864         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25865         * benchtests/bench-string.h: Include bench-timing.h instead
25866         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25867         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25868         call to HP_TIMING_DIFF_INIT.
25869         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25870         instead of hp-timing.h macros.
25871         * benchtests/bench-memchr.c: Likewise.
25872         * benchtests/bench-memcmp.c: Likewise.
25873         * benchtests/bench-memcpy.c: Likewise.
25874         * benchtests/bench-memmem.c: Likewise.
25875         * benchtests/bench-memmove.c: Likewise.
25876         * benchtests/bench-memset.c: Likewise.
25877         * benchtests/bench-rawmemchr.c: Likewise.
25878         * benchtests/bench-strcasecmp.c: Likewise.
25879         * benchtests/bench-strcasestr.c: Likewise.
25880         * benchtests/bench-strcat.c: Likewise.
25881         * benchtests/bench-strchr.c: Likewise.
25882         * benchtests/bench-strcmp.c: Likewise.
25883         * benchtests/bench-strcpy.c: Likewise.
25884         * benchtests/bench-strcpy_chk.c: Likewise.
25885         * benchtests/bench-strlen.c: Likewise.
25886         * benchtests/bench-strncasecmp.c: Likewise.
25887         * benchtests/bench-strncat.c: Likewise.
25888         * benchtests/bench-strncmp.c: Likewise.
25889         * benchtests/bench-strncpy.c: Likewise.
25890         * benchtests/bench-strnlen.c: Likewise.
25891         * benchtests/bench-strpbrk.c: Likewise.
25892         * benchtests/bench-strrchr.c: Likewise.
25893         * benchtests/bench-strspn.c: Likewise.
25894         * benchtests/bench-strstr.c: Likewise.
25896 2013-09-04  Will Newton  <will.newton@linaro.org>
25898         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25900 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25902         [BZ #15427]
25903         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25904         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25905         * math/libm-test.inc (lgamma_test_data): Add more tests.
25906         * sysdeps/i386/fpu/libm-test-ulps: Update.
25907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25909 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25911         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25913         Add ifunc.
25914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25915         Add strcmp-sse2-unaligned
25916         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25918 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25920         * Versions.def (libc): Add GLIBC_2.19.
25922 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25924         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25925         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25927 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #14155]
25930         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25931         intermediate calculations in recurrence.
25932         (__ieee754_ynf): Likewise.
25933         * math/libm-test.inc (jn_test_data): Do not allow spurious
25934         underflow exception.  Add more tests.
25935         (yn_test_data): Add more tests.
25936         * sysdeps/i386/fpu/libm-test-ulps: Update.
25937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25939 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25941         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25943 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25945         * csu/init-first.c: Fix then/than typos.
25946         * locale/programs/ld-collate.c: Likewise.
25947         * locale/programs/linereader.h: Likewise.
25948         * manual/charset.texi: Likewise.
25949         * manual/filesys.texi: Likewise.
25950         * manual/stdio.texi: Likewise.
25951         * manual/string.texi: Likewise.
25952         * stdlib/fmtmsg.c: Likewise.
25953         * sysdeps/i386/stpncpy.S: Likewise.
25954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25955         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25957         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25959 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25961         * elf/dl-open.c: Fix typos.
25962         * iconvdata/gbbig5.c: Likewise.
25963         * iconvdata/iso-2022-jp.c: Likewise.
25964         * iconv/gconv_int.h: Likewise.
25965         * iconv/loop.c: Likewise.
25966         * nis/rpcsvc/nis.h: Likewise.
25967         * resolv/ns_name.c: Likewise.
25968         * stdio-common/vfscanf.c: Likewise.
25969         * streams/stropts.h: Likewise.
25970         * sunrpc/rpc_thread.c: Likewise.
25971         * sysdeps/i386/strpbrk.S: Likewise.
25972         * sysdeps/ieee754/k_standard.c: Likewise.
25973         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25974         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25975         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25976         * sysdeps/mach/hurd/profil.c: Likewise.
25977         * sysdeps/s390/dl-procinfo.h: Likewise.
25978         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25979         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25980         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25981         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25982         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25984 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25986         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25989 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25991         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25992         aix specific files.
25993         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25994         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25995         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25996         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25997         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25998         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25999         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26000         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26002 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26003             Roland McGrath  <roland@hack.frob.com>
26005         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26006         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26008 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26010         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26011         __executable_start symbol instead of _start.
26013 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26015         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26016         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26017         Move macros to...
26018         * sysdeps/gnu/ldsodefs.h: ... this new file.
26020         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26021         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26022         instead of ELFOSABI_LINUX.
26024         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26025         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26026         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26027         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26028         Likewise.
26029         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26030         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26031         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26032         Likewise.
26033         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26034         (ibm_extended_long_double): Add ieee_nan member.
26035         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26036         (do_test): New function.
26038         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26039         TEST_TRUNC.
26040         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26041         functions, renamed from truncdfsf_test, trunctfsf_test,
26042         trunctfdf_test.
26043         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26044         functions.
26045         (do_test): Run all these.
26047 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
26049         * argp/argp-help.c: Fix typos.
26050         * argp/argp-parse.c: Likewise.
26051         * debug/backtracesyms.c: Likewise.
26052         * elf/elf.h: Likewise.
26053         * malloc/malloc.c: Likewise.
26054         * nis/nis_print.c: Likewise.
26055         * resolv/res_comp.c: Likewise.
26056         * stdlib/stdlib.h: Likewise.
26057         * sunrpc/clnt_tcp.c: Likewise.
26058         * sunrpc/clnt_udp.c: Likewise.
26059         * sunrpc/clnt_unix.c: Likewise.
26060         * sysdeps/unix/bsd/ptsname.c: Likewise.
26061         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26062         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26064         Likewise.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26066         Likewise.
26067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26068         Likewise.
26069         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26071 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26076 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
26078         [BZ #15897]
26079         * dlfcn/Makefile (tests): Add bug-dl-leaf.
26080         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26081         ($(objpfx)bug-dl-leaf): New rule.
26082         ($(objpfx)bug-dl-leaf.so): Likewise.
26083         ($(objpfx)bug-dl-leaf.out): Likewise.
26084         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26085         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26086         * dlfcn/bug-dl-leaf.c: New test.
26087         * dlfcn/bug-dl-leaf-lib.c: Likewise.
26088         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26089         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26090         (dlclose): Likewise.
26091         (dlmopen): Likewise.
26093 2013-08-27  Roland McGrath  <roland@hack.frob.com>
26095         * include/netdb.h [!_ISOMAC]:
26096         Don't include <tls.h>.
26097         (h_errno, __libc_h_errno): Move declaration and macros out of
26098         [_LIBC_REENTRANT].
26100         * include/resolv.h [_RESOLV_H_]:
26101         Don't include <tls.h>.
26102         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26103         * resolv/res_libc.c: Don't include <tls.h>.
26104         (_res): Use __attribute__ ((nocommon)) in place of
26105         __attribute__ ((section (".bss"))).
26107         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26108         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26110         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26112         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26113         only under [SIOCGIFCONF && SIOCGIFNETMASK].
26115         * resolv/res_mkquery.c: Include <sys/time.h>.
26117         * inet/ifreq.c: Moved to ...
26118         * sysdeps/unix/ifreq.c: ... here.
26119         * inet/ifreq.c: New file, true stub version.
26121         * socket/sa_len.c: New file.
26122         * socket/Makefile (aux): Add it.
26123         * sysdeps/unix/sysv/linux/Makefile
26124         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26125         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26126         and #include <socket/sa_len.c>.
26127         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26128         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26130         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26131         * bits/socket.h: ... here.
26133         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26134         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26135         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26137 2013-08-27  Andreas Schwab  <schwab@suse.de>
26139         [BZ #15736]
26140         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26141         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26142         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26143         * string/test-strcasecmp.c (test_main): Run tests in several
26144         locales.
26145         * string/test-strncasecmp.c (test_main): Likewise.
26147         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26148         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26149         to __strcasecmp_nonascii and __strncasecmp_nonascii.
26150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26151         (__strncasecmp_ssse3) [PIC]: Likewise.
26153 2013-08-26  Roland McGrath  <roland@hack.frob.com>
26155         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26157         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26158         instead of explicitly declaring xdecrypt.
26159         * nis/nss_nis/nis-publickey.c: Likewise.
26161 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26163         [BZ #15890]
26164         * nscd/aicache.c: Include res_hconf.h.
26165         (addhstaiX): Initialize res_hconf.
26167 2013-08-26  Andreas Schwab  <schwab@suse.de>
26169         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26170         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26172 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26174         * nscd/aicache.c (addhstaiX): Fix indentation.
26176 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
26178         * configure.ac: Quote $build_pt_chown test.
26179         * configure: Regenerated.
26181 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #15532]
26184         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26185         * math/s_cexpf.c (__cexpf): Likewise.
26186         * math/s_cexpl.c (__cexpl): Likewise.
26187         * math/libm-test.inc (cexp_test_data): Correct expected return
26188         value for NaN + i0.  Add another test.
26190 2013-08-22  David S. Miller  <davem@davemloft.net>
26192         * po/ca.po: Update Catalan translation from translation project.
26193         * po/uk.po: Add Ukrainian translations from translation project.
26195 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26197         [BZ #15797]
26198         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26199         is infinite, not alongside NaN test.
26200         * math/s_fdimf.c (__fdimf): Likewise.
26201         * math/s_fdiml.c (__fdiml): Likewise.
26202         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26203         errno is unchanged.
26205 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26207         * argp/argp-help.c: Fix typos.
26208         * crypt/speeds.c: Likewise.
26209         * csu/check_fds.c: Likewise.
26210         * elf/dl-load.c: Likewise.
26211         * elf/dl-open.c: Likewise.
26212         * elf/reldep3.c: Likewise.
26213         * elf/reldep.c: Likewise.
26214         * elf/sprof.c: Likewise.
26215         * iconv/iconv_charmap.c: Likewise.
26216         * iconv/skeleton.c: Likewise.
26217         * iconv/strtab.c: Likewise.
26218         * io/lockf64.c: Likewise.
26219         * libio/libioP.h: Likewise.
26220         * resolv/gai_notify.c: Likewise.
26221         * resolv/ns_name.c: Likewise.
26222         * resolv/ns_samedomain.c: Likewise.
26223         * resolv/res_send.c: Likewise.
26224         * stdlib/random.c: Likewise.
26225         * sunrpc/rpc/xdr.h: Likewise.
26226         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26228         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26229         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26230         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26231         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26234         * sysdeps/mach/hurd/check_fds.c: Likewise.
26235         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26236         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26238         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26239         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26240         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26241         * sysdeps/pthread/aio_notify.c: Likewise.
26242         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26243         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26244         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26245         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26246         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26248 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26250         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26251         version if bit_Slow_SSE4_2 is set.
26252         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26253         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26255 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26257         [BZ #15867]
26258         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26259         trampoline stack frame information.
26260         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26261         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26262         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26263         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26264         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26265         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26266         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26267         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26268         sa_flags value.
26269         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26270         interrupting a syscall and set with option SA_SIGINFO.
26272 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26274         [BZ #15531]
26275         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26276         argument is infinite.
26277         * math/s_cprojf.c (__cprojf): Likewise.
26278         * math/s_cprojl.c (__cprojl): Likewise.
26279         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26280         * math/libm-test.inc (cproj_test_data): Add more tests.
26282         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26284         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26285         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26286         size.  Use __ffs to determine corresponding shift.
26288 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26289             Roland McGrath  <roland@hack.frob.com>
26291         * Makefile (INSTALL): Remove trailing blank lines from output of
26292         makeinfo.
26294 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26296         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26297         Align 32 bit compat elf_greg to 8 bytes.
26299 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26301         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26303 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         * string/strcoll_l.c (coll_seq): New structure.
26306         (get_next_seq_cached): New function.
26307         (get_next_seq): New function.
26308         (do_compare): New function.
26309         (STRCOLL): Use GNU style definition.  Simplify implementation
26310         by using get_next_seq, get_next_seq_cached and do_compare.
26312 2013-08-16  Florian Weimer  <fweimer@redhat.com>
26314         [BZ #14699]
26315         CVE-2013-4237
26316         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26317         member.
26318         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26319         member.
26320         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26321         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26322         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
26323         conditional.
26324         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26325         GETDENTS_64BIT_ALIGNED.
26326         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26327         * manual/filesys.texi (Reading/Closing Directory): Document
26328         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
26329         strongly.
26330         * manual/conf.texi (Limits for Files): Add portability note to
26331         NAME_MAX, PATH_MAX.
26332         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26334 2013-08-13  Andreas Schwab  <schwab@suse.de>
26336         [BZ #15749]
26337         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26338         of fabs.
26339         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26340         LDBL_MAX_EXP >= 16384]: Add tests for it.
26342 2013-08-12  David S. Miller  <davem@davemloft.net>
26344         * version.h (RELEASE): Set to "development".
26345         (VERSION): Set to "2.18.90".
26346         * NEWS: Add 2.19 section.
26348 2013-08-03  David S. Miller  <davem@davemloft.net>
26350         * po/ko.po: Update Korean translation from translation project.
26352 2013-08-01  David S. Miller  <davem@davemloft.net>
26354         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26355         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26356         Bilka.
26358 2013-07-30  David S. Miller  <davem@davemloft.net>
26360         * po/fr.po: Update French translation from translation project.
26362 2013-07-28  David S. Miller  <davem@davemloft.net>
26364         * po/cs.po: Update Czech translation from translation project.
26366         * po/sv.po: Update Swedish translation from translation project.
26368 2013-07-27  David S. Miller  <davem@davemloft.net>
26370         * po/eo.po: Update Esperanto translation from translation project.
26372         * po/vi.po: Update Vietnamese translation from translation project.
26374         * po/de.po: Update German translation from translation project.
26376 2013-07-26  David S. Miller  <davem@davemloft.net>
26378         * po/bg.po: Update Bulgarian translation from translation project.
26380         * po/nl.po: Update Dutch translation from translation project.
26381         * po/pl.po: Update Polish translation from translation project.
26382         * po/ru.po: Update Russian translation from translation project.
26384 2013-07-24  David S. Miller  <davem@davemloft.net>
26386         * po/libc.pot: Update.
26388 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26390         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26391         variable page size.
26392         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26393         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26394         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26396 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26398         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26400 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26401             Andreas Schwab  <schwab@suse.de>
26402             Roland McGrath  <roland@hack.frob.com>
26403             Joseph Myers  <joseph@codesourcery.com>
26404             Carlos O'Donell  <carlos@redhat.com>
26406         [BZ #15755]
26407         * config.h.in: Define HAVE_PT_CHOWN.
26408         * config.make.in (build-pt-chown): New variable.
26409         * configure.in (--enable-pt_chown): New configure option.
26410         * configure: Regenerate.
26411         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26412         build-pt-chown is enabled.
26413         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26414         pt_chown to fix pty ownership.
26415         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26416         CLOSE_ALL_FDS.
26417         * manual/install.texi (Configuring and compiling): Mention
26418         --enable-pt_chown. Add @findex for grantpt.
26419         * INSTALL: Regenerate.
26421 2013-07-20  David S. Miller  <davem@davemloft.net>
26423         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26424         difference between 32-bit and 64-bit.
26426 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26428         [BZ #15711]
26429         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26430         Avoid system header dependency with -ffreestanding.
26431         ($(objpfx)bits/syscall%d): Likewise.
26433 2013-07-13  David S. Miller  <davem@davemloft.net>
26435         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26436         underflows from atanl/atan2l due to bug 15319.
26437         (casinh_test_data): Likewise.
26439 2013-07-07  David S. Miller  <davem@davemloft.net>
26441         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26443 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26445         * sysdeps/i386/fpu/libm-test-ulps: Update.
26446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26448 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26450         * configure.in (--enable-lock-elision): Fix message text.
26451         * INSTALL: Regenerate.
26452         * configure: Regenerate.
26454 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26458 2013-07-03  Andreas Jaeger  <aj@suse.de>
26460         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26461         define.
26462         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26463         (ptrace_peeksiginfo_args): Add.
26464         (__ptrace_peeksiginfo_flags): Add.
26465         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26466         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26467         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26469 2013-07-03  Allan McRae  <allan@archlinux.org>
26471         * sysdeps/i386/fpu/libm-test-ulps: Update.
26473 2013-07-02  David S. Miller  <davem@davemloft.net>
26475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26477 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26481 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26483         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26486 2013-07-02  Andi Kleen <ak@linux.intel.com>
26488         * config.h.in (ENABLE_LOCK_ELISION): Add.
26489         * configure.in (--enable-lock-elision): Add option.
26490         * manual/install.texi: Document --enable lock elision.
26491         * configure: Regenerate
26492         * INSTALL: Regenerate.
26494 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26496         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26497         SSE4.2 strcasecmp for libc.a.
26498         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26500 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26502         [BZ #13304]
26503         * soft-fp/op-common.h (_FP_FMA): New macro.
26504         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26505         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26506         (_FP_MUL_MEAT_1_imm): ... here.
26507         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26508         (_FP_MUL_MEAT_1_wide): ... here.
26509         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26510         (_FP_MUL_MEAT_1_hard): ... here.
26511         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26512         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26513         (_FP_MUL_MEAT_2_wide): ... here.
26514         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26515         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26516         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26517         (_FP_MUL_MEAT_2_gmp): ... here.
26518         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26519         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26520         (_FP_MUL_MEAT_4_wide): ... here.
26521         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26522         (_FP_MUL_MEAT_4_gmp): ... here.
26523         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26524         (_FP_WFRACBITS_DW_S): Likewise.
26525         (_FP_WFRACXBITS_DW_S): Likewise.
26526         (_FP_HIGHBIT_DW_S): Likewise.
26527         (FP_FMA_S): Likewise.
26528         (_FP_FRAC_HIGH_DW_S): Likewise.
26529         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26530         (_FP_WFRACBITS_DW_D): Likewise.
26531         (_FP_WFRACXBITS_DW_D): Likewise.
26532         (_FP_HIGHBIT_DW_D): Likewise.
26533         (FP_FMA_D): Likewise.
26534         (_FP_FRAC_HIGH_DW_D): Likewise.
26535         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26536         (_FP_WFRACBITS_DW_E): Likewise.
26537         (_FP_WFRACXBITS_DW_E): Likewise.
26538         (_FP_HIGHBIT_DW_E): Likewise.
26539         (FP_FMA_E): Likewise.
26540         (_FP_FRAC_HIGH_DW_E): Likewise.
26541         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26542         (_FP_WFRACBITS_DW_Q): Likewise.
26543         (_FP_WFRACXBITS_DW_Q): Likewise.
26544         (_FP_HIGHBIT_DW_Q): Likewise.
26545         (FP_FMA_Q): Likewise.
26546         (_FP_FRAC_HIGH_DW_Q): Likewise.
26547         * soft-fp/fmasf4.c: New file.
26548         * soft-fp/fmadf4.c: Likewise.
26549         * soft-fp/fmatf4.c: Likewise.
26551 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26554         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26555         Silvermont.
26556         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26557         macro.
26558         (index_Slow_SSE4_2): Likewise.
26559         (index_Prefer_PMINUB_for_stringop): Likewise.
26560         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26561         bit_Slow_SSE4_2 is set.
26562         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26565 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26567         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26568         rtld_global._dl_hwcap2.
26569         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26570         POWER8.
26571         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26572         POWER8 feature descriptions defined in _dl_hwcap2.
26573         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26574         string handling for POWER8 feature bits.
26575         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26576         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26577         _dl_powerpc_cap_flags.
26578         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26579         * sysdeps/powerpc/rtld-global-offsets.sym
26580         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26581         _dl_hwcap2 in the rtld_global_ro structure.
26583 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26585         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26586         hardware capabilities in support of AT_HWCAP2.
26587         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26588         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26589         GLRO(dl_hwcap2).
26590         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26591         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26592         explicitly the unknown a_type display mechanism is used.
26593         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26594         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26595         struct member.
26596         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26597         to macro prototype for AT_HWCAP2 support.
26598         * sysdeps/i386/dl-procinfo.h: Likewise.
26599         * sysdeps/s390/dl-procinfo.h: Likewise.
26600         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26601         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26602         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26603         return -1 for unknown a_type display fallback.
26604         * sysdeps/sparc/dl-procinfo.h: Likewise.
26605         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26606         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26608 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26610         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26611         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26613 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26615         [BZ #12492]
26616         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26617         mprotect making __stack_prot writable.
26619 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26620             Joseph Myers  <joseph@codesourcery.com>
26622         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26623         as being properly aligned.
26625 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26627         * dlfcn/modstatic5.c: New file.
26628         * dlfcn/tststatic5.c: New file.
26629         * dlfcn/Makefile (tests): Add tststatic5.
26630         (tests-static): Likewise.
26631         (modules-names): Add modstatic5.
26632         (tststatic5-ENV): New variable.
26633         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26635         [BZ #15022]
26636         * elf/dl-support.c (_dl_main_map): New variable.
26637         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26638         (_dl_nns, _dl_load_adds): Set to 1.
26639         (_dl_initial_searchlist): Refer to _dl_main_map.
26640         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26641         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26642         call to _dl_get_origin.
26643         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26644         around call_map.
26645         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26646         * dlfcn/modstatic3.c: New file.
26647         * dlfcn/tststatic3.c: New file.
26648         * dlfcn/tststatic4.c: New file.
26649         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26650         (tests-static): Likewise.
26651         (modules-names): Add modstatic3.
26652         (tststatic3-ENV, tststatic4-ENV): New variables.
26653         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26654         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26656 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26658         * configure.in (CC): Require GCC version 4.4 or later.
26659         * configure: Regenerated.
26660         * manual/install.texi (Tools for Compilation): Update GCC version
26661         requirement.
26662         * INSTALL: Regenerated.
26664 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26666         [BZ #15674]
26667         * string/test-memcmp.c (check2): New.
26668         (main): Call check2.
26670         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26672 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26674         [BZ #15022]
26675         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26676         over to...
26677         (dl_open_worker) [!SHARED]: ... here.
26679 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26681         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26683 2013-06-25  Richard Henderson  <rth@redhat.com>
26685         * locale/programs/locarchive.c: Include <libc-internal.h>
26687 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26689         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26690         trailing whitespace removed.
26692 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26694         [BZ #10283]
26695         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26696         * locale/programs/locarchive.c: Include libc-mmap.h.
26697         (prepare_address_space): Take two new outputs (the mmap base and len).
26698         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26699         values.
26700         (create_archive): Declare new mmap base and len values for
26701         prepare_address_space, and store the result in ah.
26702         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26703         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26704         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26705         Declare new mmap base and len values for
26706         prepare_address_space, and store the result in new_ah.
26707         (open_archive): Declare new mmap base and len values for
26708         prepare_address_space, and store the result in ah.
26709         (close_archive): If ah->mmap_base is not NULL, use that and
26710         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26711         * sysdeps/generic/libc-mmap.h: New file.
26713 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26715         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26716         (ALIGN_UP): Likewise.
26717         (PTR_ALIGN_DOWN): Likewise.
26718         (PTR_ALIGN_UP): Likewise.
26720 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26722         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26723         entry mapped to PPC_PLATFORM_POWER8.
26724         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26725         POWER8.
26726         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26727         (_dl_string_platform): Add case for exporting platform position for
26728         POWER8.
26729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26730         search path to sysdeps/powerpc/powerpc32/power8 directory.
26731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26732         search path to sysdeps/powerpc/powerpc64/power8 directory.
26733         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26734         power7 directories.
26735         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26736         power7 directories.
26738 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26740         * INSTALL: Regenerate.
26742         * nscd/connections.c (nscd_init): Fix comment.
26744 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26746         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26748         [BZ #15667]
26749         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26750         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26752 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26754         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26755         DL_DST_REQ_STATIC.
26756         (DL_DST_REQ_STATIC): Remove macro.
26758 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26760         [BZ #7006]
26761         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26762         with a shift of 0 bits.
26764 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26766         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26767         $(tststatic-ENV).
26769 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26771         [BZ #15655]
26772         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26774 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26776         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26777         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26778         accepts -fno-tree-loop-distribute-patterns.
26779         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26780         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26781         recursive call.
26782         * string/memset.c (memset): Likewise.
26783         * string/test-memmove.c (simple_memmove): Disable loop transformation
26784         to library calls.
26785         * string/test-memset.c (simple_memset): Likewise.
26786         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26787         * benchtests/bench-memset.c (simple_memset): Likewise.
26788         * configure: Regenerated.
26790 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26792         * math/test-misc.c (main): Ignore fesetround failure when failures
26793         of subsequent rounding tests would be ignored.
26795         [BZ #15654]
26796         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26797         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26798         * math/fegetenv.c (__fegetenv): Return 0.
26799         * math/fegetexcept.c (fegetexcept): Return 0.
26800         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26801         FE_TONEAREST.
26802         * math/feholdexcpt.c (feholdexcept): Return 0.
26803         * math/fesetenv.c (__fesetenv): Return 0.
26804         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26805         argument FE_TONEAREST.
26806         * math/feupdateenv.c (__feupdateenv): Return 0.
26807         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26809 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26811         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26812         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26813         ($(objpfx)rtld-%.os rules): Use them.
26815 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26817         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26818         fields.
26820 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26822         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26823         length of target pattern, then descending length of dependency pattern.
26824         * configure.in (AWK): Require gawk 3.1.2 or newer.
26825         * manual/install.texi (Tools for Compilation): Say that we do.
26826         * configure: Regenerated.
26828         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26829         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26830         * scripts/sysd-rules.awk: ... this new script.
26831         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26832         than a glob-style pattern.
26834 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26836         * math/test-misc.c (main): Do not treat incorrectly rounded
26837         conversions as failure unless ROUNDING_TESTS passes.
26839 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26841         [BZ #15631]
26842         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26843         restore exception state around main square root computation, then
26844         check for inexactness explicitly.
26846         * math/libm-test.inc (fma_test_data): Add another test.
26848 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850         * manual/threads.texi (Non-POSIX Extensions): New document
26851         node.  Document pthread_getattr_default_np and
26852         pthread_setattr_default_np.
26854         * Versions.def (libpthread): Add GLIBC_2.18.
26855         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26857         Likewise.
26858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26859         Likewise.
26860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26861         Likewise.
26862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26863         Likewise.
26864         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26865         Likewise.
26866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26867         Likewise.
26868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26869         Likewise.
26870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26871         Likewise.
26872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26873         Likewise.
26875 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26878         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26880 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26881             H.J. Lu  <hjl.tools@gmail.com>
26883         [BZ #15627]
26884         * sysdeps/x86_64/rtld-memset.c: Remove file.
26885         * sysdeps/x86_64/rtld-memset.S: New file.
26887 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26889         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26890         (test_in_one_mode): Take arguments for whether the rounding mode
26891         is supported for each floating-point type.
26892         (do_test): Pass new arguments to test_in_one_mode using
26893         ROUNDING_TESTS.
26895 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26897         * posix/tst-waitid.c (do_test): Distinguish different instances of
26898         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26899         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26900         before entering the kernel for waitpid.
26902 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26904         * NEWS: Fix note on clock function precision.  Text by Roland
26905         McGrath.
26907 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26909         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26910         it into place only when and if the sanity check passes.
26912 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26914         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26915         output for whether conversion result is exact.  Take argument
26916         indicating whether type is IBM long double.
26917         (round_for_all): Change need_exact field to ibm_ld.
26918         * stdlib/tst-strtod-round.c (struct exactness): New type.
26919         (struct test): Change bool ld_ok field to struct exactness exact.
26920         (TEST): Update all definitions for change to field.
26921         (tests): Regenerate array contents.
26922         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26923         field value.  Check for IBM long double here.
26924         (do_test): Update calls to test_in_one_mode.
26926 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26928         [BZ #12515]
26929         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26930         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26932 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26934         [BZ #15605]
26935         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26936         generated by the compiler on loop optimizations.
26937         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26938         general definitions.
26940 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26942         * math/bug-nextafter.c: Include <math-tests.h>.
26943         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26944         the relevant type.
26945         * math/bug-nexttoward.c: Include <math-tests.h>.
26946         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26947         the relevant type.
26948         * math/test-misc.c: Include <math-tests.h>.
26949         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26950         the relevant type.
26952 2013-06-12  Andreas Jaeger  <aj@suse.de>
26954         * po/ia.po: Update Interlingua translation from translation
26955         project.
26957 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26959         * include/fenv.h: Include stdbool.h.
26960         (struct rm_ctx): New structure.
26961         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26962         Define macro.
26963         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26964         (SET_RESTORE_ROUNDF): Likewise.
26965         (SET_RESTORE_ROUNDL): Likewise.
26966         (SET_RESTORE_ROUND_NOEX): Likewise.
26967         (SET_RESTORE_ROUND_NOEXF): Likewise.
26968         (SET_RESTORE_ROUND_NOEXL): Likewise.
26969         (SET_RESTORE_ROUND_53BIT): Likewise.
26970         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26971         (libc_feresetround_noexf_ctx): Likewise.
26972         (libc_feresetround_noexl_ctx): Likewise.
26973         (libc_feholdsetround_53bit_ctx): Likewise.
26974         (libc_feresetround_53bit_ctx): Likewise.
26975         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26976         (libc_feholdexcept_setround_sse_ctx): New function.
26977         (libc_fesetenv_sse_ctx): Likewise.
26978         (libc_feupdateenv_sse_ctx): Likewise.
26979         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26980         (libc_feholdexcept_setround_387_ctx): Likewise.
26981         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26982         (libc_feholdsetround_387_prec_ctx): Likewise.
26983         (libc_feholdsetround_387_ctx): Likewise.
26984         (libc_feholdsetround_387_53bit_ctx): Likewise.
26985         (libc_feholdsetround_sse_ctx): Likewise.
26986         (libc_feresetround_sse_ctx): Likewise.
26987         (libc_feresetround_387_ctx): Likewise.
26988         (libc_feupdateenv_387_ctx): Likewise.
26989         (libc_feholdexcept_setroundf_ctx): Define macro.
26990         (libc_fesetenvf_ctx): Likewise.
26991         (libc_feupdateenvf_ctx): Likewise.
26992         (libc_feholdsetroundf_ctx): Likewise.
26993         (libc_feresetroundf_ctx): Likewise.
26994         (libc_feholdexcept_setround_ctx): Likewise.
26995         (libc_fesetenv_ctx): Likewise.
26996         (libc_feupdateenv_ctx): Likewise.
26997         (libc_feholdsetround_ctx): Likewise.
26998         (libc_feresetround_ctx): Likewise.
26999         (libc_feholdexcept_setroundl_ctx): Likewise.
27000         (libc_feupdateenvl_ctx): Likewise.
27001         (libc_feholdsetroundl_ctx): Likewise.
27002         (libc_feresetroundl_ctx): Likewise.
27003         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27004         (libc_feresetround_53bit_ctx): Likewise.
27006 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27008         * locale/iso-639.def: Convert to UTF-8.
27010 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
27012         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27013         (EXCEPTION_TESTS_double): Likewise.
27014         (EXCEPTION_TESTS_long_double): Likewise.
27015         (EXCEPTION_TESTS): Likewise.
27016         * math/libm-test.inc (test_exceptions): Only test exceptions if
27017         EXCEPTION_TESTS (FLOAT).
27019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021         * benchtests/Makefile (string-bench): Add strcpy_chk and
27022         stpcpy_chk.
27023         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27024         * benchtests/bench-stpcpy_chk.c: New file.
27025         * benchtests/bench-strcpy_chk-ifunc.c: New file.
27026         * benchtests/bench-strcpy_chk.c: New file.
27027         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27028         code.
27029         (do_test): Likewise.
27031 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27033         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27034         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27035         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27036         with tabs where appropriate.
27037         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27038         dl-procinfo.h.
27039         [PPC_PLATFORM_PPC440]: Likewise.
27040         [PPC_PLATFORM_PPC464]: Likewise.
27041         [PPC_PLATFORM_PPC476]: Likewise.
27042         (_dl_string_platform): Add support for detecting ppc405, ppc440,
27043         ppc464, and ppc476 platform strings merging from ports/
27044         dl-procinfo.h.
27046 2013-06-11  Andreas Schwab  <schwab@suse.de>
27048         [BZ #14991]
27049         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27050         (from_ucs4_idx): Regenerate.
27051         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27052         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27053         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27054         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27055         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27056         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27057         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27058         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27059         from FROM_LOOP and TO_LOOP specific macros.
27060         (BODY): Handle combining characters.
27061         * iconvdata/BIG5HKSCS.irreversible: Update.
27062         * iconvdata/BIG5HKSCS.precomposed: New file.
27063         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27064         characters.
27065         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27067 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27069         * include/sys/time.h: Fix indentation and add copyright header.
27071         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27072         (do_test): Likewise.
27073         * string/test-memchr.c (do_one_test): Likewise.
27074         (do_test): Likewise.
27075         * string/test-memcmp.c (do_one_test): Likewise.
27076         (do_test): Likewise.
27077         * string/test-memcpy.c (do_one_test): Likewise.
27078         (do_test): Likewise.
27079         * string/test-memmem.c (do_one_test): Likewise.
27080         (do_test): Likewise.
27081         (do_random_tests): Likewise.
27082         * string/test-memmove.c (do_one_test): Likewise.
27083         (do_test): Likewise.
27084         * string/test-memset.c (do_one_test): Likewise.
27085         (do_test): Likewise.
27086         * string/test-rawmemchr.c (do_one_test): Likewise.
27087         (do_test): Likewise.
27088         * string/test-strcasecmp.c (do_one_test): Likewise.
27089         (do_test): Likewise.
27090         * string/test-strcasestr.c (do_one_test): Likewise.
27091         (do_test): Likewise.
27092         * string/test-strcat.c (do_one_test): Likewise.
27093         (do_test): Likewise.
27094         * string/test-strchr.c (do_one_test): Likewise.
27095         (do_test): Likewise.
27096         * string/test-strcmp.c (do_one_test): Likewise.
27097         (do_test): Likewise.
27098         * string/test-strcpy.c (do_one_test): Likewise.
27099         (do_test): Likewise.
27100         * string/test-string.h: Likewise.
27101         (test_init): Likewise.
27102         * string/test-strlen.c (do_one_test): Likewise.
27103         (do_test): Likewise.
27104         * string/test-strncasecmp.c (do_one_test): Likewise.
27105         (do_test): Likewise.
27106         * string/test-strncat.c (do_one_test): Likewise.
27107         (do_test): Likewise.
27108         * string/test-strncmp.c (do_one_test): Likewise.
27109         (do_test_limit): Likewise.
27110         (do_test): Likewise.
27111         * string/test-strncpy.c (do_one_test): Likewise.
27112         (do_test): Likewise.
27113         * string/test-strnlen.c (do_one_test): Likewise.
27114         (do_test): Likewise.
27115         * string/test-strpbrk.c (do_one_test): Likewise.
27116         (do_test): Likewise.
27117         * string/test-strrchr.c (do_one_test): Likewise.
27118         (do_test): Likewise.
27119         * string/test-strspn.c (do_one_test): Likewise.
27120         (do_test): Likewise.
27121         * string/test-strstr.c (do_one_test): Likewise.
27122         (do_test): Likewise.
27124         * benchtests/Makefile (string-bench): Add string benchmarks.
27125         * benchtests/bench-bcopy-ifunc.c: New file.
27126         * benchtests/bench-bcopy.c: New file.
27127         * benchtests/bench-bzero-ifunc.c: New file.
27128         * benchtests/bench-bzero.c: New file.
27129         * benchtests/bench-memccpy-ifunc.c: New file.
27130         * benchtests/bench-memccpy.c: New file.
27131         * benchtests/bench-memchr-ifunc.c: New file.
27132         * benchtests/bench-memchr.c: New file.
27133         * benchtests/bench-memcmp-ifunc.c: New file.
27134         * benchtests/bench-memcmp.c: New file.
27135         * benchtests/bench-memmem-ifunc.c: New file.
27136         * benchtests/bench-memmem.c: New file.
27137         * benchtests/bench-memmove-ifunc.c: New file.
27138         * benchtests/bench-memmove.c: New file.
27139         * benchtests/bench-mempcpy-ifunc.c: New file.
27140         * benchtests/bench-mempcpy.c: New file.
27141         * benchtests/bench-memset-ifunc.c: New file.
27142         * benchtests/bench-memset.c: New file.
27143         * benchtests/bench-rawmemchr-ifunc.c: New file.
27144         * benchtests/bench-rawmemchr.c: New file.
27145         * benchtests/bench-stpcpy-ifunc.c: New file.
27146         * benchtests/bench-stpcpy.c: New file.
27147         * benchtests/bench-stpncpy-ifunc.c: New file.
27148         * benchtests/bench-stpncpy.c: New file.
27149         * benchtests/bench-strcasecmp-ifunc.c: New file.
27150         * benchtests/bench-strcasecmp.c: New file.
27151         * benchtests/bench-strcasestr-ifunc.c: New file.
27152         * benchtests/bench-strcasestr.c: New file.
27153         * benchtests/bench-strcat-ifunc.c: New file.
27154         * benchtests/bench-strcat.c: New file.
27155         * benchtests/bench-strchr-ifunc.c: New file.
27156         * benchtests/bench-strchr.c: New file.
27157         * benchtests/bench-strchrnul-ifunc.c: New file.
27158         * benchtests/bench-strchrnul.c: New file.
27159         * benchtests/bench-strcmp-ifunc.c: New file.
27160         * benchtests/bench-strcmp.c: New file.
27161         * benchtests/bench-strcpy-ifunc.c: New file.
27162         * benchtests/bench-strcpy.c: New file.
27163         * benchtests/bench-strcspn-ifunc.c: New file.
27164         * benchtests/bench-strcspn.c: New file.
27165         * benchtests/bench-strlen-ifunc.c: New file.
27166         * benchtests/bench-strlen.c: New file.
27167         * benchtests/bench-strncasecmp-ifunc.c: New file.
27168         * benchtests/bench-strncasecmp.c: New file.
27169         * benchtests/bench-strncat-ifunc.c: New file.
27170         * benchtests/bench-strncat.c: New file.
27171         * benchtests/bench-strncmp-ifunc.c: New file.
27172         * benchtests/bench-strncmp.c: New file.
27173         * benchtests/bench-strncpy-ifunc.c: New file.
27174         * benchtests/bench-strncpy.c: New file.
27175         * benchtests/bench-strnlen-ifunc.c: New file.
27176         * benchtests/bench-strnlen.c: New file.
27177         * benchtests/bench-strpbrk-ifunc.c: New file.
27178         * benchtests/bench-strpbrk.c: New file.
27179         * benchtests/bench-strrchr-ifunc.c: New file.
27180         * benchtests/bench-strrchr.c: New file.
27181         * benchtests/bench-strspn-ifunc.c: New file.
27182         * benchtests/bench-strspn.c: New file.
27183         * benchtests/bench-strstr-ifunc.c: New file.
27184         * benchtests/bench-strstr.c: New file.
27186         * benchtests/Makefile: Disable parallel execution of targets.
27187         (string-bench): Add memcpy.
27188         (benchset): New variable to store a list of benchmark sets.
27189         (bench-func): Renamed from bench.
27190         (bench-set): New target.
27191         (bench): Depend on bench-func and bench-set.
27192         * benchtests/README: Add section on benchmark sets.
27193         * benchtests/bench-memcpy-ifunc.c: New file.
27194         * benchtests/bench-memcpy.c: New file.
27195         * benchtests/bench-string.h: New file.
27197 2013-06-11  Andreas Schwab  <schwab@suse.de>
27199         [BZ #15577]
27200         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27201         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27202         values in the triple.
27203         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27204         terminator in the group key.
27206 2013-06-11  Andreas Jaeger  <aj@suse.de>
27208         * po/zh_TW.po: Update Chinese (traditional) translation from
27209         translation project.
27211 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27213         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27214         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27215         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27216         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27217         (clock_getcpuclockid): Likewise.
27218         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27219         Add weak_alias and libc_hidden_def.
27220         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27221         * rt/clock_gettime.c (clock_gettime): Rename to
27222         __clock_gettime.  Add weak_alias and libc_hidden_def.
27223         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27224         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27225         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27226         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27227         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27228         Likewise.
27229         * rt/clock_settime.c (clock_settime): Rename to
27230         __clock_settime.  Add weak_alias and libc_hidden_def.
27231         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27233 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27235         * mach/err_boot.sub: Remove trailing whitespace.
27236         * mach/err_ipc.sub: Likewise.
27237         * mach/err_mach.sub: Likewise.
27239         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27240         (ROUNDING_TESTS_double): Likewise.
27241         (ROUNDING_TESTS_long_double): Likewise.
27242         (ROUNDING_TESTS): Likewise.
27243         * math/libm-test.inc: Include <math-tests.h>.
27244         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27245         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27246         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27247         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27249 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27251         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27252         of assigning.
27254 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27256         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27257         otherwise empty TRANS lines.
27258         * sysdeps/gnu/errlist.c: Regenerated.
27260         * catgets/gencat.c (error_print): Use (void) in function
27261         definition.
27262         * crypt/crypt_util.c (__init_des): Likewise.
27263         * crypt/speeds.c (Stop): Likewise.
27264         (main): Likewise.
27265         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27266         * inet/ruserpass.c (token): Likewise.
27267         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27268         * intl/localealias.c (extend_alias_table): Likewise.
27269         * intl/plural-exp.c (init_germanic_plural): Likewise.
27270         * libio/fcloseall.c (__fcloseall): Likewise.
27271         * libio/genops.c (_IO_flush_all): Likewise.
27272         (_IO_flush_all_linebuffered): Likewise.
27273         (_IO_cleanup): Likewise.
27274         (_IO_iter_begin): Likewise.
27275         (_IO_iter_end): Likewise.
27276         (_IO_list_lock): Likewise.
27277         (_IO_list_unlock): Likewise.
27278         (_IO_list_resetlock): Likewise.
27279         * libio/getchar.c (getchar): Likewise.
27280         * libio/getchar_u.c (getchar_unlocked): Likewise.
27281         * libio/getwchar.c (getwchar): Likewise.
27282         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27283         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27284         * login/getpt.c (__getpt): Likewise.
27285         * login/tst-utmp.c (main): Likewise.
27286         * malloc/hooks.c (__malloc_check_init): Likewise.
27287         * malloc/malloc.c (__malloc_stats): Likewise.
27288         * malloc/mtrace.c (tr_break): Likewise.
27289         (mtrace): Likewise.
27290         (muntrace): Likewise.
27291         * misc/fstab.c (endfsent): Likewise.
27292         * misc/getclktck.c (__getclktck): Likewise.
27293         * misc/getdtsz.c (__getdtablesize): Likewise.
27294         * misc/gethostid.c (gethostid): Likewise.
27295         * misc/getpagesize.c (__getpagesize): Likewise.
27296         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27297         (__get_nprocs): Likewise.
27298         (__get_phys_pages): Likewise.
27299         (__get_avphys_pages): Likewise.
27300         * misc/getttyent.c (getttyent): Likewise.
27301         (setttyent): Likewise.
27302         (endttyent): Likewise.
27303         * misc/getusershell.c (getusershell): Likewise.
27304         (endusershell): Likewise.
27305         (setusershell): Likewise.
27306         (initshells): Likewise.
27307         * misc/hsearch.c (__hdestroy): Likewise.
27308         * misc/sync.c (sync): Likewise.
27309         * misc/syslog.c (closelog_internal): Likewise.
27310         (closelog): Likewise.
27311         * misc/ttyslot.c (ttyslot): Likewise.
27312         * misc/vhangup.c (vhangup): Likewise.
27313         * posix/fork.c (__fork): Likewise.
27314         * posix/getegid.c (__getegid): Likewise.
27315         * posix/geteuid.c (__geteuid): Likewise.
27316         * posix/getgid.c (__getgid): Likewise.
27317         * posix/getpid.c (__getpid): Likewise.
27318         * posix/getppid.c (__getppid): Likewise.
27319         * posix/getuid.c (__getuid): Likewise.
27320         * posix/pause.c (pause): Likewise.
27321         * posix/setpgrp.c (setpgrp): Likewise.
27322         * posix/setsid.c (__setsid): Likewise.
27323         * posix/test-vfork.c (noop): Likewise.
27324         * resolv/gethnamaddr.c (_endhtent): Likewise.
27325         (_gethtent): Likewise.
27326         (ht_endhostent): Likewise.
27327         (gethostent): Likewise.
27328         (dns_service): Likewise.
27329         * stdlib/drand48.c (drand48): Likewise.
27330         * stdlib/lrand48.c (lrand48): Likewise.
27331         * stdlib/mrand48.c (mrand48): Likewise.
27332         * stdlib/rand.c (rand): Likewise.
27333         * stdlib/random.c (__random): Likewise.
27334         * stdlib/setenv.c (clearenv): Likewise.
27335         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27336         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27337         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27338         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27339         (__get_nprocs): Likewise.
27340         (__get_phys_pages): Likewise.
27341         (__get_avphys_pages): Likewise.
27342         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27343         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27344         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27345         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27346         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27347         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27348         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27349         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27350         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27351         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27352         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27353         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27354         * sysdeps/posix/clock.c (clock): Likewise.
27355         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27356         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27357         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27358         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27359         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27361         (__get_nprocs_conf): Likewise.
27362         (__get_phys_pages): Likewise.
27363         (__get_avphys_pages): Likewise.
27364         * time/clock.c (clock): Likewise.
27365         * time/tzset.c (__tzname_max): Likewise.
27367 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27369         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27370         (__bswap_32): Do not use "register".
27371         * crypt/crypt.c (_ufc_doit_r): Likewise.
27372         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27373         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27374         * gmon/gmon.c (__monstartup): Likewise.
27375         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27376         * hurd/hurdmalloc.c (more_memory): Likewise.
27377         (malloc): Likewise.
27378         (free): Likewise.
27379         (realloc): Likewise.
27380         (malloc_fork_prepare): Likewise.
27381         (malloc_fork_parent): Likewise.
27382         (malloc_fork_child): Likewise.
27383         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27384         (_svcauth_des): Likewise.
27385         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27386         * inet/inet_net.c (inet_network): Likewise.
27387         * inet/inet_netof.c (inet_netof): Likewise.
27388         * inet/rcmd.c (__validuser2_sa): Likewise.
27389         * io/fts.c (fts_open): Likewise.
27390         (fts_load): Likewise.
27391         (fts_close): Likewise.
27392         (fts_read): Likewise.
27393         (fts_children): Likewise.
27394         (fts_build): Likewise.
27395         (fts_stat): Likewise.
27396         (fts_sort): Likewise.
27397         (fts_alloc): Likewise.
27398         (fts_lfree): Likewise.
27399         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27400         (_IO_file_xsgetn): Likewise.
27401         (_IO_file_xsgetn_mmap): Likewise.
27402         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27403         (_IO_cookie_write): Likewise.
27404         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27405         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27406         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27407         * malloc/obstack.c (_obstack_begin): Likewise.
27408         (_obstack_begin_1): Likewise.
27409         (_obstack_newchunk): Likewise.
27410         (_obstack_allocated_p): Likewise.
27411         (obstack_free): Likewise.
27412         (_obstack_memory_used): Likewise.
27413         * misc/getttyent.c (getttynam): Likewise.
27414         (getttyent): Likewise.
27415         (skip): Likewise.
27416         (value): Likewise.
27417         * misc/getusershell.c (initshells): Likewise.
27418         * misc/syslog.c (__vsyslog_chk): Likewise.
27419         * misc/ttyslot.c (ttyslot): Likewise.
27420         * nis/nis_hash.c (__nis_hash): Likewise.
27421         * posix/fnmatch_loop.c (FCT): Likewise.
27422         * posix/getconf.c (print_all): Likewise.
27423         (main): Likewise.
27424         * posix/getopt.c (exchange): Likewise.
27425         * posix/glob.c (globfree): Likewise.
27426         (prefix_array): Likewise.
27427         (__glob_pattern_type): Likewise.
27428         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27429         (NS_GET32): Likewise.
27430         (NS_PUT16): Likewise.
27431         (NS_PUT32): Likewise.
27432         * resolv/gethnamaddr.c (getanswer): Likewise.
27433         (gethostbyname2): Likewise.
27434         (gethostbyaddr): Likewise.
27435         (_gethtent): Likewise.
27436         (_gethtbyname2): Likewise.
27437         (_gethtbyaddr): Likewise.
27438         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27439         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27440         * resolv/res_init.c (__res_vinit): Likewise.
27441         (net_mask): Likewise.
27442         * resolv/res_mkquery.c (outchar): Likewise.
27443         (PRINT): Likewise.
27444         * stdio-common/printf_fp.c (outchar): Likewise.
27445         (PRINT): Likewise.
27446         * stdio-common/printf_fphex.c (outchar): Likewise.
27447         (PRINT): Likewise.
27448         * stdio-common/printf_size.c (outchar): Likewise.
27449         (PRINT): Likewise.
27450         * stdio-common/test_rdwr.c (main): Likewise.
27451         * stdio-common/tfformat.c (matches): Likewise.
27452         * stdio-common/vfprintf.c (outchar): Likewise.
27453         (printf_unknown): Likewise.
27454         (buffered_vfprintf): Likewise.
27455         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27456         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27457         (ReadFile): Likewise.
27458         * stdlib/qsort.c (SWAP): Likewise.
27459         (_quicksort): Likewise.
27460         * stdlib/setenv.c (__add_to_environ): Likewise.
27461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27462         * stdlib/strtol_l.c (__strtol_l): Likewise.
27463         * stdlib/tst-strtod.c (main): Likewise.
27464         * stdlib/tst-strtol.c (main): Likewise.
27465         * stdlib/tst-strtoll.c (main): Likewise.
27466         * string/bits/string2.h (__strcmp_cc): Likewise.
27467         (__strcmp_cg): Likewise.
27468         (__strcspn_c1): Likewise.
27469         (__strcspn_c2): Likewise.
27470         (__strcspn_c3): Likewise.
27471         (__strspn_c1): Likewise.
27472         (__strspn_c2): Likewise.
27473         (__strspn_c3): Likewise.
27474         (__strsep_1c): Likewise.
27475         (__strsep_2c): Likewise.
27476         (__strsep_3c): Likewise.
27477         * string/memccpy.c (__memccpy): Likewise.
27478         * string/stpcpy.c (__stpcpy): Likewise.
27479         * string/strcmp.c (strcmp): Likewise.
27480         * string/strrchr.c (strrchr): Likewise.
27481         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27482         Likewise.
27483         * sysdeps/mach/hurd/getcwd.c
27484         (_hurd_canonicalize_directory_name_internal): Likewise.
27485         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27486         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27487         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27488         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27489         Likewise, in both definitions.
27490         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27491         definitions.
27492         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27493         64] (__bswap_64): Likewise.
27494         * time/test_time.c (main): Likewise.
27495         * time/tzfile.c (__tzfile_read): Likewise.
27496         (__tzfile_compute): Likewise.
27497         * time/tzset.c (__tzset_parse_tz): Likewise.
27498         (tzset_internal): Likewise.
27499         (compute_change): Likewise.
27500         * wcsmbs/wcscat.c (__wcscat): Likewise.
27501         * wcsmbs/wcschr.c (wcschr): Likewise.
27502         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27503         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27504         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27505         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27506         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27507         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27508         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27509         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27510         * wcsmbs/wmemset.c (wmemset): Likewise.
27512 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27514         * scripts/config.guess: Update to version 2013-05-16.
27515         * scripts/config.sub: Update to version 2013-04-24.
27516         * scripts/install-sh: Update to version 2011-11-20.07.
27517         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27518         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27520 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27522         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27523         * elf/sln.c: Likewise.
27524         * hurd/hurd/ioctl.h: Likewise.
27525         * hurd/hurdmalloc.c: Likewise.
27526         * hurd/xattr.c: Likewise.
27527         * include/shlib-compat.h: Likewise.
27528         * inet/ruserpass.c: Likewise.
27529         * libio/iofgets_u.c: Likewise.
27530         * libio/iofgetws_u.c: Likewise.
27531         * locale/programs/ld-identification.c: Likewise.
27532         * locale/programs/ld-time.c: Likewise.
27533         * mach/msg-destroy.c: Likewise.
27534         * nss/nss_files/files-netgrp.c: Likewise.
27535         * resolv/res_data.c: Likewise.
27536         * soft-fp/op-1.h: Likewise.
27537         * soft-fp/op-2.h: Likewise.
27538         * soft-fp/op-4.h: Likewise.
27539         * soft-fp/op-common.h: Likewise.
27540         * stdio-common/printf_fphex.c: Likewise.
27541         * stdlib/strtod_l.c: Likewise.
27542         * sunrpc/rpc/clnt.h: Likewise.
27543         * sysdeps/generic/framestate.c: Likewise.
27544         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27545         * sysdeps/i386/bsd-setjmp.S: Likewise.
27546         * sysdeps/i386/__longjmp.S: Likewise.
27547         * sysdeps/i386/setjmp.S: Likewise.
27548         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27551         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27553         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27554         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27555         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27556         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27557         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27558         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27559         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27560         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27561         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27562         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27563         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27564         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27565         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27566         * sysdeps/ieee754/support.c: Likewise.
27567         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27568         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27569         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27570         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27571         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27572         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27573         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27574         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27575         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27576         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27577         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27578         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27579         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27580         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27581         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27582         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27583         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27586 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27588         * posix/transbug.c: Remove executable mode.
27590 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27592         * crypt/speeds.c: Remove trailing whitespace.
27593         * dlfcn/default.c: Likewise.
27594         * elf/ifuncdep2.c: Likewise.
27595         * elf/ifuncmain1.c: Likewise.
27596         * elf/ifuncmain1vis.c: Likewise.
27597         * elf/testobj.h: Likewise.
27598         * elf/tst-stackguard1.c: Likewise.
27599         * gmon/sys/gmon.h: Likewise.
27600         * hurd/hurdmsg.c: Likewise.
27601         * hurd/new-fd.c: Likewise.
27602         * hurd/ports-get.c: Likewise.
27603         * iconvdata/ibm1008_420.c: Likewise.
27604         * inet/tst-getni1.c: Likewise.
27605         * inet/tst-getni2.c: Likewise.
27606         * libio/ioungetc.c: Likewise.
27607         * libio/wfiledoalloc.c: Likewise.
27608         * manual/libm-err-tab.pl: Likewise.
27609         * math/w_dremf.c: Likewise.
27610         * misc/ftruncate.c: Likewise.
27611         * posix/bug-glob2.c: Likewise.
27612         * posix/tst-pcre.c: Likewise.
27613         * posix/wait4.c: Likewise.
27614         * resolv/README: Likewise.
27615         * resolv/res_debug.h: Likewise.
27616         * resolv/tst-inet_ntop.c: Likewise.
27617         * setjmp/bug269-setjmp.c: Likewise.
27618         * soft-fp/extended.h: Likewise.
27619         * soft-fp/op-1.h: Likewise.
27620         * soft-fp/op-2.h: Likewise.
27621         * soft-fp/op-4.h: Likewise.
27622         * soft-fp/op-8.h: Likewise.
27623         * soft-fp/testit.c: Likewise.
27624         * stdio-common/bug16.c: Likewise.
27625         * stdlib/random.c: Likewise.
27626         * sunrpc/rpcsvc/rquota.x: Likewise.
27627         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27628         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27629         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27630         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27631         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27632         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27633         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27634         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27635         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27636         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27637         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27638         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27639         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27640         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27641         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27642         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27643         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27644         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27645         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27646         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27647         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27648         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27649         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27650         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27651         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27652         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27654         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27655         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27656         * sysdeps/ieee754/s_lib_version.c: Likewise.
27657         * sysdeps/mach/hurd/check_fds.c: Likewise.
27658         * sysdeps/mach/hurd/getsockname.c: Likewise.
27659         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27660         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27661         * sysdeps/powerpc/bits/link.h: Likewise.
27662         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27663         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27664         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27665         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27666         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27667         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27668         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27669         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27670         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27671         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27672         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27673         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27674         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27675         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27676         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27677         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27678         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27679         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27680         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27681         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27682         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27683         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27684         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27685         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27686         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27687         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27688         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27689         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27690         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27691         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27692         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27693         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27694         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27695         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27696         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27697         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27698         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27699         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27700         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27701         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27702         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27703         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27704         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27705         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27706         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27707         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27708         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27709         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27710         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27711         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27714         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27715         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27716         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27717         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27718         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27719         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27720         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27721         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27722         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27723         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27724         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27725         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27726         * sysdeps/powerpc/sysdep.h: Likewise.
27727         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27728         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27729         * sysdeps/sh/dl-trampoline.S: Likewise.
27730         * sysdeps/sh/memset.S: Likewise.
27731         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27732         * sysdeps/sh/strlen.S: Likewise.
27733         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27734         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27735         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27736         * sysdeps/sparc/sparc32/rem.S: Likewise.
27737         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27738         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27739         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27740         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27741         * sysdeps/sparc/sparc32/urem.S: Likewise.
27742         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27743         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27744         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27745         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27746         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27747         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27748         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27749         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27750         * sysdeps/unix/bsd/times.c: Likewise.
27751         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27752         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27756         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27757         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27758         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27759         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27760         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27761         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27762         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27763         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27764         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27765         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27766         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27767         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27768         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27769         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27770         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27771         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27772         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27773         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27774         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27775         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27776         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27777         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27779         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27780         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27781         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27782         * sysdeps/x86_64/strcspn.S: Likewise.
27784 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27786         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27787         generated file.  Regenerate properly from gen-translit.pl.
27788         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27789         locale/C-translit.h.
27791 2013-06-05  Andreas Schwab  <schwab@suse.de>
27793         [BZ #15100]
27794         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27795         week as 6 instead of -1.
27796         * time/tst-strptime.c (day_tests): Add test case.
27798 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27800         * sysdeps/generic/math_private.h
27801         (libc_feholdexcept_setround_53bit): Replace with
27802         libc_feholdsetround_53bit.
27803         (libc_feupdateenv_53bit): Replace with
27804         libc_feresetround_53bit.
27805         (SET_RESTORE_ROUND_53BIT): Adjust.
27807 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27809         * string/test-strchrnul.c: Add copyright header.
27811         * posix/tst-getaddrinfo4.c: Increase test timeout.
27813 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27815         [BZ #15536]
27816         * math/libm-test.inc (MAX_EXP): Remove
27817         (MIN_EXP): Define.
27818         (ulp): Use MIN_EXP - MANT_DIG.
27819         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27821 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27823         * po/be.po: Revert last change.
27824         * po/zh_CN.po: Likewise.
27825         * po/header.pot: Likewise.
27827 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27829         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27830         link-libc-deps to empty as target-specific variable.
27831         * Makerules (link-libc-args): New variable.
27832         (libc-for-link): Likewise.
27833         (link-libc-deps): Likewise.
27834         (lib%.so): Depend on $(link-libc-deps).  Link with
27835         $(link-libc-args).
27836         (build-module): Link with $(link-libc-args).
27837         (build-module-asneeded): Likewise.
27838         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27839         list of objects.
27840         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27841         target-specific variable.
27842         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27843         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27844         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27845         libc.
27846         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27847         libc and ld.so.
27848         ($(objpfx)libpcprofile.so): Likewise.
27849         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27850         libc_nonshared.a.
27851         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27852         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27853         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27854         $(link-libc-deps).
27855         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27856         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27857         * login/Makefile ($(objpfx)libutil.so): Likewise.
27858         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27859         * math/Makefile ($(objpfx)libm.so): Likewise.
27860         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27861         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27862         variable instead of depending directly on libc.
27863         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27864         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27865         $(link-libc-deps).
27866         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27867         libc.
27868         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27869         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27870         ($(objpfx)libanl.so): Likewise.
27871         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27872         ld.so.
27873         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27874         $(link-libc-deps).
27875         * sysdeps/i386/fpu/Makefile: Remove file.
27876         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27877         ($(objpfx)libm.so): Remove dependency on ld.so.
27879 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27881         [BZ # 15553]
27882         * nis/yp_xdr.c (XDRMAXNAME): Define.
27883         (XDRMAXRECORD): Define.
27884         (xdr_domainname): Use XDRMAXNAME.
27885         (xdr_mapname): Likewise.
27886         (xdr_peername): Likewise.
27887         (xdr_keydat): Use XDRMAXRECORD.
27888         (xdr_valdat): Likewise.
27890 2013-05-30  Jeff Law  <law@redhat.com>
27892         [BZ #14256]
27893         * manual/errno.texi (ESTALE): Update to account for more than
27894         just NFS file systems.
27895         * sysdeps/gnu/errlist.c: Regenerated.
27897 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27899         [BZ #15465]
27900         * elf/Makefile (tests): Add tst-null-argv.
27901         (modules-names):  Add tst-null-argv-lib.
27902         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27903         (tst-null-argv-ENV): Set environment for tst-null-argv.
27904         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27905         (RTLD_PROGNAME): New macro.
27906         * elf/tst-null-argv.c: New test case.
27907         * elf/tst-null-argv-lib.c: Library for test case.
27908         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27909         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27910         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27911         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27912         * elf/dl-init.c (call_init): Likewise.
27913         (_dl_init): Likewise.
27914         * elf/dl-load.c (print_search_path): Likewise.
27915         (_dl_map_object): Likewise.
27916         * elf/dl-lookup.c (do_lookup_x): Likewise.
27917         (add_dependency): Likewise.
27918         (_dl_lookup_symbol_x): Likewise.
27919         (_dl_debug_bindings): Likewise.
27920         * elf/dl-open.c (_dl_show_scope): Likewise.
27921         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27922         * elf/dl-version.c (match_symbol): Likewise.
27923         (_dl_check_map_versions): Likewise.
27924         * elf/rtld.c (dl_main): Likewise.
27925         (print_unresolved): Use RTLD_PROGNAME.
27926         (print_missing_version): Likewise.
27927         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27928         (elf_machine_rela): Likewise.
27929         * sysdeps/powerpc/powerpc32/dl-machine.c
27930         (__process_machine_rela): Likewise.
27931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27932         Likewise.
27933         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27934         Likewise.
27935         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27936         Likewise.
27937         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27939         Likewise.
27940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27941         Likewise.
27942         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27944 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27946         * po/be.po: Add descriptive title.
27947         * po/zh_CN.po: Likewise.
27948         * po/header.pot: Likewise.
27950 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27952         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27953         error message.
27954         (enlarge_archive): Likewise.
27956 2013-05-28  Ben North  <ben@redfrontdoor.org>
27958         * manual/arith.texi (frexp): It is the magnitude of the return
27959         value which lies in [0.5, 1), not the return value itself.
27961 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27965 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27967         * stdio-common/bug26.c (main): Correct fscanf template.
27969         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27970         declare _dl_skip_args.
27972         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27973         Don't declare.
27975         * manual/platform.texi: Add missing @end deftypefun.
27977 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27979         [BZ #15529]
27980         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27981         bit of mantissa of 2^16382.
27982         * math/libm-test.inc (hypot_test_data): Add more tests.
27984         * math/libm-test.inc: Add drem and pow10 to list of tested
27985         functions.
27986         (pow10_test): New function.
27987         (drem_test): Likewise.
27988         (drem_test_tonearest): Likewise.
27989         (drem_test_towardzero): Likewise.
27990         (drem_test_downward): Likewise.
27991         (drem_test_upward): Likewise.
27992         (main): Call the new functions.
27994         * math/libm-test.inc (finite_test_data): Remove.
27995         (finite_test): Run tests from isfinite_test_data.
27996         (gamma_test_data): Remove.
27997         (gamma_test): Run tests from lgamma_test_data.
27998         * sysdeps/i386/fpu/libm-test-ulps: Update.
27999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28001 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28003         * manual/platform.texi: Add PowerPC PPR function set documentation.
28004         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28005         implementation.
28007 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
28009         * math/libm-test.inc (MAX_EXP): Define.
28010         (ULPDIFF): Define.
28011         (ulp): New function.
28012         (check_float_internal): Use ULPDIFF.
28013         (cpow_test): Disable failing test.
28014         (check_ulp): Test ulp() implemetnation.
28015         (main): Call check_ulp before starting tests.
28017 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28019         * math/gen-libm-test.pl (generate_testfile): Do not handle
28020         START_DATA and END_DATA.
28021         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28022         END_DATA.
28023         (acos_tonearest_test_data): Likewise.
28024         (acos_towardzero_test_data): Likewise.
28025         (acos_downward_test_data): Likewise.
28026         (acos_upward_test_data): Likewise.
28027         (acosh_test_data): Likewise.
28028         (asin_test_data): Likewise.
28029         (asin_tonearest_test_data): Likewise.
28030         (asin_towardzero_test_data): Likewise.
28031         (asin_downward_test_data): Likewise.
28032         (asin_upward_test_data): Likewise.
28033         (asinh_test_data): Likewise.
28034         (atan_test_data): Likewise.
28035         (atanh_test_data): Likewise.
28036         (atan2_test_data): Likewise.
28037         (cabs_test_data): Likewise.
28038         (cacos_test_data): Likewise.
28039         (cacosh_test_data): Likewise.
28040         (carg_test_data): Likewise.
28041         (casin_test_data): Likewise.
28042         (casinh_test_data): Likewise.
28043         (catan_test_data): Likewise.
28044         (catanh_test_data): Likewise.
28045         (cbrt_test_data): Likewise.
28046         (ccos_test_data): Likewise.
28047         (ccosh_test_data): Likewise.
28048         (ceil_test_data): Likewise.
28049         (cexp_test_data): Likewise.
28050         (cimag_test_data): Likewise.
28051         (clog_test_data): Likewise.
28052         (clog10_test_data): Likewise.
28053         (conj_test_data): Likewise.
28054         (copysign_test_data): Likewise.
28055         (cos_test_data): Likewise.
28056         (cos_tonearest_test_data): Likewise.
28057         (cos_towardzero_test_data): Likewise.
28058         (cos_downward_test_data): Likewise.
28059         (cos_upward_test_data): Likewise.
28060         (cosh_test_data): Likewise.
28061         (cosh_tonearest_test_data): Likewise.
28062         (cosh_towardzero_test_data): Likewise.
28063         (cosh_downward_test_data): Likewise.
28064         (cosh_upward_test_data): Likewise.
28065         (cpow_test_data): Likewise.
28066         (cproj_test_data): Likewise.
28067         (creal_test_data): Likewise.
28068         (csin_test_data): Likewise.
28069         (csinh_test_data): Likewise.
28070         (csqrt_test_data): Likewise.
28071         (ctan_test_data): Likewise.
28072         (ctan_tonearest_test_data): Likewise.
28073         (ctan_towardzero_test_data): Likewise.
28074         (ctan_downward_test_data): Likewise.
28075         (ctan_upward_test_data): Likewise.
28076         (ctanh_test_data): Likewise.
28077         (ctanh_tonearest_test_data): Likewise.
28078         (ctanh_towardzero_test_data): Likewise.
28079         (ctanh_downward_test_data): Likewise.
28080         (ctanh_upward_test_data): Likewise.
28081         (erf_test_data): Likewise.
28082         (erfc_test_data): Likewise.
28083         (exp_test_data): Likewise.
28084         (exp_tonearest_test_data): Likewise.
28085         (exp_towardzero_test_data): Likewise.
28086         (exp_downward_test_data): Likewise.
28087         (exp_upward_test_data): Likewise.
28088         (exp10_test_data): Likewise.
28089         (exp2_test_data): Likewise.
28090         (expm1_test_data): Likewise.
28091         (fabs_test_data): Likewise.
28092         (fdim_test_data): Likewise.
28093         (finite_test_data): Likewise.
28094         (floor_test_data): Likewise.
28095         (fma_test_data): Likewise.
28096         (fma_towardzero_test_data): Likewise.
28097         (fma_downward_test_data): Likewise.
28098         (fma_upward_test_data): Likewise.
28099         (fmax_test_data): Likewise.
28100         (fmin_test_data): Likewise.
28101         (fmod_test_data): Likewise.
28102         (fpclassify_test_data): Likewise.
28103         (frexp_test_data): Likewise.
28104         (gamma_test_data): Likewise.
28105         (hypot_test_data): Likewise.
28106         (ilogb_test_data): Likewise.
28107         (isfinite_test_data): Likewise.
28108         (isgreater_test_data): Likewise.
28109         (isgreaterequal_test_data): Likewise.
28110         (isinf_test_data): Likewise.
28111         (isless_test_data): Likewise.
28112         (islessequal_test_data): Likewise.
28113         (islessgreater_test_data): Likewise.
28114         (isnan_test_data): Likewise.
28115         (isnormal_test_data): Likewise.
28116         (issignaling_test_data): Likewise.
28117         (isunordered_test_data): Likewise.
28118         (j0_test_data): Likewise.
28119         (j1_test_data): Likewise.
28120         (jn_test_data): Likewise.
28121         (ldexp_test_data): Likewise.
28122         (lgamma_test_data): Likewise.
28123         (lrint_test_data): Likewise.
28124         (lrint_tonearest_test_data): Likewise.
28125         (lrint_towardzero_test_data): Likewise.
28126         (lrint_downward_test_data): Likewise.
28127         (lrint_upward_test_data): Likewise.
28128         (llrint_test_data): Likewise.
28129         (llrint_tonearest_test_data): Likewise.
28130         (llrint_towardzero_test_data): Likewise.
28131         (llrint_downward_test_data): Likewise.
28132         (llrint_upward_test_data): Likewise.
28133         (log_test_data): Likewise.
28134         (log10_test_data): Likewise.
28135         (log1p_test_data): Likewise.
28136         (log2_test_data): Likewise.
28137         (logb_test_data): Likewise.
28138         (logb_downward_test_data): Likewise.
28139         (lround_test_data): Likewise.
28140         (llround_test_data): Likewise.
28141         (modf_test_data): Likewise.
28142         (nearbyint_test_data): Likewise.
28143         (nextafter_test_data): Likewise.
28144         (nexttoward_test_data): Likewise.
28145         (pow_test_data): Likewise.
28146         (pow_tonearest_test_data): Likewise.
28147         (pow_towardzero_test_data): Likewise.
28148         (pow_downward_test_data): Likewise.
28149         (pow_upward_test_data): Likewise.
28150         (remainder_test_data): Likewise.
28151         (remainder_tonearest_test_data): Likewise.
28152         (remainder_towardzero_test_data): Likewise.
28153         (remainder_downward_test_data): Likewise.
28154         (remainder_upward_test_data): Likewise.
28155         (remquo_test_data): Likewise.
28156         (rint_test_data): Likewise.
28157         (rint_tonearest_test_data): Likewise.
28158         (rint_towardzero_test_data): Likewise.
28159         (rint_downward_test_data): Likewise.
28160         (rint_upward_test_data): Likewise.
28161         (round_test_data): Likewise.
28162         (scalb_test_data): Likewise.
28163         (scalbn_test_data): Likewise.
28164         (scalbln_test_data): Likewise.
28165         (signbit_test_data): Likewise.
28166         (sin_test_data): Likewise.
28167         (sin_tonearest_test_data): Likewise.
28168         (sin_towardzero_test_data): Likewise.
28169         (sin_downward_test_data): Likewise.
28170         (sin_upward_test_data): Likewise.
28171         (sincos_test_data): Likewise.
28172         (sinh_test_data): Likewise.
28173         (sinh_tonearest_test_data): Likewise.
28174         (sinh_towardzero_test_data): Likewise.
28175         (sinh_downward_test_data): Likewise.
28176         (sinh_upward_test_data): Likewise.
28177         (sqrt_test_data): Likewise.
28178         (tan_test_data): Likewise.
28179         (tan_tonearest_test_data): Likewise.
28180         (tan_towardzero_test_data): Likewise.
28181         (tan_downward_test_data): Likewise.
28182         (tan_upward_test_data): Likewise.
28183         (tanh_test_data): Likewise.
28184         (tgamma_test_data): Likewise.
28185         (trunc_test_data): Likewise.
28186         (y0_test_data): Likewise.
28187         (y1_test_data): Likewise.
28188         (yn_test_data): Likewise.
28189         (significand_test_data): Likewise.
28191         * math/gen-libm-test.pl (@functions): Remove variable.
28192         (generate_testfile): Don't handle START and END lines.
28193         * math/libm-test.inc (START): New macro.
28194         (END): Likewise.
28195         (END_COMPLEX): Likewise.
28196         (acos_test): Use END macro without arguments.
28197         (acos_test_tonearest): Likewise.
28198         (acos_test_towardzero): Likewise.
28199         (acos_test_downward): Likewise.
28200         (acos_test_upward): Likewise.
28201         (acosh_test): Likewise.
28202         (asin_test): Likewise.
28203         (asin_test_tonearest): Likewise.
28204         (asin_test_towardzero): Likewise.
28205         (asin_test_downward): Likewise.
28206         (asin_test_upward): Likewise.
28207         (asinh_test): Likewise.
28208         (atan_test): Likewise.
28209         (atanh_test): Likewise.
28210         (atan2_test): Likewise.
28211         (cabs_test): Likewise.
28212         (cacos_test): Use END_COMPLEX macro without arguments.
28213         (cacosh_test): Likewise.
28214         (carg_test): Use END macro without arguments.
28215         (casin_test): Use END_COMPLEX macro without arguments.
28216         (casinh_test): Likewise.
28217         (catan_test): Likewise.
28218         (catanh_test): Likewise.
28219         (cbrt_test): Use END macro without arguments.
28220         (ccos_test): Use END_COMPLEX macro without arguments.
28221         (ccosh_test): Likewise.
28222         (ceil_test): Use END macro without arguments.
28223         (cexp_test): Use END_COMPLEX macro without arguments.
28224         (cimag_test): Use END macro without arguments.
28225         (clog_test): Use END_COMPLEX macro without arguments.
28226         (clog10_test): Likewise.
28227         (conj_test): Likewise.
28228         (copysign_test): Use END macro without arguments.
28229         (cos_test): Likewise.
28230         (cos_test_tonearest): Likewise.
28231         (cos_test_towardzero): Likewise.
28232         (cos_test_downward): Likewise.
28233         (cos_test_upward): Likewise.
28234         (cosh_test): Likewise.
28235         (cosh_test_tonearest): Likewise.
28236         (cosh_test_towardzero): Likewise.
28237         (cosh_test_downward): Likewise.
28238         (cosh_test_upward): Likewise.
28239         (cpow_test): Use END_COMPLEX macro without arguments.
28240         (cproj_test): Likewise.
28241         (creal_test): Use END macro without arguments.
28242         (csin_test): Use END_COMPLEX macro without arguments.
28243         (csinh_test): Likewise.
28244         (csqrt_test): Likewise.
28245         (ctan_test): Likewise.
28246         (ctan_test_tonearest): Likewise.
28247         (ctan_test_towardzero): Likewise.
28248         (ctan_test_downward): Likewise.
28249         (ctan_test_upward): Likewise.
28250         (ctanh_test): Likewise.
28251         (ctanh_test_tonearest): Likewise.
28252         (ctanh_test_towardzero): Likewise.
28253         (ctanh_test_downward): Likewise.
28254         (ctanh_test_upward): Likewise.
28255         (erf_test): Use END macro without arguments.
28256         (erfc_test): Likewise.
28257         (exp_test): Likewise.
28258         (exp_test_tonearest): Likewise.
28259         (exp_test_towardzero): Likewise.
28260         (exp_test_downward): Likewise.
28261         (exp_test_upward): Likewise.
28262         (exp10_test): Likewise.
28263         (exp2_test): Likewise.
28264         (expm1_test): Likewise.
28265         (fabs_test): Likewise.
28266         (fdim_test): Likewise.
28267         (finite_test): Likewise.
28268         (floor_test): Likewise.
28269         (fma_test): Likewise.
28270         (fma_test_towardzero): Likewise.
28271         (fma_test_downward): Likewise.
28272         (fma_test_upward): Likewise.
28273         (fmax_test): Likewise.
28274         (fmin_test): Likewise.
28275         (fmod_test): Likewise.
28276         (fpclassify_test): Likewise.
28277         (frexp_test): Likewise.
28278         (gamma_test): Likewise.
28279         (hypot_test): Likewise.
28280         (ilogb_test): Likewise.
28281         (isfinite_test): Likewise.
28282         (isgreater_test): Likewise.
28283         (isgreaterequal_test): Likewise.
28284         (isinf_test): Likewise.
28285         (isless_test): Likewise.
28286         (islessequal_test): Likewise.
28287         (islessgreater_test): Likewise.
28288         (isnan_test): Likewise.
28289         (isnormal_test): Likewise.
28290         (issignaling_test): Likewise.
28291         (isunordered_test): Likewise.
28292         (j0_test): Likewise.
28293         (j1_test): Likewise.
28294         (jn_test): Likewise.
28295         (ldexp_test): Likewise.
28296         (lgamma_test): Likewise.
28297         (lrint_test): Likewise.
28298         (lrint_test_tonearest): Likewise.
28299         (lrint_test_towardzero): Likewise.
28300         (lrint_test_downward): Likewise.
28301         (lrint_test_upward): Likewise.
28302         (llrint_test): Likewise.
28303         (llrint_test_tonearest): Likewise.
28304         (llrint_test_towardzero): Likewise.
28305         (llrint_test_downward): Likewise.
28306         (llrint_test_upward): Likewise.
28307         (log_test): Likewise.
28308         (log10_test): Likewise.
28309         (log1p_test): Likewise.
28310         (log2_test): Likewise.
28311         (logb_test): Likewise.
28312         (logb_test_downward): Likewise.
28313         (lround_test): Likewise.
28314         (llround_test): Likewise.
28315         (modf_test): Likewise.
28316         (nearbyint_test): Likewise.
28317         (nextafter_test): Likewise.
28318         (nexttoward_test): Likewise.
28319         (pow_test): Likewise.
28320         (pow_test_tonearest): Likewise.
28321         (pow_test_towardzero): Likewise.
28322         (pow_test_downward): Likewise.
28323         (pow_test_upward): Likewise.
28324         (remainder_test): Likewise.
28325         (remainder_test_tonearest): Likewise.
28326         (remainder_test_towardzero): Likewise.
28327         (remainder_test_downward): Likewise.
28328         (remainder_test_upward): Likewise.
28329         (remquo_test): Likewise.
28330         (rint_test): Likewise.
28331         (rint_test_tonearest): Likewise.
28332         (rint_test_towardzero): Likewise.
28333         (rint_test_downward): Likewise.
28334         (rint_test_upward): Likewise.
28335         (round_test): Likewise.
28336         (scalb_test): Likewise.
28337         (scalbn_test): Likewise.
28338         (scalbln_test): Likewise.
28339         (signbit_test): Likewise.
28340         (sin_test): Likewise.
28341         (sin_test_tonearest): Likewise.
28342         (sin_test_towardzero): Likewise.
28343         (sin_test_downward): Likewise.
28344         (sin_test_upward): Likewise.
28345         (sincos_test): Likewise.
28346         (sinh_test): Likewise.
28347         (sinh_test_tonearest): Likewise.
28348         (sinh_test_towardzero): Likewise.
28349         (sinh_test_downward): Likewise.
28350         (sinh_test_upward): Likewise.
28351         (sqrt_test): Likewise.
28352         (tan_test): Likewise.
28353         (tan_test_tonearest): Likewise.
28354         (tan_test_towardzero): Likewise.
28355         (tan_test_downward): Likewise.
28356         (tan_test_upward): Likewise.
28357         (tanh_test): Likewise.
28358         (tgamma_test): Likewise.
28359         (trunc_test): Likewise.
28360         (y0_test): Likewise.
28361         (y1_test): Likewise.
28362         (yn_test): Likewise.
28363         (significand_test): Likewise.
28365 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28367         [BZ #15381]
28368         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28370 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28372         [BZ #14894]
28373         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28374         __ppc_mdoio and __ppc_mdoom.
28375         * manual/platform.texi: Document new functions __ppc_yield,
28376         __ppc_mdoio and __ppc_mdoom.
28378 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28380         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28381         (main): Mention "tls" pseudo-hwcap is legacy.
28382         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28384 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28386         * math/gen-libm-test.pl (parse_args): Output only string of
28387         arguments as text for test name, not full call or descriptions of
28388         tests for extra outputs.
28389         (generate_testfile): Do not pass function name to parse_args.
28390         Generate this_func variable from START.
28391         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28392         field to arg_str.
28393         (struct test_ff_f_data): Likewise.
28394         (test_ff_f_data_nexttoward): Likewise.
28395         (struct test_fi_f_data): Likewise.
28396         (struct test_fl_f_data): Likewise.
28397         (struct test_if_f_data): Likewise.
28398         (struct test_fff_f_data): Likewise.
28399         (struct test_c_f_data): Likewise.
28400         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28401         (struct test_fF_f1_data): Likewise.
28402         (struct test_ffI_f1_data): Likewise.
28403         (struct test_c_c_data): Rename test_name field to arg_str.
28404         (struct test_cc_c_data): Likewise.
28405         (struct test_f_i_data): Likewise.
28406         (struct test_ff_i_data): Likewise.
28407         (struct test_f_l_data): Likewise.
28408         (struct test_f_L_data): Likewise.
28409         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28410         and extra2_name.
28411         (COMMON_TEST_SETUP): New macro.
28412         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28413         (COMMON_TEST_CLEANUP): Likewise.
28414         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28415         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28416         macros.
28417         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28418         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28419         macros.
28420         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28421         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28422         cleanup macros.
28423         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28424         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28425         macros.
28426         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28427         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28428         macros.
28429         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28430         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28431         cleanup macros.
28432         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28433         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28434         cleanup macros.
28435         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28436         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28437         cleanup macros.
28438         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28439         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28440         macros.
28441         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28442         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28443         macros.
28444         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28445         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28446         macros.
28447         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28448         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28449         cleanup macros.
28450         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28451         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28452         cleanup macros.
28453         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28454         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28455         macros.
28456         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28457         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28458         cleanup macros.
28459         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28460         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28461         macros.
28462         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28463         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28464         macros.
28465         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28466         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28467         cleanup macros.
28468         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28470 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28472         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28473         to _sifields.sigfault.
28474         (si_addr_lsb): Define new macro.
28475         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28477         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28479 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28481         [BZ #15441]
28482         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28483         returns -1.
28484         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28485         null return -1.
28486         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28487         loading the domain.
28489 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28491         * math/gen-libm-test.pl (parse_args): Do not include expected
28492         result in test name.
28493         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28494         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28495         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28496         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28497         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28500 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28502         * benchtests/Makefile: Sort function entries.
28504         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28505         tanh, asinh, acosh, atanh.
28506         * benchtests/acos-inputs: New file.
28507         * benchtests/acosh-inputs: New file.
28508         * benchtests/asin-inputs: New file.
28509         * benchtests/asinh-inputs: New file.
28510         * benchtests/atanh-inputs: New file.
28511         * benchtests/cosh-inputs: New file.
28512         * benchtests/log-inputs: New file.
28513         * benchtests/sinh-inputs: New file.
28514         * benchtests/tanh-inputs: New file.
28516 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28518         [BZ #15339]
28519         * posix/tst-getaddrinfo4.c: New test.
28520         * posix/Makefile (tests): Add it.
28522 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28524         [BZ #15339]
28525         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28526         when no services were used.
28527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28528         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28530 2013-05-21  Andreas Schwab  <schwab@suse.de>
28532         [BZ #15014]
28533         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28534         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28535         successful.
28536         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28537         redundant variable declarations and reallocation of buffer when
28538         parsing as IPv6 address.  Always set NSS status when called from
28539         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28540         buffer too small.  Correct computation of needed size.
28541         * nss/Makefile (tests): Add test-digits-dots.
28542         * nss/test-digits-dots.c: New test.
28544 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28546         * benchtests/Makefile: Remove instructions for adding
28547         benchmark tests.
28548         * benchtests/README: New file to explain how to execute and
28549         enhance the benchmark tests.
28551 2013-05-21  Andreas Schwab  <schwab@suse.de>
28553         [BZ #15493]
28554         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28555         * setjmp/tst-sigsetjmp.c: New test.
28557 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28559         * sysdeps/x86_64/memset.S (memset): New implementation.
28560         (__bzero): Likewise.
28561         (__memset_tail): New function.
28563 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28565         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28566         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28567         __memcpy_sse2_unaligned ifunc selection.
28568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28569         Add memcpy-sse2-unaligned.S.
28570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28571         Add: __memcpy_sse2_unaligned.
28573 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28575         [BZ #15490]
28576         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28577         math_force_eval before restoring floating-point envrionment.
28578         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28580         Likewise.
28581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28582         <math_private.h>.
28583         (__nearbyintl): Use math_force_eval before restoring
28584         floating-point environment.
28585         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28587         * math/gen-libm-test.pl (special_functions): Remove.
28588         (parse_args): Don't handle TEST_extra.  Handle functions with no
28589         return value.
28590         * math/libm-test.inc (struct test_sincos_data): Replace with
28591         struct test_fFF_11_data.
28592         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28593         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28594         (sincos_test_data): Change element type to struct
28595         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28596         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28597         RUN_TEST_LOOP_sincos.
28598         * math/README.libm-test: Don't mention special handling of
28599         individual functions.
28600         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28602         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28603         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28604         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28607         * math/gen-libm-test.pl (get_variable): Remove function.
28608         (parse_args): Don't show pointer parameters to call in test
28609         names.  Use "extra output N" in test names for extra outputs
28610         rather than naming variables.
28612 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28614         [BZ #15488]
28615         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28616         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28617         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28618         double tests.
28619         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28620         disable.
28621         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28622         check_long_double.
28624         * math/gen-libm-test.pl (@tests): Remove variable.
28625         ($count): Likewise.
28626         (new_test): Remove function.
28627         (show_exceptions): New function.
28628         (special_functions): Use show_exceptions instead of new_test.
28629         (parse_args): Likewise.
28630         (generate_testfile): Pass only function name in generated call to
28631         print_max_error or print_complex_max_error.
28632         (get_ulps): Do not handle complex tests specially.
28633         (output_test): Rename to ...
28634         (get_all_ulps_for_test): ... this.  Return a string rather than
28635         printing to a file.  Require ulps to be present.
28636         (output_ulps): Generate arrays rather than #defines.
28637         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28638         (struct ulp_data): New type.
28639         (BUILD_COMPLEX_ULP): Remove macro.
28640         (compare_ulp_data): New function.
28641         (find_ulps): Likewise.
28642         (find_test_ulps): Likewise.
28643         (find_function_ulps): Likewise.
28644         (find_complex_function_ulps): Likewise.
28645         (print_max_error): Determine allowed ulps using
28646         find_function_ulps.
28647         (print_complex_max_error): Determine allowed ulps using
28648         find_complex_function_ulps.
28649         (check_float_internal): Determine max ulps using find_test_ulps.
28650         (check_float): Do not take max_ulp parameter.  Update call to
28651         check_float_internal.
28652         (check_complex): Likewise.
28653         (check_int): Do not take max_ulp parameter.
28654         (check_long): Likewise.
28655         (check_bool): Likewise.
28656         (check_longlong): Likewise.
28657         (struct test_f_f_data): Remove max_ulp field.
28658         (struct test_ff_f_data): Likewise.
28659         (struct test_ff_f_data_nexttoward): Likewise.
28660         (struct test_fi_f_data): Likewise.
28661         (struct test_fl_f_data): Likewise.
28662         (struct test_if_f_data): Likewise.
28663         (struct test_fff_f_data): Likewise.
28664         (struct test_c_f_data): Likewise.
28665         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28666         (struct test_fF_f1_data): Likewise.
28667         (struct test_ffI_f1_data): Likewise.
28668         (struct test_c_c_data): Remove max_ulp field.
28669         (struct test_cc_c_data): Likewise.
28670         (struct test_f_i_data): Likewise.
28671         (struct test_ff_i_data): Likewise.
28672         (struct test_f_l_data): Likewise.
28673         (struct test_f_L_data): Likewise.
28674         (struct test_sincos_data): Likewise.
28675         (RUN_TEST_f_f): Do not handle ulps.
28676         (RUN_TEST_LOOP_f_f): Likewise.
28677         (RUN_TEST_2_f): Likewise.
28678         (RUN_TEST_LOOP_2_f): Likewise.
28679         (RUN_TEST_fff_f): Likewise.
28680         (RUN_TEST_LOOP_fff_f): Likewise.
28681         (RUN_TEST_c_f): Likewise.
28682         (RUN_TEST_LOOP_c_f): Likewise.
28683         (RUN_TEST_f_f1): Likewise.
28684         (RUN_TEST_LOOP_f_f1): Likewise.
28685         (RUN_TEST_fF_f1): Likewise.
28686         (RUN_TEST_LOOP_fF_f1): Likewise.
28687         (RUN_TEST_fI_f1): Likewise.
28688         (RUN_TEST_LOOP_fI_f1): Likewise.
28689         (RUN_TEST_ffI_f1): Likewise.
28690         (RUN_TEST_LOOP_ffI_f1): Likewise.
28691         (RUN_TEST_c_c): Likewise.
28692         (RUN_TEST_LOOP_c_c): Likewise.
28693         (RUN_TEST_cc_c): Likewise.
28694         (RUN_TEST_LOOP_cc_c): Likewise.
28695         (RUN_TEST_f_i): Likewise.
28696         (RUN_TEST_LOOP_f_i): Likewise.
28697         (RUN_TEST_f_i_tg): Likewise.
28698         (RUN_TEST_LOOP_f_i_tg): Likewise.
28699         (RUN_TEST_ff_i_tg): Likewise.
28700         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28701         (RUN_TEST_f_b): Likewise.
28702         (RUN_TEST_LOOP_f_b): Likewise.
28703         (RUN_TEST_f_b_tg): Likewise.
28704         (RUN_TEST_LOOP_f_b_tg): Likewise.
28705         (RUN_TEST_f_l): Likewise.
28706         (RUN_TEST_LOOP_f_l): Likewise.
28707         (RUN_TEST_f_L): Likewise.
28708         (RUN_TEST_LOOP_f_L): Likewise.
28709         (RUN_TEST_sincos): Likewise.
28710         (RUN_TEST_LOOP_sincos): Likewise.
28712 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28714         [BZ #15480]
28715         [BZ #15485]
28716         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28717         main case of finite arguments, set rounding mode to FE_TONEAREST
28718         and discard exceptions.
28719         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28720         exceptions.
28721         (remainder_tonearest_test_data): New variable.
28722         (remainder_test_tonearest): New function.
28723         (remainder_towardzero_test_data): New variable.
28724         (remainder_test_towardzero): New function.
28725         (remainder_downward_test_data): New variable.
28726         (remainder_test_downward): New function.
28727         (remainder_upward_test_data): New variable.
28728         (remainder_test_upward): New function.
28729         (main): Call the new test functions.
28731         * math/libm-test.inc (struct test_f_f1_data): Remove field
28732         extra_init.
28733         (struct test_fF_f1_data): Likewise.
28734         (struct test_ffI_f1_data): Likewise.
28735         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28736         based on value of EXTRA_EXPECTED.
28737         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28738         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28739         EXTRA_VAR based on value of EXTRA_EXPECTED.
28740         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28741         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28742         EXTRA_VAR based on value of EXTRA_EXPECTED.
28743         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28744         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28745         EXTRA_VAR based on value of EXTRA_EXPECTED.
28746         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28747         * math/gen-libm-test.pl (parse_args): Don't output initializers
28748         for extra output values.
28750         * math/libm-test.inc (check_int): Expect result to be exactly
28751         equal to expected value and do not handle ulps.
28752         (check_long): Likewise.
28753         (check_longlong): Likewise.
28755         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28756         exceptions.
28757         (cimag_test_data): Likewise.
28758         (conj_test_data): Likewise.
28759         (copysign_test_data): Likewise.
28760         (cproj_test_data): Likewise.
28761         (creal_test_data): Likewise.
28762         (fabs_test_data): Likewise.
28763         (fdim_test_data): Likewise.
28764         (finite_test_data): Likewise.
28765         (floor_test_data): Likewise.
28766         (fmax_test_data): Likewise.
28767         (fmin_test_data): Likewise.
28768         (fmod_test_data): Likewise.
28769         (fpclassify_test_data): Likewise.
28770         (frexp_test_data): Likewise.
28771         (ilogb_test_data): Likewise.
28772         (isfinite_test_data): Likewise.
28773         (isgreater_test_data): Likewise.
28774         (isgreaterequal_test_data): Likewise.
28775         (isinf_test_data): Likewise.
28776         (isless_test_data): Likewise.
28777         (islessequal_test_data): Likewise.
28778         (islessgreater_test_data): Likewise.
28779         (isnan_test_data): Likewise.
28780         (isnormal_test_data): Likewise.
28781         (issignaling_test_data): Likewise.
28782         (isunordered_test_data): Likewise.
28783         (ldexp_test_data): Likewise.
28784         (lrint_test_data): Likewise.
28785         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28786         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28787         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28788         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28789         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28790         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28791         test input.
28792         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28793         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28794         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28795         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28796         that test input.
28797         (lrint_downward_test_data): Test for "inexact" exceptions.
28798         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28799         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28800         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28801         test input.
28802         (lrint_upward_test_data): Test for "inexact" exceptions.
28803         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28804         test input.
28805         (llrint_test_data): Test for "inexact" exceptions.
28806         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28807         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28808         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28809         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28810         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28811         (llrint_downward_test_data): Test for "inexact" exceptions.
28812         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28813         (llrint_upward_test_data): Test for "inexact" exceptions.
28814         (logb_test_data): Likewise.
28815         (logb_downward_test_data): Likewise.
28816         (nextafter_test_data): Likewise.
28817         (nexttoward_test_data): Likewise.
28818         (remainder_test_data): Likewise.
28819         (remquo_test_data): Likewise.
28820         (scalbn_test_data): Likewise.
28821         (scalbln_test_data): Likewise.
28822         (signbit_test_data): Likewise.
28823         (sqrt_test_data): Likewise.
28824         (significand_test_data): Likewise.
28826 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28828         [BZ #15424]
28829         * benchtests/bench-modf.c (struct args): Mark arg0 as
28830         volatile.
28831         * scripts/bench.pl: Mark members of struct args as volatile.
28833 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28835         [BZ # 15497]
28836         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28837         negative infinity on POWER6 or lower.
28838         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28840 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28842         [BZ #15442]
28843         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28844         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28845         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28846         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28847         (_FP_SETQNAN): New macro.
28848         (_FP_SETQNAN_SEMIRAW): Likewise.
28849         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28850         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28851         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28852         (FP_EXTEND): Use _FP_FRAC_SNANP.
28853         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28854         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28855         into account.
28856         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28857         New macro.
28858         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28859         Likewise.
28861 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28863         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28864         with DIVIDE_BY_ZERO_EXCEPTION.
28865         (gamma_test_data): Likewise.
28866         (lgamma_test_data): Likewise.
28867         (log_test_data): Likewise.
28868         (log10_test_data): Likewise.
28869         (log2_test_data): Likewise.
28870         (tgamma_test_data): Likewise.
28872         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28873         (acos_test_tonearest): Likewise.
28874         (acos_test_towardzero): Likewise.
28875         (acos_test_downward): Likewise.
28876         (acos_test_upward): Likewise.
28877         (acosh_test): Likewise.
28878         (asin_test): Likewise.
28879         (asin_test_tonearest): Likewise.
28880         (asin_test_towardzero): Likewise.
28881         (asin_test_downward): Likewise.
28882         (asin_test_upward): Likewise.
28883         (asinh_test): Likewise.
28884         (atan_test): Likewise.
28885         (atanh_test): Likewise.
28886         (atan2_test): Likewise.
28887         (cabs_test): Likewise.
28888         (cacos_test): Likewise.
28889         (cacosh_test): Likewise.
28890         (casin_test): Likewise.
28891         (casinh_test): Likewise.
28892         (catan_test): Likewise.
28893         (catanh_test): Likewise.
28894         (cbrt_test): Likewise.
28895         (ccos_test): Likewise.
28896         (ccosh_test): Likewise.
28897         (cexp_test): Likewise.
28898         (clog_test): Likewise.
28899         (clog10_test): Likewise.
28900         (cos_test): Likewise.
28901         (cos_test_tonearest): Likewise.
28902         (cos_test_towardzero): Likewise.
28903         (cos_test_downward): Likewise.
28904         (cos_test_upward): Likewise.
28905         (cosh_test): Likewise.
28906         (cosh_test_tonearest): Likewise.
28907         (cosh_test_towardzero): Likewise.
28908         (cosh_test_downward): Likewise.
28909         (cosh_test_upward): Likewise.
28910         (cpow_test): Likewise.
28911         (csin_test): Likewise.
28912         (csinh_test): Likewise.
28913         (csqrt_test): Likewise.
28914         (ctan_test): Likewise.
28915         (ctan_test_tonearest): Likewise.
28916         (ctan_test_towardzero): Likewise.
28917         (ctan_test_downward): Likewise.
28918         (ctan_test_upward): Likewise.
28919         (ctanh_test): Likewise.
28920         (ctanh_test_tonearest): Likewise.
28921         (ctanh_test_towardzero): Likewise.
28922         (ctanh_test_downward): Likewise.
28923         (ctanh_test_upward): Likewise.
28924         (erf_test): Likewise.
28925         (erfc_test): Likewise.
28926         (exp_test): Likewise.
28927         (exp_test_tonearest): Likewise.
28928         (exp_test_towardzero): Likewise.
28929         (exp_test_downward): Likewise.
28930         (exp_test_upward): Likewise.
28931         (exp10_test): Likewise.
28932         (exp2_test): Likewise.
28933         (expm1_test): Likewise.
28934         (fmod_test): Likewise.
28935         (gamma_test): Likewise.
28936         (hypot_test): Likewise.
28937         (j0_test): Likewise.
28938         (j1_test): Likewise.
28939         (jn_test): Likewise.
28940         (lgamma_test): Likewise.
28941         (log_test): Likewise.
28942         (log10_test): Likewise.
28943         (log1p_test): Likewise.
28944         (log2_test): Likewise.
28945         (logb_test_downward): Likewise.
28946         (pow_test): Likewise.
28947         (pow_test_tonearest): Likewise.
28948         (pow_test_towardzero): Likewise.
28949         (pow_test_downward): Likewise.
28950         (pow_test_upward): Likewise.
28951         (remainder_test): Likewise.
28952         (remquo_test): Likewise.
28953         (sin_test): Likewise.
28954         (sin_test_tonearest): Likewise.
28955         (sin_test_towardzero): Likewise.
28956         (sin_test_downward): Likewise.
28957         (sin_test_upward): Likewise.
28958         (sincos_test): Likewise.
28959         (sinh_test): Likewise.
28960         (sinh_test_tonearest): Likewise.
28961         (sinh_test_towardzero): Likewise.
28962         (sinh_test_downward): Likewise.
28963         (sinh_test_upward): Likewise.
28964         (sqrt_test): Likewise.
28965         (tan_test): Likewise.
28966         (tan_test_tonearest): Likewise.
28967         (tan_test_towardzero): Likewise.
28968         (tan_test_downward): Likewise.
28969         (tan_test_upward): Likewise.
28970         (tanh_test): Likewise.
28971         (tgamma_test): Likewise.
28972         (y0_test): Likewise.
28973         (y1_test): Likewise.
28974         (yn_test): Likewise.
28976         * math/gen-libm-test.pl (adjust_arg): Remove function.
28977         (special_function): Remove argument $in_func.  Only handle
28978         generating output for tables of tests, not inside functions.
28979         (parse_args): Likewise.
28980         (generate_testfile): Remove variable $in_func.  Update call to
28981         parse_args.
28982         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28983         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28984         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28985         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28986         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28987         (MAX_VALUE_INIT): Rename macro to max_value.
28988         (MIN_VALUE_INIT): Rename macro to min_value.
28989         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28990         (plus_zero): Remove variable.
28991         (minus_zero): Likewise.
28992         (plus_infty): Likewise.
28993         (minus_infty): Likewise.
28994         (qnan_value): Likewise.
28995         (max_value): Likewise.
28996         (min_value): Likewise.
28997         (min_subnorm_value): Likewise.
28999 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29001         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29002         uint64_t or uint32_t usage.
29003         * crypt/sha256-block.c: Likewise.
29004         * crypt/sha256-crypt.c: Likewise.
29005         * crypt/sha256.c: Likewise.
29006         * crypt/sha512-block.c: Likewise.
29007         * crypt/sha512-crypt.c: Likewise.
29008         * crypt/sha512.c: Likewise.
29009         * debug/backtrace-tst.c: Likewise.
29010         * debug/pcprofiledump.c: Likewise.
29011         * elf/cache.c: Likewise.
29012         * elf/dl-cache.c: Likewise.
29013         * elf/dl-misc.c: Likewise.
29014         * elf/dl-profile.c: Likewise.
29015         * elf/dl-support.c: Likewise.
29016         * elf/ldconfig.c: Likewise.
29017         * elf/sprof.c: Likewise.
29018         * iconv/dummy-repertoire.c: Likewise.
29019         * iconv/iconv_charmap.c: Likewise.
29020         * iconv/skeleton.c: Likewise.
29021         * iconvdata/8bit-generic.c: Likewise.
29022         * iconvdata/cp737.h: Likewise.
29023         * iconvdata/cp775.h: Likewise.
29024         * iconvdata/ibm1008.h: Likewise.
29025         * iconvdata/ibm1025.h: Likewise.
29026         * iconvdata/ibm1046.h: Likewise.
29027         * iconvdata/ibm1097.h: Likewise.
29028         * iconvdata/ibm1112.h: Likewise.
29029         * iconvdata/ibm1122.h: Likewise.
29030         * iconvdata/ibm1123.h: Likewise.
29031         * iconvdata/ibm1124.h: Likewise.
29032         * iconvdata/ibm1129.h: Likewise.
29033         * iconvdata/ibm1130.h: Likewise.
29034         * iconvdata/ibm1132.h: Likewise.
29035         * iconvdata/ibm1133.h: Likewise.
29036         * iconvdata/ibm1137.h: Likewise.
29037         * iconvdata/ibm1140.h: Likewise.
29038         * iconvdata/ibm1141.h: Likewise.
29039         * iconvdata/ibm1142.h: Likewise.
29040         * iconvdata/ibm1143.h: Likewise.
29041         * iconvdata/ibm1144.h: Likewise.
29042         * iconvdata/ibm1145.h: Likewise.
29043         * iconvdata/ibm1146.h: Likewise.
29044         * iconvdata/ibm1147.h: Likewise.
29045         * iconvdata/ibm1148.h: Likewise.
29046         * iconvdata/ibm1149.h: Likewise.
29047         * iconvdata/ibm1153.h: Likewise.
29048         * iconvdata/ibm1154.h: Likewise.
29049         * iconvdata/ibm1155.h: Likewise.
29050         * iconvdata/ibm1156.h: Likewise.
29051         * iconvdata/ibm1157.h: Likewise.
29052         * iconvdata/ibm1158.h: Likewise.
29053         * iconvdata/ibm1160.h: Likewise.
29054         * iconvdata/ibm1161.h: Likewise.
29055         * iconvdata/ibm1162.h: Likewise.
29056         * iconvdata/ibm1163.h: Likewise.
29057         * iconvdata/ibm1164.h: Likewise.
29058         * iconvdata/ibm1166.h: Likewise.
29059         * iconvdata/ibm1167.h: Likewise.
29060         * iconvdata/ibm12712.h: Likewise.
29061         * iconvdata/ibm1390.h: Likewise.
29062         * iconvdata/ibm1399.h: Likewise.
29063         * iconvdata/ibm16804.h: Likewise.
29064         * iconvdata/ibm4517.h: Likewise.
29065         * iconvdata/ibm4899.h: Likewise.
29066         * iconvdata/ibm4909.h: Likewise.
29067         * iconvdata/ibm4971.h: Likewise.
29068         * iconvdata/ibm5347.h: Likewise.
29069         * iconvdata/ibm803.h: Likewise.
29070         * iconvdata/ibm856.h: Likewise.
29071         * iconvdata/ibm901.h: Likewise.
29072         * iconvdata/ibm902.h: Likewise.
29073         * iconvdata/ibm9030.h: Likewise.
29074         * iconvdata/ibm9066.h: Likewise.
29075         * iconvdata/ibm921.h: Likewise.
29076         * iconvdata/ibm922.h: Likewise.
29077         * iconvdata/ibm9448.h: Likewise.
29078         * iconvdata/isiri-3342.h: Likewise.
29079         * iconvdata/jis0201.h: Likewise.
29080         * include/link.h: Likewise.
29081         * include/netdb.h: Likewise.
29082         * inet/check_native.c: Likewise.
29083         * inet/check_pf.c: Likewise.
29084         * inet/getipv4sourcefilter.c: Likewise.
29085         * inet/getnameinfo.c: Likewise.
29086         * inet/getsourcefilter.c: Likewise.
29087         * inet/htonl.c: Likewise.
29088         * inet/setipv4sourcefilter.c: Likewise.
29089         * inet/setsourcefilter.c: Likewise.
29090         * inet/test-inet6_opt.c: Likewise.
29091         * inet/tst-network.c: Likewise.
29092         * locale/C-collate.c: Likewise.
29093         * locale/C-ctype.c: Likewise.
29094         * locale/C-time.c: Likewise.
29095         * locale/C-translit.h: Likewise.
29096         * locale/loadarchive.c: Likewise.
29097         * locale/programs/3level.h: Likewise.
29098         * locale/programs/charmap.c: Likewise.
29099         * locale/programs/charmap.h: Likewise.
29100         * locale/programs/ld-address.c: Likewise.
29101         * locale/programs/ld-collate.c: Likewise.
29102         * locale/programs/ld-ctype.c: Likewise.
29103         * locale/programs/ld-identification.c: Likewise.
29104         * locale/programs/ld-measurement.c: Likewise.
29105         * locale/programs/ld-messages.c: Likewise.
29106         * locale/programs/ld-monetary.c: Likewise.
29107         * locale/programs/ld-name.c: Likewise.
29108         * locale/programs/ld-numeric.c: Likewise.
29109         * locale/programs/ld-paper.c: Likewise.
29110         * locale/programs/ld-telephone.c: Likewise.
29111         * locale/programs/ld-time.c: Likewise.
29112         * locale/programs/linereader.c: Likewise.
29113         * locale/programs/locale.c: Likewise.
29114         * locale/programs/locarchive.c: Likewise.
29115         * locale/programs/locfile.h: Likewise.
29116         * locale/programs/repertoire.c: Likewise.
29117         * locale/programs/simple-hash.c: Likewise.
29118         * locale/programs/simple-hash.h: Likewise.
29119         * malloc/memusage.c: Likewise.
29120         * malloc/memusagestat.c: Likewise.
29121         * nis/nis_defaults.c: Likewise.
29122         * nis/nis_hash.c: Likewise.
29123         * nis/nis_print.c: Likewise.
29124         * nis/nis_xdr.c: Likewise.
29125         * nscd/connections.c: Likewise.
29126         * nscd/hstcache.c: Likewise.
29127         * nscd/nscd_gethst_r.c: Likewise.
29128         * nscd/nscd_getserv_r.c: Likewise.
29129         * nscd/nscd_helper.c: Likewise.
29130         * nscd/servicescache.c: Likewise.
29131         * nss/makedb.c: Likewise.
29132         * nss/nss_db/db-XXX.c: Likewise.
29133         * nss/nss_db/db-initgroups.c: Likewise.
29134         * nss/nss_db/db-netgrp.c: Likewise.
29135         * nss/nss_files/files-network.c: Likewise.
29136         * nss/nss_files/files-parse.c: Likewise.
29137         * posix/bug-regex5.c: Likewise.
29138         * posix/fnmatch_loop.c: Likewise.
29139         * posix/regcomp.c: Likewise.
29140         * posix/regexec.c: Likewise.
29141         * posix/tst-rfc3484-2.c: Likewise.
29142         * posix/tst-rfc3484-3.c: Likewise.
29143         * posix/tst-rfc3484.c: Likewise.
29144         * resolv/nss_dns/dns-canon.c: Likewise.
29145         * resolv/nss_dns/dns-network.c: Likewise.
29146         * resolv/res_init.c: Likewise.
29147         * resolv/res_mkquery.c: Likewise.
29148         * resolv/tst-aton.c: Likewise.
29149         * stdlib/cxa_atexit.c: Likewise.
29150         * stdlib/cxa_finalize.c: Likewise.
29151         * stdlib/gen-fpioconst.c: Likewise.
29152         * stdlib/strtol_l.c: Likewise.
29153         * string/tst-endian.c: Likewise.
29154         * sunrpc/auth_des.c: Likewise.
29155         * sunrpc/clnt_udp.c: Likewise.
29156         * sunrpc/rtime.c: Likewise.
29157         * sunrpc/svcauth_des.c: Likewise.
29158         * sunrpc/xdr.c: Likewise.
29159         * sunrpc/xdr_intXX_t.c: Likewise.
29160         * sunrpc/xdr_rec.c: Likewise.
29161         * sysdeps/generic/ldconfig.h: Likewise.
29162         * sysdeps/generic/ldsodefs.h: Likewise.
29163         * sysdeps/generic/memusage.h: Likewise.
29164         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29165         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29166         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29167         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29168         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29169         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29170         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29171         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29172         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29173         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29174         * sysdeps/posix/getaddrinfo.c: Likewise.
29175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29177         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29179         * sysdeps/powerpc/test-gettimebase.c: Likewise.
29180         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29181         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29182         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29183         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29184         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29185         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29186         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29187         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29188         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29189         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29190         * sysdeps/x86_64/dl-tls.h: Likewise.
29191         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29192         * time/alt_digit.c: Likewise.
29193         * time/era.c: Likewise.
29194         * wcsmbs/tst-c16c32-1.c: Likewise.
29196 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29198         * math/libm-test.inc (struct test_sincos_data): New type.
29199         (RUN_TEST_LOOP_sincos): New macro.
29200         (sincos_test_data): New variable.
29201         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29203 2013-05-16  Richard Henderson  <rth@redhat.com>
29205         * math/atest-exp2.c (LIMB64): New macro.
29206         (CONSTSZ): New macro.
29207         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29208         (hexdig): Move ...
29209         (print_mpn_fp): ... to function scope.
29210         (read_mpn_hex): Remove.
29211         (get_log2): Remove.
29212         (exp2_mpn): Use mp_log2.
29213         (main): Use mp_exp1.
29215 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29217         * math/libm-test.inc: Remove comment about not testing "inexact"
29218         exceptions.
29219         (INEXACT_EXCEPTION): New macro.
29220         (NO_INEXACT_EXCEPTION): Likewise.
29221         (INVALID_EXCEPTION_OK): Update value.
29222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29223         (OVERFLOW_EXCEPTION_OK): Likewise.
29224         (UNDERFLOW_EXCEPTION_OK): Likewise.
29225         (IGNORE_ZERO_INF_SIGN): Likewise.
29226         (ERRNO_UNCHANGED): Likewise.
29227         (ERRNO_EDOM): Likewise.
29228         (ERRNO_ERANGE): Likewise.
29229         (test_exceptions): Handle testing "inexact" exceptions.
29230         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29231         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29232         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29233         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29234         INEXACT_EXCEPTION.
29235         (rint_towardzero_test_data): Likewise.
29236         (rint_downward_test_data): Likewise.
29237         (rint_upward_test_data): Likewise.
29239         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29240         with OVERFLOW_EXCEPTION.
29241         (exp10_test_data): Likewise.
29242         (exp2_test_data): Likewise.
29243         (expm1_test_data): Likewise.
29244         (lgamma_test_data): Likewise.
29245         (pow_test_data): Likewise.
29246         (tgamma_test_data): Likewise.
29247         (yn_test_data): Remove duplicate test of overflow.
29249         * math/libm-test.inc (struct test_cc_c_data): New type.
29250         (RUN_TEST_LOOP_cc_c): New macro.
29251         (cpow_test_data): New variable.
29252         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29254         * math/libm-test.inc (struct test_f_L_data): New type.
29255         (RUN_TEST_LOOP_f_L): New macro.
29256         (llrint_test_data): New variable.
29257         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29258         (llrint_tonearest_test_data): New variable.
29259         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29260         (llrint_towardzero_test_data): New variable.
29261         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29262         (llrint_downward_test_data): New variable.
29263         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29264         (llrint_upward_test_data): New variable.
29265         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29266         (llround_test_data): New variable.
29267         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29269 2013-05-13  Peter Collingbourne  <pcc@google.com>
29271         * math/atest-exp2.c (get_log2): Remove const attribute.
29273 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29275         * math/libm-test.inc (struct test_f_l_data): New type.
29276         (RUN_TEST_LOOP_f_l): New macro.
29277         (lrint_test_data): New variable.
29278         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29279         (lrint_tonearest_test_data): New variable.
29280         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29281         (lrint_towardzero_test_data): New variable.
29282         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29283         (lrint_downward_test_data): New variable.
29284         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29285         (lrint_upward_test_data): New variable.
29286         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29287         (lround_test_data): New variable.
29288         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29290 2013-05-15  Peter Collingbourne  <pcc@google.com>
29292         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29293         (EXTRACT_WORDS64) Use where appropriate.
29294         (INSERT_WORDS64) Likewise.
29296         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29297         constraints with x constraints.
29298         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29300         * malloc/obstack.c (_obstack_compat): Add initializer.
29302 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29305         si_trapno and add si_addr_lsb to _sifields.sigfault.
29306         (si_trapno): Remove macro.
29307         (si_addr_lsb): Define new macro.
29308         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29310 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29312         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29313         instead of TEST_f_l.
29314         (llrint_test_tonearest): Likewise.
29315         (llrint_test_towardzero): Likewise.
29316         (llrint_test_downward): Likewise.
29317         (llrint_test_upward): Likewise.
29318         (llround_test): Likewise.
29320         * math/libm-test.inc (struct test_f_i_data): Add comment.
29321         (RUN_TEST_LOOP_f_b): New macro.
29322         (RUN_TEST_LOOP_f_b_tg): Likewise.
29323         (finite_test_data): New variable.
29324         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29325         (isfinite_test_data): New variable.
29326         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29327         (isinf_test_data): New variable.
29328         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29329         (isnan_test_data): New variable.
29330         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29331         (isnormal_test_data): New variable.
29332         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29333         (issignaling_test_data): New variable.
29334         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29335         (signbit_test_data): New variable.
29336         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29338         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29339         with INVALID_EXCEPTION.
29340         (acosh_test_data): Likewise.
29341         (asin_test_data): Likewise.
29342         (atanh_test_data): Likewise.
29343         (fmod_test_data): Likewise.
29344         (log_test_data): Likewise.
29345         (log10_test_data): Likewise.
29346         (log2_test_data): Likewise.
29347         (pow_test_data): Likewise.
29348         (sqrt_test_data): Likewise.
29349         (y0_test_data): Likewise.
29350         (y1_test_data): Likewise.
29351         (yn_test_data): Likewise.
29353         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29354         function contents.
29356         * math/libm-test.inc (struct test_ff_i_data): New type.
29357         (RUN_TEST_LOOP_ff_i_tg): New macro.
29358         (isgreater_test_data): New variable.
29359         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29360         (isgreaterequal_test_data): New variable.
29361         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29362         (isless_test_data): New variable.
29363         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29364         (islessequal_test_data): New variable.
29365         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29366         (islessgreater_test_data): New variable.
29367         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29368         (isunordered_test_data): New variable.
29369         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29371 2013-05-14  David S. Miller  <davem@davemloft.net>
29373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29375 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29377         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29379         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29380         extra_test to int.
29381         (struct test_f_i_data): Change type of max_ulp to int.
29383         * math/libm-test.inc (test_ffI_f1_data): New type.
29384         (RUN_TEST_LOOP_ffI_f1): New macro.
29385         (remquo_test_data): New variable.
29386         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29388         * setjmp/tst-setjmp-fp.c: New file.
29389         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29390         (link-libm): New variable.
29391         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29393         * math/libm-test.inc (struct test_f_i_data): New type.
29394         (RUN_TEST_LOOP_f_i): New macro.
29395         (RUN_TEST_LOOP_f_i_tg): Likewise.
29396         (fpclassify_test_data): New variable.
29397         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29398         (ilogb_test_data): New variable.
29399         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29401         * math/libm-test.inc (scalbln_test): Correct function name in END
29402         call.
29404         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29405         (RUN_TEST_LOOP_fI_f1): New macro.
29406         (frexp_test_data): New variable.
29407         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29409         * math/libm-test.inc (struct test_fF_f1_data): New type.
29410         (RUN_TEST_LOOP_fF_f1): New macro.
29411         (modf_test_data): New variable.
29412         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29414         * math/libm-test.inc (struct test_f_f1_data): New type.
29415         (RUN_TEST_LOOP_f_f1): New macro.
29416         (gamma_test_data): New variable.
29417         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29418         (lgamma_test_data): New variable.
29419         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29421 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29423         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29424         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29425         (main): Comment "tls" pseudo-hwcap.
29427 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29429         * math/libm-test.inc (struct test_fl_f_data): New type.
29430         (RUN_TEST_LOOP_fl_f): New variable.
29431         (scalbln_test_data): New variable.
29432         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29434         * math/libm-test.inc (struct test_fi_f_data): New type.
29435         (RUN_TEST_LOOP_fi_f): New macro.
29436         (ldexp_test_data): New variable.
29437         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29438         (scalbn_test_data): New variable.
29439         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29441         * math/libm-test.inc (struct test_c_f_data): New type.
29442         (RUN_TEST_LOOP_c_f): New macro.
29443         (cabs_test_data): New variable.
29444         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29445         (carg_test_data): New variable.
29446         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29447         (cimag_test_data): New variable.
29448         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29449         (creal_test_data): New variable.
29450         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29452         * math/libm-test.inc (struct test_if_f_data): New type.
29453         (RUN_TEST_LOOP_if_f): New macro.
29454         (jn_test_data): New variable.
29455         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29456         (yn_test_data): New variable.
29457         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29459         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29461 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29463         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29464         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29466 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29468         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29469         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29470         (bench-deps): Add bench-timing.h.
29471         * benchtests-bench-skeleton.c: Include bench-timing.h.
29472         (main): Use TIMING_* macros instead of clock_gettime.
29473         * benchtests/bench-timing.h: New file.
29475         [BZ #14582]
29476         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29477         Renamed from _LIB_VERSION.
29478         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29480 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29482         * math/libm-test.inc (struct test_fff_f_data): New type.
29483         (RUN_TEST_LOOP_fff_f): New macro.
29484         (fma_test_data): New variable.
29485         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29486         (fma_towardzero_test_data): New variable.
29487         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29488         (fma_downward_test_data): New variable.
29489         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29490         (fma_upward_test_data): New variable.
29491         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29493         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29494         (struct test_c_c_data): New type.
29495         (RUN_TEST_LOOP_c_c): New macro.
29496         (cacos_test_data): New variable.
29497         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29498         (cacosh_test_data): New variable.
29499         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29500         (casin_test_data): New variable.
29501         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29502         (casinh_test_data): New variable.
29503         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29504         (catan_test_data): New variable.
29505         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29506         (catanh_test_data): New variable.
29507         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29508         (ccos_test_data): New variable.
29509         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29510         (ccosh_test_data): New variable.
29511         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29512         (cexp_test_data): New variable.
29513         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29514         (clog_test_data): New variable.
29515         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29516         (clog10_test_data): New variable.
29517         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29518         (conj_test_data): New variable.
29519         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29520         (cproj_test_data): New variable.
29521         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29522         (csin_test_data): New variable.
29523         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29524         (csinh_test_data): New variable.
29525         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29526         (csqrt_test_data): New variable.
29527         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29528         (ctan_test_data): New variable.
29529         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29530         (ctan_tonearest_test_data): New variable.
29531         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29532         (ctan_towardzero_test_data): New variable.
29533         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29534         (ctan_downward_test_data): New variable.
29535         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29536         (ctan_upward_test_data): New variable.
29537         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29538         (ctanh_test_data): New variable.
29539         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29540         (ctanh_tonearest_test_data): New variable.
29541         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29542         (ctanh_towardzero_test_data): New variable.
29543         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29544         (ctanh_downward_test_data): New variable.
29545         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29546         (ctanh_upward_test_data): New variable.
29547         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29548         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29549         of BUILD_COMPLEX.
29551         * math/libm-test.inc (struct test_ff_f_data): New type.
29552         (struct test_ff_f_data_nexttoward): Likewise.
29553         (RUN_TEST_LOOP_2_f): New macro.
29554         (RUN_TEST_LOOP_ff_f): Likewise.
29555         (atan2_test_data): New variable.
29556         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29557         (copysign_test_data): New variable.
29558         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29559         (fdim_test_data): New variable.
29560         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29561         (fmax_test_data): New variable.
29562         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29563         (fmin_test_data): New variable.
29564         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29565         (fmod_test_data): New variable.
29566         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29567         (hypot_test_data): New variable.
29568         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29569         (nextafter_test_data): New variable.
29570         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29571         (nexttoward_test_data): New variable.
29572         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29573         (pow_test_data): New variable.
29574         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29575         (pow_tonearest_test_data): New variable.
29576         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29577         (pow_towardzero_test_data): New variable.
29578         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29579         (pow_downward_test_data): New variable.
29580         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29581         (pow_upward_test_data): New variable.
29582         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29583         (remainder_test_data): New variable.
29584         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29585         (scalb_test_data): New variable.
29586         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29587         * sysdeps/i386/fpu/libm-test-ulps: Update.
29589 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29591         * math/libm-test.inc (fma_test): Use max_value instead of local
29592         variable fltmax.
29593         (nextafter_test): Likewise.
29595         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29596         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29597         (acos_downward_test_data): New variable.
29598         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29599         (acos_upward_test_data): New variable.
29600         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29601         (acosh_test_data): New variable.
29602         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29603         (asin_test_data): New variable.
29604         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29605         (asin_tonearest_test_data): New variable.
29606         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29607         (asin_towardzero_test_data): New variable.
29608         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29609         (asin_downward_test_data): New variable.
29610         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29611         (asin_upward_test_data): New variable.
29612         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29613         (asinh_test_data): New variable.
29614         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29615         (atan_test_data): New variable.
29616         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29617         (atanh_test_data): New variable.
29618         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29619         (cbrt_test_data): New variable.
29620         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29621         (ceil_test_data): New variable.
29622         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29623         (cos_test_data): New variable.
29624         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29625         (cos_tonearest_test_data): New variable.
29626         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29627         (cos_towardzero_test_data): New variable.
29628         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29629         (cos_downward_test_data): New variable.
29630         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29631         (cos_upward_test_data): New variable.
29632         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29633         (cosh_test_data): New variable.
29634         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29635         (cosh_tonearest_test_data): New variable.
29636         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29637         (cosh_towardzero_test_data): New variable.
29638         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29639         (cosh_downward_test_data): New variable.
29640         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29641         (cosh_upward_test_data): New variable.
29642         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29643         (erf_test_data): New variable.
29644         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29645         (erfc_test_data): New variable.
29646         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29647         (exp_test_data): New variable.
29648         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29649         (exp_tonearest_test_data): New variable.
29650         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29651         (exp_towardzero_test_data): New variable.
29652         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29653         (exp_downward_test_data): New variable.
29654         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29655         (exp_upward_test_data): New variable.
29656         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29657         (exp10_test_data): New variable.
29658         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29659         (exp2_test_data): New variable.
29660         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29661         (expm1_test_data): New variable.
29662         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29663         (fabs_test_data): New variable.
29664         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29665         (floor_test_data): New variable.
29666         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29667         (j0_test_data): New variable.
29668         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29669         (j1_test_data): New variable.
29670         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29671         (log_test_data): New variable.
29672         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29673         (log10_test_data): New variable.
29674         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29675         (log1p_test_data): New variable.
29676         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29677         (log2_test_data): New variable.
29678         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29679         (logb_test_data): New variable.
29680         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29681         (logb_downward_test_data): New variable.
29682         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29683         (nearbyint_test_data): New variable.
29684         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29685         (rint_test_data): New variable.
29686         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29687         (rint_tonearest_test_data): New variable.
29688         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29689         (rint_towardzero_test_data): New variable.
29690         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29691         (rint_downward_test_data): New variable.
29692         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29693         (rint_upward_test_data): New variable.
29694         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29695         (round_test_data): New variable.
29696         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29697         (sin_test_data): New variable.
29698         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29699         (sin_tonearest_test_data): New variable.
29700         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29701         (sin_towardzero_test_data): New variable.
29702         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29703         (sin_downward_test_data): New variable.
29704         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29705         (sin_upward_test_data): New variable.
29706         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29707         (sinh_test_data): New variable.
29708         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29709         (sinh_tonearest_test_data): New variable.
29710         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29711         (sinh_towardzero_test_data): New variable.
29712         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29713         (sinh_downward_test_data): New variable.
29714         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29715         (sinh_upward_test_data): New variable.
29716         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29717         (sqrt_test_data): New variable.
29718         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29719         (tan_test_data): New variable.
29720         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29721         (tan_tonearest_test_data): New variable.
29722         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29723         (tan_towardzero_test_data): New variable.
29724         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29725         (tan_downward_test_data): New variable.
29726         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29727         (tan_upward_test_data): New variable.
29728         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29729         (tanh_test_data): New variable.
29730         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29731         (tgamma_test_data): New variable.
29732         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29733         (trunc_test_data): New variable.
29734         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29735         (y0_test_data): New variable.
29736         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29737         (y1_test_data): New variable.
29738         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29739         (significand_test_data): New variable.
29740         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29742 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29744         [BZ #12387]
29745         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29747 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29749         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29751 2013-05-10  Andreas Jaeger  <aj@suse.de>
29753         [BZ #15448]
29754         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29755         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29757 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29759         * math/gen-libm-test.pl (adjust_arg): New function.
29760         (special_functions): Handle generating output in both functions
29761         and arrays.
29762         (parse_args): Likewise.
29763         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29764         $in_func argument to parse_args.
29765         * math/libm-test.inc (struct test_f_f_data): New type.
29766         (IF_ROUND_INIT_): New macro.
29767         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29768         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29769         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29770         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29771         (ROUND_RESTORE_): Likewise.
29772         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29773         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29774         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29775         (ROUND_RESTORE_FE_UPWARD): Likewise.
29776         (RUN_TEST_LOOP_f_f): New macro.
29777         (acos_test_data): New variable.
29778         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29779         (acos_tonearest_test_data): New variable.
29780         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29782 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29784         * benchtests/bench-skeleton.c (startup): Fix coding style.
29786 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29788         [BZ #6809]
29789         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29790         negative infinity argument.
29791         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29792         negative infinity argument.
29793         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29794         negative infinity argument.
29795         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29796         domain errors.
29798 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29800         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29801         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29802         * iconv/iconv_prog.c (main): Likewise.
29803         * locale/programs/charmap-dir.c (charmap_readdir)
29804         (fopen_uncompressed): Likewise.
29805         * locale/programs/locfile.c (siblings_uncached)
29806         (write_locale_data): Use lstat64 instead of lstat.
29807         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29808         stat.
29810 2013-05-10  Andreas Jaeger  <aj@suse.de>
29812         [BZ #15395]
29813         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29814         localization.
29815         Include <locale.h>.
29817 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29819         * elf/dl-close.c (_dl_close_worker): Add comments.
29821 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29823         [BZ #15359]
29824         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29825         high part of pi/2.
29826         (__ieee754_rem_pio2l): Update comments.
29828         [BZ #15429]
29829         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29830         high part of pi/2.
29831         (__ieee754_rem_pio2l): Update comments.
29833         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29834         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29836         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29837         M_PI_4l.
29839         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29840         (M_PI_34_LOG10El): Likewise.
29841         (M_PI2_LOG10El): Likewise.
29842         (M_PI4_LOG10El): Likewise.
29843         (M_PI_LOG10El): Likewise.
29845 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29849 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29851         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29852         (MINUS_ZERO_INIT): Likewise.
29853         (PLUS_INFTY_INIT): Likewise.
29854         (MINUS_INFTY_INIT): Likewise.
29855         (QNAN_VALUE_INIT): Likewise.
29856         (MAX_VALUE_INIT): Likewise.
29857         (MIN_VALUE_INIT): Likewise.
29858         (MIN_SUBNORM_VALUE_INIT): Likewise.
29859         (plus_zero): Initialize with PLUS_ZERO_INIT.
29860         (minus_zero): Initialize with MINUS_ZERO_INIT.
29861         (plus_infty): Initialize with PLUS_INFTY_INIT.
29862         (minus_infty): Initialize with MINUS_INFTY_INIT.
29863         (qnan_value): Initialize with QNAN_VALUE_INIT.
29864         (max_value): Initialize with MAX_VALUE_INIT.
29865         (min_value): Initialize with MIN_VALUE_INIT.
29866         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29868         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29869         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29870         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29871         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29873         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29874         (RUN_TEST_2_f): Likewise.
29875         (RUN_TEST_ff_f): Likewise.
29876         (RUN_TEST_fi_f): Likewise.
29877         (RUN_TEST_fl_f): Likewise.
29878         (RUN_TEST_fff_f): Likewise.
29879         (RUN_TEST_c_f): Likewise.
29880         (RUN_TEST_f_f1): Likewise.
29881         (RUN_TEST_fF_f1): Likewise.
29882         (RUN_TEST_fI_f1): Likewise.
29883         (RUN_TEST_ffI_f1): Likewise.
29884         (RUN_TEST_c_c): Likewise.
29885         (RUN_TEST_cc_c): Likewise.
29886         (RUN_TEST_f_i): Likewise.
29887         (RUN_TEST_f_i_tg): Likewise.
29888         (RUN_TEST_ff_i_tg): Likewise.
29889         (RUN_TEST_f_b): Likewise.
29890         (RUN_TEST_f_b_tg): Likewise.
29891         (RUN_TEST_f_l): Likewise.
29892         (RUN_TEST_f_L): Likewise.
29893         (RUN_TEST_sincos): Likewise.
29894         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29895         whether to show exceptions.  Do not include ");\n" in return
29896         value.
29897         (special_functions): Output call to RUN_TEST_sincos instead of
29898         check_float calls.  Update calls to new_test.
29899         (parse_args): Output call to single RUN_TEST_* macro instead of
29900         check_* calls and other assignments.  Update calls to new_test.
29902         [BZ #2546]
29903         [BZ #2560]
29904         [BZ #5159]
29905         [BZ #15426]
29906         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29907         input to result for tgamma overflow.
29908         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29909         (gamma_coeff): New variable.
29910         (NCOEFF): New macro.
29911         (gamma_positive): New function.
29912         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29913         underflow here.  Use gamma_positive instead of exp (lgamma) for
29914         other arguments.
29915         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29916         (gamma_coeff): New variable.
29917         (NCOEFF): New macro.
29918         (gammaf_positive): New function.
29919         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29920         underflow here.  Use gamma_positive instead of exp (lgamma) for
29921         other arguments.
29922         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29923         (gamma_coeff): New variable.
29924         (NCOEFF): New macro.
29925         (gammal_positive): New function.
29926         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29927         underflow here.  Use gamma_positive instead of exp (lgamma) for
29928         other arguments.
29929         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29930         (gamma_coeff): New variable.
29931         (NCOEFF): New macro.
29932         (gammal_positive): New function.
29933         (__ieee754_gammal_r): Handle positive infinity, overflow and
29934         underflow here.  Handle NaN the same as positive infinity.  Remove
29935         check x < 0xffffffff for negative integers.  Use gamma_positive
29936         instead of exp (lgamma) for other arguments.
29937         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29938         (gamma_coeff): New variable.
29939         (NCOEFF): New macro.
29940         (gammal_positive): New function.
29941         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29942         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29943         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29946         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29947         * sysdeps/generic/math_private.h (__gamma_productf): New
29948         prototype.
29949         (__gamma_product): Likewise.
29950         (__gamma_productl): Likewise.
29951         * math/Makefile (libm-calls): Add gamma_product.
29952         * math/libm-test.inc (tgamma_test): Add more tests.
29953         * sysdeps/i386/fpu/libm-test-ulps: Update.
29954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29956 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29958         * benchtests/bench-skeleton.c (main): Preheat CPU.
29960 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29962         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29964 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29966         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29967         and _dl_skip_args_internal.
29969 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29971         * manual/message.texi (Message Translation): Talk about users.
29972         Message to key mapping impacts design.
29974 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29976         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29978         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29980         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29981         * sysdeps/wordsize-64/glob64.c: ... here.
29983         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29984         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29985         New macros.
29987         * debug/getlogin_r_chk.c: Moved to ...
29988         * login/getlogin_r_chk.c: ... here.
29989         * debug/Makefile (routines): Move getlogin_r_chk to ...
29990         * login/Makefile (routines): ... here.
29991         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29992         * login/Versions (libc: GLIBC_2.4): ... here.
29994         * io/poll.c (__poll): Renamed from poll.
29995         Add libc_hidden_def.
29996         (poll): Define as weak alias.
29998         * debug/ptsname_r_chk.c: Moved to ...
29999         * login/ptsname_r_chk.c: ... here.
30000         * debug/Makefile (routines): Move ptsname_r_chk to ...
30001         * login/Makefile (routines): ... here.
30002         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30003         * login/Versions (libc: GLIBC_2.4): ... here.
30005         * posix/getlogin.c: Moved to ...
30006         * login/getlogin.c: ... here.
30007         * posix/getlogin_r.c: Moved to ...
30008         * login/getlogin_r.c: ... here.
30009         * posix/getlogin_r.c: Moved to ...
30010         * login/getlogin_r.c: ... here.
30011         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30012         * login/Makefile (routines): ... here.
30013         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30014         * login/Versions (libc: GLIBC_2.0): ... here.
30016         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30017         (setrlimit): Define as weak alias.
30019         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30020         Call __ names for open, ftruncate, and close.
30021         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30022         (truncate): Define as weak alias.
30024 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
30026         * math/gen-libm-test.pl (parse_args): Initialize x before each
30027         test of frexp, modf and remquo.
30029         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30030         test signgam value.
30032 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30034         [BZ #15418]
30035         [BZ #15419]
30036         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30037         internal tests.
30038         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30040 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30042         * elf/dl-writev.h: New file.
30043         * elf/dl-misc.c: Include it.
30044         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30045         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30047 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
30049         * math/libm-test.inc (noXFails): Remove variable.
30050         (noXPasses): Likewise.
30051         (BUILD_COMPLEX_INT): Remove macro.
30052         (print_screen): Remove xfail argument.
30053         (print_screen_max_error): Likewise.
30054         (update_stats): Likewise.
30055         (print_max_error): Likewise.  Update calls to other affected
30056         functions.
30057         (print_complex_max_error): Likewise.
30058         (test_single_exception): Update calls to print_screen.
30059         (test_single_errno): Likewise.
30060         (check_float_internal): Remove xfail argument.  Update calls to
30061         other affected functions.
30062         (check_float): Likewise.
30063         (check_complex): Likewise.
30064         (check_int): Likewise.
30065         (check_long): Likewise.
30066         (check_bool): Likewise.
30067         (check_longlong): Likewise.
30068         (main): Don't print noXFails and noXPasses.
30069         * math/gen-libm-test.pl (top level): Don't mention expected
30070         failure handling in comment.
30071         (new_test): Don't handle expected failures.
30072         (parse_args): Don't mention expected failure handling in comment.
30073         (generate_testfile): Don't handle expected failures.
30074         (parse_ulps): Likewise.
30075         (print_ulps_file): Likewise.
30076         (get_failure): Remove function.
30077         (output_test): Don't handle expected failures.
30078         * make/README.libm-test: Don't mention expected failure handling.
30080         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
30081         (minus_zero): Likewise.
30082         (plus_infty): Likewise.
30083         (minus_infty): Likewise.
30084         (qnan_value): Likewise.
30085         (max_value): Likewise.
30086         (min_value): Likewise.
30087         (min_subnorm_value): Likewise.
30088         (initialize): Do not initialize those variables dynamically.
30090 2013-05-03  Roland McGrath  <roland@hack.frob.com>
30092         * io/open.c (__open_2): Moved to ...
30093         * io/open_2.c: ... this new file.
30094         * io/open64.c (__open64_2): Moved to ...
30095         * io/open64_2.c: ... this new file.
30096         * io/openat.c (__openat_2): Moved to ...
30097         * io/openat_2.c: ... this new file.
30098         * io/openat64.c (__openat64_2): Moved to ...
30099         * io/openat64_2.c: ... this new file.
30100         * io/Makefile (routines): Add them.
30101         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30102         * sysdeps/unix/sysv/linux/open_2.c: File removed.
30103         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30104         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30105         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30106         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30107         (__openat64): Add hidden_ver.
30108         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30109         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30111         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30112         Separately conditionalize setting of GLRO(dl_sysinfo) so
30113         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30114         as well, but the actual setting is only under [NEED_DL_SYSINFO].
30116 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30118         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30120         definition.
30121         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30122         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30123         (_libc_vdso_platform_setup): Add __vdso_time initialization.
30124         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30125         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30127 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
30129         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30130         test signgam value.
30132         * math/libm-test.inc (hypot_test): Do not use
30133         IGNORE_ZERO_INF_SIGN.
30135 2013-05-03  Andreas Jaeger  <aj@suse.de>
30137         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30138         Linux 3.9.
30139         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30140         (PF_MAX): Adjust for VSOCK change.
30142 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30146 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
30148         [BZ #15264]
30149         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30150         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30151         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30153 2013-05-02  David S. Miller  <davem@davemloft.net>
30155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30157 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
30159         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30161 2013-05-01  Roland McGrath  <roland@hack.frob.com>
30163         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30165 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
30167         [BZ #14952]
30168         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30169         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30170         Use __attribute__ ((__gnu_inline__)).
30171         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30172         Don't use __attribute__ ((__gnu_inline__)).
30174 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
30176         [BZ #15423]
30177         * math/s_catan.c (__catan): Handle small real or imaginary part of
30178         input specially to avoid spurious underflow.
30179         * math/s_catanf.c (__catanf): Likewise.
30180         * math/s_catanh.c (__catanh): Likewise.
30181         * math/s_catanhf.c (__catanhf): Likewise.
30182         * math/s_catanhl.c (__catanhl): Likewise.
30183         * math/s_catanl.c (__catanl): Likewise.
30184         * math/libm-test.inc (catan_test): Add more tests.
30185         (catanh_test): Likewise.
30186         * sysdeps/i386/fpu/libm-test-ulps: Update.
30187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30189 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30193 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
30195         [BZ #15416]
30196         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30197         accurately for denominator in atan2.
30198         * math/s_catanf.c (__catanf): Likewise.
30199         * math/s_catanh.c (__catanh): Likewise.
30200         * math/s_catanhf.c (__catanhf): Likewise.
30201         * math/s_catanhl.c (__catanhl): Likewise.
30202         * math/s_catanl.c (__catanl): Likewise.
30203         * math/libm-test.inc (catan_test): Add more tests.
30204         (catanh_test): Likewise.
30205         * sysdeps/i386/fpu/libm-test-ulps: Update.
30206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30210         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30212         * benchtests/Makefile (bench): Remove slow benchmarks.
30213         * benchtests/atan-inputs: Add slow benchmark inputs.
30214         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30215         (BENCH_FUNC): Accept variant offset.
30216         (VARIANT): Define.
30217         * benchtests/bench-skeleton.c (main): Run benchmark for each
30218         variant.
30219         * benchtests/cos-inputs: Add slow benchmark inputs.
30220         * benchtests/exp-inputs: Likewise.
30221         * benchtests/pow-inputs: Likewise.
30222         * benchtests/sin-inputs: Likewise.
30223         * benchtests/slowatan-inputs: Remove.
30224         * benchtests/slowatan.c: Remove.
30225         * benchtests/slowcos-inputs: Remove.
30226         * benchtests/slowcos.c: Remove.
30227         * benchtests/slowexp-inputs: Remove.
30228         * benchtests/slowexp.c: Remove.
30229         * benchtests/slowpow-inputs: Remove.
30230         * benchtests/slowpow.c: Remove.
30231         * benchtests/slowsin-inputs: Remove.
30232         * benchtests/slowsin.c: Remove.
30233         * benchtests/slowtan-inputs: Remove.
30234         * benchtests/slowtan.c: Remove.
30235         * benchtests/tan-inputs: Add slow benchmark inputs.
30236         * scripts/bench.pl: Parse comments and directives.
30238         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30239         in CPPFLAGS.
30240         ($(objpfx)bench-%.c): Remove *-ITER.
30241         * benchtests/bench-modf.c: Remove definition of ITER.
30242         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30243         (main): Loop for DURATION seconds instead of fixed number of
30244         iterations.
30245         * scripts/bench.pl: Don't expect iterations in parameters.
30247 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30249         * io/fchdir.c (__fchdir): Renamed from fchdir.
30250         (fchdir): Define as weak alias.
30252 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30254         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30255         (ERRNO_EDOM): Likewise.
30256         (ERRNO_ERANGE): Likewise.
30257         (noErrnoTests): New variable.
30258         (init_max_error): Set errno to 0.
30259         (test_single_errno): New function.
30260         (test_errno): Likewise.
30261         (check_float_internal): Call test_errno.  Set errno to 0.
30262         (check_complex): Refer to errno tests in comment.
30263         (check_int): Call test_errno.  Set errno to 0.
30264         (check_long): Likewise.
30265         (check_bool): Likewise.
30266         (check_longlong): Likewise.
30267         (cos_test): Use ERRNO_* flags for errno tests instead of
30268         check_int.
30269         (expm1_test): Likewise.
30270         (fmod_test): Likewise.
30271         (ilogb_test): Likewise.
30272         (lgamma_test): Likewise.
30273         (pow_test): Likewise.
30274         (remainder_test): Likewise.
30275         (sin_test): Likewise.
30276         (tan_test): Likewise.
30277         (yn_test): Likewise.
30278         (initialize): Set errno to 0.
30279         (main): Print number of errno tests.
30280         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30282 2013-04-29  Andreas Jaeger  <aj@suse.de>
30284         [BZ #15084]
30285         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30286         and RES_USEVC.
30288         [BZ #15085]
30289         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30290         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30291         unimplemented.
30293         [BZ #15380]
30294         * stdlib/random.c (__initstate): Return NULL if
30295         __initstate fails.
30297         [BZ #15086]
30298         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30299         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30300         RES_SNGLKUPREOP.
30302 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30306 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30308         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30309         of individual tests.
30310         (casin_test): Likewise.
30311         (casinh_test): Likewise.
30313 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
30315         [BZ #15409]
30316         * math/s_catan.c (__catan): Handle arguments with large real or
30317         imaginary part separately without squaring.
30318         * math/s_catanf.c (__catanf): Likewise.
30319         * math/s_catanh.c (__catanh): Likewise.
30320         * math/s_catanhf.c (__catanhf): Likewise.
30321         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30322         and redefine.
30323         (__catanhl): Handle arguments with large real or imaginary part
30324         separately without squaring.
30325         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30326         and redefine.
30327         (__catanl): Handle arguments with large real or imaginary part
30328         separately without squaring.
30329         * math/libm-test.inc (catan_test): Add more tests.
30330         (catanh_test): Likewise.
30331         * sysdeps/i386/fpu/libm-test-ulps: Update.
30332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30334 2013-04-27  Andreas Jaeger  <aj@suse.de>
30336         [BZ #15007]
30337         * stdlib/stdlib.h: Update guards for qecvt.
30338         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30339         <stdlib.h>.
30341 2013-04-27  Allan McRae  <allan@archlinux.org>
30343         * sysdeps/i386/fpu/libm-test-ulps: Update.
30345 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30347         [BZ #15406]
30348         * math/s_catan.c: Include <float.h>.
30349         (__catan): Ensure underflow exception occurs for underflowed
30350         result.
30351         * math/s_catanf.c: Include <float.h>.
30352         (__catanf): Ensure underflow exception occurs for underflowed
30353         result.
30354         * math/s_catanh.c: Include <float.h>.
30355         (__catanh): Ensure underflow exception occurs for underflowed
30356         result.
30357         * math/s_catanhf.c: Include <float.h>.
30358         (__catanhf): Ensure underflow exception occurs for underflowed
30359         result.
30360         * math/s_catanhl.c: Include <float.h>.
30361         (__catanhl): Ensure underflow exception occurs for underflowed
30362         result.
30363         * math/s_catanl.c: Include <float.h>.
30364         (__catanl): Ensure underflow exception occurs for underflowed
30365         result.
30366         * math/libm-test.inc (catan_test): Add more tests.
30367         (catanh_test): Likewise.
30369         [BZ #15405]
30370         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30371         underflowed result.
30372         * math/s_ccoshf.c (__ccoshf): Likewise.
30373         * math/s_ccoshl.c (__ccoshl): Likewise.
30374         * math/s_csin.c (__csin): Likewise.
30375         * math/s_csinf.c (__csinf): Likewise.
30376         * math/s_csinh.c (__csinh): Likewise.
30377         * math/s_csinhf.c (__csinhf): Likewise.
30378         * math/s_csinhl.c (__csinhl): Likewise.
30379         * math/s_csinl.c (__csinl): Likewise.
30380         * math/libm-test.inc (ccos_test): Add more tests.
30381         (ccosh_test): Likewise.
30382         (csin_test): Likewise.
30383         (csinh_test): Likewise.
30385 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30387         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30388         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30389         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30390         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30391         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30392         powerpc/power5+/fpu folders.
30393         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30396 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30400 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30402         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30403         additions to variable.
30404         [$(config-machine) = x86_64] (modules-names): Likewise.
30405         ($(objpfx)tst-audit3): Remove dependency.
30406         ($(objpfx)tst-audit3.out): Likewise.
30407         ($(objpfx)tst-audit4): Likewise.
30408         ($(objpfx)tst-audit4.out): Likewise.
30409         ($(objpfx)tst-audit5): Likewise.
30410         ($(objpfx)tst-audit5.out): Likewise.
30411         ($(objpfx)tst-audit6): Likewise.
30412         ($(objpfx)tst-audit6.out): Likewise.
30413         ($(objpfx)tst-audit7): Likewise.
30414         ($(objpfx)tst-audit7.out): Likewise.
30415         (tst-audit3-ENV): Remove variable.
30416         (tst-audit4-ENV): Likewise.
30417         (tst-audit5-ENV): Likewise.
30418         (tst-audit6-ENV): Likewise.
30419         (tst-audit7-ENV): Likewise.
30420         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30421         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30422         addition to variable.
30423         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30424         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30425         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30426         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30427         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30428         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30429         tst-audit3, tst-audit4 and tst-audit5.
30430         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30431         tst-audit6 and tst-audit7.
30432         [$(subdir) = elf] (modules-names): Add audit modules for those
30433         tests.
30434         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30435         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30436         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30437         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30438         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30439         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30440         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30441         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30442         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30443         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30444         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30445         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30446         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30447         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30448         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30449         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30450         Likewise.
30451         [$(subdir) = elf && $(config-cflags-avx) = yes]
30452         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30453         [$(subdir) = elf && $(config-cflags-avx) = yes]
30454         (CFLAGS-tst-auditmod4a.c): Likewise.
30455         [$(subdir) = elf && $(config-cflags-avx) = yes]
30456         (CFLAGS-tst-auditmod4b.c): Likewise.
30457         [$(subdir) = elf && $(config-cflags-avx) = yes]
30458         (CFLAGS-tst-auditmod6b.c): Likewise.
30459         [$(subdir) = elf && $(config-cflags-avx) = yes]
30460         (CFLAGS-tst-auditmod6c.c): Likewise.
30461         [$(subdir) = elf && $(config-cflags-avx) = yes]
30462         (CFLAGS-tst-auditmod7b.c): Likewise.
30463         * elf/tst-audit3.c: Move to ...
30464         * sysdeps/x86_64/tst-audit3.c: ... here.
30465         * elf/tst-audit4.c: Move to ...
30466         * sysdeps/x86_64/tst-audit4.c: ... here.
30467         * elf/tst-audit5.c: Move to ...
30468         * sysdeps/x86_64/tst-audit5.c: ... here.
30469         * elf/tst-audit6.c: Move to ...
30470         * sysdeps/x86_64/tst-audit6.c: ... here.
30471         * elf/tst-audit7.c: Move to ...
30472         * sysdeps/x86_64/tst-audit7.c: ... here.
30473         * elf/tst-auditmod3a.c: Move to ...
30474         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30475         * elf/tst-auditmod3b.c: Move to ...
30476         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30477         * elf/tst-auditmod4a.c: Move to ...
30478         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30479         * elf/tst-auditmod4b.c: Move to ...
30480         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30481         * elf/tst-auditmod5a.c: Move to ...
30482         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30483         * elf/tst-auditmod5b.c: Move to ...
30484         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30485         * elf/tst-auditmod6a.c: Move to ...
30486         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30487         * elf/tst-auditmod6b.c: Move to ...
30488         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30489         * elf/tst-auditmod6c.c: Move to ...
30490         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30491         * elf/tst-auditmod7a.c: Move to ...
30492         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30493         * elf/tst-auditmod7b.c: Move to ...
30494         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30496 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30498         [BZ #15366]
30499         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30500         define unconditionally.
30501         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30502         define unconditionally.
30503         (INT8_C, INT16_C, etc.): Likewise.
30505 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30507         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30508         __ehdr_start with hidden visibility.
30510         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30512 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30514         * math/libm-test.inc (cos_test): Use accurate hex constants.
30515         (sincost_test): Likewise.
30517 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30519         * math/libm-test.inc (catan_test): Add more tests.
30520         (catanh_test): Likewise.
30522         * math/s_catanf.c (__catanf): Use suffixed floating-point
30523         constants.
30524         * math/s_catanhf.c (__catanhf): Likewise.
30525         * math/s_catanhl.c (__catanhl): Likewise.
30526         * math/s_catanl.c (__catanl): Likewise.
30528         [BZ #15394]
30529         * math/s_catan.c (__catan): Calculate imaginary part of result
30530         with log1p not log unless computing log of number close to 0.
30531         * math/s_catanf.c (__catanf): Likewise.
30532         * math/s_catanl.c (__catanl): Likewise.
30533         * math/s_catanh.c (__catanh): Calculate real part of result with
30534         log1p not log unless computing log of number close to 0.
30535         * math/s_catanhf.c (__catanhf): Likewise.
30536         * math/s_catanhl.c (__catanhl): Likewise.
30537         * math/libm-test.inc (catan_test): Add more tests.
30538         (catanh_test): Likewise.
30539         * sysdeps/i386/fpu/libm-test-ulps: Update.
30540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30542 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30544         * benchtests/Makefile: Mention files in which fast and slow
30545         paths of math functions are implemented.
30547 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30549         * sysdeps/posix/timespec_get.c: New file.
30551 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30553         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30554         POWER.
30555         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30556         for POWER.
30557         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30558         powerpc/power5/fpu folders.
30559         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30560         * benchtests/Makefile: Add modf testcase.
30561         * benchtests/bench-modf.c: New file: Benchmark test for mo
30563 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30565         [BZ #14888]
30566         * time/Makefile (tests): Add tst-strptime-whitespace.
30567         * time/strptime_l.c (get_number): Use ISSPACE.
30568         (__strptime_internal): Likewise.
30569         * time/tst-strptime-whitespace.c: New test case.
30571 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30573         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30574         member.
30575         (_nss_files_init): Set it here.
30577 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30579         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30580         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30581         unsigned.
30583 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30585         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30587 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30589         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30590         size just once.
30592 2013-04-21  David S. Miller  <davem@davemloft.net>
30594         * po/ru.po: Update Russion translation from translation project.
30596 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30598         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30599         and setfsgid.
30601 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30603         * configure.in: Remove i386 configure warning. Remove i386 case.
30604         * configure: Regenerate.
30605         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30606         Add example to error message.
30607         * sysdeps/i386/configure: Regenerate.
30609 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30611         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30612         slowtan.
30613         * benchtests/cos-inputs: New file.
30614         * benchtests/slowcos-inputs: New file.
30615         * benchtests/slowcos.c: New file.
30616         * benchtests/slowtan-inputs: New file.
30617         * benchtests/slowtan.c: New file.
30618         * benchtests/tan-inputs: New file.
30620 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30622         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30623         considered kosher.
30625 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30627         * benchtests/Makefile: Include cppflags-iterator.mk to add
30628         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30630         * Makefile.in (bench-clean): New target.
30631         * benchtests/Makefile (bench-clean): Likewise.
30633 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30635         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30637 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30639         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30641 2013-04-15  Andreas Schwab  <schwab@suse.de>
30643         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30644         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30645         * nscd/pwdcache.c (cache_addpw): Likewise.
30646         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30647         more than recsize.
30649 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30651         * benchtests/Makefile (bench): Write all output to
30652         bench-out.tmp together.
30654 2013-04-15  Andreas Schwab  <schwab@suse.de>
30656         * nscd/nscd.c (main): Don't fork again after closing files.
30658 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30660         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30662         * benchtests/Rules (bench-deps): Collect dependencies into a
30663         single variable.  Add Makefile to dependencies.
30664         ($(objpfx)bench-%.c): Depend on bench-deps.
30666 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30667             Xavier Roche  <roche+kml2@exalead.com>
30669         [BZ #15361]
30670         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30671         just that it's a file descriptor.
30672         * manual/llio.texi (Synchronizing AIO Operations): Update description
30673         for EBADF error from aio_fsync.
30675 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30677         * Rules (bench): Move target definition...
30678         * benchtests/Makefile: ... here.
30680 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30682         * math/libm-test.inc (cos_test): Fix PI/2 test.
30683         (sincos_test): Likewise.
30684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30685         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30687 2013-04-11  Andreas Schwab  <schwab@suse.de>
30689         [BZ #13988]
30690         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30691         accept exponent character only when digits were seen.
30692         * stdio-common/Makefile (tests): Add bug26.
30693         * stdio-common/bug26.c: New file.
30695         [BZ #14293]
30696         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30697         non-freeable.
30699 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30701         * Makeconfig (rtld-prefix): Define built linker prefix.
30702         * Rules (run-bench): Use it.
30703         * math/Makefile (run-regen-ulps): Likewise.
30705         * Rules (bench): Remove eval.
30707 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30708             Roland McGrath  <roland@hack.frob.com>
30709             Ondrej Bilka  <neleai@seznam.cz>
30711         [BZ #15346]
30712         * time/getdate.c: Include ctype.h and alloca.h.
30713         (__getdate_r): Trim leading and trailing spaces of input.
30714         * time/tst-getdate.c (tests): Add tests with leading and
30715         trailing spaces.
30717 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30719         [BZ #14280]
30720         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30721         when computing value.
30723 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30725         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30726         Use testrun.sh to run libm tests.
30728         [BZ #15309]
30729         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30731 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30733         [BZ #15264]
30734         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30736 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30738         * Makefile.in (regen-ulps): New target.
30739         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30740         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30741         [ifneq (no,$(PERL)] (regen-ulps): New target.
30742         [ifeq (no,$(PERL)] (regen-ulps): New target.
30743         * math/libm-test.inc (ulps_file_name): Define.
30744         (output_dir): New variable.
30745         (options): Add "output-dir" option.
30746         (parse_opt): Handle 'o' case.
30747         (main): If output_dir is non-NULL use it as a prefix
30748         otherwise use "".
30749         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30751 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30753         [BZ #10060, #10062]
30754         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30755         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30756         fail configure if __sync_val_compare_and_swap is not inlined.
30757         * sysdeps/i386/configure: Regenerate.
30758         * configure.in: Build for i686 when configured for i386.
30759         * configure: Regenerate.
30760         * README: Remove i386 reference.
30762 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30764         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30767 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30769         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30770         (lmsnanval): New variables.
30771         (F): Add conversion tests.
30772         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30773         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30775         * stdio-common/tstdiomisc.c (F): Properly collect individual
30776         tests' results.
30778         [BZ #14686, #15336]
30779         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30780         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30781         Instead, use input NaN values or generate a qNaN by arithmetic
30782         operation.  Also fix bugs to comply with the standard.
30783         * math/libm-test.inc (remainder_test): Add more tests.
30785         [BZ #15335, #15342]
30786         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30788         input NaN values or generate a qNaN by arithmetic operation.
30790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30791         unreachable code.
30793         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30794         definitions.
30796 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30798         [BZ #14478]
30799         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30800         underflowed result.
30801         * math/s_cexpf.c (__cexpf): Likewise.
30802         * math/s_cexpl.c (__cexpl): Likewise.
30803         * math/libm-test.inc (cexp_test): Add more tests.
30805 2013-04-03  Andreas Schwab  <schwab@suse.de>
30807         [BZ #15330]
30808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30809         order arrays from heap if bigger than alloca cutoff.
30811 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30813         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30814         (SNAN_TESTS_double): Refer to GCC PR56831.
30815         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30816         GCC PR56828.
30818 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30820         * Rules (bench): Move bench.out after the run is complete.
30822         * Rules (bench): Echo currently running benchmark.
30824         * benchtests/Makefile (bench): Add atan and slowatan.
30825         * benchtests/atan-inputs: New file.
30826         * benchtests/slowatan-inputs: New file.
30827         * benchtests/slowatan.c: New file.
30829         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30831         its value.
30833         [BZ #15305]
30834         * sysdeps/unix/sysv/linux/kernel-features.h
30835         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30836         __ASSUME_XFS_RESTRICTED_CHOWN.
30837         * sysdeps/unix/sysv/linux/pathconf.c
30838         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30839         Save and restore errno.
30841 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30843         [BZ #15327]
30844         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30845         arguments using __kernel_casinh.
30846         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30847         arguments using __kernel_casinhf.
30848         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30849         arguments using __kernel_casinhl.
30850         * math/libm-test.inc (cacosh_test): Add more tests.
30851         * sysdeps/i386/fpu/libm-test-ulps: Update.
30852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30854 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30856         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30857         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30859         * bench/Makefile (bench): Add sin and slowsin.
30860         * benchtests/sin-inputs: New file.
30861         * benchtests/slowsin-inputs: New file.
30862         * benchtests/slowsin.c: New file.
30864         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30865         (bench): Add slowexp and slowpow.
30866         (exp-ITER): Increase iterations.
30867         (pow-ITER): Likewise.
30868         * benchtests/exp-inputs: Change input.
30869         * benchtests/pow-inputs: Likewise.
30870         * benchtests/slowexp-inputs: New file.
30871         * benchtests/slowexp.c: New file.
30872         * benchtests/slowpow-inputs: New file.
30873         * benchtests/slowpow.c: New file.
30875 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30877         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30878         instructions.
30879         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30880         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30881         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30882         * benchtests/Makefile: Add rint benchtest.
30883         * benchtests/rint-inputs: Input for rint benchtest.
30885 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30887         * Versions.def (libm): Add GLIBC_2.18.
30888         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30889         hidden libm prototypes.
30890         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30891         * math/Makefile (libm-calls): Add s_issignaling.
30892         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30893         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30894         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30895         declaration.
30896         * math/math.h [__USE_GNU] (issignaling): New macro.
30897         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30898         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30899         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30900         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30901         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30902         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30903         * manual/arith.texi (issignaling): New section.
30904         * manual/libm-err-tab.pl (@all_functions): Update comment.
30905         * math/gen-libm-test.pl (parse_args): Apply special handling for
30906         issignaling.
30907         * math/libm-test.inc (print_float, issignaling_test): New
30908         functions.
30909         (check_float_internal): Add issignaling checks.
30910         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30911         default definition.
30912         * sysdeps/powerpc/math-tests.h: New file.
30913         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30914         tests.
30915         * math/test-snan.c (TEST_FUNC): Likewise.
30917 2013-03-30  David S. Miller  <davem@davemloft.net>
30919         * po/de.po: Update from translation team.
30921 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30923         [BZ #10357]
30924         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30925         imaginary part less than 1.0 and real part less than 0.5
30926         specially.
30927         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30928         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30929         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30930         (cacos_test): Add more tests.
30931         (casin_test): Likewise.
30932         (casinh_test): Likewise.
30933         * sysdeps/i386/fpu/libm-test-ulps: Update.
30934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30936 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30938         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30939         ONE with its value.
30941         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30942         (__pow_mp): Replace ONE and MONE with their values.
30943         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30945         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30946         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30947         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30948         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30950         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30952         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30953         (__pow_mp): Replace ZERO and MZERO with their values.
30954         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30956         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30958         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30959         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30960         (__sqr): Likewise.
30962         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30964         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30966 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30968         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30969         Declare with __attribute__ ((weak)).
30970         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30971         Call __call_tls_dtors only if it's not NULL.
30973 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30975         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30976         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30977         magic __ehdr_start linker symbol if it's defined.
30978         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30979         them up here if it was already done.
30981         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30982         (_dl_aux_init): Use const in cast when setting it.
30983         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30984         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30985         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30987         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30988         Declare them here.
30989         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30990         * csu/libc-tls.c: Nor here.
30991         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30993         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30994         (__libc_message): Never call vsyslog.
30996 2013-03-28  Alan Modra  <amodra@gmail.com>
30998         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30999         Define as empty.
31000         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31001         Likewise.
31003 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31005         [BZ #15214]
31006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31007         underflow.
31008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31010 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31012         [BZ #15304]
31013         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31014         Don't add gid passed as argument.
31016         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31018 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
31020         [BZ #15307]
31021         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31022         imaginary part between 1.0 and 1.5 and real part less than 0.5
31023         specially.
31024         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31025         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31026         * math/libm-test.inc (cacos_test): Add more tests.
31027         (casin_test): Likewise.
31028         (casinh_test): Likewise.
31029         * sysdeps/i386/fpu/libm-test-ulps: Update.
31030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31032 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31035         constants.
31036         (norm): Likewise.
31037         (denorm): Likewise.
31038         (__dbl_mp): Likewise.
31039         (add_magnitudes): Likewise.
31040         (sub_magnitudes): Likewise.
31041         (__add): Likewise.
31042         (__sub): Likewise.
31043         (__mul): Likewise.
31044         (__sqr): Likewise.
31045         (__inv): Likewise.
31046         (__dvd): Likewise.
31048         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31049         commented code.
31050         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31051         (__dubcos): Likewise.
31052         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31053         (__ieee754_acos): Likewise.
31054         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31055         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31056         (__exp1): Likewise.
31057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31059         (log1): Likewise.
31060         (my_log2): Likewise.
31061         (checkint): Likewise.
31062         * sysdeps/ieee754/dbl-64/e_remainder.c
31063         (__ieee754_remainder): Likewise.
31064         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31066         (bsloww): Likewise.
31067         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31069         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31070         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31071         MANTISSA_STORE_T to store computations on mantissa.  Use
31072         macros for rounding and division.
31073         (denorm): Likewise.
31074         (__dbl_mp): Likewise.
31075         (add_magnitudes): Likewise.
31076         (sub_magnitudes): Likewise.
31077         (__mul): Likewise.
31078         (__sqr): Likewise.
31079         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31080         powers of two in terms of TWOPOW macro.
31081         (mp_no): Make type of mantissa as MANTISSA_T.
31082         [!RADIXI]: Define RADIXI.
31083         [!TWO52]: Define TWO52.
31084         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31086 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31088         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31089         llroundl symbol when building for PPC32.
31091 2013-03-24  Mark H Weaver  <mhw@netris.org>
31093         * manual/arith.texi (Normalization Functions): Fix prototypes for
31094         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31096 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31098         [BZ #13889]
31099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31100         high value to check if expl overflow.
31101         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31102         to check for underflow and overflow.
31103         * math/libm-test.inc: Add exp test.
31105 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
31107         [BZ #11120]
31108         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31109         with NOT_IN_libc.
31111 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31113         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31114         symbol.
31116 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31118         * math/gen-libm-test.pl (parse_args, special_functions): Properly
31119         wrap blocks consisting of several statements.
31121         * sysdeps/generic/math-tests.h: New file.
31122         * sysdeps/i386/fpu/math-tests.h: Likewise.
31123         * math/test-snan.c: Include it.
31124         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31126 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31128         [BZ #15285]
31129         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31130         (__ieee754_j0l): Do not improve calculations using cos of twice
31131         input for inputs above LDBL_MAX / 2.0L.
31132         (__ieee754_y0l): Likewise.
31133         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31134         (__ieee754_j1l): Do not improve calculations using cos of twice
31135         input for inputs above LDBL_MAX / 2.0L.
31136         (__ieee754_y1l): Likewise.
31137         * math/libm-test.inc (j0_test): Add another test.
31138         (j1_test): Likewise.
31139         (y0_test): Likewise.
31140         (y1_test): Likewise.
31141         * sysdeps/i386/fpu/libm-test-ulps: Update.
31143 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31145         * Rules ($(objpfx)bench-%.c): Include code from a C source
31146         file.
31148 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #15287]
31151         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31152         imaginary part 1.0 and real part less than 0.5 specially.
31153         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31154         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31155         * math/libm-test.inc (cacos_test): Add more tests.
31156         (casin_test): Likewise.
31157         (casinh_test): Likewise.
31158         * sysdeps/i386/fpu/libm-test-ulps: Update.
31159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31161 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31163         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31164         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31166 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
31168         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31169         * config.make.in (config-cflags-sse4): Remove variable.
31170         (config-cflags-avx): Likewise.
31171         (config-cflags-sse2avx): Likewise.
31172         (config-cflags-novzeroupper): Likewise.
31173         (config-asflags-i686): Likewise.
31174         (have-mfma4): Likewise.
31175         (have-as-vis3): Likewise.
31176         (MIG): Likewise.
31177         * configure.in (MIG): Do not AC_SUBST.
31178         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31179         (libc_cv_cc_sse4): Do not AC_SUBST.
31180         (libc_cv_cc_avx): Likewise.
31181         (libc_cv_cc_sse2avx): Likewise.
31182         (libc_cv_cc_novzeroupper): Likewise.
31183         (libc_cv_cc_fma4): Likewise.
31184         (libc_cv_as_i686): Likewise.
31185         (libc_cv_sparc_as_vis3): Likewise.
31186         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31187         LIBC_CONFIG_VAR.
31188         (config-asflags-i686): Likewise.
31189         (config-cflags-avx): Likewise.
31190         (config-cflags-sse2avx): Likewise.
31191         (have-mfma4): Likewise.
31192         (config-cflags-novzeroupper): Likewise.
31193         * sysdeps/mach/configure.in (MIG): Likewise.
31194         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31195         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31196         LIBC_CONFIG_VAR.
31197         (config-cflags-avx): Likewise.
31198         (config-cflags-sse2avx): Likewise.
31199         (have-mfma4): Likewise.
31200         (config-cflags-novzeroupper): Likewise.
31201         * configure: Regenerated.
31202         * sysdeps/i386/configure: Likewise.
31203         * sysdeps/mach/configure: Likewise.
31204         * sysdeps/sparc/configure: Likewise.
31205         * sysdeps/x86_64/configure: Likewise.
31207 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31209         [BZ #14812]
31210         * locale/programs/localedef.c (options): Put N_ translation marker
31211         on argument names, not just descriptions.
31213 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31215         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31217 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31219         [BZ #14176]
31220         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31222 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31224         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31225         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31226         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31227         [!BEFORE_ABORT] (before_abort): New function.
31228         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31229         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31230         (writev_for_fatal): New function.
31231         (WRITEV_FOR_FATAL): New macro; call that.
31232         (backtrace_and_maps): New function.
31233         (BEFORE_ABORT): New macro; call that.
31234         (struct str_list): Type removed.
31235         (__libc_message, __libc_fatal): Functions removed.
31236         Include <sysdeps/posix/libc_fatal.c> instead.
31238 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31240         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31241         constants.
31242         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31243         double constants.
31245 2013-03-19  Andreas Schwab  <schwab@suse.de>
31247         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31248         * sysdeps/gnu/configure: Regenerate.
31250         * configure.in: Substitute libc_cv_rtlddir.
31251         * configure: Regenerate.
31252         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31253         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31254         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31255         * elf/Makefile (install-others, CFLAGS-interp.c)
31256         (ldso_install, common-ldd-rewrite): Likewise.
31257         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31258         $(inst_slibdir)/$(rtld-installed-name).
31259         * scripts/rellns-sh: Add -p option.
31260         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31261         for source.
31263 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31265         * manual/nptl.texi: Renamed to ...
31266         * manual/threads.texi: ... this.
31267         * manual/Makefile (chapters): Update.
31269 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31271         [BZ #14812]
31272         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31273         on argument names, not just descriptions.
31274         * malloc/memusagestat.c (options): Likewise.
31275         * nss/getent.c (options): Likewise.
31277 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31279         [BZ #14812]
31280         * iconv/iconv_prog.c (options): Put N_ translation marker
31281         on argument names, not just descriptions.
31282         * iconv/iconvconfig.c (options): Likewise.
31284 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31286         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31287         implementation which is faster on all x86_64 architectures.
31288         Tested on AMD, Intel Nehalem, SNB, IVB.
31289         * sysdeps/x86_64/strnlen.S: Likewise.
31291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31292         Remove all multiarch strlen and strnlen versions.
31293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31294         Remove strlen and strnlen related parts.
31296         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31297         Inline strlen part.
31298         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31300         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31301         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31302         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31303         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31304         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31305         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31307 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
31309         * manual/memory.texi (Malloc Tunable Parameters):
31310         Sort parameters alphabetically. Add comments for missing entries.
31312 2013-03-17  David S. Miller  <davem@davemloft.net>
31314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31316 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
31318         [BZ #15283]
31319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31320         for arguments at most half maximum finite value.
31321         * math/libm-test.inc (j0_test): Add more tests.
31322         (j1_test): Likewise.
31323         (y0_test): Likewise.
31324         (y1_test): Likewise.
31325         * sysdeps/i386/fpu/libm-test-ulps: Update.
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31328         [BZ #14155]
31329         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31330         1 / x and functions P and Q for arguments above 0x1p256L.
31331         (__ieee754_y0l): Likewise.
31332         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31333         (__ieee754_y1l): Likewise.
31334         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31335         (j1_test): Likewise.
31336         (y0_test): Likewise.
31337         (y1_test): Likewise.
31339 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
31341         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31342         variable.
31344 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31346         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31347         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31348         zero since it's initialized to EXEC_PAGESIZE.
31350         * sysdeps/unix/sysv/linux/ldsodefs.h
31351         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31352         * sysdeps/generic/ldsodefs.h: ... here.
31354 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31356         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31358         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31359         math/test-snan.c.
31360         * math/test-snan.c: Renamed from
31361         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31362         * math/Makefile (tests): Add test-snan.
31363         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31364         test-powerpc-snan.
31366         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31367         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31368         functions.
31369         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31370         __builtin_nan family of functions.
31371         * math/libm-test.inc (initialize): Initialize qnan_value with
31372         __builtin_nan family of functions.
31373         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31374         Remove variables.
31375         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31376         Remove functions.
31377         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31378         storage class.  Initialize qNaN_var and sNaN_var with
31379         __builtin_nan and __builtin_nans families of functions,
31380         respectively.
31382         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31383         (sqrt_test): Remove duplicate test with qNaN input.
31384         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31385         (round_test, signbit_test, significand_test): Note missing +/-Inf
31386         as well as qNaN tests.
31388         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31389         qNaN_var.  Fix a few strings, too.
31390         * math/libm-test.inc (nan_value): Rename to qnan_value.
31391         * math/gen-libm-test.pl (%beautify): Adjust to that.
31392         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31393         * math/test-misc.c (main): Likewise.
31394         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31395         to __qnan_bytes, and __qnan_union, respectively.
31396         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31397         Likewise.
31398         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31399         and lqnanval, respectively.
31400         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31401         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31402         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31403         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31405         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31406         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31407         doubles.
31409         * math/test-misc.c (main): Fix copy'n'pastos.
31410         * misc/tst-efgcvt.c (special): Likewise.
31412         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31413         Remove declarations.
31415 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31417         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31418         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31419         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31420         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31422 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31425         macro to return vdso values correctly in IFUNC implementations.
31426         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31427         Optimization by using IFUNC.
31429 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31430             Richard Henderson  <rth@redhat.com>
31431             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31433         * Makefile.in (bench): New target.
31434         * NEWS: Mention the benchmark framework.
31435         * Rules (bench): Likewise.
31436         (binaries-bench): Generate binaries for functions to
31437         benchmark.
31438         * benchtests/Makefile: New makefile for benchmark tests.
31439         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31440         programs.
31441         * benchtests/exp-inputs: New input file for EXP function.
31442         * benchtests/pow-inputs: New input file for POW function.
31443         * scripts/bench.pl: New script to generate source files for
31444         benchmark programs.
31446 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31449         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31450         computations on mantissa.  Use macros for rounding and
31451         division.
31452         (denorm): Likewise.
31453         (__dbl_mp): Likewise.
31454         (add_magnitudes): Likewise.
31455         (sub_magnitudes): Likewise.
31456         (__mul): Likewise.
31457         (__sqr): Likewise.
31458         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31459         powers of two in terms of TWOPOW macro.
31460         (mp_no): Make type of mantissa as MANTISSA_T.
31461         [!RADIXI]: Define RADIXI.
31462         [!TWO52]: Define TWO52.
31463         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31465         * manual/nptl.texi (cindex): Modify threads to pthreads.
31467 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31469         * sysdeps/x86_64/preconfigure: Regenerated.
31471 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31473         [BZ #14155]
31474         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31475         0x1p28 and above.
31476         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31477         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31478         0x1p28 and above.
31479         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31480         * math/libm-test.inc (j0_test): Do not allow one spurious
31481         underflow exception.
31482         (y1_test): Likewise.
31484 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31486         * manual/Makefile (chapters): Add nptl.
31487         * manual/debug.texi (Debugging Support): Add link to Threads
31488         chapter.
31489         * manual/nptl.texi: New file.
31491         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31493 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31495         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31496         for non-NULL pointer before the memory validity test. Pointed
31497         out by Holger Brunck <holger.brunck@keymile.com>.
31499 2013-03-13  Andreas Schwab  <schwab@suse.de>
31501         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31502         instead of .os.
31504 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31506         * timezone/zic.c: Update from tzcode 2013b.
31508 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31510         * manual/install.texi (Configuring and compiling):
31511         Mention i686 and i586.
31512         * INSTALL: Regenerate.
31514 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31516         * sysdeps/init_array/elf-init.c: New file.
31517         * csu/elf-init.c
31518         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31519         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31521         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31522         __gmon_start__ as global, but as static with a .preinit_array pointer.
31523         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31524         * sysdeps/init_array/crti.S: New file, empty except for comments.
31525         * sysdeps/init_array/crtn.S: Likewise.
31527 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31529         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31530         definining bcopy.
31531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31532         Remove Prefer_SSE_for_memop.
31533         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31534         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31535         HAS_PREFER_SSE_FOR_MEMOP.
31536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31537         memset-x86-64.
31538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31539         Remove bzero, memset ifunc support.
31540         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31541         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31542         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31545 2013-03-11  Andreas Schwab  <schwab@suse.de>
31547         [BZ #15234]
31548         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31549         by SHLIB_COMPAT.
31550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31551         (GLIBC_2.16): Remove pthread_atfork.
31553 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31555         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31556         (ptestcases.h): Likewise.
31558 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31560         * Makeconfig ($(common-objpfx)config.status): Depend on
31561         sysdeps/*/preconfigure{,.in} too.
31563 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31565         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31566         (__free_hook): Use void * instead of __malloc_ptr_t.
31567         (__malloc_hook): Likewise.
31568         (__realloc_hook): Likewise.
31569         (__memalign_hook): Likewise.
31570         (__after_morecore_hook): Likewise.
31571         * malloc/arena.c (save_malloc_hook): Likewise.
31572         (save_free_hook): Likewise.
31573         * malloc/hooks.c (malloc_hook_ini): Likewise.
31574         (realloc_hook_ini): Likewise.
31575         (memalign_hook_ini): Likewise.
31576         * malloc/malloc.c (malloc_hook_ini): Likewise.
31577         (realloc_hook_ini): Likewise.
31578         (memalign_hook_ini): Likewise.
31579         (__free_hook): Likewise.
31580         (__malloc_hook): Likewise.
31581         (__realloc_hook): Likewise.
31582         (__memalign_hook): Likewise.
31583         (__libc_malloc): Likewise.
31584         (__libc_free): Likewise.
31585         (__libc_realloc): Likewise.
31586         (__libc_memalign): Likewise.
31587         (__libc_valloc): Likewise.
31588         (__libc_pvalloc): Likewise.
31589         (__libc_calloc): Likewise.
31590         (__posix_memalign): Likewise.
31591         * malloc/morecore.c (__sbrk): Likewise.
31592         (__default_morecore): Likewise.
31594         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31596         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31597         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31598         __malloc_ptrdiff_t.
31600         * malloc/malloc.h (__malloc_size_t): Remove macro.
31601         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31602         __malloc_size_t.
31603         (old_memalign_hook): Likewise.
31604         (old_realloc_hook): Likewise.
31605         (struct hdr): Likewise.
31606         (flood): Likewise.
31607         (mallochook): Likewise.
31608         (memalignhook): Likewise.
31609         (reallochook): Likewise.
31610         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31611         (tr_old_realloc_hook): Likewise.
31612         (tr_old_memalign_hook): Likewise.
31613         (tr_mallochook): Likewise.
31614         (tr_reallochook): Likewise.
31615         (tr_memalignhook): Likewise.
31617 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31620         default_ldbl_pack and using as default implementation.
31621         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31622         implementation.
31623         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31624         redundant definition.
31625         (ldbl_insert_mantissa): Likewise.
31626         (ldbl_canonicalize): Likewise.
31627         (ldbl_nearbyint): Likewise.
31628         (ldbl_pack): Rename to ldbl_pack_ppc.
31629         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31630         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31631         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31633 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31636         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31637         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31638         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31639         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31640         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31641         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31642         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31644 2013-03-07  Andreas Jaeger  <aj@suse.de>
31646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31647         bits/mman-linux.h.
31649 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31652         Include mpa.h and declare __MPEXP.
31653         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31655         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31656         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31657         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31658         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31659         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31661         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31662         (__slowpow): Use long double EXPL and LOGL functions to
31663         compute POW.
31664         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31665         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31666         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31668         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31669         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31672         intermediate variable to calculate exponent.
31673         (__sqr): Likewise.
31674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31675         Likewise.
31676         (__sqr): Likewise.
31678         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31679         [!NO__SQR]: Define __sqr.
31680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31681         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31682         sysdeps/ieee754/dbl-64/mpa.c.
31683         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31685         [BZ #12723]
31686         * posix/Makefile (tests): Add tst-pathconf.
31687         * posix/tst-pathconf.c: New test case.
31688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31689         _PC_PIPE_BUF.
31690         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31692 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31694         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31696 2013-03-06  Andreas Jaeger  <aj@suse.de>
31698         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31699         definition via __MAP_ANONYMOUS.
31701         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31702         it's not part of Linux headers.
31704         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31705         (MAP_HUGE_MASK): Define.
31707         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31708         Define.
31709         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31711         Define.
31712         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31713         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31714         Define.
31715         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31717         Define.
31718         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31720         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31721         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31722         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31723         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31724         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31725         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31728         Handle f2fs.
31730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31731         Handle f2fs and efivarfs.
31733         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31734         f2fs.
31736         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31737         (EFIVARFS_MAGIC): Add.
31738         (F2FS_LINK_MAX): Add.
31740 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31742         * stdio-common/vfprintf.c: Replace __builtin_expect with
31743         __glibc_unlikely.
31745 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31747         [BZ #13550]
31748         * sysdeps/generic/bp-sym.h: Remove file.
31749         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31750         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31751         <bp-sym.h> and <bp-asm.h>.
31752         (__longjmp): Don't use BP_SYM.
31753         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31754         and <bp-asm.h>.
31755         (memcpy): Don't use BP_SYM.
31756         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31757         <bp-sym.h> and <bp-asm.h>.
31758         (memcpy): Don't use BP_SYM.
31759         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31760         <bp-asm.h>.
31761         (memcpy): Don't use BP_SYM.
31762         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31763         <bp-asm.h>.
31764         (memset): Don't use BP_SYM.
31765         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31766         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31767         (__bzero): Don't use BP_SYM.
31768         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31769         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31770         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31771         <bp-sym.h> and <bp-asm.h>.
31772         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31773         pointers.
31774         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31775         <bp-sym.h> and <bp-asm.h>.
31776         (memcpy): Don't use BP_SYM.
31777         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31778         <bp-sym.h> and <bp-asm.h>.
31779         (memset): Don't use BP_SYM.
31780         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31781         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31782         (__bzero): Don't use BP_SYM.
31783         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31784         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31785         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31786         <bp-sym.h> and <bp-asm.h>.
31787         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31788         pointers.
31789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31790         <bp-sym.h> and <bp-asm.h>.
31791         (memcpy): Don't use BP_SYM.
31792         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31793         <bp-sym.h> and <bp-asm.h>.
31794         (memset): Don't use BP_SYM.
31795         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31796         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31797         (__bzero): Don't use BP_SYM.
31798         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31799         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31800         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31801         <bp-sym.h> and <bp-asm.h>.
31802         (__memchr): Don't use BP_SYM.
31803         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31804         <bp-sym.h> and <bp-asm.h>.
31805         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31806         pointers.
31807         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31808         <bp-sym.h> and <bp-asm.h>.
31809         (memcpy): Don't use BP_SYM.
31810         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31811         <bp-sym.h> and <bp-asm.h>.
31812         (__mempcpy): Don't use BP_SYM.
31813         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31814         <bp-sym.h> and <bp-asm.h>.
31815         (__memrchr): Don't use BP_SYM.
31816         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31817         <bp-sym.h> and <bp-asm.h>.
31818         (memset): Don't use BP_SYM.
31819         (__bzero): Likewise.
31820         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31821         <bp-sym.h> and <bp-asm.h>.
31822         (__rawmemchr): Don't use BP_SYM.
31823         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31824         <bp-sym.h> and <bp-asm.h>.
31825         (__STRCMP): Don't use BP_SYM.
31826         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31827         <bp-sym.h> and <bp-asm.h>.
31828         (strchr): Don't use BP_SYM.
31829         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31830         <bp-sym.h> and <bp-asm.h>.
31831         (__strchrnul): Don't use BP_SYM.
31832         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31833         <bp-sym.h> and <bp-asm.h>.
31834         (strlen): Don't use BP_SYM.
31835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31836         <bp-sym.h> and <bp-asm.h>.
31837         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31838         pointers.
31839         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31840         <bp-sym.h> and <bp-asm.h>.
31841         (__strnlen): Don't use BP_SYM.
31842         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31843         <bp-sym.h> and <bp-asm.h>.
31844         (__GI__setjmp): Don't use BP_SYM.
31845         (_setjmp): Likewise.
31846         (__sigsetjmp): Likewise.
31847         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31848         (L(start_addresses)): Don't use BP_SYM.
31849         (_start): Likewise.
31850         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31851         <bp-asm.h>.
31852         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31853         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31854         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31855         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31856         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31857         <bp-asm.h>.
31858         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31859         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31860         about bounded pointers.
31861         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31862         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31863         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31864         <bp-asm.h>.
31865         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31866         about bounded pointers.  Remove GKM FIXME comments.
31867         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31868         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31869         <bp-asm.h>.
31870         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31871         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31872         Remove GKM FIXME comments.
31873         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31874         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31875         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31876         <bp-asm.h>.
31877         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31878         about bounded pointers.  Remove GKM FIXME comment.
31879         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31880         and <bp-asm.h>.
31881         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31882         pointers.
31883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31884         <bp-sym.h> and <bp-asm.h>.
31885         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31887         <bp-sym.h> and <bp-asm.h>.
31888         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31889         comment.
31891 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31893         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31894         call free(NULL).
31896 2013-03-05  David S. Miller  <davem@davemloft.net>
31898         * po/es.po: Update from translation team.
31900 2013-03-05  Andreas Jaeger  <aj@suse.de>
31902         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31903         <bits/mman-linux.h>.
31904         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31905         is fine.
31906         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31907         <bits/mman-linux.h> to end of file.
31908         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31909         is fine.
31910         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31911         <bits/mman-linux.h> to end of file.
31912         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31913         is fine.
31914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31915         <bits/mman-linux.h> to end of file.
31917         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31918         (MCL_CURRENT, MCL_FUTURE): Define here.
31920 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31922         [BZ #15232]
31923         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31924         attribute_hidden.
31925         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31927 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31929         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31930         fourth parameter needed for rt_sigprocmask syscall.
31931         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31932         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31933         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31934         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31935         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31936         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31938 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #13550]
31941         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31942         comment about bounded pointers.
31943         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31944         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31946 2013-03-04  Andreas Jaeger  <aj@suse.de>
31948         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31949         common definitions.
31951         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31952         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31953         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31954         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31955         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31956         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31958 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31960         [BZ #15055]
31961         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31962         __ieee754_sqrl instead of __sqrl.
31964 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31966         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31967         * sysdeps/powerpc/fpu_control.h: ... here.
31968         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31969         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31970         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31971         * sysdeps/powerpc/bits/mathinline.h: ... here.
31973 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31975         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31976         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31977         to just [NEED_DL_SYSINFO_DSO].
31978         * elf/dl-support.c: Likewise.
31979         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31980         * elf/rtld.c (dl_main): Likewise.
31981         * elf/setup-vdso.h (setup_vdso): Likewise.
31982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31983         * sysdeps/unix/sysv/linux/dl-sysdep.c
31984         (_dl_discover_osversion): Likewise.
31986 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31988         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31989         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31991 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31993         * NEWS: Mention libm performance improvements and non-x86 PI
31994         futex support.
31996         * csu/libc-start.c (__pthread_initialize_minimal): Change
31997         function arguments.
31998         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32000 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
32002         [BZ #13550]
32003         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32004         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32005         <bp-sym.h> and <bp-asm.h>.
32006         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32007         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32008         and <bp-asm.h>.
32009         (memcpy): Don't use BP_SYM.
32010         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32011         <bp-asm.h>.
32012         (__mpn_add_n): Don't use BP_SYM.
32013         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32014         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32015         and <bp-asm.h>.
32016         (__mpn_addmul_1): Don't use BP_SYM.
32017         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32018         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32019         <bp-sym.h>.
32020         (_setjmp): Don't use BP_SYM.
32021         (__novmx_setjmp): Likewise.
32022         (__GI__setjmp): Likewise.
32023         (__vmx_setjmp): Likewise.
32024         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32025         <bp-sym.h>.
32026         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32027         (__bzero): Don't use BP_SYM.
32028         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32029         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32030         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32031         <bp-sym.h> and <bp-asm.h>.
32032         (memcpy): Don't use BP_SYM.
32033         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32034         <bp-sym.h> and <bp-asm.h>.
32035         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32036         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32037         <bp-sym.h> and <bp-asm.h>.
32038         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32039         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32040         <bp-asm.h>.
32041         (__mpn_lshift): Don't use BP_SYM.
32042         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32043         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32044         <bp-asm.h>.
32045         (memset): Don't use BP_SYM.
32046         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32047         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32048         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32049         <bp-asm.h>.
32050         (__mpn_mul_1): Don't use BP_SYM.
32051         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32052         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32053         <bp-sym.h> and <bp-asm.h>.
32054         (memcmp): Don't use BP_SYM.
32055         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32056         <bp-sym.h> and <bp-asm.h>.
32057         (memcpy): Don't use BP_SYM.
32058         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32059         <bp-sym.h> and <bp-asm.h>.
32060         (memset): Don't use BP_SYM.
32061         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32062         <bp-sym.h> and <bp-asm.h>.
32063         (strncmp): Don't use BP_SYM.
32064         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32065         <bp-sym.h> and <bp-asm.h>.
32066         (memcpy): Don't use BP_SYM.
32067         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32068         <bp-sym.h> and <bp-asm.h>.
32069         (memset): Don't use BP_SYM.
32070         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32071         <bp-sym.h> and <bp-asm.h>.
32072         (__memchr): Don't use BP_SYM.
32073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32074         <bp-sym.h> and <bp-asm.h>.
32075         (memcmp): Don't use BP_SYM.
32076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32077         <bp-sym.h> and <bp-asm.h>.
32078         (memcpy): Don't use BP_SYM.
32079         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32080         <bp-sym.h> and <bp-asm.h>.
32081         (__mempcpy): Don't use BP_SYM.
32082         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32083         <bp-sym.h> and <bp-asm.h>.
32084         (__memrchr): Don't use BP_SYM.
32085         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32086         <bp-sym.h> and <bp-asm.h>.
32087         (memset): Don't use BP_SYM.
32088         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32089         <bp-sym.h> and <bp-asm.h>.
32090         (__rawmemchr): Don't use BP_SYM.
32091         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32092         <bp-sym.h> and <bp-asm.h>.
32093         (__STRCMP): Don't use BP_SYM.
32094         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32095         <bp-sym.h> and <bp-asm.h>.
32096         (strchr): Don't use BP_SYM.
32097         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32098         <bp-sym.h> and <bp-asm.h>.
32099         (__strchrnul): Don't use BP_SYM.
32100         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32101         <bp-sym.h> and <bp-asm.h>.
32102         (strlen): Don't use BP_SYM.
32103         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32104         <bp-sym.h> and <bp-asm.h>.
32105         (strncmp): Don't use BP_SYM.
32106         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32107         <bp-sym.h> and <bp-asm.h>.
32108         (__strnlen): Don't use BP_SYM.
32109         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32110         <bp-asm.h>.
32111         (__mpn_rshift): Don't use BP_SYM.
32112         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32113         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32114         <bp-sym.h> and <bp-asm.h>.
32115         (__sigsetjmp): Don't use BP_SYM.
32116         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32117         (L(start_addresses)): Don't use BP_SYM.
32118         (_start): Likewise.
32119         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32120         <bp-asm.h>.
32121         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32122         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32123         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32124         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32125         <bp-asm.h>.
32126         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32127         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32128         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32129         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32130         <bp-asm.h>.
32131         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32132         comments.
32133         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32134         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32135         <bp-asm.h>.
32136         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
32137         FIXME comments.
32138         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32139         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32140         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32141         <bp-asm.h>.
32142         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32143         comment.
32144         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32145         and <bp-asm.h>.
32146         (strncmp): Don't use BP_SYM,
32147         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32148         <bp-asm.h>.
32149         (__mpn_sub_n): Don't use BP_SYM.
32150         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32151         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32152         and <bp-asm.h>.
32153         (__mpn_submul_1): Don't use BP_SYM.
32154         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32156         <bp-sym.h> and <bp-asm.h>.
32157         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32159         <bp-sym.h> and <bp-asm.h>.
32160         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32161         comment.
32163 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32166         Use ZK to minimize writes to Z.
32167         (sub_magnitudes): Simplify code a bit.
32168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32169         Use ZK to minimize writes to Z.
32170         (sub_magnitudes): Simplify code a bit.
32172 2013-02-27  Roland McGrath  <roland@hack.frob.com>
32174         * csu/gmon-start.c: Add special exception to license text.
32176 2013-02-27  Richard Henderson  <rth@redhat.com>
32178         * scripts/config.guess: Update from config.git.
32179         * scripts/config.sub: Likewise.
32181 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32185         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32187         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32189         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32191         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32193 2013-02-26  Roland McGrath  <roland@hack.frob.com>
32195         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32196         [$(build-shared = yes].
32198 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32200         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32201         (__mul): Reduce iterations for calculating mantissa.
32203         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32204         MPTWO.
32205         (__mpranred): Likewise.
32207         [BZ #15160]
32208         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32209         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32211 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32213         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32214         Define __attribute__.
32216 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32218         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32219         unused.
32220         * posix/regex_internal.h (__attribute): Remove.
32221         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32222         (re_string_context_at): Likewise.
32223         (bitset_not): Use __attribute__ and mark function as possibly
32224         unused.
32225         (bitset_merge): Likewise.
32226         (bitset_mask): Likewise.
32227         (re_string_char_size_at): Likewise.
32228         (re_string_wchar_at): Likewise.
32229         (re_string_elem_size_at): Likewise.
32231 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32233         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32234         code.
32235         (cc32): Likewise.
32237         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32238         (__acr): Likewise.
32239         (__cpy): Likewise.
32240         (norm): Likewise.
32241         (denorm): Likewise.
32242         (__dbl_mp): Likewise.
32243         (add_magnitudes): Likewise.
32244         (sub_magnitudes): Likewise.
32245         (__mul): Likewise.
32246         (__inv): Likewise.
32248         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32249         style.
32251         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32252         style.
32254         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32255         code.
32257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32258         up changes with default code.
32259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32260         Likewise.
32262 2013-02-24  Allan McRae  <allan@archlinux.org>
32264         * manual/socket.texi (The Internet Namespace): Order menu items
32265         to match that in the file.
32267         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32268         node listing of the info page menu.
32270 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32272         [BZ #13550]
32273         * sysdeps/i386/bp-asm.h: Remove file.
32274         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32275         (PARMS): Do not use macros from bp-asm.h.
32276         (S1): Likewise.
32277         (S2): Likewise.
32278         (SIZE): Likewise.
32279         (__mpn_add_n): Do not use BP_SYM
32280         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32281         "bp-asm.h".
32282         (PARMS): Do not use macros from bp-asm.h.
32283         (S1): Likewise.
32284         (SIZE): Likewise.
32285         (__mpn_addmul_1): Do not use BP_SYM
32286         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32287         "bp-asm.h".
32288         (PARMS): Do not use macros from bp-asm.h.
32289         (SIGMSK): Likewise.
32290         (_setjmp): Likewise.  Do not use BP_SYM.
32291         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32292         "bp-asm.h".
32293         (PARMS): Do not use macros from bp-asm.h.
32294         (SIGMSK): Likewise.
32295         (setjmp): Likewise.  Do not use BP_SYM.
32296         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32297         "bp-asm.h".
32298         (PARMS): Do not use macros from bp-asm.h.
32299         (__frexp): Do not use BP_SYM.
32300         (frexp): Likewise.
32301         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32302         "bp-asm.h".
32303         (PARMS): Do not use macros from bp-asm.h.
32304         (__frexpf): Do not use BP_SYM.
32305         (frexpf): Likewise.
32306         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32307         "bp-asm.h".
32308         (PARMS): Do not use macros from bp-asm.h.
32309         (__frexpl): Do not use BP_SYM.
32310         (frexpl): Likewise.
32311         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32312         "bp-asm.h".
32313         (PARMS): Do not use macros from bp-asm.h.
32314         (__remquo): Do not use BP_SYM.
32315         (remquo): Likewise.
32316         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32317         "bp-asm.h".
32318         (PARMS): Do not use macros from bp-asm.h.
32319         (__remquof): Do not use BP_SYM.
32320         (remquof): Likewise.
32321         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32322         "bp-asm.h".
32323         (PARMS): Do not use macros from bp-asm.h.
32324         (__remquol): Do not use BP_SYM.
32325         (remquol): Likewise.
32326         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32327         "bp-asm.h".
32328         (PARMS): Do not use macros from bp-asm.h.
32329         (DEST): Likewise.
32330         (SRC): Likewise.
32331         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
32332         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32333         "bp-asm.h".
32334         (PARMS): Do not use macros from bp-asm.h.
32335         (strlen): Do not use BP_SYM.
32336         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32337         "bp-asm.h".
32338         (PARMS): Do not use macros from bp-asm.h.
32339         (S1): Likewise.
32340         (S2): Likewise.
32341         (SIZE): Likewise.
32342         (__mpn_add_n): Do not use BP_SYM.
32343         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32344         "bp-asm.h".
32345         (PARMS): Do not use macros from bp-asm.h.
32346         (S1): Likewise.
32347         (SIZE): Likewise.
32348         (__mpn_addmul_1): Do not use BP_SYM.
32349         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32350         weak_alias.
32351         (bzero): Likewise.
32352         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32353         "bp-asm.h".
32354         (PARMS): Do not use macros from bp-asm.h.
32355         (S): Likewise.
32356         (SIZE): Likewise.
32357         (__mpn_lshift): Do not use BP_SYM.
32358         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32359         "bp-asm.h".
32360         (PARMS): Do not use macros from bp-asm.h.
32361         (DEST): Likewise.
32362         (SRC): Likewise.
32363         (LEN): Likewise.
32364         (memcpy): Likewise.  Do not use BP_SYM.
32365         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32366         libc_hidden_def and weak_alias.
32367         (mempcpy): Do not use BP_SYM in weak_alias.
32368         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32369         "bp-asm.h".
32370         (PARMS): Do not use macros from bp-asm.h.
32371         (DEST): Likewise.
32372         (LEN): Likewise.
32373         [!BZERO_P] (CHR): Likewise.
32374         (memset): Likewise.  Do not use BP_SYM.
32375         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32376         "bp-asm.h".
32377         (PARMS): Do not use macros from bp-asm.h.
32378         (S1): Likewise.
32379         (SIZE): Likewise.
32380         (__mpn_mul_1): Do not use BP_SYM.
32381         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32382         "bp-asm.h".
32383         (PARMS): Do not use macros from bp-asm.h.
32384         (S): Likewise.
32385         (SIZE): Likewise.
32386         (__mpn_rshift): Do not use BP_SYM.
32387         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32388         "bp-asm.h".
32389         (PARMS): Do not use macros from bp-asm.h.
32390         (STR): Likewise.
32391         (CHR): Likewise.
32392         (strchr): Likewise.  Do not use BP_SYM.
32393         (index): Do not use BP_SYM in weak_alias.
32394         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32395         "bp-asm.h".
32396         (PARMS): Do not use macros from bp-asm.h.
32397         (DEST): Likewise.
32398         (SRC): Likewise.
32399         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32400         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32401         "bp-asm.h".
32402         (PARMS): Do not use macros from bp-asm.h.
32403         (strlen): Do not use BP_SYM.
32404         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32405         "bp-asm.h".
32406         (PARMS): Do not use macros from bp-asm.h.
32407         (S1): Likewise.
32408         (S2): Likewise.
32409         (SIZE): Likewise.
32410         (__mpn_sub_n): Do not use BP_SYM.
32411         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32412         "bp-asm.h".
32413         (PARMS): Do not use macros from bp-asm.h.
32414         (S1): Likewise.
32415         (SIZE): Likewise.
32416         (__mpn_submul_1): Do not use BP_SYM.
32417         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32418         "bp-asm.h".
32419         (PARMS): Do not use macros from bp-asm.h.
32420         (S1): Likewise.
32421         (S2): Likewise.
32422         (SIZE): Likewise.
32423         (__mpn_add_n): Do not use BP_SYM.
32424         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32425         weak_alias.
32426         (bzero): Likewise.
32427         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32428         "bp-asm.h".
32429         (PARMS): Do not use macros from bp-asm.h.
32430         (BLK2): Likewise.
32431         (LEN): Likewise.
32432         (memcmp): Do not use BP_SYM.
32433         (bcmp): Do not use BP_SYM in weak_alias.
32434         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32435         "bp-asm.h".
32436         (PARMS): Do not use macros from bp-asm.h.
32437         (DEST): Likewise.
32438         (SRC): Likewise.
32439         (LEN): Likewise.
32440         (memcpy): Likewise.  Do not use BP_SYM.
32441         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32442         "bp-asm.h".
32443         (PARMS): Do not use macros from bp-asm.h.
32444         (DEST): Likewise.
32445         (SRC): Likewise.
32446         (LEN): Likewise.
32447         (memmove): Likewise.  Do not use BP_SYM.
32448         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32449         "bp-asm.h".
32450         (PARMS): Do not use macros from bp-asm.h.
32451         (DEST): Likewise.
32452         (SRC): Likewise.
32453         (LEN): Likewise.
32454         (__mempcpy): Likewise.  Do not use BP_SYM.
32455         (mempcpy): Do not use BP_SYM in weak_alias.
32456         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32457         "bp-asm.h".
32458         (PARMS): Do not use macros from bp-asm.h.
32459         (DEST): Likewise.
32460         (LEN): Likewise.
32461         [!BZERO_P] (CHR): Likewise.
32462         (memset): Likewise.  Do not use BP_SYM.
32463         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32464         "bp-asm.h".
32465         (PARMS): Do not use macros from bp-asm.h.
32466         (STR2): Likewise.
32467         (strcmp): Do not use BP_SYM.
32468         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32469         "bp-asm.h".
32470         (PARMS): Do not use macros from bp-asm.h.
32471         (STR): Likewise.
32472         (DELIM): Likewise.
32473         [USE_AS_STRTOK_R] (SAVE): Likewise.
32474         (FUNCTION): Likewise.  Do not use BP_SYM.
32475         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32476         aliases.
32477         (strtok_r): Likewise.
32478         (__GI___strtok_r): Likewise.
32479         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32480         (PARMS): Do not use macros from bp-asm.h.
32481         (S): Likewise.
32482         (SIZE): Likewise.
32483         (__mpn_lshift): Do not use BP_SYM.
32484         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32485         (PARMS): Do not use macros from bp-asm.h.
32486         (STR): Likewise.
32487         (CHR): Likewise.
32488         (__memchr): Do not use BP_SYM.
32489         (memchr): Do not use BP_SYM in weak_alias.
32490         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32491         (PARMS): Do not use macros from bp-asm.h.
32492         (BLK2): Likewise.
32493         (LEN): Likewise.
32494         (memcmp): Do not use BP_SYM.
32495         (bcmp): Do not use BP_SYM in weak_alias.
32496         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32497         (PARMS): Do not use macros from bp-asm.h.
32498         (S1): Likewise.
32499         (SIZE): Likewise.
32500         (__mpn_mul_1): Do not use BP_SYM.
32501         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32502         "bp-asm.h".
32503         (PARMS): Do not use macros from bp-asm.h.
32504         (STR): Likewise.
32505         (CHR): Likewise.
32506         (__rawmemchr): Do not use BP_SYM.
32507         (rawmemchr): Do not use BP_SYM in weak_alias.
32508         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32509         (PARMS): Do not use macros from bp-asm.h.
32510         (S): Likewise.
32511         (SIZE): Likewise.
32512         (__mpn_rshift): Do not use BP_SYM.
32513         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32514         (PARMS): Do not use macros from bp-asm.h.
32515         (SIGMSK): Likewise.
32516         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32517         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32518         (_start): Do not use BP_SYM.
32519         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32520         (PARMS): Do not use macros from bp-asm.h.
32521         (DEST): Likewise.
32522         (SRC): Likewise.
32523         (__stpcpy): Likewise.  Do not use BP_SYM.
32524         (stpcpy): Do not use BP_SYM in weak_alias.
32525         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32526         "bp-asm.h".
32527         (PARMS): Do not use macros from bp-asm.h.
32528         (DEST): Likewise.
32529         (SRC): Likewise.
32530         (LEN): Likewise.
32531         (__stpncpy): Likewise.  Do not use BP_SYM.
32532         (stpncpy): Do not use BP_SYM in weak_alias.
32533         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32534         (PARMS): Do not use macros from bp-asm.h.
32535         (STR): Likewise.
32536         (CHR): Likewise.
32537         (strchr): Likewise.  Do not use BP_SYM.
32538         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32539         "bp-asm.h".
32540         (PARMS): Do not use macros from bp-asm.h.
32541         (STR): Likewise.
32542         (CHR): Likewise.
32543         (__strchrnul): Likewise.  Do not use BP_SYM.
32544         (strchrnul): Do not use BP_SYM in weak_alias.
32545         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32546         "bp-asm.h".
32547         (PARMS): Do not use macros from bp-asm.h.
32548         (STOP): Likewise.
32549         (strcspn): Do not use BP_SYM.
32550         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32551         "bp-asm.h".
32552         (PARMS): Do not use macros from bp-asm.h.
32553         (STR): Likewise.
32554         (STOP): Likewise.
32555         (strpbrk): Likewise.  Do not use BP_SYM.
32556         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32557         "bp-asm.h".
32558         (PARMS): Do not use macros from bp-asm.h.
32559         (STR): Likewise.
32560         (CHR): Likewise.
32561         (strrchr): Likewise.  Do not use BP_SYM.
32562         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32563         (PARMS): Do not use macros from bp-asm.h.
32564         (SKIP): Likewise.
32565         (strspn): Do not use BP_SYM.
32566         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32567         (PARMS): Do not use macros from bp-asm.h.
32568         (STR): Likewise.
32569         (DELIM): Likewise.
32570         (SAVE): Likewise.
32571         (FUNCTION): Likewise.  Do not use BP_SYM.
32572         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32573         aliases.
32574         (strtok_r): Likewise.
32575         (__GI___strtok_r): Likewise.
32576         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32577         (PARMS): Do not use macros from bp-asm.h.
32578         (S1): Likewise.
32579         (S2): Likewise.
32580         (SIZE): Likewise.
32581         (__mpn_sub_n): Do not use BP_SYM.
32582         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32583         "bp-asm.h".
32584         (PARMS): Do not use macros from bp-asm.h.
32585         (S1): Likewise.
32586         (SIZE): Likewise.
32587         (__mpn_submul_1): Do not use BP_SYM.
32588         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32589         <bp-sym.h>.
32590         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32591         and <bp-asm.h>.
32592         (PARMS): Do not use macros from bp-asm.h.
32593         (FLAGS): Likewise.
32594         (PTID): Likewise.
32595         (TLS): Likewise.
32596         (CTID): Likewise.
32597         (__clone): Do not use BP_SYM.
32598         (clone): Do not use BP_SYM in weak_alias.
32599         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32600         and <bp-asm.h>.
32601         (PARMS): Do not use macros from bp-asm.h.
32602         (LEN): Likewise.
32603         (__mmap64): Do not use BP_SYM.
32604         (mmap64): Do not use BP_SYM in weak_alias.
32605         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32606         <bp-sym.h> and <bp-asm.h>.
32607         (PARMS): Do not use macros from bp-asm.h.
32608         (__posix_fadvise64_l64): Do not use BP_SYM.
32609         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32610         (PARMS): Do not use macros from bp-asm.h.
32611         (NSOPS): Likewise.
32612         (semtimedop): Do not use BP_SYM.
32613         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32614         and <bp-asm.h>.
32616 2013-02-21  Allan McRae  <allan@archlinux.org>
32618         * manual/message.texi (Charset conversion in gettext):
32619         Move @end statement to beginning of line.
32621 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32624         static.
32625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32626         Likewise.
32628         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32629         (denorm): Likewise.
32630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32633 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32635         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32636         tail-call to the resolved function if pltexit isn't needed.
32638 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32641         or Y being zero as being unlikely.
32642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32643         Likewise.
32645 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32647         * manual/nss.texi (System Databases and Name Service Switch):
32648         Remove frobnicate @pxref.
32650 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32652         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32653         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32655 2013-02-20  Petr Machata  <pmachata@redhat.com>
32657         * elf/elf.h (R_ARM_TARGET1): New macro.
32658         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32659         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32660         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32661         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32662         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32663         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32664         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32665         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32666         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32667         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32668         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32669         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32670         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32671         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32672         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32673         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32674         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32675         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32676         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32677         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32678         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32679         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32680         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32681         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32682         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32683         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32684         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32685         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32686         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32687         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32688         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32689         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32690         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32691         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32692         (R_ARM_THM_GOT_BREL12): Likewise.
32693         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32694         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32695         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32696         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32697         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32698         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32699         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32700         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32701         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32703 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32705         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32706         __attribute_used__ to __attribute__ ((unused)).
32708 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32710         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32711         powerpc mpa.c.
32712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32713         comment formatting.
32714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32716 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32718         [BZ #13550]
32719         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32720         Remove macro.
32721         (ENTER): Remove both macro definitions.
32722         (LEAVE): Likewise.
32723         (CHECK_BOUNDS_LOW): Likewise.
32724         (CHECK_BOUNDS_HIGH): Likewise.
32725         (CHECK_BOUNDS_BOTH): Likewise.
32726         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32727         (RETURN_BOUNDED_POINTER): Likewise.
32728         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32729         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32730         (POP_ERRNO_LOCATION_RETURN): Likewise.
32731         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32732         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32733         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32734         macros.
32735         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32736         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32737         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32738         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32739         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32740         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32741         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32742         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32743         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32744         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32745         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32746         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32747         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32748         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32749         removed macros.
32750         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32751         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32752         macros.
32753         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32754         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32755         * sysdeps/i386/i586/memset.S (memset): Likewise.
32756         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32757         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32758         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32759         macros.
32760         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32761         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32762         Change uses of L(2) to L(out).
32763         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32764         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32765         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32766         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32767         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32768         removed macros.
32769         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32770         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32771         macros.
32772         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32773         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32774         (RETURN): Do not use macro LEAVE.
32775         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32776         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32777         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32778         * sysdeps/i386/i686/memset.S (memset): Likewise.
32779         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32780         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32781         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32782         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32783         Likewise.
32784         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32785         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32786         L(1_2) and L(1_3) into L(1).
32787         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32788         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32789         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32790         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32791         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32792         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32793         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32794         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32795         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32796         macros.
32797         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32798         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32799         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32800         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32801         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32802         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32803         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32804         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32805         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32806         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32807         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32808         * sysdeps/i386/strspn.S (strspn): Likewise.
32809         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32810         conditional code.
32811         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32812         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32813         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32814         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32815         L(1_3) into L(1_1).
32816         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32817         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32818         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32819         macros.
32820         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32822 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32824         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32825         macro.
32827 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32829         * math/atest-exp.c (exp_mpn): Remove ROUND.
32830         * math/atest-exp2.c (exp_mpn): Likewise.
32831         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32833         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32834         * stdlib/tst-tls-atexit-lib.c: Likewise.
32835         * stdlib/tst-tls-atexit.c: Likewise.
32837 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32839         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32840         and __attribute_alloc_size__.
32842 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32844         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32845         __attribute_alloc_size__.
32846         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32847         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32849 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32851         * include/programs/xmalloc.h: New file.
32852         * catgets/gencat.c: Include it.
32853         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32854         * elf/pldd.c: Likewise.
32855         * iconv/iconv_charmap.c: Likewise.
32856         * iconv/iconvconfig.c: Likewise.
32857         * iconv/strtab.c: Likewise.
32858         * locale/programs/locale.c: Likewise.
32859         * locale/programs/localedef.h: Likewise.
32860         * locale/programs/simple-hash.c: Likewise.
32861         * nscd/nscd.h: Likewise.
32862         * nss/makedb.c: Likewise.
32863         * sysdeps/generic/ldconfig.h: Likewise.
32865 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32867         * Versions.def: Add GLIBC_2.18.
32868         * include/link.h (struct link_map): New member l_tls_dtor_count.
32869         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32870         (__call_tls_dtors): Likewise.
32871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32872         __cxa_thread_atexit_impl.
32873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32874         Likewise.
32875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32876         Likewise.
32877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32878         Likewise.
32879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32880         Likewise.
32881         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32883         Likewise.
32884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32885         Likewise.
32886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32888         Likewise.
32889         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32890         (tests): Add test case tst-tls-atexit.
32891         (modules-names): Add shared library for tst-tls-atexit.
32892         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32893         (GLIBC_PRIVATE): Add __call_tls_dtors.
32894         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32895         for libstdc++.
32896         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32897         * stdlib/tst-tls-atexit.c: New test case.
32898         * stdlib/tst-tls-atexit-lib.c: New test case.
32900         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32902         * elf/Versions (ld): Add _dl_find_dso_for_object.
32903         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32904         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32905         (dl_open_worker): Use _dl_find_dso_for_object.
32906         * elf/dl-sym.c (do_sym): Likewise.
32907         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32909 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32911         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32912         Syntactic changes only.
32913         (_dl_runtime_profile): Do a tail-call to the resolved function.
32915 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32917         [BZ #13550]
32918         * sysdeps/x86_64/bp-asm.h: Remove file.
32919         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32920         <bp-sym.h> and <bp-asm.h>.
32921         (__clone): Do not use BP_SYM.
32922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32923         <bp-sym.h> and <bp-asm.h>.
32924         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32925         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32926         "bp-asm.h".
32927         (_setjmp): Do not use BP_SYM.
32928         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32929         "bp-asm.h".
32930         (setjmp): Do not use BP_SYM.
32931         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32932         libc_hidden_def.
32933         (mempcpy): Do not use BP_SYM in weak_alias.
32934         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32935         "bp-asm.h".
32936         (strchr): Do not use BP_SYM.
32937         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32938         "bp-asm.h".
32939         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32940         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32941         (_start): Do not use BP_SYM.
32942         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32943         "bp-asm.h".
32944         (strcat): Do not use BP_SYM.
32945         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32946         "bp-asm.h".
32947         (STRCMP): Do not use BP_SYM.
32948         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32949         "bp-asm.h".
32950         (STRCPY): Do not use BP_SYM.
32951         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32952         "bp-asm.h".
32953         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32954         "bp-asm.h".
32955         (FUNCTION): Do not use BP_SYM.
32956         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32957         weak_alias.
32958         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32960 2013-02-17  Andreas Jaeger  <aj@suse.de>
32962         * time/Versions: Sort entries.
32963         * string/Versions: Likewise.
32964         * resolv/Versions: Likewise.
32965         * posix/Versions: Likewise.
32966         * iconv/Versions: Likewise.
32967         * elf/Versions: Likewise.
32968         * wcsmbs/Versions: Likewise.
32970 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32972         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32973         loop termination condition.
32975         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32976         variable to calculate EZ.
32977         (__sqr): Likewise.
32979         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32980         the lower precision input.
32982 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32984         [BZ #13550]
32985         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32986         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32987         (run-via-rtld-prefix): Do not handle %-bp tests.
32988         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32989         (all-object-suffixes): Remove .ob.
32990         (bppfx): Remove variable.
32991         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32992         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32993         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32994         [$(build-bounded) = yes] (libtype.ob): Likewise.
32995         * Makerules (elide-routines.ob): Remove variable.
32996         (do-tests-clean): Do not handle *-bp.out.
32997         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32998         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32999         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33000         (tests): Do not include $(tests-bp.out).
33001         (xtests): Do not include $(xtests-bp.out).
33002         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33003         [$(build-bounded) = yes] ($(addprefix
33004         $(objpfx),$(binaries-bounded))): Remove rule.
33005         ($(objpfx)%-bp.out): Remove rule.
33006         * config.make.in (build-bounded): Remove variable.
33007         * crypt/Makefile [$(build-bounded) = yes]
33008         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33009         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33010         append to variable.
33011         [$(build-bounded) = yes] (install-lib): Likewise.
33012         [$(build-bounded) = yes] (generated): Likewise.
33013         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33014         Remove rule.
33015         * intl/Makefile [$(build-bounded) = yes]
33016         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33017         * math/Makefile [$(build-bounded) = yes]
33018         ($(tests:%=$(objpfx)%-bp): Likewise.
33019         * misc/Makefile [$(build-bounded) = yes]
33020         ($(objpfx)tst-tsearch-bp): Likewise.
33021         * nptl/Makeconfig (bounded-thread-library): Remove variable.
33022         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33023         Remove dependency.
33024         * string/Makefile (o-objects.ob): Remove variable.
33025         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33026         (CFLAGS-.ob): Remove variable.
33027         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33028         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33029         both definitions of variable.
33030         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33031         (ASFLAGS-.ob): Remove variable.
33033 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
33035         [BZ #13550]
33036         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33037         Remove __BOUNDED_POINTERS__ from condition.
33038         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33039         * string/bits/string2.h [!__NO_STRING_INLINES &&
33040         !__BOUNDED_POINTERS__]: Likewise.
33041         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33042         Likewise.
33043         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33044         Remove conditional code.
33045         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33046         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33047         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33048         condition.
33050         [BZ #13550]
33051         * csu/libc-start.c: Do not include <bp-sym.h>.
33052         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33053         * elf/dl-open.c: Do not include <bp-sym.h>.
33054         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33055         * math/fegetenv.c: Do not include <bp-sym.h>.
33056         (fegetenv): Do not use BP_SYM in versioned symbols.
33057         * nptl/sysdeps/pthread/bits/libc-lockP.h
33058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33059         <bp-sym.h>.
33060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33061         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33063         (__pthread_mutex_destroy): Likewise.
33064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33065         (__pthread_mutex_lock): Likewise.
33066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33067         (__pthread_mutex_trylock): Likewise.
33068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33069         (__pthread_mutex_unlock): Likewise.
33070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33071         (__pthread_mutexattr_init): Likewise.
33072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33073         (__pthread_mutexattr_destroy): Likewise.
33074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33075         (__pthread_mutexattr_settype): Likewise.
33076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33077         (__pthread_rwlock_init): Likewise.
33078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33079         (__pthread_rwlock_destroy): Likewise.
33080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33081         (__pthread_rwlock_rdlock): Likewise.
33082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33083         (__pthread_rwlock_tryrdlock): Likewise.
33084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33085         (__pthread_rwlock_wrlock): Likewise.
33086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33087         (__pthread_rwlock_trywrlock): Likewise.
33088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33089         (__pthread_rwlock_unlock): Likewise.
33090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33091         (__pthread_key_create): Likewise.
33092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33093         (__pthread_setspecific): Likewise.
33094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33095         (__pthread_getspecific): Likewise.
33096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33097         Likewise.
33098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33099         (_pthread_cleanup_push_defer): Likewise.
33100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33101         (_pthread_cleanup_pop_restore): Likewise.
33102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33103         (pthread_setcancelstate): Likewise.
33104         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33105         <bp-sym.h>.
33106         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33107         (memchr): Do not use BP_SYM in weak_alias.
33108         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33109         (fegetenv): Do not use BP_SYM in versioned symbols.
33110         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33111         (fesetenv): Do not use BP_SYM in versioned symbols.
33112         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33113         (feupdateenv): Do not use BP_SYM in versioned symbols.
33114         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33115         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33116         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33117         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33118         (open64): Do not use BP_SYM in weak_alias.
33119         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33120         (fegetenv): Do not use BP_SYM in versioned symbols.
33121         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33122         (fesetenv): Do not use BP_SYM in versioned symbols.
33123         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33124         (feupdateenv): Do not use BP_SYM in versioned symbols.
33125         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33126         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33127         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33128         (feraiseexcept): Do not use BP_SYM in versioned symbols.
33129         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33130         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33132         <bp-sym.h>.
33133         (__libc_start_main): Do not use BP_SYM.
33135 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33137         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33138         redundant return line.
33139         (norm): Likewise.
33140         (denorm): Likewise.
33141         (dbl_mp): Likewise.
33142         (sub_magnitudes): Likewise.
33143         (__add): Likewise.
33144         (__sub): Likewise.
33145         (__mul): Likewise.
33146         (__inv): Likewise.
33147         (__dvd): Likewise.
33148         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33149         (norm): Likewise.
33150         (denorm): Likewise.
33151         (dbl_mp): Likewise.
33152         (sub_magnitudes): Likewise.
33153         (__add): Likewise.
33154         (__sub): Likewise.
33155         (__mul): Likewise.
33156         (__inv): Likewise.
33157         (__dvd): Likewise.
33159         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33160         instead of __mul.
33161         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33162         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33163         (cc32): Likewise.
33165         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33166         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33167         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33168         of __mul for squares.
33169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33170         function
33171         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33172         Likewise.
33173         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33174         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33176 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
33178         [BZ #13550]
33179         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33180         code.
33181         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33182         prototype or function definition.  Rename ubp_* variables and
33183         parameters.  Remove argv definitions conditional on
33184         [__BOUNDED_POINTERS__].
33185         * debug/backtrace.c (__backtrace): Do not use __unbounded.
33186         * elf/dl-runtime.c (_dl_fixup): Likewise.
33187         * include/set-hooks.h (RUN_HOOK): Likewise.
33188         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33189         definition.
33190         * string/strcpy.c (strcpy): Do not use __unbounded.
33191         * sysdeps/generic/frame.h (struct layout): Likewise.
33192         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33193         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33194         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33195         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33196         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33197         (__backtrace): Likewise.
33198         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33199         use __ptrvalue.
33200         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33201         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33202         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33203         Likewise.
33204         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33205         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33206         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33207         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33208         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33209         Do not use __unbounded.
33210         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33211         Rename __unboundedrlimits parameter to rlimits in prototype.
33212         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33213         Do not use __unbounded.
33214         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33215         not use __ptrvalue.
33216         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33217         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33218         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33219         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33220         __ptrvalue or __unbounded.
33221         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33222         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33223         use __unbounded.
33224         (__new_msgctl): Do not use __ptrvalue.
33225         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33226         __unbounded.
33227         (__libc_msgrcv): Do not use __ptrvalue.
33228         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33229         startup_info): Do not use __unbounded.
33230         (__libc_start_main): Likewise.  Rename ubp_* variables and
33231         parameters.  Remove argv definitions conditional on
33232         [__BOUNDED_POINTERS__].
33233         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33234         __ptrvalue.
33235         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33236         use __unbounded.
33237         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33238         or __ptrvalue.
33239         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33240         use __unbounded.
33241         (__new_shmctl): Do not use __ptrvalue.
33242         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33243         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33244         Likewise.
33245         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33246         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33247         (__libc_sigaction): Likewise.
33248         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33249         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33253 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33255         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33257         * string/mempcpy.c: Implement by calling memcpy.
33259 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33264         evaluation.
33266         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33267         values in the mantissa.
33269         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33270         minimize writes to Z.
33271         (sub_magnitudes): Simplify code a bit.
33273 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33275         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33276         from the message.  The linker prefixes all warnings with that already.
33278 2013-02-12  Andreas Schwab  <schwab@suse.de>
33280         [BZ #15078]
33281         * posix/regexec.c (extend_buffers): Add parameter min_len.
33282         (check_matching): Pass minimum needed length.
33283         (clean_state_log_if_needed): Likewise.
33284         (get_subexp): Likewise.
33285         * posix/Makefile (tests): Add bug-regex34.
33286         (bug-regex34-ENV): Define.
33287         * posix/bug-regex34.c: New file.
33289         [BZ #11561]
33290         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33291         elements compare against the byte sequence of it, not its name.
33292         * posix/Makefile (tests): Add bug-regex35.
33293         (bug-regex35-ENV): Define.
33294         * posix/bug-regex35.c: New file.
33296 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33298         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33299         comment.
33300         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33301         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33302         (CHECK_EOL): Add undef.
33304 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33306         * bits/stdlib-bsearch.h: New file.
33307         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33308         * stdlib/stdlib.h: Likewise.
33310 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33312         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33313         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33314         declaration.
33315         * manual/search.texi (Array Search Function): Add missing const in
33316         lfind prototype.
33317         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33318         declaration to use rlim_t.
33319         (Basic Scheduling Functions): Remove erroneous const from
33320         sched_getparam prototype.  Remove erroneous * from
33321         sched_get_priority_max and sched_get_priority_min prototypes.
33322         (Resource Usage): Fix summary @comment on vtimes to refer to
33323         sys/vtimes.h rather than vtimes.h.
33324         Add missing *s in vtimes prototype.
33325         (Limits on Resources): Fix ulimit prototype to return long int.
33326         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33327         prototypes to use long int rather than double.
33328         (BSD Random): Fix initstate and setstate to use char *, not void *.
33329         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33330         prototype to make second argument 'struct aiocb64 *const[]'.
33331         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33332         (Status of AIO Operations): Remove erroneous const in aio_return and
33333         aio_return64 prototypes.
33334         (Synchronizing I/O): Fix sync prototype to return void.
33335         * manual/startup.texi (Suboptions): Remove an erroneous const in
33336         getsubopt prototype.
33337         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33338         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33339         use size_t rather than int.
33340         (Scanning All Users): Likewise for getpwent_r.
33341         (Setting Groups): Add missing const to setgroups prototype.
33342         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33343         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33344         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33345         'const void *' rather than 'const char *'.
33346         (Host Address Functions): Likewise for inet_ntop.
33347         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33348         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33349         ssize_t for return value.
33350         (Sending Data): Likewise for send, sendto, sendmsg.
33351         (Socket Option Functions): Add a missing const in setsockopt prototype.
33352         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33353         use wchar_t for the argument.
33354         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33355         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33356         take no arguments.
33357         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33358         double/float/long double for second argument.
33359         Fix return types of significand, significandf, significandl.
33360         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33361         argument in fchmod prototype.
33362         (File Owner): Use uid_t and gid_t in fchown prototype.
33363         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33364         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33365         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33366         use 'const struct dirent **' as argument types to CMP function pointer
33367         argument.
33368         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33369         (File Times): Fix summary magic @comment for struct utimbuf and utime
33370         to refer to utime.h, not time.h.
33371         * manual/string.texi (Argz Functions): Add missing const in
33372         argz_extract and argz_next prototypes.
33373         (Finding Tokens in a String): Likewise for basename.
33374         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33375         (Copying and Concatenation): Fix typo in wmemmove prototype.
33376         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33377         (Signal Stack): Remove erroneous const in sigstack prototype.
33378         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33379         prototype.
33380         (Simple Calendar Time): Likewise for stime.
33381         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33382         prototype.
33383         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33384         say sys/sysctl.h instead.
33385         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33386         and vsyslog prototypes.
33388 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33390         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33391         Remove.
33393 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33395         * misc/sys/mman.h: Fix typo in mremap comment.
33397 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33399         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33400         the '\0' terminator.
33402 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33404         [BZ #13550]
33405         * debug/segfault.c: Don't include <bp-checks.h>.
33406         * sysdeps/generic/bp-checks.h: Remove file.
33407         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33408         (__GETDENTS): Don't use CHECK_N.
33409         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33410         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33411         (__getgroups): Don't use CHECK_N.
33412         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33413         (setgroups): Don't use CHECK_N.
33414         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33415         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33416         (__libc_msgrcv): Don't use CHECK_N.
33417         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33418         (__libc_msgsnd): Don't use CHECK_N.
33419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33420         <bp-checks.h>.
33421         (__libc_pread): Don't use CHECK_N.
33422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33423         include <bp-checks.h>.
33424         (__libc_pread64): Don't use CHECK_N.
33425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33426         include <bp-checks.h>.
33427         (__libc_pwrite): Don't use CHECK_N.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33429         include <bp-checks.h>.
33430         (__libc_pwrite64): Don't use CHECK_N.
33431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33432         <bp-checks.h>.
33433         (__libc_pread): Don't use CHECK_N.
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33435         include <bp-checks.h>.
33436         (__libc_pread64): Don't use CHECK_N.
33437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33438         include <bp-checks.h>.
33439         (__libc_pwrite): Don't use CHECK_N.
33440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33441         include <bp-checks.h>.
33442         (__libc_pwrite64): Don't use CHECK_N.
33443         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33444         (do_pread): Don't use CHECK_N.
33445         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33446         (do_pread64): Don't use CHECK_N.
33447         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33448         (do_pwrite): Don't use CHECK_N.
33449         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33450         (do_pwrite64): Don't use CHECK_N.
33451         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33452         (__libc_readv): Don't use CHECK_N.
33453         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33454         (semop): Don't use CHECK_N.
33455         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33456         <bp-checks.h>.
33457         (semtimedop): Don't use CHECK_N.
33458         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33459         (__libc_pread): Don't use CHECK_N.
33460         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33461         <bp-checks.h>.
33462         (__libc_pread64): Don't use CHECK_N.
33463         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33464         <bp-checks.h>.
33465         (__libc_pwrite): Don't use CHECK_N.
33466         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33467         <bp-checks.h>.
33468         (__libc_pwrite64): Don't use CHECK_N.
33469         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33470         <bp-checks.h>.
33471         (__libc_msgrcv): Don't use CHECK_N.
33472         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33473         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33474         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33475         (__libc_writev): Don't use CHECK_N.
33477 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33479         * string/strcpy.c: Removed unused variable.
33481         * Makeconfig (+sysdep-includes): Define with := rather than =.
33482         Use an existing include/ subdir of each sysdeps dir before it.
33484 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33486         * nscd/connection.c (register_traced_file): Comment function.
33487         [HAVE_INOTIFY] (union __inev): Define.
33488         [HAVE_INOTIFY] (inotify_check_files): New function.
33489         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33490         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33491         clear_db_cache.
33492         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33494 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33496         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33497         loaded if not already and that a failure is permanent.
33499 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33501         [BZ #15006]
33502         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33503         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33505 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33507         [BZ #13550]
33508         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33509         (CHECK_1_NULL_OK): Likewise.
33510         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33511         (__fxstat): Do not use CHECK_1.
33512         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33513         <bp-checks.h>.
33514         (___fxstat64): Do not use CHECK_1.
33515         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33516         <bp-checks.h>.
33517         (__fxstatat): Do not use CHECK_1.
33518         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33519         <bp-checks.h>.
33520         (__fxstatat64): Do not use CHECK_1.
33521         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33522         <bp-checks.h>.
33523         (__fxstat): Do not use CHECK_1.
33524         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33525         <bp-checks.h>.
33526         (__fxstatat): Do not use CHECK_1.
33527         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33528         <bp-checks.h>.
33529         (__getresgid): Do not use CHECK_1.
33530         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33531         <bp-checks.h>.
33532         (__getresuid): Do not use CHECK_1.
33533         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33534         <bp-checks.h>.
33535         (__lxstat): Do not use CHECK_1.
33536         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33537         <bp-checks.h>.
33538         (__old_msgctl): Do not use CHECK_1.
33539         (__new_msgctl): Likewise.
33540         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33541         <bp-checks.h>.
33542         (__new_setrlimit): Do not use CHECK_1.
33543         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33544         <bp-checks.h>.
33545         (__old_shmctl): Do not use CHECK_1.
33546         (__new_shmctl): Likewise.
33547         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33548         <bp-checks.h>.
33549         (__xstat): Do not use CHECK_1.
33550         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33551         (__lxstat): Do not use CHECK_1.
33552         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33553         <bp-checks.h>.
33554         (___lxstat64): Do not use CHECK_1.
33555         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33556         (__old_msgctl): Do not use CHECK_1.
33557         (__new_msgctl): Likewise.
33558         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33559         <bp-checks.h>.
33560         (__gettimeofday): Do not use CHECK_1.
33561         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33562         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33563         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33564         <bp-checks.h>.
33565         (__gettimeofday): Do not use CHECK_1.
33566         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33567         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33568         (__new_shmctl): Do not use CHECK_1.
33569         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33570         <bp-checks.h>.
33571         (do_sigtimedwait): Do not use CHECK_1.
33572         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33573         <bp-checks.h>.
33574         (do_sigwaitinfo): Do not use CHECK_1.
33575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33576         <bp-checks.h>.
33577         (msgctl): Do not use CHECK_1.
33578         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33579         <bp-checks.h>.
33580         (shmctl): Do not use CHECK_1.
33581         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33582         (ustat): Do not use CHECK_1.
33583         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33584         <bp-checks.h>.
33585         (__fxstat): Do not use CHECK_1.
33586         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33587         <bp-checks.h>.
33588         (__fxstatat): Do not use CHECK_1.
33589         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33590         <bp-checks.h>.
33591         (__lxstat): Do not use CHECK_1.
33592         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33593         <bp-checks.h>.
33594         (__xstat): Do not use CHECK_1.
33595         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33596         (__xstat): Do not use CHECK_1.
33597         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33598         (___xstat64): Do not use CHECK_1.
33600         [BZ #13550]
33601         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33602         definitions.
33603         (CHECK_BOUNDS_HIGH): Likewise.
33604         * string/strcpy.c: Do not include <bp-checks.h>.
33605         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33607 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33609         * nscd/nscd-client.h (__nscd_drop_map_ref):
33610         Add __attribute__ ((unused)).
33611         * nis/nss-nisplus.h (niserr2nss): Likewise.
33613         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33614         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33616         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33617         Remove inline keyword.
33618         * include/rounding-mode.h (round_away): Likewise.
33619         * libio/wfileops.c (adjust_wide_data): Likewise.
33620         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33621         (__m128i_strloadu_tolower): Likewise.
33622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33623         (__m128i_strloadu_tolower): Likewise.
33624         * time/mktime.c (ydhms_diff): Likewise.
33625         * locale/elem-hash.h (elem_hash): Likewise.
33626         * locale/setlocale.c (setdata): Likewise.
33627         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33628         (re_string_wchar_at): Likewise.
33629         (bitset_not, bitset_merge, bitset_mask): Likewise.
33630         [!(__GNUC__ > 3)] (inline): Remove macro.
33631         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33632         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33633         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33634         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33635         * string/memcmp.c (memcmp_bytes): Likewise.
33636         * locale/programs/locarchive.c (compute_hashval): Likewise.
33637         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33638         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33639         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33640         * nss/getent.c (print_rpc, print_protocols): Likewise.
33641         (print_passwd, print_group, print_aliases): Likewise.
33642         * nis/nss-nisplus.h (niserr2nss): Likewise.
33643         * nscd/connections.c (restart_p): Likewise.
33644         Change return type to bool.
33646 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33648         * Makeconfig (all-Depend-files): Add existing
33649         $(sorted-subdirs:=/Depend) files.
33650         (all-subdirs): Remove nss.
33651         * sysdeps/unix/inet/Subdirs: Add it here instead.
33652         * hesiod/Depend: New file.
33654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33655         instead of calling alloca.
33657         * io/lseek.c (__lseek): Rename to __libc_lseek.
33658         Define __lseek as an alias.
33660         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33662 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33664         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33665         else clause and remove check for non-standard endianness.
33667 2013-02-04  David S. Miller  <davem@davemloft.net>
33669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33671 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33673         [BZ #13550]
33674         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33675         (__ubp_memchr): Remove prototype.
33676         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33677         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33678         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33679         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33680         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33681         Remove alias.
33682         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33683         (__ubp_memchr): Likewise.
33684         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33685         (__ubp_memchr): Likewise.
33686         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33687         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33688         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33689         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33690         CHECK_STRING.
33691         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33692         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33693         (__getcwd): Do not use CHECK_STRING.
33694         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33695         <bp-checks.h>.
33696         (__real_chown): Do not use CHECK_STRING.
33697         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33698         <bp-checks.h>.
33699         (fchownat): Do not use CHECK_STRING.
33700         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33701         CHECK_STRING.
33702         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33703         <bp-checks.h>.
33704         (__lchown): Do not use CHECK_STRING.
33705         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33706         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33707         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33708         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33710         include <bp-checks.h>.
33711         (truncate64): Do not use CHECK_STRING.
33712         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33713         <bp-checks.h>.
33714         (__real_chown): Do not use CHECK_STRING.
33715         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33716         <bp-checks.h>.
33717         (__lchown): Do not use CHECK_STRING.
33718         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33719         <bp-checks.h>.
33720         (__chown): Do not use CHECK_STRING.
33721         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33722         <bp-checks.h>.
33723         (truncate64): Do not use CHECK_STRING.
33724         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33725         Likewise.
33726         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33727         (__xmknod): Do not use CHECK_STRING.
33728         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33729         <bp-checks.h>.
33730         (__xmknodat): Do not use CHECK_STRING.
33731         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33732         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33734 2013-02-04  Andreas Schwab  <schwab@suse.de>
33736         [BZ #14142]
33737         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33738         * include/netdb.h: Likewise for h_errno.
33739         * elf/tst-stackguard1.c: Include <tls.h>.
33741 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33743         * elf/link.h (struct link_map): Extend the l_addr comment.
33744         * include/link.h (struct link_map): Likewise.
33746 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33748         [BZ #13550]
33749         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33750         (BOUNDED_1): Remove macro.
33751         * debug/backtrace.c: Don't include <bp-checks.h>.
33752         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33753         (__backtrace): Likewise.
33754         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33755         <bp-checks.h>.
33756         (__backtrace): Don't use BOUNDED_1.
33757         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33758         <bp-checks.h>.
33759         (__backtrace): Don't use BOUNDED_1.
33760         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33761         (__backtrace): Don't use BOUNDED_1.
33762         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33763         (shmat): Don't use BOUNDED_N.
33765 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33767         [BZ #13550]
33768         * sysdeps/generic/bp-start.h: Remove file.
33769         * csu/libc-start.c: Don't include <bp-start.h>.
33770         (LIBC_START_MAIN): Set up __environ directly instead of using
33771         INIT_ARGV_and_ENVIRON.
33772         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33773         <bp-start.h>.
33775         [BZ #13550]
33776         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33777         definitions.
33778         (CHECK_FCNTL): Likewise.
33779         (CHECK_N_PAGES): Likewise.
33781         [BZ #13550]
33782         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33783         definitions.
33784         (CHECK_SIGSET_NULL_OK): Likewise.
33785         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33786         <bp-checks.h>.
33787         (sigpending): Don't use CHECK_SIGSET.
33788         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33789         <bp-checks.h>.
33790         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33791         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33792         <bp-checks.h>.
33793         (do_sigsuspend): Don't use CHECK_SIGSET.
33794         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33795         use CHECK_SIGSET.
33796         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33797         (do_sigwait): Don't use CHECK_SIGSET.
33798         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33799         use CHECK_SIGSET.
33800         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33801         include <bp-checks.h>.
33802         (sigpending): Don't use CHECK_SIGSET.
33803         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33804         include <bp-checks.h>.
33805         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33806         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33807         <bp-checks.h>.
33808         (sigpending): Don't use CHECK_SIGSET.
33809         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33810         <bp-checks.h>.
33811         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33813         [BZ #13550]
33814         * sysdeps/generic/bp-semctl.h: Remove file.
33815         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33816         <bp-checks.h> and <bp-semctl.h>.
33817         (__old_semctl): Don't use CHECK_SEMCTL.
33818         (__new_semctl): Likewise.
33819         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33820         and <bp-semctl.h>.
33821         (__old_semctl): Don't use CHECK_SEMCTL.
33822         (__new_semctl): Likewise.
33823         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33824         <bp-checks.h> and <bp-semctl.h>.
33825         (__old_semctl): Don't use CHECK_SEMCTL.
33826         (__new_semctl): Likewise.
33827         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33828         <bp-checks.h> and <bp-semctl.h>.
33829         (semctl): Don't use CHECK_SEMCTL.
33831         [BZ #13550]
33832         * Makerules (elide-bp-thunks): Remove variable.
33833         (elide-routines.oS): Don't use $(elide-bp-thunks).
33834         (elide-routines.os): Likewise.
33835         (elide-routines.o): Likewise.
33836         (elide-routines.op): Likewise.
33837         (elide-routines.og): Likewise.
33838         (objects): Don't use $(bp-thunks).
33839         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33840         include.
33841         (common-generated): Do not add s-proto-bp.d.
33842         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33843         (int): Likewise.
33844         (typ): Likewise.
33845         Do not generate makefile rules for bounded-pointer thunks.
33846         * sysdeps/generic/bp-thunks.h: Remove file.
33847         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33848         * sysdeps/unix/s-proto-bp.S: Likewise.
33850         [BZ #15062]
33851         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33852         parts of result separately when argument is not close to line from
33853         -i to i and one part of argument is small.
33854         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33855         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33856         * math/libm-test.inc (cacos_test): Add more tests.
33857         (casin_test): Likewise.
33858         (casinh_test): Likewise.
33859         * sysdeps/i386/fpu/libm-test-ulps: Update.
33860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33862 2013-01-31  David S. Miller  <davem@davemloft.net>
33864         * po/de.po: Update from translation team.
33866 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33868         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33870 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33872         * configure.in (_AC_PROG_CC_C89): New definition.
33873         * configure: Regenerate.
33875         * configure.in (AC_PROG_CPP): New definition.
33876         * configure: Regenerate.
33878 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33880         * debug/tst-backtrace.h: New file.
33881         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33882         (ret): Remove variable.
33883         (x): Likewise.
33884         (FAIL): Remove macro.
33885         (NO_INLINE): Likewise.
33886         (fn1): Use match function instead of strstr.
33887         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33888         (ret): Remove variable.
33889         (x): Likewise.
33890         (FAIL): Remove macro.
33891         (NO_INLINE): Likewise.
33892         (fn): Use match function instead of strstr.
33893         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33894         (ret): Remove variable.
33895         (x): Likewise.
33896         (FAIL): Remove macro.
33897         (NO_INLINE): Likewise.
33898         (handle_signal): Use match function instead of strstr.
33899         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33900         (ret): Remove variable.
33901         (x): Likewise.
33902         (FAIL): Remove macro.
33903         (NO_INLINE): Likewise.
33904         (handle_signal): Use match function instead of strstr.
33906 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33908         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33910 2013-01-23  David S. Miller  <davem@davemloft.net>
33912         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33913         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33914         argument of CAS if possible.
33915         * sysdeps/sparc/sparc64/bits/atomic.h
33916         (__arch_compare_and_exchange_val_32_acq): Likewise.
33917         (__arch_compare_and_exchange_val_64_acq): Likewise.
33919 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33921         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33922         * sysdeps/posix/ulimit.c: ... this.
33923         Include <limits.h>.
33924         * sysdeps/unix/bsd/ulimit.c: Remove file.
33926 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33928         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33929         (LDFLAGS-tst-array5): Likewise.
33931 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33933         [BZ #15036]
33934         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33935         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33936         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33937         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33939 2013-01-21  David S. Miller  <davem@davemloft.net>
33941         * sysdeps/sparc/backtrace.c: New file.
33942         * sysdeps/sparc/sparc32/backtrace.h: New file.
33943         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33944         * sysdeps/sparc/sparc64/backtrace.h: New file.
33945         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33946         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33947         -funwind-tables.
33949 2013-01-21  Andreas Schwab  <schwab@suse.de>
33951         [BZ #15020]
33952         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33953         closed its stdout.
33955 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33958         "mpa2.h".
33959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33961 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33962             Mark Mitchell  <mark@codesourcery.com>
33963             Tom de Vries  <tom@codesourcery.com>
33964             Paul Pluzhnikov  <ppluzhnikov@google.com>
33966         * debug/tst-backtrace2.c: New file.
33967         * debug/tst-backtrace3.c: Likewise.
33968         * debug/tst-backtrace4.c: Likewise.
33969         * debug/tst-backtrace5.c: Likewise.
33970         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33971         (CFLAGS-tst-backtrace3.c): Likewise.
33972         (CFLAGS-tst-backtrace4.c): Likewise.
33973         (CFLAGS-tst-backtrace5.c): Likewise.
33974         (LDFLAGS-tst-backtrace2): Likewise.
33975         (LDFLAGS-tst-backtrace3): Likewise.
33976         (LDFLAGS-tst-backtrace4): Likewise.
33977         (LDFLAGS-tst-backtrace5): Likewise.
33978         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33979         tst-backtrace4 and tst-backtrace5.
33981 2013-01-18  Anton Blanchard  <anton@samba.org>
33982             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33984         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33985         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33986         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33987         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33989         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33990         "+r" and remove output regs list as redundant.  Add explicit inline
33991         asm to specify register of return val to work around compiler codegen
33992         bug.  Remove (int) cast on return value.  Add return type parameter to
33993         use in macro so that this macro does not truncate return value for
33994         64-bit values.
33995         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33996         pass to INTERNAL_VSYSCALL_NCS.
33997         (INLINE_VSYSCALL): Add 'long int' as return type to
33998         INTERNAL_VSYSCALL_NCS macro invocation.
33999         (INTERNAL_VSYSCALL): Add 'long int' as return type to
34000         INTERNAL_VSYSCALL_NCS macro invocation.
34001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34003 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34005         [BZ #14496]
34006         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34007         Fix application of SIMD FP exception mask.
34009         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34010         mp_no from a power of two.
34011         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34012         __mpexp_twomm1.  Use __pow_mp.
34014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34015         multiplication.
34017 2013-01-17  David S. Miller  <davem@davemloft.net>
34019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34021 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34023         [BZ #15023]
34024         * include/complex.h: Condition contents on [!_COMPLEX_H].
34025         (__kernel_casinhf): New prototype.
34026         (__kernel_casinh): Likewise.
34027         (__kernel_casinhl): Likewise.
34028         * math/Makefile (libm_calls): Add k_casinh.
34029         * math/k_casinh.c: New file.
34030         * math/k_casinhf.c: Likewise.
34031         * math/k_casinhl.c: Likewise.
34032         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34033         finite nonzero arguments.
34034         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34035         finite nonzero arguments.
34036         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34037         finite nonzero arguments.
34038         * math/s_casinh.c: Do not include <float.h>.
34039         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34040         * math/s_casinhf.c: Do not include <float.h>.
34041         (__casinhf): Move code for finite nonzero arguments to
34042         k_casinhf.c.
34043         * math/s_casinhl.c: Do not include <float.h>.
34044         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34045         redefine.
34046         (__casinhl): Move code for finite nonzero arguments to
34047         k_casinhl.c.
34048         * math/libm-test.inc (cacos_test): Add more tests.
34049         * sysdeps/i386/fpu/libm-test-ulps: Update.
34050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34052 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
34054         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34055         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34056         [!HAVE_MREMAP]: Remove [defined linux] case.
34057         * malloc/arena.c: Do not include <malloc-sysdep.h>.
34059 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34061         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34063 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
34065         * elf/elf.h (R_386_SIZE32): New relocation.
34066         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34067         R_386_SIZE32.
34068         (elf_machine_rela): Likewise.
34069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34070         R_X86_64_SIZE64 and R_X86_64_SIZE32.
34072 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34074         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34075         (FP_FAST_FMA): Do not define.
34076         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34077         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34078         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34079         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34080         !_SOFT_FLOAT]: Likewise.
34081         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34082         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34083         value.
34084         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34085         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34086         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34087         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34088         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34089         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34090         file.
34092 2013-01-16  Andreas Schwab  <schwab@suse.de>
34094         [BZ #14327]
34095         * include/stdlib.h (__mktemp): Add declaration.
34096         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34097         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34099 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34101         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34102         definitions.
34103         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34104         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34105         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34106         definitions here.
34107         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34108         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34109         definitions.
34110         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34111         and ONE.
34112         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34113         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34114         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34115         definitions.
34116         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34117         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34118         definitions.
34119         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34121         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34123 2013-01-15  David S. Miller  <davem@davemloft.net>
34125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34126         trunc{,f} to libm-sysdep_routes.
34127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34129         file.
34130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34132         file.
34133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34134         file.
34135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34137         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34138         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34139         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34140         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34141         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34142         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34145         nearbyint{,f} to libm-sysdep_routes.
34146         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34148         New file.
34149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34150         file.
34151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34152         New file.
34153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34154         file.
34155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34157         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34158         file.
34159         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34160         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34161         file.
34162         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34163         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34164         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34166         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34167         libc_feholdexcept and libc_fesetenv.
34169 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
34171         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34173 2013-01-14  David S. Miller  <davem@davemloft.net>
34175         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34176         (SPARC_ASM_VIS2_IFUNC): Likewise.
34177         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34179         use of 'siam' instruction.
34180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34181         Likewise.
34182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34183         Likewise.
34184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34185         Likewise.
34186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34191         file.
34192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34193         file.
34194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34195         file.
34196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34197         file.
34198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34203         new VIS2 routines.
34204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34207         Likewise.
34208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34213         routines to libm-sysdep_routines.
34214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34217         fdim/fdimf to libm-sysdep_routines.
34218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34219         file.
34220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34222         file.
34223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34226         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34227         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34228         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34229         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34231 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34233         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34234         to optimize copies.
34236         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34241         local variable MPTWO.
34242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34243         Likewise.
34245 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34247         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34248         GLOB_NOESCAPE.
34250 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34252         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34254 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34256         * manual/pattern.texi (glob_t): Document gl_flags.
34257         (glob64_t): Likewise.
34259 2013-01-11  David S. Miller  <davem@davemloft.net>
34261         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34262         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34263         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34264         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34265         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34266         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34267         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34268         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34269         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34270         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34271         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34272         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34273         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34275         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34276         sparc V9 rather than using V8 code.
34277         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34278         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34280         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34281         Move to...
34282         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34283         Here.
34285 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34287         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34288         not in the main loop.
34289         * configure: Regenerated.
34291 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34293         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34294         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34295         to just #else.
34296         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34297         [!__GLIBC_HAVE_LONG_LONG] case.
34298         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34299         condition to just #else.
34300         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34301         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34302         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34303         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34304         unconditional.
34305         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34306         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34307         #elif condition to just #else.
34308         * sysdeps/unix/sysv/linux/sys/sysmacros.h
34309         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34310         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34311         #elif condition to just #else.
34313 2013-01-11  Steve Ellcey  <sellcey@mips.com>
34315         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34316         (EF_MIPS_ARCH_64): Fix value.
34317         (EF_MIPS_ARCH_32R2): New.
34318         (EF_MIPS_ARCH_64R2): New.
34320 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
34322         * Makeconfig (+link-pie-before-libc): New.
34323         (+link-pie-after-libc): Likewise.
34324         (+link-pie-tests): Likewise.
34325         (+link-pie): Rewritten.
34326         (link-before-libc): Remove $(config-LDFLAGS).
34327         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34328         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34329         (config-LDFLAGS): Renamed to ...
34330         (rtld-LDFLAGS): This.
34331         (rtld-tests-LDFLAGS): New macro.
34332         (link-libc-rpath-link): Likewise.
34333         (link-libc-tests-rpath-link): Likewise.
34334         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34335         (link-libc): Prepand $(link-libc-rpath-link).
34336         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34337         (test-program-prefix): New macro.
34338         (test-via-rtld-prefix): Likewise.
34339         (test-program-cmd): Likewise.
34340         (host-test-program-cmd): Likewise.
34341         * Makefile ($(common-objpfx)testrun.sh): Replace
34342         $(run-program-prefix) with $(test-program-prefix).
34343         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34344         $(rtld-LDFLAGS).
34345         ($(common-objpfx)shlib.lds): Likewise.
34346         (build-module-helper): Likewise.
34347         ($(common-objpfx)format.lds): Likewise.
34348         * Rules (binaries-pie-tests): New.
34349         (binaries-pie-notests): Likewise.
34350         (binaries-pie): Rewritten.
34351         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34352         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34353         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34354         (make-test-out): Replace $(host-built-program-cmd) with
34355         $(host-test-program-cmd).
34356         * config.make.in (build-hardcoded-path-in-tests): New variable.
34357         * configure.in (--enable-hardcoded-path-in-tests): New configure
34358         option.
34359         (hardcoded_path_in_tests): New AC_SUBST.
34360         * configure: Regenerated.
34361         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34362         $(built-program-cmd) with $(test-program-cmd).
34363         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34364         (test_program_cmd): This.
34365         * elf/Makefile ($(objpfx)order.out): Run test with
34366         $(test-program-prefix).
34367         ($(objpfx)order2.out): Likewise.
34368         ($(objpfx)tst-initorder.out): Likewise.
34369         ($(objpfx)tst-initorder2.out): Likewise.
34370         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34371         $(test-program-cmd).
34372         ($(objpfx)tst-array1-static.out): Likewise.
34373         ($(objpfx)tst-array2.out): Likewise.
34374         ($(objpfx)tst-array3.out): Likewise.
34375         ($(objpfx)tst-array4.out): Likewise.
34376         ($(objpfx)tst-array5.out): Likewise.
34377         ($(objpfx)tst-array5-static.out): Likewise.
34378         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34379         $(test-program-cmd).
34380         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34381         $(run-program-prefix) with $(test-program-prefix).
34382         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34383         (test_program_prefix): This.
34384         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34385         $(run-program-prefix) with $(test-program-prefix).
34386         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34387         (test_program_prefix): This.
34388         * iconvdata/tst-tables.sh: Likewise.
34389         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34390         $(run-program-prefix) with $(test-program-prefix).
34391         ($(objpfx)tst-translit.out): Likewise.
34392         ($(objpfx)tst-gettext2.out): Likewise.
34393         ($(objpfx)tst-gettext4.out): Likewise.
34394         ($(objpfx)tst-gettext6.out): Likewise.
34395         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34396         (test_program_prefix): This.
34397         * intl/tst-gettext2.sh: Likewise.
34398         * intl/tst-gettext4.sh  Likewise.
34399         * intl/tst-gettext6.sh: Likewise.
34400         * intl/tst-translit.sh: Likewise.
34401         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34402         with $(test-program-cmd).
34403         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34404         $(run-program-prefix) with $(test-program-prefix).
34405         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34406         (test_program_prefix): This.
34407         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34408         $(run-program-prefix) with $(test-program-prefix).
34409         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34410         (test_program_prefix): This.
34411         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34412         * posix/Makefile ($(objpfx)globtest.out): Replace
34413         $(run-via-rtld-prefix) and $(test-wrapper) with
34414         $(test-program-prefix) and $(test-via-rtld-prefix).
34415         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34416         $(test-program-prefix).
34417         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34418         $(host-test-program-cmd).
34419         (tst-spawn-ARGS): Likewise.
34420         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34421         $(test-program-prefix).
34422         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34423         (test_via_rtld_prefix): This.
34424         (test_wrapper): Renamed to ...
34425         (test_program_prefix): This.
34426         (run_program_prefix): Replaced by test_program_prefix.
34427         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34428         (test_program_prefix): This.
34429         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34430         with $(host-test-program-cmd).
34431         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34432         $(run-program-prefix) with $(test-program-prefix).
34433         ($(objpfx)tst-printf.out): Likewise.
34434         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34435         $(test-program-cmd).
34436         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34437         (test_program_prefix): This.
34438         * stdio-common/tst-unbputc.sh: Likewise.
34439         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34440         $(run-program-prefix) with $(test-program-prefix).
34441         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34442         (test_program_prefix): This.
34443         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34444         $(built-program-cmd) with $(test-program-cmd).
34446 2013-01-11  Andreas Jaeger  <aj@suse.de>
34448         [BZ #15003]
34449         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34450         value. Sync with Linux 3.7.
34452 2013-01-10  David S. Miller  <davem@davemloft.net>
34454         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34455         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34456         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34458 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34460         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34461         never set.
34462         * configure: Regenerated.
34464 2013-01-10  David S. Miller  <davem@davemloft.net>
34466         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34467         sparc V9 rather than using V8 code.
34468         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34469         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34471 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34473         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34474         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34475         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34476         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34477         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34478         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34479         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34480         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34481         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34482         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34483         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34484         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34485         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34486         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34487         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34488         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34489         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34490         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34491         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34492         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34493         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34494         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34495         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34496         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34497         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34498         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34499         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34501 2013-01-10  David S. Miller  <davem@davemloft.net>
34503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34505 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34507         * posix/Makefile (tests-static): New variable.
34508         (tests): Add $(tests-static).
34509         (tst-exec-static-ARGS): New variable.
34510         (tst-spawn-static-ARGS): Likewise.
34511         * posix/tst-exec-static.c: New file.
34512         * posix/tst-spawn-static.c: Likewise.
34513         * posix/tst-exec.c: Support run directly.
34514         * posix/tst-spawn.c: Likewise.
34516 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34518         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34519         long.
34520         * math/bits/mathcalls.h (llrint): Likewise.
34521         (llround): Likewise.
34522         * stdlib/stdlib.h (struct drand48_data): Likewise.
34523         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34524         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34525         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34526         Likewise.
34527         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34528         Likewise.
34529         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34530         (elf_greg_t): Likewise.
34531         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34532         (__jmp_buf): Likewise.
34533         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34534         definitions.
34535         (llrint): Likewise, for all definitions.
34536         (llrintl): Likewise.
34538         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34539         Remove [__GNUC__] condition.
34540         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34541         condition to just [__USE_ISOC99].
34542         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34544 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34546         [BZ #14200]
34547         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34548         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34549         defined.
34550         (_POSIX_V6_ILP32_OFF32): Likewise.
34551         (_XBS5_ILP32_OFF32): Likewise.
34552         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34553         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34555 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34557         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34560         doubles __mpexp_twomm1.  Adjust usage.
34561         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34562         Remove.
34564 2013-01-10  Andreas Schwab  <schwab@suse.de>
34566         [BZ #14964]
34567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34568         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34570 2013-01-09  David S. Miller  <davem@davemloft.net>
34572         [BZ #15003]
34573         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34574         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34575         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34576         (TCP_FASTOPEN): Define.
34577         (tcp_repair_opt): New structure.
34578         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34579         enum values.
34580         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34581         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34582         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34583         (tcp_cookie_transactions): New structure.
34585 2013-01-09  Anton Blanchard  <anton@samba.org>
34587         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34589         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34590         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34592 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34594         * include/features.h (__USE_ANSI): Remove.
34596 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34598         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34600         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34602 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34604         * sysdeps/s390/fpu/libm-test-ulps: Update.
34606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34608         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34609         (__acr): Likewise.
34610         (__cpy): Likewise.
34611         (norm): Likewise.
34612         (denorm): Likewise.
34613         (__mp_dbl): Likewise.
34614         (__dbl_mp): Likewise.
34615         (add_magnitudes): Likewise.
34616         (sub_magnitudes): Likewise.
34617         (__add): Likewise.
34618         (__sub): Likewise.
34619         (__mul): Likewise.
34620         (__inv): Likewise.
34621         (__dvd): Likewise.
34622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34623         (__acr): Likewise.
34624         (__cpy): Likewise.
34625         (norm): Likewise.
34626         (denorm): Likewise.
34627         (__mp_dbl): Likewise.
34628         (__dbl_mp): Likewise.
34629         (add_magnitudes): Likewise.
34630         (sub_magnitudes): Likewise.
34631         (__add): Likewise.
34632         (__sub): Likewise.
34633         (__mul): Likewise.
34634         (__inv): Likewise.
34635         (__dvd): Likewise.
34636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34637         (__acr): Likewise.
34638         (__cpy): Likewise.
34639         (norm): Likewise.
34640         (denorm): Likewise.
34641         (__mp_dbl): Likewise.
34642         (__dbl_mp): Likewise.
34643         (add_magnitudes): Likewise.
34644         (sub_magnitudes): Likewise.
34645         (__add): Likewise.
34646         (__sub): Likewise.
34647         (__mul): Likewise.
34648         (__inv): Likewise.
34649         (__dvd): Likewise.
34651 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34653         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34654         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34655         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34656         2 && __USE_EXTERN_INLINES]: Likewise.
34658 2013-01-08  Andreas Jaeger  <aj@suse.de>
34660         [BZ# 14985]
34661         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34662         Remove.
34663         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34664         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34666 2013-01-07  Anton Blanchard  <anton@samba.org>
34668         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34669         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34670         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34671         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34672         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34673         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34674         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34675         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34677         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34678         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34679         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34680         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34681         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34682         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34684         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34686         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34687         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34688         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34689         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34690         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34691         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34692         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34693         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34694         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34695         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34696         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34697         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34698         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34700         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34701         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34702         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34706         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34707         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34709         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34710         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34712 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34714         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34715         (__MALLOC_PMT): Likewise.
34716         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34717         [__GNUC__], only on [_LIBC].
34718         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34719         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34720         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34721         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34722         forward declaration.
34723         (realloc_hook_ini): Likewise.
34724         (memalign_hook_ini): Likewise.
34725         (__libc_memalign): Do not use __MALLOC_PMT in variable
34726         declaration.
34727         (__libc_valloc): Likewise.
34728         (__libc_pvalloc): Likewise.
34729         (__libc_calloc): Likewise.
34730         (__posix_memalign): Likewise.
34732         [BZ #14996]
34733         * math/s_casinh.c: Include <float.h>.
34734         (__casinh): Do not do computation with squaring and square root
34735         for large arguments.
34736         * math/s_casinhf.c: Include <float.h>.
34737         (__casinhf): Do not do computation with squaring and square root
34738         for large arguments.
34739         * math/s_casinhl.c: Include <float.h>.
34740         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34741         (__casinhl): Do not do computation with squaring and square root
34742         for large arguments.
34743         * math/libm-test.inc (casin_test): Add more tests.
34744         (casinh_test): Likewise.
34745         * sysdeps/i386/fpu/libm-test-ulps: Update.
34746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34748 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34750         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34751         (__x86_64_raw_data_cache_size): Likewise.
34752         (__x86_64_data_cache_size_half): Likewise.
34753         (__x86_64_raw_data_cache_size_half): Likewise.
34754         (__x86_64_shared_cache_size): Likewise.
34755         (__x86_64_raw_shared_cache_size): Likewise.
34756         (__x86_64_shared_cache_size_half): Likewise.
34757         (__x86_64_raw_shared_cache_size_half): Likewise.
34758         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34759         to ...
34760         (__x86_data_cache_size): This.
34761         (__x86_64_raw_data_cache_size): Renamed to ...
34762         (__x86_raw_data_cache_size): This.
34763         (__x86_64_data_cache_size_half): Renamed to ...
34764         (__x86_data_cache_size_half): This.
34765         (__x86_64_raw_data_cache_size_half): Renamed to ...
34766         (__x86_raw_data_cache_size_half): This.
34767         (__x86_64_shared_cache_size): Renamed to ...
34768         (__x86_shared_cache_size): This.
34769         (__x86_64_raw_shared_cache_size): Renamed to ...
34770         (__x86_raw_shared_cache_size): This.
34771         (__x86_64_shared_cache_size_half): Renamed to ...
34772         (__x86_shared_cache_size_half): This.
34773         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34774         (__x86_raw_shared_cache_size_half): This.
34775         * sysdeps/x86_64/memcpy.S: Updated.
34776         * sysdeps/x86_64/memset.S: Likewise.
34777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34778         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34779         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34781 2013-01-04  David S. Miller  <davem@davemloft.net>
34783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34785 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34787         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34788         1 to avoid redefinition warning.
34789         (__USE_GNU): Don't define.
34790         (init_signaling_nan): Protoize.
34792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34794 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34796         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34798         (__cpymn): Likewise.
34799         (norm): Remove commented code.
34800         (denorm): Likewise.
34801         (__mp_dbl): Likewise.
34802         (__inv): Likewise.
34803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34804         (__cpymn): Likewise.
34805         (norm): Remove commented code.
34806         (denorm): Likewise.
34807         (__mp_dbl): Likewise.
34808         (__inv): Likewise.
34810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34811         mp_no value for 1.0 and 2.0.
34812         (norm): Use RADIXI instead of radixi.d.
34813         (denorm): Likewise.
34814         (__mul): Use 0.0 instead of zero.d.
34815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34816         mp_no value for 1.0 and 2.0.
34817         (norm): Use RADIXI instead of radixi.d.
34818         (denorm): Likewise.
34819         (__mul): Use 0.0 instead of zero.d.
34821 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34823         [BZ #14994]
34824         * math/s_casinh.c (__casinh): Reduce finite argument to first
34825         quadrant then set signs of results at the end.
34826         * math/s_casinhf.c (__casinhf): Likewise.
34827         * math/s_casinhl.c (__casinhl): Likewise.
34828         * math/libm-test.inc (casin_test): Add more tests.
34829         (casinh_test): Likewise.
34830         * sysdeps/i386/fpu/libm-test-ulps: Update.
34831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34833 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34835         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34837         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34839         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34840         declarations.
34841         (denorm): Likewise.
34842         (__mp_dbl): Likewise.
34843         (__inv): Likewise.
34845         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34846         and adjust the header comment.
34848         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34849         variable name from declaration.
34851 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34854         Initialize COMMON_CPUID_INDEX_7 element.
34855         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34856         (CPUID_RTM): Likewise.
34857         (HAS_RTM): Likewise.
34858         (COMMON_CPUID_INDEX_7): New enum.
34860 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34862         [BZ #14981]
34863         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34864         size is zero, record memory as freed.
34866 2013-01-03  Andreas Jaeger  <aj@suse.de>
34868         * po/ia.po: Add new Interlingua translation.
34870 2012-01-03  Allan McRae  <allan@archlinux.org>
34872         * locale/programs/localedef.c: Fix description of '--posix' flag.
34874 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34876         * NEWS: Update dates in second copyright notice.
34877         * README: Update copyright dates in example.
34878         * manual/libc.texinfo: Update copyright dates.
34879         * scripts/test-installation.pl: Update copyright date in --version
34880         output.
34882         * hurd/ctty-input.c: Fix copyright notice formatting.
34883         * hurd/ctty-output.c: Likewise.
34884         * hurd/dtable.c: Likewise.
34885         * hurd/hurd-raise.c: Likewise.
34886         * hurd/hurdprio.c: Likewise.
34887         * hurd/msgportdemux.c: Likewise.
34888         * misc/sys/file.h: Likewise.
34889         * misc/sys/ioctl.h: Likewise.
34890         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34891         * sysdeps/mach/hurd/chdir.c: Likewise.
34892         * sysdeps/mach/hurd/fchdir.c: Likewise.
34893         * sysdeps/mach/hurd/rename.c: Likewise.
34894         * sysdeps/mach/hurd/rmdir.c: Likewise.
34895         * sysdeps/mach/hurd/seekdir.c: Likewise.
34896         * sysdeps/mach/hurd/setsid.c: Likewise.
34897         * sysdeps/posix/wait3.c: Likewise.
34899         * All files with FSF copyright notices: Update copyright dates
34900         using scripts/update-copyrights.
34901         * intl/plural.c: Regenerated.
34902         * locale/programs/charmap-kw.h: Likewise.
34903         * locale/programs/locfile-kw.h: Likewise.
34905 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34907         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34908         four values.
34910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34911         calculation loop and add branch prediction.
34913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34914         check access beyond bounds of m1np.
34916         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34917         MPTWO.
34918         (__inv): Remove local variable MPTWO to use the global
34919         constant.
34920         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34922         variable MPTWO.
34923         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34924         MP3HALFS static const.
34926 2013-01-01  David S. Miller  <davem@davemloft.net>
34928         * po/ca.po: Update from translation team.
34930 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34932         * scripts/update-copyrights: New file.
34933         * Makeconfig: Reformat copyright notice.
34934         * ctype/ctype.h: Likewise.
34935         * debug/swprintf_chk.c: Likewise.
34936         * elf/dl-cache.c: Likewise.
34937         * elf/dl-debug.c: Likewise.
34938         * elf/dl-object.c: Likewise.
34939         * grp/initgroups.c: Likewise.
34940         * hurd/Makefile: Likewise.
34941         * hurd/hurd/signal.h: Likewise.
34942         * hurd/hurdfault.c: Likewise.
34943         * hurd/hurdioctl.c: Likewise.
34944         * hurd/hurdlookup.c: Likewise.
34945         * hurd/intr-msg.c: Likewise.
34946         * iconv/gconv_open.c: Likewise.
34947         * libio/swprintf.c: Likewise.
34948         * locale/lc-ctype.c: Likewise.
34949         * locale/nl_langinfo.c: Likewise.
34950         * mach/Machrules: Likewise.
34951         * mach/Makefile: Likewise.
34952         * malloc/obstack.h: Likewise.
34953         * manual/Makefile: Likewise.
34954         * manual/tsort.awk: Likewise.
34955         * misc/bits/stab.def: Likewise.
34956         * nis/nis_print_group_entry.c: Likewise.
34957         * nis/nis_table.c: Likewise.
34958         * nis/nss_compat/compat-pwd.c: Likewise.
34959         * nis/nss_compat/compat-spwd.c: Likewise.
34960         * po/Makefile: Likewise.
34961         * posix/fnmatch.c: Likewise.
34962         * posix/regex.h: Likewise.
34963         * resolv/Makefile: Likewise.
34964         * resolv/nss_dns/dns-network.c: Likewise.
34965         * resolv/res_hconf.c: Likewise.
34966         * scripts/gen-sorted.awk: Likewise.
34967         * soft-fp/soft-fp.h: Likewise.
34968         * stdio-common/printf.h: Likewise.
34969         * stdlib/monetary.h: Likewise.
34970         * stdlib/random.c: Likewise.
34971         * stdlib/random_r.c: Likewise.
34972         * sysdeps/generic/Makefile: Likewise.
34973         * sysdeps/gnu/Makefile: Likewise.
34974         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34975         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34976         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34977         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34978         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34979         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34980         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34984         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34985         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34986         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34987         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34988         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34989         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34990         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34991         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34992         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34993         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34994         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34995         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34996         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34997         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34998         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34999         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35000         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35001         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35002         * sysdeps/mach/hurd/errnos.awk: Likewise.
35003         * sysdeps/mach/hurd/fork.c: Likewise.
35004         * sysdeps/mach/hurd/getcwd.c: Likewise.
35005         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35006         * sysdeps/mach/hurd/mmap.c: Likewise.
35007         * sysdeps/mach/hurd/utimes.c: Likewise.
35008         * sysdeps/mach/hurd/xmknod.c: Likewise.
35009         * sysdeps/posix/profil.c: Likewise.
35010         * sysdeps/posix/readdir_r.c: Likewise.
35011         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35012         * sysdeps/powerpc/bits/setjmp.h: Likewise.
35013         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35014         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35016         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35017         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35018         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35019         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35020         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35021         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35022         * sysdeps/pthread/lio_listio.c: Likewise.
35023         * sysdeps/sparc/dl-procinfo.h: Likewise.
35024         * sysdeps/unix/i386/sysdep.S: Likewise.
35025         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35026         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35027         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35028         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35030         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35031         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35032         * sysdeps/unix/sysv/linux/speed.c: Likewise.
35033         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35034         * sysdeps/wordsize-32/divdi3.c: Likewise.
35035         * time/sys/time.h: Likewise.
35036         * wcsmbs/Makefile: Likewise.
35038 2013-01-01  David S. Miller  <davem@davemloft.net>
35040         * po/fr.po: Update from translation team.
35042         * catgets/gencat.c: Update copyright year.
35043         * csu/version.c: Likewise.
35044         * debug/catchsegv.sh: Likewise.
35045         * debug/pcprofiledump.c: Likewise.
35046         * debug/xtrace.sh: Likewise.
35047         * elf/ldconfig.c: Likewise.
35048         * elf/ldd.bash.in: Likewise.
35049         * elf/pldd.c: Likewise.
35050         * elf/sotruss.ksh: Likewise.
35051         * elf/sprof.c: Likewise.
35052         * iconv/iconv_prog.c: Likewise.
35053         * iconv/iconvconfig.c: Likewise.
35054         * locale/programs/locale.c: Likewise.
35055         * locale/programs/localedef.c: Likewise.
35056         * login/programs/pt_chown.c: Likewise.
35057         * malloc/memusage.sh: Likewise.
35058         * malloc/memusagestat.c: Likewise.
35059         * malloc/mtrace.pl: Likewise.
35060         * nscd/nscd.c: Likewise.
35061         * nss/getent.c: Likewise.
35062         * nss/makedb.c: Likewise.
35063         * posix/getconf.c: Likewise.
35065 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35067         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35068         numbers.
35070 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
35072         * math/bits/mathcalls.h (modf): Use __nonnull.
35074 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35076         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35077         (split): Use macro CN instead of the bare value.
35078         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35079         could be used.
35080         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35081         instead of the bare value.
35082         (power1): Likewise.
35084 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35086         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35087         __ATAN_TWOM.
35088         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35090         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35091         their values.
35092         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35093         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35094         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35095         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35097 2012-12-28  Andreas Jaeger  <aj@suse.de>
35099         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
35100         values are from Linux 3.7.
35102         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35103         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
35105 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35107         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35108         TRUE case.
35110         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35111         (norm): Likewise.
35112         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35113         variables with preprocessor constants.
35114         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35115         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35116         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35118 2012-12-27  Bruno Haible  <bruno@clisp.org>
35120         [BZ #14317]
35121         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35122         only if needed.
35124 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35126         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35127         and use variable directly.
35128         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35130         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35131         MPONE.
35132         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35133         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35134         variable MPONE.
35135         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35137         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35138         include directive.  Remove local variable MPONE.
35139         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35140         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35141         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35143 2012-12-25  David S. Miller  <davem@davemloft.net>
35145         * version.h (RELEASE): Set to "development".
35146         (VERSION): Set to "2.17.90".
35147         * NEWS: Add 2.18 section.
35149 2012-12-21  David S. Miller  <davem@davemloft.net>
35151         * po/hr.po: Update from translation team.
35153 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35155         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35157 2012-12-19  Steve Ellcey  <sellcey@mips.com>
35159         * NEWS:  Mention new memcpy for MIPS.
35161 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35163         * manual/contrib.texi (Contributors): Spelling correction.
35165 2012-12-15  David S. Miller  <davem@davemloft.net>
35167         * po/ru.po: Update from translation team.
35169 2012-12-13  David S. Miller  <davem@davemloft.net>
35171         * NEWS: Mention IFUNC testsuite enhancements.
35173         * po/pl.po: Update from translation team.
35174         * po/bg.po: Likewise.
35176         * manual/contrib.texi (Contributors): Update entries for Hongjiu
35177         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
35179 2012-12-11  David S. Miller  <davem@davemloft.net>
35181         * po/sv.po: Update from translation team.
35183         * po/vi.po: Update from translation team.
35185         * po/cs.po: Update from translation team.
35187         * po/de.po: Update from translation team.
35188         * po/eo.po: Likewise.
35189         * po/nl.po: Likewise.
35191 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35193         [BZ #14246]
35194         * manual/argp.texi (Argp Helper Functions): Move node to follow
35195         Argp Parsing State.
35197         [BZ #14872]
35198         * manual/conf.texi (Limits on File System Capacity): Mention if
35199         terminating null is included in the max size.
35201 2012-12-10  Andreas Jaeger  <aj@suse.de>
35203         * po/cs.po: Update from translation team.
35205 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35207         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35208         void pointer and cast to uintptr_t.
35209         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35210         path.
35211         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35212         * sysdeps/s390/s390-64/memset.S: Likewise.
35214 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35216         [BZ #14833]
35217         * menual/message.texi (Message Translation): Fix typos.
35218         (Helper programs for gettext): Likewise.
35220 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35222         [BZ #14898]
35223         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35224         Change to -1.
35226 2012-12-07  David S. Miller  <davem@davemloft.net>
35228         * po/libc.pot: Update.
35230 2012-12-07  Richard Henderson  <rth@redhat.com>
35232         [BZ #10114]
35233         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35234         normal/normal case to before the switch.
35235         (_FP_DIV): Likewise.
35237 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35238             Mike Frysinger  <vapier@gentoo.org>
35240         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35241         check for __NR_fadvise64_64.
35243 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35245         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35246         0, not just to plain "0" as a statement.
35247         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35248         with cw.
35250 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35252         * NEWS: Use sourceware.org in Bugzilla URL.
35254 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35257         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35259         * stdio-common/tst-put-error.c (do_test): Add newline to the
35260         padded test to ensure flush.
35262 2012-12-05  Jeff Law  <law@redhat.com>
35264         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35266 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35268         * README: Don't refer to ports add-on as distributed separately.
35269         Mention AArch64 in list of systems supported in the ports add-on.
35271         * LICENSES: Add more non-FSF copyright and license notices.
35273         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35274         ((unused)).
35276         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35278         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35279         10000 as width of padded output.
35281 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35283         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35285         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35286         variable LX with __attribute__ ((unused)).
35287         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35288         Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35290         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35291         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35292         with __attribute__ ((unused)).
35294 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35296         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35298 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35300         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35301         (CFLAGS-nldbl-acos.c): New variable.
35302         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35303         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35304         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35305         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35306         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35307         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35308         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35309         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35310         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35311         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35312         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35313         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35314         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35315         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35316         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35317         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35318         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35319         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35320         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35321         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35322         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35323         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35324         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35325         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35326         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35327         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35328         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35329         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35330         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35331         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35332         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35333         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35334         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35335         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35336         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35337         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35338         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35339         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35340         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35341         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35342         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35343         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35344         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35345         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35346         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35347         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35348         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35349         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35350         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35351         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35352         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35353         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35354         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35355         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35356         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35357         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35358         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35359         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35360         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35361         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35362         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35363         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35364         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35365         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35366         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35367         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35368         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35369         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35370         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35371         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35372         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35373         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35374         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35375         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35376         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35377         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35378         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35379         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35380         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35381         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35382         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35383         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35384         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35385         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35386         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35387         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35388         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35389         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35390         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35391         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35392         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35393         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35394         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35395         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35396         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35397         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35398         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35401         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35403         [BZ #14914]
35404         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35405         whole low double instead of just low 47 bits when splitting values
35406         into two parts.
35408 2012-12-03  Allan McRae  <allan@archlinux.org>
35410         * manual/stdio.texi (Predefined Printf Handlers): Remove
35411         @hsep and @vsep usage.
35413 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35415         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35416         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35418 2012-12-03  Jeff Law  <law@redhat.com>
35420         * time/sys/time.h (settimeofday): Do not mark TV argument
35421         as __nonnull.
35423 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35425         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35426         when currently writing and seek to current position when not.
35427         * libio/Makefile (tests): Remove bug-fclose1.
35428         * libio/bug-fclose1.c: Delete.
35430 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35432         * manual/arith.texi (feenableexcept): Fix typo.
35433         (fedisableexcept): Likewise.
35435 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35437         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35438         second, differently-typed declaration, rather than a cast.
35440 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35442         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35443         * include/rpc/svc.h: ... here.
35445 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35447         [BZ #13013]
35448         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35449         depending n and resplen2 to catch cases where answer
35450         equals answerp2.
35452 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35454         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35455         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35457 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35459         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35461 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35463         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35465 2012-11-28  Jeff Law  <law@redhat.com>
35467         [BZ #13761]
35468         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35469         dataset_temporary.  Track alloca usage into alloca_used.
35470         If dataset is large allocate and release it via malloc/free.
35472 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35474         [BZ #14197]
35475         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35477 2012-11-28  David S. Miller  <davem@davemloft.net>
35479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35481 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35483         [BZ #14803]
35484         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35485         of pi/2 rounded to nearest to 64 bits.
35486         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35487         nearest to 64 bits.
35488         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35489         bits.
35491 2012-11-28  Jeff Law <law@redhat.com>
35492             Martin Osvald <mosvald@redhat.com>
35494         [BZ #14889]
35495         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35496         * sunrpc/svc.c: Include time.h.
35497         (__svc_accept_failed): New function.
35498         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35499         any reason other than EINTR, call __svc_accept_failed.
35500         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35501         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35503 2012-11-28  Andreas Schwab  <schwab@suse.de>
35505         * scripts/abilist.awk: Also handle indirect functions in .opd
35506         section.
35508 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35510         [BZ #13881]
35511         * sysdeps/x86/fpu/powl_helper.c: New file.
35512         * sysdeps/x86/fpu/Makefile: Likewise.
35513         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35514         (p3): New object.
35515         (__ieee754_powl): Use __powl_helper for finite arguments except
35516         integer exponents below 8.
35517         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35518         (p3): New object.
35519         (__ieee754_powl): Use __powl_helper for finite arguments except
35520         integer exponents below 8.
35521         * math/libm-test.inc (pow_test): Add more tests and enable some
35522         previously disabled tests.
35523         * sysdeps/i386/fpu/libm-test-ulps: Update.
35524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35526 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35527             Carlos O'Donell  <carlos_odonell@mentor.com>
35529         * nss/makedb.c (is_prime): Assert that input is odd and greater
35530         than 4.  Note that fact in a comment too.
35531         (next_prime): Add 4 to input.
35533 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35535         [BZ #11741]
35536         * libio/Makefile (tests): Add test case tst-fwrite-error.
35537         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35538         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35539         * libio/tst-fwrite-error.c: New test case.
35541 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35543         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35544         before casting to void *.
35545         * include/libc-internal.h (__pointer_type): New macro.
35546         (__integer_if_pointer_type_sub): Likewise.
35547         (__integer_if_pointer_type): Likewise.
35548         (cast_to_integer): Likewise.
35549         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35550         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35551         before casting to atomic64_t.
35552         (atomic_exchange_acq): Likewise.
35553         (__arch_exchange_and_add_body): Likewise.
35554         (__arch_add_body): Likewise.
35555         (atomic_add_negative): Likewise.
35556         (atomic_add_zero): Likewise.
35558 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35560         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35561         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35562         (add_fdes): Likewise.
35563         (linear_search_fdes): Likewise.
35564         (binary_search_unencoded_fdes): Likewise.
35566 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35568         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35570 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35572         * configure.in: Autodetect C++ header directories.
35573         * configure: Regenerated.
35575 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35577         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35579 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35583 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35585         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35586         LDBL_MANT_DIG == 106]: Disable some tests.
35587         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35588         Likewise.
35589         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35590         Likewise.
35592         [BZ #14871]
35593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35594         input for small inputs.  Return +/- pi/2 for large inputs.
35595         * math/libm-test.inc (atan_test): Add more tests.
35597         * sysdeps/generic/unwind-dw2-fde-glibc.c
35598         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35599         __attribute__ ((unused)).
35601         [BZ #14645]
35602         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35603         x * y if x and y are nonzero and z is zero.
35605         [BZ #14811]
35606         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35607         nonzero exponents with absolute value below 0x1p-117 to +/-
35608         0x1p-117.
35610         [BZ #14869]
35611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35612         up arguments below 2**-450, not just those below 2**-500.
35613         * math/libm-test.inc (hypot_test): Add another test.
35615         [BZ #14868]
35616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35617         Return a+b for ratio over 2**120, not 2**60.
35618         * math/libm-test.inc (hypot_test): Add another test.
35620         * math/libm-test.inc (clog_test): Use
35621         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35622         (clog10_test): Likewise.
35624         [BZ #6778]
35625         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35627 2012-11-22  Andreas Schwab  <schwab@suse.de>
35629         * sysdeps/i386/fpu/libm-test-ulps: Update.
35631 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35633         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35634         printf output with newline.
35636 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35638         [BZ #14865]
35639         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35640         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35641         -z nodlopen, -z initfirst and -z execstack support.
35642         * configure: Regenerated.
35644         * elf/elf.h (DF_1_NODIRECT): New macro.
35645         (DF_1_IGNMULDEF): Likewise.
35646         (DF_1_NOKSYMS): Likewise.
35647         (DF_1_NOHDR): Likewise.
35648         (DF_1_EDITED): Likewise.
35649         (DF_1_NORELOC): Likewise.
35650         (DF_1_SYMINTPOSE): Likewise.
35651         (DF_1_GLOBAUDIT): Likewise.
35652         (DF_1_SINGLETON): Likewise.
35653         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35654         DT_1_SUPPORTED_MASK bits.
35655         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35657 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35659         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35661 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35663         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35664         macro.
35666         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35667         (sendmmsg): Move declarations...
35668         * socket/sys/socket.h: ... here.
35669         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35670         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35671         include it from...
35672         * socket/recvmmsg.c: ... this new file.
35673         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35674         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35675         definition of __sendmmsg hidden.
35676         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35677         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35678         Move ENOSYS stub into and include it from...
35679         * socket/sendmmsg.c: ... this new file.
35680         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35681         (sysdep_routines): Move recvmmsg and sendmmsg...
35682         * socket/Makefile (routines): ... here.
35683         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35684         (GLIBC_PRIVATE): Add __sendmmsg.
35685         * include/sys/socket.h (__sendmmsg): Add declarations.
35686         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35687         sendmmsg.
35689 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35691         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35692         variable I1 with __attribute__ ((unused)).
35693         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35695 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35697         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35698         DUMMY variables with __attribute__ ((unused)).
35700         * bits/byteswap.h: Include <bits/types.h>.
35701         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35703 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35705         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35706         string_t.  Do not manually set errno.
35707         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35708         length with __strnlen.  Make sure to both set errno and return it on
35709         failure.
35711 2012-11-19  David S. Miller  <davem@davemloft.net>
35713         With help from Joseph Myers.
35714         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35715         very large arguments properly.
35716         * math/libm-test.inc (atan_test): New tests.
35717         (atan2_test): New tests.
35718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35721 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35723         [BZ #14856]
35724         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35725         Define to 3.
35727         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35728         [POSIX] (EADDRNOTAVAIL): Likewise.
35729         [POSIX] (EAFNOSUPPORT): Likewise.
35730         [POSIX] (EALREADY): Likewise.
35731         [POSIX] (ECONNABORTED): Likewise.
35732         [POSIX] (ECONNREFUSED): Likewise.
35733         [POSIX] (ECONNRESET): Likewise.
35734         [POSIX] (EDESTADDRREQ): Likewise.
35735         [POSIX] (EDQUOT): Likewise.
35736         [POSIX] (EHOSTUNREACH): Likewise.
35737         [POSIX] (EIDRM): Likewise.
35738         [POSIX] (EISCONN): Likewise.
35739         [POSIX] (ELOOP): Likewise.
35740         [POSIX] (EMULTIHOP): Likewise.
35741         [POSIX] (ENETDOWN): Likewise.
35742         [POSIX] (ENETUNREACH): Likewise.
35743         [POSIX] (ENOBUFS): Likewise.
35744         [POSIX] (ENODATA): Likewise.
35745         [POSIX] (ENOLINK): Likewise.
35746         [POSIX] (ENOMSG): Likewise.
35747         [POSIX] (ENOPROTOOPT): Likewise.
35748         [POSIX] (ENOSR): Likewise.
35749         [POSIX] (ENOSTR): Likewise.
35750         [POSIX] (ENOTCONN): Likewise.
35751         [POSIX] (ENOTSOCK): Likewise.
35752         [POSIX] (EOPNOTSUPP): Likewise.
35753         [POSIX] (EOVERFLOW): Likewise.
35754         [POSIX] (EPROTO): Likewise.
35755         [POSIX] (EPROTONOSUPPORT): Likewise.
35756         [POSIX] (EPROTOTYPE): Likewise.
35757         [POSIX] (ESTALE): Likewise.
35758         [POSIX] (ETIME): Likewise.
35759         [POSIX] (ETXTBSY): Likewise.
35760         [POSIX] (EWOULDBLOCK): Likewise.
35761         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35762         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35763         [POSIX] (SEEK_CUR): Likewise.
35764         [POSIX] (SEEK_END): Likewise.
35765         [POSIX || UNIX98] (mode_t): Do not require.
35766         [POSIX] (off_t): Likewise.
35767         [POSIX] (pid_t): Likewise.
35768         [POSIX] (sys/stat.h): Do not allow header.
35769         [POSIX] (unistd.h): Likewise.
35770         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35771         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35772         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35773         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35774         require.
35775         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35776         sigevent): Specify elements.
35777         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35778         entry.
35779         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35780         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35782         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35783         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35784         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35785         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35786         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35787         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35788         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35789         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35790         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35791         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35792         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35793         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35794         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35795         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35796         Likewise.
35797         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35798         Likewise.
35799         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35800         Likewise.
35801         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35802         Likewise.
35803         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35804         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35805         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35806         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35807         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35808         Specify lower bound on value.
35809         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35810         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35811         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35812         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35813         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35814         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35815         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35816         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35817         value.
35818         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35819         as optional.
35820         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35821         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35822         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35823         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35824         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35825         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35826         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35827         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35828         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35829         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35830         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35831         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35832         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35833         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35834         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35835         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35836         entry.
35837         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35838         optional.
35839         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35840         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35841         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35842         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35843         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35844         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35845         Likewise.
35846         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35847         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35848         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35849         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35850         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35851         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35852         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35853         as optional.
35854         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35855         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35856         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35857         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35858         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35859         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35860         specify as optional.
35861         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35862         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35863         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35864         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35865         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35866         [XPG3] (NL_LANGMAX): Likewise.
35867         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35868         [POSIX || XPG3] (NL_NMAX): Likewise.
35869         [POSIX || XPG3] (NL_SETMAX): Likewise.
35870         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35871         [XPG3] (NZERO): Likewise.
35872         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35873         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35874         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35875         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35876         (REG_ERANGE): Expect.
35877         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35878         optional-constant.
35879         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35880         Use (void) in prototype.
35881         [POSIX] (*_t): Allow.
35882         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35883         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35884         (WRDE_BADVAL): Expect.
35886         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35887         expect.
35888         [XPG3 || XPG4] (O_RSYNC): Likewise.
35889         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35890         Likewise.
35891         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35892         [XPG3 || XPG4] (sigqueue): Likewise.
35893         [XPG3 || XPG4] (sigtimedwait): Likewise.
35894         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35895         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35896         [XPG3 || XPG4] (vsnprintf): Likewise.
35897         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35898         Likewise.
35899         [XPG3 || XPG4] (blksize_t): Likewise.
35900         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35901         Likewise.
35902         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35903         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35904         [XPG3 || XPG4] (struct itimerspec): Likewise.
35905         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35906         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35907         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35908         [XPG3 || XPG4] (clockid_t): Likewise.
35909         [XPG3 || XPG4] (timer_t): Likewise.
35910         [XPG3 || XPG4] (clock_getres): Likewise.
35911         [XPG3 || XPG4] (clock_gettime): Likewise.
35912         [XPG3 || XPG4] (clock_settime): Likewise.
35913         [XPG3 || XPG4] (nanosleep): Likewise.
35914         [XPG3 || XPG4] (timer_create): Likewise.
35915         [XPG3 || XPG4] (timer_delete): Likewise.
35916         [XPG3 || XPG4] (timer_gettime): Likewise.
35917         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35918         [XPG3 || XPG4] (timer_settime): Likewise.
35919         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35920         [XPG3 || XPG4] (getlogin_r): Likewise.
35921         [XPG3 || XPG4] (pread): Likewise.
35922         [XPG3 || XPG4] (pthread_atfork): Likewise.
35923         [XPG3 || XPG4] (pwrite): Likewise.
35925         [BZ #14835]
35926         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35927         <bits/siginfo.h>.
35929 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35931         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35932         finalizing MALLSTREAM.
35934         * sysdeps/mach/hurd/syncfs.c: New file.
35936 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35938         [BZ #14719]
35939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35940         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35942         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35943         (_nss_dns_gethostbyname4_r): Likewise.
35944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35945         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35947 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35949         [BZ #13763]
35950         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35952 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35954         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35955         * elf/cache.c (print_entry): Print ",AArch64" for
35956         FLAG_AARCH64_LIB64
35958         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35959         * elf/cache.c (print_entry): Print ",hard-float" for
35960         FLAG_ARM_LIBHF.
35962 2012-11-18  David S. Miller  <davem@davemloft.net>
35964         With help from Joseph Myers.
35965         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35966         cutoff to 2**-13.
35967         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35968         cutoff to 2**-25.
35969         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35970         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35971         small.
35972         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35973         * math/libm-test.inc (y0_test): New tests.
35974         (y1_test): New tests.
35975         * sysdeps/i386/fpu/libm-test-ulps: Update.
35976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35979 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35981         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35982         64-bit targets.
35983         * configure: Regenerated.
35985 2012-11-17  David S. Miller  <davem@davemloft.net>
35987         [BZ #14811]
35988         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35989         nonzero exponents with absolute value below 0x1p-128 to +/-
35990         0x1p-128.
35992 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35994         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35996         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35998         * posix/getconf-speclist.c: New file.
35999         * posix/posix-envs.def: Likewise.
36000         * posix/confstr.c (START_ENV_GROUP): New macro.
36001         (END_ENV_GROUP): Likewise.
36002         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36003         (KNOWN_PRESENT_ENV_STRING): Likewise.
36004         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36005         (UNKNOWN_ENVIRONMENT): Likewise.
36006         (confstr): Include posix-envs.def instead of handling
36007         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36008         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36009         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36010         (END_ENV_GROUP): Likewise.
36011         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36012         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36013         (UNKNOWN_ENVIRONMENT): Likewise.
36014         (__sysconf): Include posix-envs.def instead of handling associated
36015         cases directly here.
36016         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36017         preprocessing getconf-speclist.c rather than running getconf or
36018         generating empty file.
36020 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
36022         * scripts/check-local-headers.sh: Ignore 'mach' headers.
36024 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
36026         [BZ #14672]
36027         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36029 2012-11-16  David S. Miller  <davem@davemloft.net>
36031         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36032         smaller than LDBL_EPSILON/2.0L, just return xm1.
36034 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
36036         * elf/tst-array1.c (init): Set constructor priority to 1000.
36037         (fini): Set destructor priority to 1000.
36038         * elf/tst-array2dep.c: Likewise.
36040 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36042         [BZ #11741]
36043         * libio/fileops.c (_IO_new_file_write): Correctly return error.
36044         (_IO_new_file_xsputn): Also return EOF if none of the input
36045         data was written when overflow failed.
36046         * libio/iopadn.c (_IO_padn): Likewise.
36047         * libio/iowpadn.c (_IO_wpadn): Likewise.
36048         * stdio-common/tst-put-error.c: Add copyright notice.
36049         (do_test): Add case for printing padded string.
36050         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36051         _IO_padn returned error.
36052         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36053         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36054         return EOF.
36056 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36058         * libio/libioP.h: Add comment note that the references to C++
36059         bits are now obsolete.
36061 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36063         * math/libm-test.inc (check_complex): Use asprintf.
36065 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
36067         * debug/pcprofiledump.c (print_version): Update copyright year.
36068         * malloc/memusagestat.c (print_version): Likewise.
36070 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
36072         [BZ #14831]
36073         * elf/Makefile (tests): Add tst-audit8.
36074         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36075         ($(objpfx)tst-audit8.out): New target.
36076         (tst-audit8-ENV): New variable.
36077         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36078         audit if l_reloc_result is NULL.
36079         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36080         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36081         * elf/tst-audit8.c: New file.
36083 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36085         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36086         * misc/Makefile (CFLAGS-select.c): Define.
36087         * posix/Makefile (CFLAGS-pause.c): Define.
36089 2012-11-13  David S. Miller  <davem@davemloft.net>
36091         * crypt/Makefile: Move test targets after toplevel Rules
36092         inclusion.  Grab any necessary sysdep routines when linking.
36093         * crypt/md5.c (md5_process_block): Remove define, we will always
36094         name it __md5_process_block.
36095         (md5_finish_ctx): Update md5_process_block call.
36096         (md5_stream): Likewise.
36097         (md5_process_bytes): Likewise.
36098         (md5_process_block): Rename to __md5_process_block and move to ...
36099         * crypt/md5-block.c: ... here.
36100         * crypt/sha256.c (sha256_process_block): Move to ...
36101         * crypt/sha256-block.c: ... here.
36102         * crypt/sha512.c (sha512_process_block): Move to ...
36103         * crypt/sha512-block.c: ... here.
36104         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36105         path.
36106         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36107         * sysdeps/sparc/sparc64/multiarch/Makefile
36108         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36109         crypt subdir.
36110         (localedef-aux): Add md5 crypto assembler when in locale subdir.
36111         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36112         multiarch changes.
36113         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36114         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36115         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36116         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36117         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36118         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36119         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36120         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36121         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36122         file.
36123         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36124         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36125         file.
36126         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36128 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
36130         * timezone/tzselect.ksh: Update from tzcode git revision
36131         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36132         * timezone/zdump.c: Likewise.
36133         * timezone/zic.c: Likewise.
36134         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36135         in TZVERSION setting, not $(PKGVERSION).
36136         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
36137         REPORT_BUGS_TO settings.
36139         [BZ #14838]
36140         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36141         macro.
36143 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36145         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36146         detection to immediately after _FP_ROUND().
36147         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36148         bits are 0.
36150 2012-11-11  David S. Miller  <davem@davemloft.net>
36152         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36153         inttypes.h
36154         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36155         __close rather than their public counterparts.
36157 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
36159         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36160         file.
36161         [UNIX98] (sem_timedwait): Do not expect.
36162         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36163         [XPG4 || UNIX98] (sockatmark): Do not expect.
36164         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36165         (clock_getcpuclockid): Do not expect.
36166         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36167         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36168         Do not expect.
36169         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36170         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36171         [UNIX98] (vwscanf): Likewise.
36172         [UNIX98] (vswscanf): Likewise.
36174 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
36176         * timezone/version.h: Remove file.
36177         * timezone/README: Do not refer to version.h.
36178         * timezone/Makefile ($(objpfx)zic.o): New dependency on
36179         $(objpfx)version.h.
36180         ($(objpfx)zdump.o): Likewise.
36181         ($(objpfx)version.h): New target.
36183         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36184         2012i.
36185         * timezone/README: Don't mention modification to tzselect.ksh.
36186         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36187         work on unmodified tzselect.ksh.  Substitute version numbers in
36188         tzselect.ksh.
36190         * Makefile (format-me): Remove.
36191         (INSTALL): Adjust indentation.  Use commands directly instead of
36192         using $(format-me).
36194         * aclocal.m4 (ACX_PKGVERSION): New macro.
36195         (ACX_BUGURL): Likewise.
36196         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36197         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36198         (REPORT_BUGS_TO): Likewise.
36199         * configure: Regenerated.
36200         * config.h.in (PKGVERSION): New macro.
36201         (REPORT_BUGS_TO): Likewise.
36202         * config.make.in (PKGVERSION): New variable.
36203         (PKGVERSION_TEXI): Likewise.
36204         (REPORT_BUGS_TO): Likewise.
36205         (REPORT_BUGS_TEXI): Likewise.
36206         * Makefile (format-me): Use -I$(common-objpfx)manual.
36207         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36208         ($(common-objpfx)manual/%): New target.
36209         (manual/%): Remove target.
36210         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36211         (print_version): Use PKGVERSION.
36212         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36213         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36214         and REPORT_BUGS_TO.
36215         ($(objpfx)xtrace): Likewise.
36216         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36217         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36218         (print_version): Use PKGVERSION.
36219         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36220         (do_version): Use PKGVERSION.
36221         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36222         REPORT_BUGS_TO.
36223         (common-ldd-rewrite): Likewise.
36224         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36225         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36226         (print_version): Use PKGVERSION.
36227         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36228         * elf/pldd.c (argp_program_bug_address): Remove variable.
36229         (more_help): New function.
36230         (argp): Use more_help.
36231         (print_version): Use PKGVERSION.
36232         * elf/sln.c (main): Use PKGVERSION.
36233         (usage): Use REPORT_BUGS_TO.
36234         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36235         (top level): Use PKGVERSION.
36236         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36237         (print_version): Use PKGVERSION.
36238         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36239         (print_version): Use PKGVERSION.
36240         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36241         (print_version): Use PKGVERSION.
36242         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36243         (print_version): Use PKGVERSION.
36244         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36245         (print_version): Use PKGVERSION.
36246         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36247         (print_version): Use PKGVERSION.
36248         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36249         and BUGURL.
36250         ($(objpfx)memusage): Likewise.
36251         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36252         (do_version): Use PKGVERSION.
36253         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36254         (print_version): Use PKGVERSION.
36255         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36256         ($PKGVERSION): New variable.
36257         ($REPORT_BUGS_TO): Likewise.
36258         (usage): Use $REPORT_BUGS_TO.
36259         (top level): Use $PKGVERSION.
36260         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36261         ($(objpfx)pkgvers.texi): New rule.
36262         ($(objpfx)stamp-pkgvers): Likewise.
36263         * manual/install.texi: Include pkgvers.texi.
36264         (--with-pkgversion): Document new configure option.
36265         (--with-bugurl): Likewise.
36266         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36267         than necessarily for this particular distribution.  Use
36268         REPORT_BUGS_TO for where to report bugs.
36269         * INSTALL: Regenerated.
36270         * manual/libc.texinfo: Include pkgvers.texi.
36271         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36272         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36273         (print_version): Use PKGVERSION.
36274         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36275         (print_version): Use PKGVERSION.
36276         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36277         (print_version): Use PKGVERSION.
36278         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36279         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36280         macro.
36281         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36282         (print_version): Use PKGVERSION.
36283         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36284         (print_version): Use PKGVERSION.
36285         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36286         and PKGVERSION.
36288         * timezone/checktab.awk: Update from tzcode 2012i.
36289         * timezone/ialloc.c: Likewise.
36290         * timezone/private.h: Likewise.
36291         * timezone/scheck.c: Likewise.
36292         * timezone/tzfile.h: Likewise.
36293         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36294         (TZVERSION): Hardcode tzcode version number.
36295         * timezone/zdump.c: Update from tzcode 2012i.
36296         * timezone/zic.c: Likewise.
36297         * timezone/version.h: New file.
36298         * timezone/README: Describe version.h.  Update upstream location.
36300         [BZ #14824]
36301         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36302         (mktemp): Enable declaration.
36303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36307         Likewise.
36308         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36309         Likewise.
36310         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36311         Likewise.
36312         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36313         Likewise.
36314         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36315         Likewise.
36316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36317         Likewise.
36319         [BZ #14821]
36320         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36321         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
36322         for copies of such integer values.
36323         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36324         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36326 2012-11-09  Andreas Jaeger  <aj@suse.de>
36328         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36329         definitions and declarations that are provided by
36330         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36332 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36334         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36335         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36336         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36337         definition.
36339 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36341         * elf/elf.h: Update comment before AArch64 relocations.
36343 2012-11-07  David S. Miller  <davem@davemloft.net>
36345         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36346         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36347         (__start_context): Declare.
36348         (__makecontext_ret): Delete.
36349         (__makecontext): Hook up __start_context instead of
36350         __makecontext_ret.
36351         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36352         (sysdep_routines): Add __start_context when in stdlib.
36354 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36356         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36357         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36358         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36359         hardcoded "nm".
36360         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36361         (READELF): New variable.  Use it instead of hardcoded "readelf".
36363 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36365         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36366         * sysdeps/x86/Makefile: Here.
36367         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36368         * sysdeps/x86/tst-xmmymm.sh: This.
36370 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36372         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36373         expectations.
36374         [UNIX98] (pthread_barrier_t): Do not expect.
36375         [UNIX98] (pthread_barrierattr_t): Likewise.
36376         [UNIX98] (pthread_spinlock_t): Likewise.
36377         [UNIX98] (pthread_barrier_destroy): Likewise.
36378         [UNIX98] (pthread_barrier_init): Likewise.
36379         [UNIX98] (pthread_barrier_wait): Likewise.
36380         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36381         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36382         [UNIX98] (pthread_barrierattr_init): Likewise.
36383         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36384         [UNIX98] (pthread_getcpuclockid): Likewise.
36385         [UNIX98] (pthread_mutex_timedlock): Likewise.
36386         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36387         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36388         [UNIX98] (pthread_sigmask): Likewise.
36389         [UNIX98] (pthread_spin_destroy): Likewise.
36390         [UNIX98] (pthread_spin_init): Likewise.
36391         [UNIX98] (pthread_spin_lock): Likewise.
36392         [UNIX98] (pthread_spin_trylock): Likewise.
36393         [UNIX98] (pthread_spin_unlock): Likewise.
36394         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36395         Do not expect.
36396         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36397         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36398         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36399         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36400         [XPG3 || XPG4] (pthread_key_t): Likewise.
36401         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36402         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36403         [XPG3 || XPG4] (pthread_once_t): Likewise.
36404         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36405         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36406         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36407         [XPG3 || XPG4] (pthread_t): Likewise.
36409         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36410         not expect.
36411         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36413         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36414         Change function return type to int.
36416         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36417         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36418         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36419         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36420         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36421         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36422         [!POSIX] (posix_madvise): Likewise.
36423         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36424         && !UNIX98].
36425         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36426         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36427         (mode_t): Likewise.
36428         (posix_mem_offset): Likewise.
36429         (posix_typed_mem_get_info): Likewise.
36430         (posix_typed_mem_open): Likewise.
36432         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36433         Change condition to [XOPEN2K8].
36435         * conform/conformtest.pl: Preprocess allow-header data with -x c
36436         instead of from stdin.
36437         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36438         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36439         [C99-based standards] (cerfc): Likewise.
36440         [C99-based standards] (cexp2): Likewise.
36441         [C99-based standards] (cexpm1): Likewise.
36442         [C99-based standards] (clog10): Likewise.
36443         [C99-based standards] (clog1p): Likewise.
36444         [C99-based standards] (clog2): Likewise.
36445         [C99-based standards] (clgamma): Likewise.
36446         [C99-based standards] (ctgamma): Likewise.
36447         [C99-based standards] (cerff): Likewise.
36448         [C99-based standards] (cerfcf): Likewise.
36449         [C99-based standards] (cexp2f): Likewise.
36450         [C99-based standards] (cexpm1f): Likewise.
36451         [C99-based standards] (clog10f): Likewise.
36452         [C99-based standards] (clog1pf): Likewise.
36453         [C99-based standards] (clog2f): Likewise.
36454         [C99-based standards] (clgammaf): Likewise.
36455         [C99-based standards] (ctgammaf): Likewise.
36456         [C99-based standards] (cerfl): Likewise.
36457         [C99-based standards] (cerfcl): Likewise.
36458         [C99-based standards] (cexp2l): Likewise.
36459         [C99-based standards] (cexpm1l): Likewise.
36460         [C99-based standards] (clog10l): Likewise.
36461         [C99-based standards] (clog1pl): Likewise.
36462         [C99-based standards] (clog2l): Likewise.
36463         [C99-based standards] (clgammal): Likewise.
36464         [C99-based standards] (ctgammal): Likewise.
36465         * conform/data/inttypes.h-data [C99-based standards]: Include
36466         stdint.h-data.  Remove all expectations for stdint.h contents.
36467         [C99-based standards] (PRI*): Do not allow.
36468         [C99-based standards] (SCN*): Likewise.
36469         [C99-based standards] (*_t): Likewise.
36470         [C99-based-standards] (PRId8): Expect macro.
36471         [C99-based-standards] (PRIi8): Likewise.
36472         [C99-based-standards] (PRIo8): Likewise.
36473         [C99-based-standards] (PRIu8): Likewise.
36474         [C99-based-standards] (PRIx8): Likewise.
36475         [C99-based-standards] (PRIX8): Likewise.
36476         [C99-based-standards] (SCNd8): Likewise.
36477         [C99-based-standards] (SCNi8): Likewise.
36478         [C99-based-standards] (SCNo8): Likewise.
36479         [C99-based-standards] (SCNu8): Likewise.
36480         [C99-based-standards] (SCNx8): Likewise.
36481         [C99-based-standards] (PRIdLEAST8): Likewise.
36482         [C99-based-standards] (PRIiLEAST8): Likewise.
36483         [C99-based-standards] (PRIoLEAST8): Likewise.
36484         [C99-based-standards] (PRIuLEAST8): Likewise.
36485         [C99-based-standards] (PRIxLEAST8): Likewise.
36486         [C99-based-standards] (PRIXLEAST8): Likewise.
36487         [C99-based-standards] (SCNdLEAST8): Likewise.
36488         [C99-based-standards] (SCNiLEAST8): Likewise.
36489         [C99-based-standards] (SCNoLEAST8): Likewise.
36490         [C99-based-standards] (SCNuLEAST8): Likewise.
36491         [C99-based-standards] (SCNxLEAST8): Likewise.
36492         [C99-based-standards] (PRIdFAST8): Likewise.
36493         [C99-based-standards] (PRIiFAST8): Likewise.
36494         [C99-based-standards] (PRIoFAST8): Likewise.
36495         [C99-based-standards] (PRIuFAST8): Likewise.
36496         [C99-based-standards] (PRIxFAST8): Likewise.
36497         [C99-based-standards] (PRIXFAST8): Likewise.
36498         [C99-based-standards] (SCNdFAST8): Likewise.
36499         [C99-based-standards] (SCNiFAST8): Likewise.
36500         [C99-based-standards] (SCNoFAST8): Likewise.
36501         [C99-based-standards] (SCNuFAST8): Likewise.
36502         [C99-based-standards] (SCNxFAST8): Likewise.
36503         [C99-based-standards] (PRId16): Likewise.
36504         [C99-based-standards] (PRIi16): Likewise.
36505         [C99-based-standards] (PRIo16): Likewise.
36506         [C99-based-standards] (PRIu16): Likewise.
36507         [C99-based-standards] (PRIx16): Likewise.
36508         [C99-based-standards] (PRIX16): Likewise.
36509         [C99-based-standards] (SCNd16): Likewise.
36510         [C99-based-standards] (SCNi16): Likewise.
36511         [C99-based-standards] (SCNo16): Likewise.
36512         [C99-based-standards] (SCNu16): Likewise.
36513         [C99-based-standards] (SCNx16): Likewise.
36514         [C99-based-standards] (PRIdLEAST16): Likewise.
36515         [C99-based-standards] (PRIiLEAST16): Likewise.
36516         [C99-based-standards] (PRIoLEAST16): Likewise.
36517         [C99-based-standards] (PRIuLEAST16): Likewise.
36518         [C99-based-standards] (PRIxLEAST16): Likewise.
36519         [C99-based-standards] (PRIXLEAST16): Likewise.
36520         [C99-based-standards] (SCNdLEAST16): Likewise.
36521         [C99-based-standards] (SCNiLEAST16): Likewise.
36522         [C99-based-standards] (SCNoLEAST16): Likewise.
36523         [C99-based-standards] (SCNuLEAST16): Likewise.
36524         [C99-based-standards] (SCNxLEAST16): Likewise.
36525         [C99-based-standards] (PRIdFAST16): Likewise.
36526         [C99-based-standards] (PRIiFAST16): Likewise.
36527         [C99-based-standards] (PRIoFAST16): Likewise.
36528         [C99-based-standards] (PRIuFAST16): Likewise.
36529         [C99-based-standards] (PRIxFAST16): Likewise.
36530         [C99-based-standards] (PRIXFAST16): Likewise.
36531         [C99-based-standards] (SCNdFAST16): Likewise.
36532         [C99-based-standards] (SCNiFAST16): Likewise.
36533         [C99-based-standards] (SCNoFAST16): Likewise.
36534         [C99-based-standards] (SCNuFAST16): Likewise.
36535         [C99-based-standards] (SCNxFAST16): Likewise.
36536         [C99-based-standards] (PRId32): Likewise.
36537         [C99-based-standards] (PRIi32): Likewise.
36538         [C99-based-standards] (PRIo32): Likewise.
36539         [C99-based-standards] (PRIu32): Likewise.
36540         [C99-based-standards] (PRIx32): Likewise.
36541         [C99-based-standards] (PRIX32): Likewise.
36542         [C99-based-standards] (SCNd32): Likewise.
36543         [C99-based-standards] (SCNi32): Likewise.
36544         [C99-based-standards] (SCNo32): Likewise.
36545         [C99-based-standards] (SCNu32): Likewise.
36546         [C99-based-standards] (SCNx32): Likewise.
36547         [C99-based-standards] (PRIdLEAST32): Likewise.
36548         [C99-based-standards] (PRIiLEAST32): Likewise.
36549         [C99-based-standards] (PRIoLEAST32): Likewise.
36550         [C99-based-standards] (PRIuLEAST32): Likewise.
36551         [C99-based-standards] (PRIxLEAST32): Likewise.
36552         [C99-based-standards] (PRIXLEAST32): Likewise.
36553         [C99-based-standards] (SCNdLEAST32): Likewise.
36554         [C99-based-standards] (SCNiLEAST32): Likewise.
36555         [C99-based-standards] (SCNoLEAST32): Likewise.
36556         [C99-based-standards] (SCNuLEAST32): Likewise.
36557         [C99-based-standards] (SCNxLEAST32): Likewise.
36558         [C99-based-standards] (PRIdFAST32): Likewise.
36559         [C99-based-standards] (PRIiFAST32): Likewise.
36560         [C99-based-standards] (PRIoFAST32): Likewise.
36561         [C99-based-standards] (PRIuFAST32): Likewise.
36562         [C99-based-standards] (PRIxFAST32): Likewise.
36563         [C99-based-standards] (PRIXFAST32): Likewise.
36564         [C99-based-standards] (SCNdFAST32): Likewise.
36565         [C99-based-standards] (SCNiFAST32): Likewise.
36566         [C99-based-standards] (SCNoFAST32): Likewise.
36567         [C99-based-standards] (SCNuFAST32): Likewise.
36568         [C99-based-standards] (SCNxFAST32): Likewise.
36569         [C99-based-standards] (PRId64): Likewise.
36570         [C99-based-standards] (PRIi64): Likewise.
36571         [C99-based-standards] (PRIo64): Likewise.
36572         [C99-based-standards] (PRIu64): Likewise.
36573         [C99-based-standards] (PRIx64): Likewise.
36574         [C99-based-standards] (PRIX64): Likewise.
36575         [C99-based-standards] (SCNd64): Likewise.
36576         [C99-based-standards] (SCNi64): Likewise.
36577         [C99-based-standards] (SCNo64): Likewise.
36578         [C99-based-standards] (SCNu64): Likewise.
36579         [C99-based-standards] (SCNx64): Likewise.
36580         [C99-based-standards] (PRIdLEAST64): Likewise.
36581         [C99-based-standards] (PRIiLEAST64): Likewise.
36582         [C99-based-standards] (PRIoLEAST64): Likewise.
36583         [C99-based-standards] (PRIuLEAST64): Likewise.
36584         [C99-based-standards] (PRIxLEAST64): Likewise.
36585         [C99-based-standards] (PRIXLEAST64): Likewise.
36586         [C99-based-standards] (SCNdLEAST64): Likewise.
36587         [C99-based-standards] (SCNiLEAST64): Likewise.
36588         [C99-based-standards] (SCNoLEAST64): Likewise.
36589         [C99-based-standards] (SCNuLEAST64): Likewise.
36590         [C99-based-standards] (SCNxLEAST64): Likewise.
36591         [C99-based-standards] (PRIdFAST64): Likewise.
36592         [C99-based-standards] (PRIiFAST64): Likewise.
36593         [C99-based-standards] (PRIoFAST64): Likewise.
36594         [C99-based-standards] (PRIuFAST64): Likewise.
36595         [C99-based-standards] (PRIxFAST64): Likewise.
36596         [C99-based-standards] (PRIXFAST64): Likewise.
36597         [C99-based-standards] (SCNdFAST64): Likewise.
36598         [C99-based-standards] (SCNiFAST64): Likewise.
36599         [C99-based-standards] (SCNoFAST64): Likewise.
36600         [C99-based-standards] (SCNuFAST64): Likewise.
36601         [C99-based-standards] (SCNxFAST64): Likewise.
36602         [C99-based-standards] (PRIdMAX): Likewise.
36603         [C99-based-standards] (PRIiMAX): Likewise.
36604         [C99-based-standards] (PRIoMAX): Likewise.
36605         [C99-based-standards] (PRIuMAX): Likewise.
36606         [C99-based-standards] (PRIxMAX): Likewise.
36607         [C99-based-standards] (PRIXMAX): Likewise.
36608         [C99-based-standards] (SCNdMAX): Likewise.
36609         [C99-based-standards] (SCNiMAX): Likewise.
36610         [C99-based-standards] (SCNoMAX): Likewise.
36611         [C99-based-standards] (SCNuMAX): Likewise.
36612         [C99-based-standards] (SCNxMAX): Likewise.
36613         [C99-based-standards] (PRIdPTR): Likewise.
36614         [C99-based-standards] (PRIiPTR): Likewise.
36615         [C99-based-standards] (PRIoPTR): Likewise.
36616         [C99-based-standards] (PRIuPTR): Likewise.
36617         [C99-based-standards] (PRIxPTR): Likewise.
36618         [C99-based-standards] (PRIXPTR): Likewise.
36619         [C99-based-standards] (SCNdPTR): Likewise.
36620         [C99-based-standards] (SCNiPTR): Likewise.
36621         [C99-based-standards] (SCNoPTR): Likewise.
36622         [C99-based-standards] (SCNuPTR): Likewise.
36623         [C99-based-standards] (SCNxPTR): Likewise.
36624         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36625         allow.
36626         * conform/data/stdint.h-data: Update comments to clarify
36627         requirements.
36628         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36629         type.
36630         [C99-based standards] (INT8_MAX): Likewise.
36631         [C99-based standards] (INT16_MIN): Likewise.
36632         [C99-based standards] (INT16_MAX): Likewise.
36633         [C99-based standards] (INT32_MIN): Likewise.
36634         [C99-based standards] (INT32_MAX): Likewise.
36635         [C99-based standards] (INT64_MIN): Likewise.
36636         [C99-based standards] (INT64_MAX): Likewise.
36637         [C99-based standards] (UINT8_MAX): Likewise.
36638         [C99-based standards] (UINT16_MAX): Likewise.
36639         [C99-based standards] (UINT32_MAX): Likewise.
36640         [C99-based standards] (UINT64_MAX): Likewise.
36641         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36642         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36643         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36644         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36645         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36646         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36647         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36648         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36649         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36650         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36651         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36652         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36653         [C99-based standards] (INT_FAST8_MIN): Likewise.
36654         [C99-based standards] (INT_FAST8_MAX): Likewise.
36655         [C99-based standards] (INT_FAST16_MIN): Likewise.
36656         [C99-based standards] (INT_FAST16_MAX): Likewise.
36657         [C99-based standards] (INT_FAST32_MIN): Likewise.
36658         [C99-based standards] (INT_FAST32_MAX): Likewise.
36659         [C99-based standards] (INT_FAST64_MIN): Likewise.
36660         [C99-based standards] (INT_FAST64_MAX): Likewise.
36661         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36662         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36663         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36664         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36665         [C99-based standards] (INTPTR_MIN): Likewise.
36666         [C99-based standards] (INTPTR_MAX): Likewise.
36667         [C99-based standards] (UINTPTR_MAX): Likewise.
36668         [C99-based standards] (INTMAX_MIN): Likewise.
36669         [C99-based standards] (INTMAX_MAX): Likewise.
36670         [C99-based standards] (UINTMAX_MAX): Likewise.
36671         [C99-based standards] (PTRDIFF_MIN): Likewise.
36672         [C99-based standards] (PTRDIFF_MAX): Likewise.
36673         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36674         [C99-based standards] (SIZE_MAX): Likewise.
36675         [C99-based standards] (WCHAR_MAX): Likewise.
36676         [C99-based standards] (WINT_MAX): Likewise.
36677         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36678         constraint on value.
36679         [C99-based standards] (WCHAR_MIN): Likewise.
36680         [C99-based standards] (WINT_MIN): Likewise.
36681         [C99-based standards] (*_t): Allow.
36682         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36683         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36684         Include math.h-data and complex.h-data.  Remove all expectations
36685         of math.h and complex.h contents.
36686         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36687         at end of line.
36688         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36689         (struct tm): Expect tag.
36690         [C99-based-standards] (wcstof): Expect function.
36691         [C99-based-standards] (wcstold): Likewise.
36692         [C99-based-standards] (wcstoll): Likewise.
36693         [C99-based-standards] (wcstoull): Likewise.
36694         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36695         macro-int-constant.  Specify type.
36696         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36697         constraint on value.
36698         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36699         Specify type.
36700         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36701         Specify value.
36702         [ISO C standards]: Do not allow headers.
36703         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36704         wcs[abcdefghijklmnopqrstuvwxyz]*.
36705         [ISO C standards] (*_t): Do not allow.
36706         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36707         Expect function.
36708         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36709         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36710         Specify type.
36711         [ISO C standards]: Do not allow headers.
36712         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36713         is[abcdefghijklmnopqrstuvwxyz]*.
36714         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36715         to[abcdefghijklmnopqrstuvwxyz]*.
36716         [ISO C standards] (*_t): Do not allow.
36717         * conform/data/stdalign.h-data: New file.
36718         * conform/data/stdbool.h-data: Likewise.
36719         * conform/data/stdnoreturn.h-data: Likewise.
36721 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36723         [BZ #14815]
36724         * manual/filesys.texi (Directory Entries): Typo fix.
36725         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36727 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36729         * elf/elf.h (EM_AARCH64): New macro.
36730         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36731         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36732         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36733         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36734         (R_AARCH64_TLSDESC): Likewise.
36735         (NT_ARM_TLS): Likewise.
36736         (NT_ARM_HW_BREAK): Likewise.
36737         (NT_ARM_HW_WATCH): Likewise.
36739 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36741         [BZ #14811]
36742         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36743         (__ieee754_powl): Saturate nonzero exponents with absolute value
36744         below 0x1p-79 to +/- 0x1p-79.
36745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36746         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36747         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36748         nonzero exponents with absolute value below 0x1p-32 to +/-
36749         0x1p-32.
36750         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36751         (__ieee754_powl): Saturate nonzero exponents with absolute value
36752         below 0x1p-79 to +/- 0x1p-79.
36753         * math/libm-test.inc (pow_test): Add more tests.
36755 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36757         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36758         _dl_s390_cap_flags with kernel. Increase string length.
36759         (_dl_s390_platforms): Add z196 and zEC12.
36761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36763         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36764         Change XOPEN21K to XOPEN2K.
36766 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36768         * string/memmove.c: Use memcpy when possible.
36770 2012-11-06  Andreas Jaeger  <aj@suse.de>
36772         * po/eo.po: Update from translation team.
36774 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36776         [BZ #14793]
36777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36778         exponent and small x and y exponents, scale x or y up.  Increase
36779         by 2 the exponent used in scaling up.
36780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36781         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36782         * math/libm-test.inc (fma_test): Add more tests.
36783         (fma_test_towardzero): Likewise.
36784         (fma_test_downward): Likewise.
36785         (fma_test_upward): Likewise.
36787 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36789         [BZ #14805]
36790         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36791         fenv_t *.
36793         [BZ #14801]
36794         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36795         namespace for names of struct fields.
36796         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36797         fenv_t fields.
36798         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36799         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36801 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36803         [BZ #3665]
36804         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36806 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36808         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36809         PTR_DEMANGLE.
36811         [BZ #5246]
36812         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36813         PTR_DEMANGLE.
36815 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36817         [BZ #14797]
36818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36819         definitely overflow as x * y not x * y + z.
36820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36822         * math/libm-test.inc (fma_test): Add more tests.
36823         (fma_test_towardzero): Likewise.
36824         (fma_test_downward): Likewise.
36825         (fma_test_upward): Likewise.
36827 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36829         [BZ #157]
36831         * include/stub-tag.h: Remove file.
36832         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36833         '#include' of it.
36834         * manual/maint.texi (Porting): Don't reference it.
36835         * Makerules ($(objpfx)stubs): Likewise.
36836         * dirent/closedir.c: Don't include <stub-tag.h>.
36837         * dirent/dirfd.c: Likewise.
36838         * dirent/fdopendir.c: Likewise.
36839         * dirent/getdents.c: Likewise.
36840         * dirent/getdents64.c: Likewise.
36841         * dirent/opendir.c: Likewise.
36842         * dirent/readdir.c: Likewise.
36843         * dirent/readdir64.c: Likewise.
36844         * dirent/readdir64_r.c: Likewise.
36845         * dirent/readdir_r.c: Likewise.
36846         * dirent/rewinddir.c: Likewise.
36847         * dirent/seekdir.c: Likewise.
36848         * dirent/telldir.c: Likewise.
36849         * gmon/profil.c: Likewise.
36850         * grp/setgroups.c: Likewise.
36851         * inet/if_index.c: Likewise.
36852         * io/access.c: Likewise.
36853         * io/chdir.c: Likewise.
36854         * io/chmod.c: Likewise.
36855         * io/chown.c: Likewise.
36856         * io/close.c: Likewise.
36857         * io/dup.c: Likewise.
36858         * io/dup2.c: Likewise.
36859         * io/dup3.c: Likewise.
36860         * io/euidaccess.c: Likewise.
36861         * io/faccessat.c: Likewise.
36862         * io/fchdir.c: Likewise.
36863         * io/fchmod.c: Likewise.
36864         * io/fchmodat.c: Likewise.
36865         * io/fchown.c: Likewise.
36866         * io/fchownat.c: Likewise.
36867         * io/fcntl.c: Likewise.
36868         * io/flock.c: Likewise.
36869         * io/fstatfs.c: Likewise.
36870         * io/fstatfs64.c: Likewise.
36871         * io/fstatvfs.c: Likewise.
36872         * io/fstatvfs64.c: Likewise.
36873         * io/futimens.c: Likewise.
36874         * io/fxstat.c: Likewise.
36875         * io/fxstat64.c: Likewise.
36876         * io/fxstatat.c: Likewise.
36877         * io/fxstatat64.c: Likewise.
36878         * io/getcwd.c: Likewise.
36879         * io/isatty.c: Likewise.
36880         * io/lchmod.c: Likewise.
36881         * io/lchown.c: Likewise.
36882         * io/link.c: Likewise.
36883         * io/linkat.c: Likewise.
36884         * io/lseek.c: Likewise.
36885         * io/lseek64.c: Likewise.
36886         * io/lxstat64.c: Likewise.
36887         * io/mkdir.c: Likewise.
36888         * io/mkdirat.c: Likewise.
36889         * io/mkfifo.c: Likewise.
36890         * io/mkfifoat.c: Likewise.
36891         * io/open.c: Likewise.
36892         * io/open64.c: Likewise.
36893         * io/openat.c: Likewise.
36894         * io/openat64.c: Likewise.
36895         * io/pipe.c: Likewise.
36896         * io/pipe2.c: Likewise.
36897         * io/poll.c: Likewise.
36898         * io/posix_fadvise.c: Likewise.
36899         * io/posix_fadvise64.c: Likewise.
36900         * io/posix_fallocate.c: Likewise.
36901         * io/posix_fallocate64.c: Likewise.
36902         * io/read.c: Likewise.
36903         * io/readlink.c: Likewise.
36904         * io/readlinkat.c: Likewise.
36905         * io/rmdir.c: Likewise.
36906         * io/sendfile.c: Likewise.
36907         * io/sendfile64.c: Likewise.
36908         * io/statfs.c: Likewise.
36909         * io/statfs64.c: Likewise.
36910         * io/statvfs.c: Likewise.
36911         * io/statvfs64.c: Likewise.
36912         * io/symlink.c: Likewise.
36913         * io/symlinkat.c: Likewise.
36914         * io/ttyname.c: Likewise.
36915         * io/ttyname_r.c: Likewise.
36916         * io/umask.c: Likewise.
36917         * io/unlink.c: Likewise.
36918         * io/unlinkat.c: Likewise.
36919         * io/utime.c: Likewise.
36920         * io/utimensat.c: Likewise.
36921         * io/write.c: Likewise.
36922         * io/xmknod.c: Likewise.
36923         * io/xmknodat.c: Likewise.
36924         * io/xstat.c: Likewise.
36925         * io/xstat64.c: Likewise.
36926         * login/getpt.c: Likewise.
36927         * login/grantpt.c: Likewise.
36928         * login/unlockpt.c: Likewise.
36929         * math/e_acoshl.c: Likewise.
36930         * math/e_acosl.c: Likewise.
36931         * math/e_asinl.c: Likewise.
36932         * math/e_atan2l.c: Likewise.
36933         * math/e_atanhl.c: Likewise.
36934         * math/e_coshl.c: Likewise.
36935         * math/e_expl.c: Likewise.
36936         * math/e_fmodl.c: Likewise.
36937         * math/e_gammal_r.c: Likewise.
36938         * math/e_hypotl.c: Likewise.
36939         * math/e_j0l.c: Likewise.
36940         * math/e_j1l.c: Likewise.
36941         * math/e_jnl.c: Likewise.
36942         * math/e_lgammal_r.c: Likewise.
36943         * math/e_log10l.c: Likewise.
36944         * math/e_log2l.c: Likewise.
36945         * math/e_logl.c: Likewise.
36946         * math/e_powl.c: Likewise.
36947         * math/e_rem_pio2l.c: Likewise.
36948         * math/e_sinhl.c: Likewise.
36949         * math/e_sqrtl.c: Likewise.
36950         * math/fclrexcpt.c: Likewise.
36951         * math/fedisblxcpt.c: Likewise.
36952         * math/feenablxcpt.c: Likewise.
36953         * math/fegetenv.c: Likewise.
36954         * math/fegetexcept.c: Likewise.
36955         * math/fegetround.c: Likewise.
36956         * math/feholdexcpt.c: Likewise.
36957         * math/fesetenv.c: Likewise.
36958         * math/fesetround.c: Likewise.
36959         * math/feupdateenv.c: Likewise.
36960         * math/fgetexcptflg.c: Likewise.
36961         * math/fraiseexcpt.c: Likewise.
36962         * math/fsetexcptflg.c: Likewise.
36963         * math/ftestexcept.c: Likewise.
36964         * math/k_cosl.c: Likewise.
36965         * math/k_rem_pio2l.c: Likewise.
36966         * math/k_sinl.c: Likewise.
36967         * math/k_tanl.c: Likewise.
36968         * math/s_asinhl.c: Likewise.
36969         * math/s_atanl.c: Likewise.
36970         * math/s_cbrtl.c: Likewise.
36971         * math/s_erfl.c: Likewise.
36972         * math/s_expm1l.c: Likewise.
36973         * math/s_log1pl.c: Likewise.
36974         * math/s_tanhl.c: Likewise.
36975         * misc/acct.c: Likewise.
36976         * misc/brk.c: Likewise.
36977         * misc/chflags.c: Likewise.
36978         * misc/chroot.c: Likewise.
36979         * misc/fchflags.c: Likewise.
36980         * misc/fgetxattr.c: Likewise.
36981         * misc/flistxattr.c: Likewise.
36982         * misc/fremovexattr.c: Likewise.
36983         * misc/fsetxattr.c: Likewise.
36984         * misc/fsync.c: Likewise.
36985         * misc/ftruncate.c: Likewise.
36986         * misc/futimes.c: Likewise.
36987         * misc/futimesat.c: Likewise.
36988         * misc/getdomain.c: Likewise.
36989         * misc/getdtsz.c: Likewise.
36990         * misc/gethostid.c: Likewise.
36991         * misc/gethostname.c: Likewise.
36992         * misc/getloadavg.c: Likewise.
36993         * misc/getpagesize.c: Likewise.
36994         * misc/getsysstats.c: Likewise.
36995         * misc/getxattr.c: Likewise.
36996         * misc/gtty.c: Likewise.
36997         * misc/ioctl.c: Likewise.
36998         * misc/lgetxattr.c: Likewise.
36999         * misc/listxattr.c: Likewise.
37000         * misc/llistxattr.c: Likewise.
37001         * misc/lremovexattr.c: Likewise.
37002         * misc/lsetxattr.c: Likewise.
37003         * misc/lutimes.c: Likewise.
37004         * misc/madvise.c: Likewise.
37005         * misc/mincore.c: Likewise.
37006         * misc/mlock.c: Likewise.
37007         * misc/mlockall.c: Likewise.
37008         * misc/mmap.c: Likewise.
37009         * misc/mprotect.c: Likewise.
37010         * misc/msync.c: Likewise.
37011         * misc/munlock.c: Likewise.
37012         * misc/munlockall.c: Likewise.
37013         * misc/munmap.c: Likewise.
37014         * misc/preadv.c: Likewise.
37015         * misc/preadv64.c: Likewise.
37016         * misc/ptrace.c: Likewise.
37017         * misc/pwritev.c: Likewise.
37018         * misc/pwritev64.c: Likewise.
37019         * misc/readv.c: Likewise.
37020         * misc/reboot.c: Likewise.
37021         * misc/remap_file_pages.c: Likewise.
37022         * misc/removexattr.c: Likewise.
37023         * misc/revoke.c: Likewise.
37024         * misc/select.c: Likewise.
37025         * misc/setdomain.c: Likewise.
37026         * misc/setegid.c: Likewise.
37027         * misc/seteuid.c: Likewise.
37028         * misc/sethostid.c: Likewise.
37029         * misc/sethostname.c: Likewise.
37030         * misc/setregid.c: Likewise.
37031         * misc/setreuid.c: Likewise.
37032         * misc/setxattr.c: Likewise.
37033         * misc/sstk.c: Likewise.
37034         * misc/stty.c: Likewise.
37035         * misc/swapoff.c: Likewise.
37036         * misc/swapon.c: Likewise.
37037         * misc/sync.c: Likewise.
37038         * misc/syncfs.c: Likewise.
37039         * misc/syscall.c: Likewise.
37040         * misc/truncate.c: Likewise.
37041         * misc/ualarm.c: Likewise.
37042         * misc/usleep.c: Likewise.
37043         * misc/ustat.c: Likewise.
37044         * misc/utimes.c: Likewise.
37045         * misc/vhangup.c: Likewise.
37046         * misc/writev.c: Likewise.
37047         * posix/_exit.c: Likewise.
37048         * posix/alarm.c: Likewise.
37049         * posix/execve.c: Likewise.
37050         * posix/fexecve.c: Likewise.
37051         * posix/fork.c: Likewise.
37052         * posix/fpathconf.c: Likewise.
37053         * posix/getaddrinfo.c: Likewise.
37054         * posix/getegid.c: Likewise.
37055         * posix/geteuid.c: Likewise.
37056         * posix/getgid.c: Likewise.
37057         * posix/getgroups.c: Likewise.
37058         * posix/getlogin.c: Likewise.
37059         * posix/getlogin_r.c: Likewise.
37060         * posix/getpgid.c: Likewise.
37061         * posix/getpid.c: Likewise.
37062         * posix/getppid.c: Likewise.
37063         * posix/getresgid.c: Likewise.
37064         * posix/getresuid.c: Likewise.
37065         * posix/getsid.c: Likewise.
37066         * posix/getuid.c: Likewise.
37067         * posix/glob64.c: Likewise.
37068         * posix/nanosleep.c: Likewise.
37069         * posix/pathconf.c: Likewise.
37070         * posix/pause.c: Likewise.
37071         * posix/posix_madvise.c: Likewise.
37072         * posix/pread.c: Likewise.
37073         * posix/pread64.c: Likewise.
37074         * posix/pwrite.c: Likewise.
37075         * posix/pwrite64.c: Likewise.
37076         * posix/sched_getaffinity.c: Likewise.
37077         * posix/sched_getp.c: Likewise.
37078         * posix/sched_gets.c: Likewise.
37079         * posix/sched_primax.c: Likewise.
37080         * posix/sched_primin.c: Likewise.
37081         * posix/sched_rr_gi.c: Likewise.
37082         * posix/sched_setaffinity.c: Likewise.
37083         * posix/sched_setp.c: Likewise.
37084         * posix/sched_sets.c: Likewise.
37085         * posix/sched_yield.c: Likewise.
37086         * posix/setgid.c: Likewise.
37087         * posix/setlogin.c: Likewise.
37088         * posix/setpgid.c: Likewise.
37089         * posix/setresgid.c: Likewise.
37090         * posix/setresuid.c: Likewise.
37091         * posix/setsid.c: Likewise.
37092         * posix/setuid.c: Likewise.
37093         * posix/sleep.c: Likewise.
37094         * posix/spawni.c: Likewise.
37095         * posix/sysconf.c: Likewise.
37096         * posix/times.c: Likewise.
37097         * posix/wait.c: Likewise.
37098         * posix/wait3.c: Likewise.
37099         * posix/wait4.c: Likewise.
37100         * posix/waitpid.c: Likewise.
37101         * resolv/gai_sigqueue.c: Likewise.
37102         * resource/getpriority.c: Likewise.
37103         * resource/getrlimit.c: Likewise.
37104         * resource/getrusage.c: Likewise.
37105         * resource/nice.c: Likewise.
37106         * resource/setpriority.c: Likewise.
37107         * resource/setrlimit.c: Likewise.
37108         * resource/ulimit.c: Likewise.
37109         * rt/aio_cancel.c: Likewise.
37110         * rt/aio_fsync.c: Likewise.
37111         * rt/aio_read.c: Likewise.
37112         * rt/aio_sigqueue.c: Likewise.
37113         * rt/aio_suspend.c: Likewise.
37114         * rt/aio_write.c: Likewise.
37115         * rt/clock_getres.c: Likewise.
37116         * rt/clock_gettime.c: Likewise.
37117         * rt/clock_nanosleep.c: Likewise.
37118         * rt/clock_settime.c: Likewise.
37119         * rt/lio_listio.c: Likewise.
37120         * rt/mq_close.c: Likewise.
37121         * rt/mq_getattr.c: Likewise.
37122         * rt/mq_notify.c: Likewise.
37123         * rt/mq_open.c: Likewise.
37124         * rt/mq_receive.c: Likewise.
37125         * rt/mq_send.c: Likewise.
37126         * rt/mq_setattr.c: Likewise.
37127         * rt/mq_timedreceive.c: Likewise.
37128         * rt/mq_timedsend.c: Likewise.
37129         * rt/mq_unlink.c: Likewise.
37130         * rt/shm_open.c: Likewise.
37131         * rt/shm_unlink.c: Likewise.
37132         * rt/timer_create.c: Likewise.
37133         * rt/timer_delete.c: Likewise.
37134         * rt/timer_getoverr.c: Likewise.
37135         * rt/timer_gettime.c: Likewise.
37136         * rt/timer_settime.c: Likewise.
37137         * setjmp/__longjmp.c: Likewise.
37138         * setjmp/setjmp.c: Likewise.
37139         * signal/kill.c: Likewise.
37140         * signal/killpg.c: Likewise.
37141         * signal/raise.c: Likewise.
37142         * signal/sigaction.c: Likewise.
37143         * signal/sigaltstack.c: Likewise.
37144         * signal/sigblock.c: Likewise.
37145         * signal/sigignore.c: Likewise.
37146         * signal/sigintr.c: Likewise.
37147         * signal/signal.c: Likewise.
37148         * signal/sigpause.c: Likewise.
37149         * signal/sigpending.c: Likewise.
37150         * signal/sigqueue.c: Likewise.
37151         * signal/sigreturn.c: Likewise.
37152         * signal/sigset.c: Likewise.
37153         * signal/sigsetmask.c: Likewise.
37154         * signal/sigstack.c: Likewise.
37155         * signal/sigsuspend.c: Likewise.
37156         * signal/sigtimedwait.c: Likewise.
37157         * signal/sigvec.c: Likewise.
37158         * signal/sigwait.c: Likewise.
37159         * signal/sigwaitinfo.c: Likewise.
37160         * signal/sysv_signal.c: Likewise.
37161         * socket/accept.c: Likewise.
37162         * socket/accept4.c: Likewise.
37163         * socket/bind.c: Likewise.
37164         * socket/connect.c: Likewise.
37165         * socket/getpeername.c: Likewise.
37166         * socket/getsockname.c: Likewise.
37167         * socket/getsockopt.c: Likewise.
37168         * socket/isfdtype.c: Likewise.
37169         * socket/listen.c: Likewise.
37170         * socket/recv.c: Likewise.
37171         * socket/recvfrom.c: Likewise.
37172         * socket/recvmsg.c: Likewise.
37173         * socket/send.c: Likewise.
37174         * socket/sendmsg.c: Likewise.
37175         * socket/sendto.c: Likewise.
37176         * socket/setsockopt.c: Likewise.
37177         * socket/shutdown.c: Likewise.
37178         * socket/sockatmark.c: Likewise.
37179         * socket/socket.c: Likewise.
37180         * socket/socketpair.c: Likewise.
37181         * stdio-common/ctermid.c: Likewise.
37182         * stdio-common/cuserid.c: Likewise.
37183         * stdio-common/remove.c: Likewise.
37184         * stdio-common/rename.c: Likewise.
37185         * stdio-common/renameat.c: Likewise.
37186         * stdio-common/tempname.c: Likewise.
37187         * stdlib/getcontext.c: Likewise.
37188         * stdlib/makecontext.c: Likewise.
37189         * stdlib/setcontext.c: Likewise.
37190         * stdlib/swapcontext.c: Likewise.
37191         * stdlib/system.c: Likewise.
37192         * streams/fattach.c: Likewise.
37193         * streams/fdetach.c: Likewise.
37194         * streams/getmsg.c: Likewise.
37195         * streams/getpmsg.c: Likewise.
37196         * streams/putmsg.c: Likewise.
37197         * streams/putpmsg.c: Likewise.
37198         * sysdeps/unix/bsd/getpt.c: Likewise.
37199         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37200         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37201         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37203         Likewise.
37204         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37205         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37206         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37207         * sysvipc/msgctl.c: Likewise.
37208         * sysvipc/msgget.c: Likewise.
37209         * sysvipc/msgrcv.c: Likewise.
37210         * sysvipc/msgsnd.c: Likewise.
37211         * sysvipc/semctl.c: Likewise.
37212         * sysvipc/semget.c: Likewise.
37213         * sysvipc/semop.c: Likewise.
37214         * sysvipc/semtimedop.c: Likewise.
37215         * sysvipc/shmat.c: Likewise.
37216         * sysvipc/shmctl.c: Likewise.
37217         * sysvipc/shmdt.c: Likewise.
37218         * sysvipc/shmget.c: Likewise.
37219         * termios/tcdrain.c: Likewise.
37220         * termios/tcflow.c: Likewise.
37221         * termios/tcflush.c: Likewise.
37222         * termios/tcgetattr.c: Likewise.
37223         * termios/tcgetpgrp.c: Likewise.
37224         * termios/tcsendbrk.c: Likewise.
37225         * termios/tcsetattr.c: Likewise.
37226         * termios/tcsetpgrp.c: Likewise.
37227         * time/adjtime.c: Likewise.
37228         * time/clock.c: Likewise.
37229         * time/getitimer.c: Likewise.
37230         * time/gettimeofday.c: Likewise.
37231         * time/setitimer.c: Likewise.
37232         * time/settimeofday.c: Likewise.
37233         * time/stime.c: Likewise.
37234         * time/time.c: Likewise.
37236 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37238         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37239         /usr/old/bin.
37241         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37242         instead of spaces.
37243         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37245 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37247         [BZ #14796]
37248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37249         FE_TONEAREST before applying Dekker multiplication and Knuth
37250         addition.  Clear inexact exceptions and check for exact zero
37251         results afterwards.
37252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37253         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37255         * math/libm-test.inc (fma_test): Add more tests.
37256         (fma_test_towardzero): Likewise.
37257         (fma_test_downward): Likewise.
37258         (fma_test_upward): Likewise.
37259         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37260         function.
37261         (libc_fesetround): New macro.
37262         (libc_fesetroundf): Likewise.
37263         (libc_fesetroundl): Likewise.
37264         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37265         function.
37266         (libc_fesetround_387): Likewise.
37267         (libc_fesetroundf): New macro.
37268         (libc_fesetround): Likewise.
37269         (libc_fesetroundl): Likewise.
37270         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37271         function.
37272         (libc_fesetroundf): New macro.
37273         (libc_fesetround): Likewise.
37274         (libc_fesetroundl): Likewise.
37275         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37276         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37277         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37278         libm_hidden_ver.
37279         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37280         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37281         libm_hidden_def.
37282         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37283         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37284         libm_hidden_ver.
37285         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37286         libm_hidden_def.
37288         [BZ #3439]
37289         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37290         integer constant usable in #if and use that to give value to enum
37291         constant.
37292         (FE_DIVBYZERO): Likewise.
37293         (FE_UNDERFLOW): Likewise.
37294         (FE_OVERFLOW): Likewise.
37295         (FE_INVALID): Likewise.
37296         (FE_INVALID_SNAN): Likewise.
37297         (FE_INVALID_ISI): Likewise.
37298         (FE_INVALID_IDI): Likewise.
37299         (FE_INVALID_ZDZ): Likewise.
37300         (FE_INVALID_IMZ): Likewise.
37301         (FE_INVALID_COMPARE): Likewise.
37302         (FE_INVALID_SOFTWARE): Likewise.
37303         (FE_INVALID_SQRT): Likewise.
37304         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37305         (FE_TONEAREST): Likewise.
37306         (FE_TOWARDZERO): Likewise.
37307         (FE_UPWARD): Likewise.
37308         (FE_DOWNWARD): Likewise.
37309         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37310         (FE_DIVBYZERO): Likewise.
37311         (FE_OVERFLOW): Likewise.
37312         (FE_UNDERFLOW): Likewise.
37313         (FE_INEXACT): Likewise.
37314         (FE_TONEAREST): Likewise.
37315         (FE_DOWNWARD): Likewise.
37316         (FE_UPWARD): Likewise.
37317         (FE_TOWARDZERO): Likewise.
37318         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37319         (FE_UNDERFLOW): Likewise.
37320         (FE_OVERFLOW): Likewise.
37321         (FE_DIVBYZERO): Likewise.
37322         (FE_INVALID): Likewise.
37323         (FE_TONEAREST): Likewise.
37324         (FE_TOWARDZERO): Likewise.
37325         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37326         (FE_OVERFLOW): Likewise.
37327         (FE_UNDERFLOW): Likewise.
37328         (FE_DIVBYZERO): Likewise.
37329         (FE_INEXACT): Likewise.
37330         (FE_TONEAREST): Likewise.
37331         (FE_TOWARDZERO): Likewise.
37332         (FE_UPWARD): Likewise.
37333         (FE_DOWNWARD): Likewise.
37334         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37335         (FE_DIVBYZERO): Likewise.
37336         (FE_OVERFLOW): Likewise.
37337         (FE_UNDERFLOW): Likewise.
37338         (FE_INEXACT): Likewise.
37339         (FE_TONEAREST): Likewise.
37340         (FE_DOWNWARD): Likewise.
37341         (FE_UPWARD): Likewise.
37342         (FE_TOWARDZERO): Likewise.
37344 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37346         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37348 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37350         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37351         commands.  Quote $PWD.
37352         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37353         -x" by "export".
37354         (remove_newlines): Remove.
37356 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37358         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37359         * stdlib/stdlib.h (atof): Moved to ...
37360         * include/bits/stdlib-float.h: Here.  New file.
37361         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37362         * stdlib/bits/stdlib-float.h: New file.
37363         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37364         -mno-sse -mno-mmx.
37365         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37366         <xmmintrin.h>.
37368 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37370         * conform/conformtest.pl (@headers): Add fenv.h.
37371         * conform/data/fenv.h-data: New file.
37372         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37373         include of <math/fenv.h>.
37375         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37376         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37377         && !UNIX98].  Enables tests for XOPEN2K8.
37378         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37379         POSIX2008]: Likewise.
37381         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37382         (struct rusage): Do not expect type or its members.
37384         [BZ #3439]
37385         * math/math.h (FP_NAN): Define macro to integer constant usable in
37386         #if and use that to give value to enum constant.
37387         (FP_INFINITE): Likewise.
37388         (FP_ZERO): Likewise.
37389         (FP_SUBNORMAL): Likewise.
37390         (FP_NORMAL): Likewise.
37392 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37394         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37395         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37396         arguments.
37398 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37400         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37401         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37402         autoconf-time if not.
37403         * configure.in: Remove AC_PREREQ.
37405 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37407         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37408         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37409         of the internal implementation.
37411 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37413         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37414         except include of <misc/sys/syslog.h>.
37416 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37419         function returns with a NULL context exit with zero.
37421 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37423         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37425 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37427         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37428         (run_program_cmd): This.
37429         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37430         (tst_langinfo): New variable.  Use it.
37432 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37434         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37435         floating point opcodes.
37437 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37439         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37440         variable.
37442         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37444         * sysdeps/mach/hurd/powerpc: Remove directory.
37445         * sysdeps/mach/powerpc: Likewise.
37447 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37449         * scripts/check-local-headers.sh: Ignore c++ headers.
37451 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37453         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37454         __libc_cleanup_region_start argument.
37456 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37458         [BZ #14784]
37459         [BZ #14785]
37460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37461         x * y using scaling, not as x * y + z.
37462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37463         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37464         * math/libm-test.inc (fma_test): Add more tests.
37465         (fma_test_towardzero): Likewise.
37466         (fma_test_downward): Likewise.
37467         (fma_test_upward): Likewise.
37469 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37471         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37473 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37475         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37476         New variable.
37478 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37480         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37482 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37485         Fix sort order.
37486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37487         Likewise.
37489 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37492         Fix the order of the list for glibc 2.17.
37493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37494         Likewise.
37496 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37500 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37502         [BZ #14610]
37503         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37504         for low part of x being zero before using __atanl (y).
37505         * math/libm-test.inc (atan2_test): Add another test.
37507         * manual/install.texi (Configuring and compiling): Document
37508         general use of test-wrapper and test-wrapper-env.
37509         * INSTALL: Regenerated.
37511         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37512         (__fma): Do not extract and scale down low bits on after-rounding
37513         systems when result rounded to normal precision would have normal
37514         exponent.
37515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37516         (__fmal): Do not extract and scale down low bits on after-rounding
37517         systems when result rounded to normal precision would have normal
37518         exponent.
37519         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37520         (__fmal): Do not extract and scale down low bits on after-rounding
37521         systems when result rounded to normal precision would have normal
37522         exponent.
37523         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37524         macro.
37525         (fma_test): Add more tests.
37526         (fma_test_towardzero): Likewise.
37527         (fma_test_downward): Likewise.
37528         (fma_test_upward): Likewise.
37530 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37532         * sysdeps/i386/tininess.h: Renamed to ...
37533         * sysdeps/x86/tininess.h: This.
37534         * sysdeps/x86_64/tininess.h: Removed.
37536 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37538         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37539         input.  Use $(build-program-cmd).
37540         ($(objpfx)tst-array1-static.out): Likewise.
37541         ($(objpfx)tst-array2.out): Likewise.
37542         ($(objpfx)tst-array3.out): Likewise.
37543         ($(objpfx)tst-array4.out): Likewise.
37544         ($(objpfx)tst-array5.out): Likewise.
37545         ($(objpfx)tst-array5-static.out): Likewise.
37547 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37549         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37550         if defined.
37552         * nss/nsswitch.h (nss_interface_function): Provide new
37553         macro for use with NSS functions.
37554         * grp/initgroups.c: Use new macro.
37555         * nss/getXXbyYY.c: Likewise.
37556         * nss/getXXbyYY_r.c: Likewise.
37557         * nss/getXXent.c: Likewise.
37558         * nss/getXXent_r.c: Likewise.
37559         * sysdeps/posix/getaddrinfo.c: Likewise.
37561 2012-10-30  Andreas Jaeger  <aj@suse.de>
37563         * po/ru.po: Update Russion translation from translation project.
37565 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37567         [BZ #14152]
37568         [BZ #14783]
37569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37570         result and shift together with sticky bit instead of replicating
37571         round-to-nearest rounding.
37572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37574         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37575         missing underflow exceptions.
37576         (fma_test_towardzero): Add more tests.
37577         (fma_test_downward): Likewise.
37578         (fma_test_upward): Likewise.
37580         [BZ #14047]
37581         * sysdeps/generic/tininess.h: New file.
37582         * sysdeps/i386/tininess.h: Likewise.
37583         * sysdeps/sh/tininess.h: Likewise.
37584         * sysdeps/x86_64/tininess.h: Likewise.
37585         * stdlib/tst-strtod-underflow.c: Likewise.
37586         * stdlib/tst-tininess.c: Likewise.
37587         * stdlib/strtod_l.c: Include <tininess.h>.
37588         (round_and_return): Do not set errno for exact underflow cases.
37589         Force an underflow exception when setting errno for underflow.
37590         Determine underflow based on rounding to normal precision if
37591         TININESS_AFTER_ROUNDING.
37592         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37593         ERANGE for exact underflow cases.
37594         * stdlib/Makefile (tests): Add tst-tininess and
37595         tst-strtod-underflow.
37596         ($(objpfx)tst-tininess): Use $(link-libm).
37597         ($(objpfx)tst-strtod-underflow): Likewise.
37599 2012-10-30  Andreas Jaeger  <aj@suse.de>
37601         [BZ#14767]
37602         * elf/Makefile (tests): Remove conditional for have-initfini-array
37603         since this is now always required and the variable does not exist
37604         anymore.
37605         (tests-static): Likewise.
37606         (modules-names): Likewise.
37608         * po/eo.po: Add Esperanto translation from translation project.
37610         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37611         merged with constructor/destructor.
37612         (init_array): Likewise.
37613         * elf/tst-array2dep.c (fini_array): Likewise.
37614         (init_array): Likewise.
37616 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37618         * manual/message.texi: Delete @cartouche tags.
37620 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37622         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37623         EOPNOTSUPP.
37624         * sysdeps/mach/hurd/fsync.c: Likewise.
37626         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37627         [_POSIX_REALTIME_SIGNALS]: Change condition to
37628         [_POSIX_REALTIME_SIGNALS > 0].
37630 2012-10-27  Andreas Jaeger  <aj@suse.de>
37632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37633         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37635         [__WORDSIZE != 64]: Likewise.
37637 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37639         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37640         *  iconvdata/tst-tables.sh: Likewise.
37642 2012-10-25  David S. Miller  <davem@davemloft.net>
37644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37645         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37646         of strtoull.
37648         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37649         ifunc-impl-list.c
37650         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37651         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37652         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37653         file.
37655 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37658         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37659         __getdirentries.
37661 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37662             Jim Blandy  <jimb@codesourcery.com>
37664         * scripts/cross-test-ssh.sh: New file.
37665         * manual/install.texi (Configuring and compiling): Document use of
37666         cross-test-ssh.sh.
37667         * INSTALL: Regenerated.
37669 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37671         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37672         EOPNOTSUPP.
37674 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37676         * Makeconfig (run-program-prefix): Fix comment.
37678 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37679             Jim Blandy  <jimb@codesourcery.com>
37681         * Makeconfig (test-wrapper): New variable,
37682         (test-wrapper-env): Likewise.
37683         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37684         (run-built-tests): Define to yes.
37685         (run-program-prefix): Use $(test-wrapper).
37686         (built-program-cmd): Likewise.
37687         * Rules (make-test-out): Use $(test-wrapper-env) and
37688         $(host-built-program-cmd).
37689         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37690         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37691         tst-pathopt.sh.
37692         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37693         $(test-wrapper-env) to tst-rtld-load-self.sh.
37694         ($(objpfx)order2.out): Use $(test-wrapper).
37695         ($(objpfx)tst-initorder.out): Likewise.
37696         ($(objpfx)tst-initorder2.out): Likewise.
37697         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37698         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37699         (test_wrapper_env): New variable.  Use it to run ld.so.
37700         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37701         Use it to run ld.so.
37702         (test_wrapper_env): Likewise.
37703         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37704         $(test-wrapper) to run-iconv-test.sh.
37705         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37706         (ICONV): Use $test_wrapper.
37707         * posix/Makefile ($(objpfx)globtest.out): Pass
37708         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37709         globtest.sh, not $(run-program-prefix).
37710         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37711         (test_wrapper): Likewise.
37712         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37713         set together with run_via_rtld_prefix.
37714         (run_program_prefix): Define in terms of test_wrapper and
37715         run_via_rtld_prefix.
37717 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37719         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37720         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37721         Targets removed.
37723         [BZ #14743]
37724         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37725         Declare __clock_getres, __clock_gettime, __clock_settime,
37726         __clock_nanosleep, and __clock_getcpuclockid.
37727         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37728         Remove librt_hidden_def (clock_gettime).
37729         * sysdeps/unix/clock_gettime.c: Likewise.
37730         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37731         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37732         * rt/clock_getres.c: Define __clock_getres as an alias.
37733         * sysdeps/posix/clock_getres.c: Likewise.
37734         * rt/clock_settime.c: Define __clock_settime as an alias.
37735         * sysdeps/unix/clock_settime.c: Likewise.
37736         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37737         * sysdeps/unix/clock_nanosleep.c: Likewise.
37738         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37739         * rt/clock-compat.c: New file.
37740         * rt/Makefile (librt-routines): Add clock-compat and move
37741         $(clock-routines) to ...
37742         (routines): ... here, new variable.
37743         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37744         Don't add get_clockfreq here.
37745         * rt/Versions (libc: GLIBC_2.17): New version set.
37746         Add clock_* symbols here.
37747         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37748         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37749         (GLIBC_2.17): Add clock_* symbols.
37750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37754         Likewise.
37755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37756         Likewise.
37757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37761         * NEWS: Mention the move.
37763         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37764         Use __open, __read, __close rather than their public counterparts.
37765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37766         (__get_clockfreq_via_cpuinfo): Likewise.
37767         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37768         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37770         * config.h.in (HAVE_IFUNC): New #undef.
37771         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37772         was successful.
37773         * configure: Regenerated.
37775 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37777         * configure.in: Move READELF check to start of file.
37778         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37779         libc_cv_asm_gnu_indirect_function in the process.
37780         * configure: Regenerated.
37782 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37784         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37785         send the output to /dev/null.
37786         (libc_cv_cc_with_libunwind): Likewise.
37787         (libc_cv_as_noexecstack): Likewise.
37788         * configure: Regenerate.
37790 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37792         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37794         * posix/globtest.sh (TMPDIR): Do not set.
37795         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37796         (testout): Likewise.
37798 2012-10-24  Andreas Jaeger  <aj@suse.de>
37800         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37801         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37802         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37803         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37804         posix_fadvise64, posix_fallocate64.
37806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37807         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37808         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37809         Likewise.
37810         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37811         Likewise.
37812         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37815         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37816         <bits/fcntl-linux.h>.
37817         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37819         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37820         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37821         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37822         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37823         [__WORDSIZE != 64]: Likewise.
37825 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37827         * Makeconfig (run-built-tests): New variable.
37828         * Rules [$(cross-compiling) = yes]: Change condition to
37829         [$(run-built-tests) = no].
37830         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37831         to [$(run-built-tests) = yes].
37832         * elf/Makefile [$(cross-compiling) = no]: Likewise
37833         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37834         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37835         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37836         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37837         * io/Makefile [$(cross-compiling) = no]: Likewise.
37838         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37839         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37840         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37841         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37842         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37843         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37844         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37845         * string/Makefile [$(cross-compiling) = no]: Likewise.
37847         * posix/Makefile ($(objpfx)globtest.out): Pass
37848         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37849         $(rtld-installed-name).
37850         * posix/globtest.sh (elf_objpfx): Remove variable.
37851         (rtld_installed_name): Likewise.
37852         (library_path): Likewise.
37853         (run_program_prefix): New variable.  Use for running globtest
37854         binary.
37856 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37857             Joseph Myers  <joseph@codesourcery.com>
37859         * Makeconfig (host-built-program-cmd): New variable.
37860         * elf/Makefile (tst-stackguard1-ARGS): Use
37861         $(host-built-program-cmd).
37862         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37863         (tst-spawn-ARGS): Likewise.
37864         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37866 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37867             Jim Blandy  <jimb@codesourcery.com>
37869         * Makeconfig (run-via-rtld-prefix): New variable.
37870         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37871         (built-program-cmd): Likewise.
37873 2012-10-22  Andreas Jaeger  <aj@suse.de>
37875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37876         __O_RSYNC if it exists, otherwise to O_SYNC.
37878 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37879             Joseph Myers  <joseph@codesourcery.com>
37881         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37882         /dev/null.
37883         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37884         from /dev/null
37885         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37886         /dev/null.
37888 2012-10-22  Andreas Jaeger  <aj@suse.de>
37890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37891         Define always.
37892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37895         bits/fcntl-linux.h.
37897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37898         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37900         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37901         to __O_LARGEFILE.
37902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37903         to __O_LARGEFILE.
37905 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37906             Joseph Myers  <joseph@codesourcery.com>
37908         * config.make.in (NM): New variable.
37910 2012-10-21  Andreas Jaeger  <aj@suse.de>
37912         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37913         definitions and declarations that are provided by
37914         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37916 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37918         [BZ #14683]
37919         * elf/Makefile (tests-static): Add tst-leaks1-static.
37920         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37921         ($(objpfx)tst-leaks1-static): New rule.
37922         ($(objpfx)tst-leaks1-static-mem): Likewise.
37923         (tst-leaks1-static-ENV): New macro.
37924         * elf/dl-open.c (dl_open_worker): Check the main application
37925         only if SHARED is defined.
37926         * elf/tst-leaks1-static.c: New file.
37928 2012-10-20  Andreas Jaeger  <aj@suse.de>
37930         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37931         generic values for Linux.
37932         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37933         and declarations that are provided by <bits/fcntl-linux.h> and
37934         include <bits/fcntl-linux.h>.
37935         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37938 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37940         * io/fcntl.h: Move include of <bits/types.h> to the top and
37941         include it unconditionally.
37943 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37945         * wcsmbs/Makefile (tests-ifunc): New variable.
37946         (tests): Add $(tests-ifunc).
37947         * wcsmbs/test-wcschr-ifunc.c: New file.
37948         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37949         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37950         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37951         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37952         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37954         * string/Makefile (tests-ifunc): New variable.
37955         (tests): Add $(tests-ifunc).
37956         * string/test-memccpy.c (TEST_NAME): New macro.
37957         * string/test-memchr.c (TEST_NAME): Likewise.
37958         * string/test-memcmp.c (TEST_NAME): Likewise.
37959         * string/test-memcpy.c (TEST_NAME): Likewise.
37960         * string/test-memmem.c (TEST_NAME): Likewise.
37961         * string/test-memmove.c (TEST_NAME): Likewise.
37962         * string/test-memset.c (TEST_NAME): Likewise.
37963         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37964         * string/test-stpcpy.c (TEST_NAME): Likewise.
37965         * string/test-stpncpy.c (TEST_NAME): Likewise.
37966         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37967         * string/test-strcasestr.c (TEST_NAME): Likewise.
37968         * string/test-strcat.c (TEST_NAME): Likewise.
37969         * string/test-strchr.c (TEST_NAME): Likewise.
37970         * string/test-strcmp.c(TEST_NAME): Likewise.
37971         * string/test-strcpy.c (TEST_NAME): Likewise.
37972         * string/test-strcspn.c (TEST_NAME): Likewise.
37973         * string/test-strlen.c (TEST_NAME): Likewise.
37974         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37975         * string/test-strncmp.c (TEST_NAME): Likewise.
37976         * string/test-strncpy.c (TEST_NAME): Likewise.
37977         * string/test-strnlen.c (TEST_NAME): Likewise.
37978         * string/test-strpbrk.c (TEST_NAME): Likewise.
37979         * string/test-strrchr.c (TEST_NAME): Likewise.
37980         * string/test-strspn.c (TEST_NAME): Likewise.
37981         * string/test-strstr.c (TEST_NAME): Likewise.
37982         * string/test-bcopy-ifunc.c: New file.
37983         * string/test-bzero-ifunc.c: Likewise.
37984         * string/test-memccpy-ifunc.c: Likewise.
37985         * string/test-memchr-ifunc.c: Likewise.
37986         * string/test-memcmp-ifunc.c: Likewise.
37987         * string/test-memcpy-ifunc.c: Likewise.
37988         * string/test-memmem-ifunc.c: Likewise.
37989         * string/test-memmove-ifunc.c: Likewise.
37990         * string/test-mempcpy-ifunc.c: Likewise.
37991         * string/test-memset-ifunc.c: Likewise.
37992         * string/test-rawmemchr-ifunc.c: Likewise.
37993         * string/test-stpcpy-ifunc.c: Likewise.
37994         * string/test-stpncpy-ifunc.c: Likewise.
37995         * string/test-strcasecmp-ifunc.c: Likewise.
37996         * string/test-strcasestr-ifunc.c: Likewise.
37997         * string/test-strcat-ifunc.c: Likewise.
37998         * string/test-strchr-ifunc.c: Likewise.
37999         * string/test-strchrnul-ifunc.c: Likewise.
38000         * string/test-strcmp-ifunc.c: Likewise.
38001         * string/test-strcpy-ifunc.c: Likewise.
38002         * string/test-strcspn-ifunc.c: Likewise.
38003         * string/test-strlen-ifunc.c: Likewise.
38004         * string/test-strncasecmp-ifunc.c: Likewise.
38005         * string/test-strncat-ifunc.c: Likewise.
38006         * string/test-strncmp-ifunc.c: Likewise.
38007         * string/test-strncpy-ifunc.c: Likewise.
38008         * string/test-strnlen-ifunc.c: Likewise.
38009         * string/test-strpbrk-ifunc.c: Likewise.
38010         * string/test-strrchr-ifunc.c: Likewise.
38011         * string/test-strspn-ifunc.c: Likewise.
38012         * string/test-strstr-ifunc.c: Likewise.
38014         * debug/Makefile (tests-ifunc): New variable.
38015         (tests): Add $(tests-ifunc).
38016         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38017         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38018         * debug/test-stpcpy_chk-ifunc.c: New file.
38019         * debug/test-strcpy_chk-ifunc.c: Likewise.
38021 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38023         [BZ #13601]
38024         * elf/dl-load.c (open_verify): Retry read if the entire ELF
38025         header is not read in.
38027 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
38029         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
38030         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
38031         directly.  Pass built executable to script as
38032         $(built-program-cmd).
38033         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
38034         $testprogram without using LD_LIBRARY_PATH and $ldso.
38036         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38037         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38038         $(rtld-installed-name).
38039         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38040         (rtld_installed_name): Likewise.
38041         (library_path): Likewise.
38042         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
38043         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38044         $(run-program-prefix) to tst-tables.sh.
38045         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
38046         it to run tst-table-from and tst-table-to.
38047         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38048         Pass it to tst-table.sh.
38049         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38050         $(run-program-prefix) to tst-gettext.sh.
38051         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38052         tst-translit.sh.
38053         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38054         tst-gettext2.sh.
38055         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
38056         to run tst-gettext.
38057         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
38058         to run tst-gettext2.
38059         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
38060         to run tst-translit.
38061         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38062         $(run-program-prefix) to tst-mtrace.sh.
38063         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
38064         to run tst-mtrace.
38065         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38066         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38067         $(rtld-installed-name).
38068         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38069         (rtld_installed_name): Likewise.
38070         (run_program_prefix): New variable.  Use it to run wordexp-test.
38072         * Makeconfig (ARCH): Remove all definitions.
38073         (machine): Likewise.
38074         [ARCH]: Remove conditional code.
38075         [!objdir]: Give error.
38076         [!objdir] (objpfx): Remove.
38077         [!objdir] (common-objpfx): Likewise.
38078         [!objdir] (common-objdir): Likewise.
38079         * configure.in (config_makefile): Remove.  Hardcode Makefile in
38080         AC_CONFIG_FILES call.
38081         * configure: Regenerated.
38083         [BZ #13888]
38084         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38085         or TMPDIR.
38086         (testout): Likewise.
38088         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38089         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38090         $(rtld-installed-name).
38091         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38092         (rtld_installed_name): Likwise.
38093         (runit): Remove function.
38094         (run_getconf): New variable,  Use it for running getconf binary.
38096 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
38098         [BZ #14716]
38099         * string/test-memmem.c (check_result): New function.
38100         (do_one_test): Use it.
38101         (check1): New function.
38102         (test_main): Use it.
38104 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
38106         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38108 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
38110         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38111         (_G_LSEEK64): Likewise.
38112         (_G_MMAP64): Likewise.
38113         (_G_FSTAT64): Likewise.
38114         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38115         (_G_LSEEK64): Likewise.
38116         (_G_MMAP64): Likewise.
38117         (_G_FSTAT64): Likewise.
38118         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38119         unconditional.  Call __mmap64 directly.
38120         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38121         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
38122         __lseek64 directly.
38123         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38124         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
38125         __mmap64 directly.
38126         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38127         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38128         __lseek64 directly.
38129         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38130         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38131         __lseek64 directly.
38132         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38133         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
38134         __lseek64 directly.
38135         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38136         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
38137         __fxstat64 directly.
38138         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38139         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38140         unconditional.
38141         (freopen64) [!_G_OPEN64]: Remove conditional code.
38142         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38143         unconditional.
38144         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38145         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38146         unconditional.
38147         (ftello64) [!_G_LSEEK64]: Remove conditional code.
38148         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38149         unconditional.
38150         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38151         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38152         unconditional.
38153         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38154         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38155         unconditional.
38156         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38157         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38158         unconditional.
38159         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38160         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38161         unconditional.
38162         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38164 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38166         [BZ #12140]
38167         * manual/memory.texi (Malloc Tunable Parameters): Add note
38168         about free list pointers overwriting some perturb bytes.
38169         Wording suggested by Roland McGrath.
38171 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
38173         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38174         (lgamma_test): Likewise.
38175         (tgamma_test): Likewise.
38177 2012-10-16  Florian Weimer  <fweimer@redhat.com>
38179         [BZ #14700]
38180         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38181         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38183 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
38185         * NEWS: Mention BZ #14716.
38186         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38187         when removing AVAILABLE1_USES_J macro.
38189 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
38191         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38192         (__bswap_64): __uint64_t for unsigned 64-bit int.
38194 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
38196         * include/string.h (memmem): Declare libc hidden alias.
38197         * string/memmem.c (memmem): Define libc hidden alias.
38198         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38199         __read, __close instead of open, read, close.
38201 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38203         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38204         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38205         global and hidden.
38206         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38207         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38208         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38209         Likewise.
38210         (__rawmemchr_sse2): Likewise.
38211         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38212         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38213         (__strchr_sse2): Likewise.
38214         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38215         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38216         (__strcasecmp_sse2): Likewise.
38217         (__strncasecmp_sse2): Likewise.
38218         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38219         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38220         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38221         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38222         (__strrchr_sse2): Likewise.
38223         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38224         ifunc-impl-list.c.
38225         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38226         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38227         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38228         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38229         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38230         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38231         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38232         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38233         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38234         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38235         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38236         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38237         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38238         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38239         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38240         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38241         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38242         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38243         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38244         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38245         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38246         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38247         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38248         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38249         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38250         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38251         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38252         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38253         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38254         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38256         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38257         global and hidden.
38258         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38259         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38260         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38261         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38262         Likewise.
38263         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38264         Likewise.
38265         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38266         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38267         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38268         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38269         ifunc-impl-list.c.
38270         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38271         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38272         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38273         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38274         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38275         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38276         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38277         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38278         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38279         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38280         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38281         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38282         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38283         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38284         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38285         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38286         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38287         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38290         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38291         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38292         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38293         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38294         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38295         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38296         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38297         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38298         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38299         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38300         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38301         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38302         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38303         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38304         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38305         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38306         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38307         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38308         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38309         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38310         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38312         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38313         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38314         * include/ifunc-impl-list.h: New file.
38315         * misc/ifunc-impl-list.c: Likewise.
38316         * misc/Makefile (routines): Add ifunc-impl-list.
38317         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38318         * string/test-string.h: Include <ifunc-impl-list.h>.
38319         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38320         TEST_NAME]: New variables.
38321         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38322         are defined.
38323         (test_init): Call __libc_ifunc_impl_list to initialize
38324         func_list if TEST_IFUNC and TEST_NAME are defined.
38326         * string/Makefile (strop-tests): Add bcopy and bzero.
38327         * string/test-bcopy.c: New file.
38328         * string/test-bzero.c: Likewise.
38329         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38330         defined.
38331         * string/test-memset.c: Support bzero test if TEST_BZERO is
38332         defined.
38333         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38334         __libc_memmove.
38335         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38336         __libc_memset.
38337         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38338         of memset.
38340 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38342         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38343         * configure: Regenerated.
38345         * Makeconfig (+link-static-before-libc): Don't include
38346         $(link-static-libc).
38348         * libio/libio.h (_IO_pos_t): Remove.
38350 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38352         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38353         McGrath.
38355 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38357         * crypt/crypt-entry.c: Include fips-private.h.
38358         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38359         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38360         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38361         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38363 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38365         * crypt/crypt-private.h: Include stdbool.h.
38366         (_ufc_setup_salt_r): Return bool.
38367         * crypt/crypt-entry.c: Include errno.h.
38368         (__crypt_r): Return NULL with EINVAL for bad salt.
38369         * crypt/crypt_util.c (bad_for_salt): New.
38370         (_ufc_setup_salt_r): Check that salt is long enough and within
38371         the specified alphabet.
38372         * crypt/badsalttest.c: New file.
38373         * crypt/Makefile (tests): Add it.
38374         ($(objpfx)badsalttest): New.
38376 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38378         * NEWS: Add entry for BZ #14602.
38380 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38382         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38383         type-generic.
38384         * math/libm-test.inc: Update comment listing what functions and
38385         macros are tested.
38386         (isgreater_test): New function.
38387         (isgreaterequal_test): Likewise.
38388         (isless_test): Likewise.
38389         (islessequal_test): Likewise.
38390         (islessgreater_test): Likewise.
38391         (isunordered_test): Likewise.
38392         (main): Call the new functions.
38394 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38396         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38397         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38398         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38399         * sysdeps/i386/configure: Regenerated.
38400         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38401         * sysdeps/mach/configure: Regenerated.
38402         * sysdeps/mach/hurd/configure: Regenerated.
38403         * sysdeps/powerpc/configure: Regenerated.
38404         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38405         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38406         * sysdeps/s390/s390-32/configure: Regenerated.
38407         * sysdeps/s390/s390-64/configure: Regenerated.
38408         * sysdeps/sh/configure: Regenerated.
38409         * sysdeps/sparc/configure: Regenerated.
38410         * sysdeps/unix/sysv/linux/configure: Regenerated.
38411         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38412         * sysdeps/x86_64/configure: Regenerated.
38414         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38415         defined.  Don't check if MAP is NULL.
38417 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38419         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38420         (_G_stat64): Likewise.
38421         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38422         (_G_stat64): Likewise.
38423         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38424         instead of struct _G_stat64.
38425         * libio/fileops.c (mmap_remap_check): Likewise.
38426         (decide_maybe_mmap): Likewise.
38427         (_IO_new_file_seekoff): Likewise.
38428         (_IO_file_stat): Likewise.
38429         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38430         _G_off64_t.
38431         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38432         instead of struct _G_stat64.
38433         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38435 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38437         [BZ #14602]
38438         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38439         Replace with ...
38440         (CHECK_EOL): New macro.
38441         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38442         CHECK_EOL.
38443         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38444         Replace with CHECK_EOL.
38445         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38446         Replace with CHECK_EOL.
38448 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38450         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38451         type-generic.
38452         * math/libm-test.inc: Update comment listing what functions and
38453         macros are tested.
38454         (finite_test): New function.
38455         (isinf_test): Likewise.
38456         (isnan_test): Likewise.
38457         (fpclassify_test): Test subnormal input.
38458         (isfinite_test): Likewise.
38459         (isnormal_test): Likewise.
38460         (main): Call the new functions.
38462 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38464         [BZ #14660]
38465         * Makerules (%.dynsym): Force C locale when running
38466         $(OBJDUMP) --dynamic-syms.
38468 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38470         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38471         <stdint.h>.
38473 2012-10-06  David S. Miller  <davem@davemloft.net>
38475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38476         upper 32-bits of the length value in %o2 since we use branch-on-register
38477         tests which consider the entire 64-bit register.
38479 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38481         * string/test-strstr.c (check2): Add a test for page boundary.
38483 2012-10-05  David S. Miller  <davem@davemloft.net>
38485         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38486         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38487         file.
38488         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38489         sysdep_routines.
38490         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38491         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38492         and bzero when HWCAP_SPARC_CRYPTO is present.
38494 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38496         [BZ #14602]
38497         * string/test-strstr.c (check2): New function.
38498         (test_main): Call check2.
38500         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38501         and bug-strchr1.
38502         * string/bug-strcasestr1.c (do_test): Moved to ...
38503         * string/test-strcasestr.c (check1): Here.  New function.
38504         (do_one_test): Break out result checking code into ...
38505         (check_result): This.  New function.
38506         (do_one_test): Call check_result.
38507         (test_main): Call check1.
38508         * string/bug-strchr1.c (do_test): Moved to ...
38509         * string/test-strchr.c (check1): Here.  New function.
38510         (do_one_test): Break out result checking code into ...
38511         (check_result): This.  New function.
38512         (do_one_test): Call check_result.
38513         (test_main): Call check1.
38514         * string/bug-strstr1.c (main): Moved to ...
38515         * string/test-strstr.c (check1): Here.  New function.
38516         (do_one_test): Break out result checking code into ...
38517         (check_result): This.  New function.
38518         (do_one_test): Call check_result.
38519         (test_main): Call check1.
38520         * string/bug-strcasestr1.c: Removed.
38521         * string/bug-strchr1.c: Likewise.
38522         * string/bug-strstr1.c: Likewise.
38524         * elf/Makefile (dl-routines): Add hwcaps.
38525         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38526         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38527         (_dl_important_hwcaps): Moved to ...
38528         * elf/dl-hwcaps.c: Here.  New file.
38529         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38531         [BZ #14557]
38532         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38533         if IS_IN_rtld isn't defined.
38535         * elf/dl-support.c (_dl_sysinfo_map): New.
38536         Include "get-dynamic-info.h" and "setup-vdso.h".
38537         (_dl_non_dynamic_init): Call setup_vdso.
38538         * elf/dynamic-link.h: Don't include <assert.h>.
38539         (elf_get_dynamic_info): Moved to ...
38540         * elf/get-dynamic-info.h: Here.  New file.
38541         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38542         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38543         * elf/setup-vdso.h: Here.  New file.
38544         * elf/rtld.c: Include "setup-vdso.h".
38545         (dl_main): Call setup_vdso.
38547 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38549         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38550         creal in comment listing functions tested.  List finite, isinf,
38551         isnan, isless, islessequal, isgreater, isgreaterequal,
38552         islessgreater, isunordered, lgamma_r and pow10 as functions and
38553         macros not tested.  Mention which functions not tested are aliases
38554         for other functions.  Fix typo.  Note that signs of NaNs are not
38555         tested.
38557         * scripts/config.guess: Update from config.git.
38558         * scripts/config.sub: Likewise.
38560 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38562         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38563         * misc/madvise.c (madvise): Renamed to __madvise.
38564         Make madvise a weak alias.
38565         * include/sys/mman.h: Declare __madvise.
38566         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38567         * sysdeps/unix/syscalls.list
38568         (madvise): Make __madvise the strong name, and madvise a weak alias.
38569         * sysdeps/unix/sysv/linux/syscalls.list
38570         (madvise, mmap): Remove redundant entries.
38571         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38572         * malloc/malloc.c (mtrim): Likewise.
38573         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38575 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38577         * sysdeps/mach/hurd/dl-cache.c: File removed.
38578         * config.h.in (USE_LDCONFIG): New #undef.
38579         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38580         * configure: Regenerated.
38581         * elf/Makefile (dl-routines): Add dl-cache only under
38582         [$(use-ldconfig) = yes].
38583         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38584         cache on [USE_LDCONFIG].
38585         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38586         [USE_LDCONFIG].
38587         * elf/rtld.c (dl_main): Likewise.
38589 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38591         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38592         _SC_LEVEL4_CACHE_LINESIZE.
38594 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38596         * sysdeps/unix/bsd/confstr.h: File removed.
38598 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38600         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38601         sys/sdt-config.h.
38603 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38605         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38606         Make 'mapoff' field ElfW(Off) rather than off_t.
38608 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38610         * nscd/Makefile: Remove nscd-cflags and all its users.
38611         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38612         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38614         [BZ #10631]
38615         * malloc.c (malloc_printerr): Clarify error message.
38617 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38619         [BZ #14648]
38620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38621         Set bit_FMA_Usable if FMA is supported.
38622         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38623         macro.
38624         (bit_FMA4_Usable): Updated.
38625         (index_FMA_Usable): New macro.
38626         (CPUID_FMA): Likewise
38627         (HAS_FMA): Defined with bit_FMA_Usable.
38629 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38631         * bits/types.h (__swblk_t): Type removed.
38632         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38633         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38634         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38635         (__SWBLK_T_TYPE): Likewise.
38636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38637         (__SWBLK_T_TYPE): Likewise.
38638         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38639         (__SWBLK_T_TYPE): Likewise.
38640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38641         (__SWBLK_T_TYPE): Likewise.
38643 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38644             Honza Horak <hhorak@redhat.com>
38646         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38647         (xdr_mapname): Use YPMAXMAP as maxsize.
38648         (xdr_peername): Use YPMAXPEER as maxsize.
38649         (xdr_keydat): Use YPAXRECORD as maxsize.
38650         (xdr_valdat): Use YPMAXRECORD as maxsize.
38652 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38654         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38656         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38657         * csu/init-first.c: ... here.
38658         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38659         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38660         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38661         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38662         * sysdeps/i386/init-first.c: File removed.
38663         * sysdeps/sh/init-first.c: File removed.
38665 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38667         [BZ #14645]
38668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38669         if x * y might underflow to zero and z is zero.
38670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38672         * math/libm-test.inc (min_subnorm_value): New variable.
38673         (fma_test): Add more tests.
38674         (fma_test_towardzero): Likewise.
38675         (fma_test_downward): Likewise
38676         (fma_test_upward): Likewise.
38677         (initialize): Set min_subnorm_value.
38679 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38681         [BZ #14638]
38682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38683         0 + 0.
38684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38685         mode for addition resulting in exact zero.
38686         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38688         exact 0 + 0.
38689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38691         * math/libm-test.inc (fma_test): Add more tests.
38692         (fma_test_towardzero): New function.
38693         (fma_test_downward): Likewise.
38694         (fma_test_upward): Likewise.
38695         (main): Call the new functions.
38697 2012-09-28  David S. Miller  <davem@davemloft.net>
38699         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38701 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38703         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38704         instead of SIGALRM.
38706         * sysdeps/gnu/_G_config.h: Moved to ...
38707         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38708         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38709         * sysdeps/generic/_G_config.h: ... here.
38711         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38713         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38715         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38716         Conditionalize target on [libnss_test1.so-version].
38718         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38720         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38721         (elfobjdir): Move out of conditionals.
38723         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38724         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38725         (__nss_lookup_function): Conditionalize label remove_from_tree on
38726         [!DO_STATIC_NSS || SHARED], matching its only use.
38728 2012-09-28  David S. Miller  <davem@davemloft.net>
38730         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38731         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38732         file.
38733         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38734         sysdep_routines.
38735         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38737         when HWCAP_SPARC_CRYPTO is present.
38739 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38741         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38743 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38745         [BZ #6530]
38746         * stdio-common/vfprintf.c (process_string_arg): Revert
38747         2000-07-22 change.
38749 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38751         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38752         for testcase.
38753         * stdio-common/tst-sprintf.c: Include <locale.h>
38754         (main): Test sprintf's handling of incomplete multibyte
38755         characters.
38757 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38759         * elf/dl-runtime.c (VERSYMIDX): Removed.
38760         * elf/dl-version.c (VERSYMIDX): Likewise.
38761         * elf/do-rel.h (VERSYMIDX): Likewise.
38762         (VALIDX): Likewise.
38763         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38764         * elf/rtld.c (VALIDX): Likewise.
38765         (ADDRIDX): Likewise.
38766         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38767         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38768         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38769         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38770         (VALIDX): Likewise.
38771         (ADDRIDX): Likewise.
38773 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38775         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38777 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38779         [BZ #11438]
38780         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38781         to global scope.
38782         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38783         addresses are in the same scope as 192.0.2/24.
38784         * posix/gai.conf: Document new scope table defaults.
38786 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38788         [BZ #5298]
38789         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38790         for ftell.  Compute offsets from write pointers instead.
38791         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38793 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38795         [BZ #14543]
38796         * libio/Makefile (tests): New test case tst-fseek.
38797         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38798         combination works in wide mode.
38799         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38800         state when the external buffer state changes.
38802 2012-09-27  David S. Miller  <davem@davemloft.net>
38804         [BZ #14376]
38805         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38806         pass reloc->r_addend in as the 'high' argument to
38807         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38811 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38813         * rt/tst-aio2.c: Include <pthread.h>.
38814         * rt/tst-aio3.c: Likewise.
38816 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38818         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38820 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38822         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38823         contents on [SHARED].
38825 2012-09-26  Marek Polacek  <polacek@redhat.com>
38827         [BZ #14530]
38828         [BZ #13741]
38829         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38830         for C++ and GCC <4.3 as well as for non GCC compilers.
38832 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38836 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38838         * Makefile.in (all, install): Declare with .PHONY.
38839         Reported by Michael Hope <michael.hope@linaro.org>.
38841 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38843         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38844         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38845         system header.
38846         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38847         Likewise.
38848         (sydep_routines): Add the new and the internal functions.
38849         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38850         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38852         (GLIBC_2.17): Add the new function.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38854         (GLIBC_2.17): Likewise.
38855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38856         (GLIBC_2.17): Likewise.
38857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38858         (GLIBC_2.17): Likewise.
38859         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38861 2012-09-25  Alan Modra  <amodra@gmail.com>
38863         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38864         Add release barrier before setting once_control to say
38865         initialisation is done.  Add hints on lwarx.  Use macro in
38866         place of isync.
38867         (clear_once_control): Add release barrier.
38869 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38871         [BZ #13629]
38872         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38873         specially.
38874         * math/s_clog10.c (__clog10): Likewise.
38875         * math/s_clog10f.c (__clog10f): Likewise.
38876         * math/s_clog10l.c (__clog10l): Likewise.
38877         * math/s_clogf.c (__clogf): Likewise.
38878         * math/s_clogl.c (__clogl): Likewise.
38879         * math/Makefile (libm-calls): Add x2y2m1.
38880         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38881         (__x2y2m1): Likewise.
38882         (__x2y2m1l): Likewise.
38883         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38884         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38887         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38888         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38889         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38890         * sysdeps/i386/fpu/libm-test-ulps: Update.
38891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38893         [BZ #14621]
38894         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38895         int as type of variable DEPTH.
38896         (glob): Use size_t instead of int as type of variables NEWCOUNT
38897         and OLD_PATHC.
38899 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38901         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38902         Add s_sincosf-sse2.
38903         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38904         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38905         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38906         macros for using routine as __sincosf_ia32.
38907         Use macro for function declaration and weak_alias.
38908         * sysdeps/i386/fpu/libm-test-ulps: Update.
38910         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38913         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38914         subnormal argument.
38915         * math/s_cexpf.c (__cexpf): Likewise.
38916         * math/s_csinf.c (__csinf): Likewise.
38917         * math/s_csinhf.c (__csinhf): Likewise.
38918         * math/s_ctanf.c (__ctanf): Likewise.
38919         * math/s_ctanhf.c (__ctanhf): Likewise.
38920         * math/s_ccosh.c (__ccoshf): Likewise.
38921         * math/s_cexp.c (__cexpl): Likewise.
38922         * math/s_csin.c (__csin): Likewise.
38923         * math/s_csinh.c (__csinh): Likewise.
38924         * math/s_ctan.c (__ctan): Likewise.
38925         * math/s_ctanh.c (ctanh): Likewise.
38926         * math/s_ccoshl.c (__ccoshl): Likewise.
38927         * math/s_cexpl.c (__cexpl): Likewise.
38928         * math/s_csinl.c (__csinl): Likewise.
38929         * math/s_csinhl.c (__csinhl): Likewise.
38930         * math/s_ctanl.c (__ctanl): Likewise.
38931         * math/s_ctanhl.c (__ctanhl): Likewise.
38933 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38935         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38936         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38937         (_IO_off_t): Define to __off_t, not _G_off_t.
38938         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38939         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38940         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38941         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38942         type of __dummy and __dummy2 fields.
38943         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38944         (_G_ssize_t): Likewise.
38945         (_G_off_t): Likewise.
38946         (_G_pid_t): Likewise.
38947         (_G_uid_t): Likewise.
38948         (_G_wchar_t): Likewise.
38949         (_G_wint_t): Likewise.
38950         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38951         (_G_ssize_t): Likewise.
38952         (_G_off_t): Likewise.
38953         (_G_pid_t): Likewise.
38954         (_G_uid_t): Likewise.
38955         (_G_wchar_t): Likewise.
38956         (_G_wint_t): Likewise.
38957         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38958         (_G_ssize_t): Likewise.
38959         (_G_off_t): Likewise.
38960         (_G_pid_t): Likewise.
38961         (_G_uid_t): Likewise.
38962         (_G_wchar_t): Likewise.
38963         (_G_wint_t): Likewise.
38965 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38967         * malloc/arena.c: Include malloc-sysdep.h.
38968         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38969         is sufficient to shrink the heap or an unmap is needed.
38970         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38971         new function check_may_shrink_heap.
38972         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38973         new function check_may_shrink_heap.
38975 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38977         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38978         comments.
38980 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38982         * catgets/test-gencat.sh: Add "set -e".
38983         * elf/tst-pathopt.sh: Likewise.
38984         * grp/tst_fgetgrent.sh: Likewise.
38985         * iconvdata/run-iconv-test.sh: Likewise.
38986         * intl/tst-gettext.sh: Likewise.
38987         * intl/tst-gettext2.sh: Likewise.
38988         * intl/tst-gettext4.sh: Likewise.
38989         * intl/tst-gettext6.sh: Likewise.
38990         * intl/tst-translit.sh: Likewise.
38991         * io/ftwtest-sh: Likewise.
38992         * libio/test-freopen.sh: Likewise.
38993         * malloc/tst-mtrace.sh: Likewise.
38994         * posix/globtest.sh: Likewise.
38995         * posix/tst-getconf.sh: Likewise.
38996         * posix/wordexp-tst.sh: Likewise.
38997         * stdio-common/tst-printf.sh: Likewise.
38998         * stdio-common/tst-unbputc.sh: Likewise.
38999         * stdlib/tst-fmtmsg.sh: Likewise.
39000         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39001         * catgets/Makefile: Do not specify -e option when running
39002         testsuite shell scripts.
39003         * elf/Makefile: Likewise.
39004         * grp/Makefile: Likewise.
39005         * iconvdata/Makefile: Likewise.
39006         * intl/Makefile: Likewise.
39007         * io/Makefile: Likewise.
39008         * libio/Makefile: Likewise.
39009         * malloc/Makefile: Likewise.
39010         * posix/Makefile: Likewise.
39011         * stdio-common/Makefile: Likewise.
39012         * stdlib/Makefile: Likewise.
39013         * sysdeps/x86_64/Makefile: Likewise.
39015         * io/ftwtest-sh: Add copyright header.
39016         * posix/globtest.sh: Likewise.
39017         * posix/tst-getconf.sh: Likewise.
39018         * posix/wordexp-tst.sh: Likewise.
39019         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39021 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
39023         [BZ #13679]
39024         * Makeconfig (+link): Defined as $(+link-static) if
39025         $(build-shared) isn't yes.
39026         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39027         isn't yes.
39028         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39030         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39032         [BZ #14562]
39033         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39034         new chunk size with MALLOC_ALIGN_MASK.
39036 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
39038         [BZ #5044]
39039         * stdio-common/printf_fphex.c: Include <stdbool.h> and
39040         <rounding-mode.h>.
39041         (__printf_fphex): Determine rounding using get_rounding_mode and
39042         round_away.
39043         * stdio-common/tst-printf-round.c (struct hex_test): New
39044         structure.
39045         (hex_tests): New variable.
39046         (test_hex_in_one_mode): New function.
39047         (do_test): Also run tests for hex float output.
39049 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
39051         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39052         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39053         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39054         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39055         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39056         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39057         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39058         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39060 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
39062         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39063         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39064         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39065         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39067 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
39069         [BZ #14579]
39070         * elf/rtld.c (dl_main): Limit the check for self loading to normal
39071         mode only.
39072         * elf/tst-rtld-load-self.sh: New test.
39073         * elf/Makefile: Run it.
39075 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
39077         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39078         (tst-writev-ENV): Remove.
39079         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39081 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
39083         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39085 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
39087         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39088         unconditional.
39089         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39090         Likewise.
39091         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39092         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39093         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39094         Likewise.
39096 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
39098         [BZ #14587]
39099         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39100         * config.make.in (have-cpp-asm-debuginfo): Removed.
39101         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39102         * configure: Regenerated.
39104 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
39106         [BZ #5044]
39107         * stdio-common/printf_fp.c: Include <stdbool.h> and
39108         <rounding-mode.h>.
39109         (___printf_fp): Determine rounding using get_rounding_mode and
39110         round_away.
39111         * stdio-common/tst-printf-round.c: New file.
39112         * stdio-common/Makefile (tests): Add tst-printf-round.
39113         (link-libm): New variable.
39114         ($(objpfx)tst-printf-round): Depend in $(link-libm).
39116 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
39118         [BZ #14576]
39119         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39120         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39121         Likewise.
39122         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39123         Likewise.
39125 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
39127         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39128         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39129         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39130         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39132 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
39134         [BZ #14518]
39135         * include/rounding-mode.h: New file.
39136         * sysdeps/generic/get-rounding-mode.h: Likewise.
39137         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39138         * stdlib/strtod_l.c: Include <rounding-mode.h>.
39139         (MAX_VALUE): New macro.
39140         (MIN_VALUE): Likewise.
39141         (overflow_value): New function.
39142         (underflow_value): Likewise.
39143         (round_and_return): Use overflow_value and underflow_value to
39144         determine return values in overflow and underflow cases.  Use
39145         round_away to determine rounding depending on rounding mode.
39146         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39147         determine return values in overflow and underflow cases.
39148         * stdlib/tst-strtod-round.c: Include <fenv.h>.
39149         (struct test_results): New structure.
39150         (struct test): Use struct test_results to store expected results
39151         for all rounding modes.
39152         (TEST): Include expected results for all rounding modes.
39153         (test_in_one_mode): New function.
39154         (do_test): Use test_in_one_mode to compute and check results.
39155         Check results for all rounding modes.
39156         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39157         $(link-libm).
39159 2012-12-09  Allan McRae  <allan@archlinux.org>
39161         * sysdeps/i386/fpu/libm-test-ulps: Update
39163 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
39165         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39166         (_G_int32_t): Likewise.
39167         (_G_uint16_t): Likewise.
39168         (_G_uint32_t): Likewise.
39169         (_G_HAVE_BOOL): Likewise.
39170         (_G_HAVE_ATEXIT): Likewise.
39171         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39172         (_G_HAVE_IO_FILE_OPEN): Likewise.
39173         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39174         (_G_int32_t): Likewise.
39175         (_G_uint16_t): Likewise.
39176         (_G_uint32_t): Likewise.
39177         (_G_HAVE_BOOL): Likewise.
39178         (_G_HAVE_ATEXIT): Likewise.
39179         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39180         (_G_HAVE_IO_FILE_OPEN): Likewise.
39181         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39182         (_G_int32_t): Likewise.
39183         (_G_uint16_t): Likewise.
39184         (_G_uint32_t): Likewise.
39185         (_G_HAVE_BOOL): Likewise.
39186         (_G_HAVE_ATEXIT): Likewise.
39187         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39188         (_G_HAVE_IO_FILE_OPEN): Likewise.
39190 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
39192         * csu/libc-tls.c: Update copyright years.
39194 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
39196         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39197         [!_G_USING_THUNKS]: Remove conditional code.
39198         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39199         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39201         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39202         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39203         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39204         (_G_VTABLE_LABEL_PREFIX): Likewise.
39205         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39206         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39207         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39208         (_G_VTABLE_LABEL_PREFIX): Likewise.
39209         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39210         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39211         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39212         (_G_VTABLE_LABEL_PREFIX): Likewise.
39213         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39215 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39217         * libio/Makefile: Include ../Makeconfig before tests.
39218         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39219         only if $(build-shared) is yes.
39221         * iconv/gconv_db.c: Update copyright years.
39223 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39225         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39226         unwind info if defined PIC. Fix special cases description.
39227         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39229         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39230         DP_HI_MASK entry.
39231         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39233 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39235         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39237         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39238         is NULL.
39240         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39241         (LDLIBS-tst-chk4): This.
39242         (LDFLAGS-tst-chk5): Renamed to ...
39243         (LDLIBS-tst-chk5): This.
39244         (LDFLAGS-tst-chk6): Renamed to ...
39245         (LDLIBS-tst-chk6): This.
39246         (LDFLAGS-tst-lfschk4): Renamed to ...
39247         (LDLIBS-tst-lfschk4): This.
39248         (LDFLAGS-tst-lfschk5): Renamed to ...
39249         (LDLIBS-tst-lfschk5): This.
39250         (LDFLAGS-tst-lfschk6): Renamed to ...
39251         (LDLIBS-tst-lfschk6): This.
39253         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39254         on $(common-objpfx)soversions.mk.
39256 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39258         [BZ #10014]
39259         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39260         example host name.
39262 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39264         * malloc/arena.c (arena_get_retry): New function that gets
39265         another arena for the caller to try its request on.
39266         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39267         current arena cannot fulfill the request.
39268         (__libc_memalign): Likewise.
39269         (__libc_memalign): Likewise.
39270         (__libc_pvalloc): Likewise.
39271         (__libc_calloc): Likewise.
39273 2012-09-05  John Tobey  <john.tobey@gmail.com>
39275         [BZ #13542]
39276         * manual/arith.texi (Operations on Complex): Fix description
39277         of carg branch cut.
39279 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39281         [BZ #10014]
39282         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39283         host name.
39285         [BZ #10038]
39286         * manual/memory.texi (Memory): Make order of menu items match
39287         order of sections.
39289 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39291         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39292         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39293         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39295 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39297         * csu/libc-tls.c (static_dtv): Renamed to ...
39298         (_dl_static_dtv): This.  Make it global.
39299         (_dl_initial_dtv): Removed.
39300         (__libc_setup_tls): Updated.
39301         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39302         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39303         DL_INITIAL_DTV.
39305 2012-09-06  Petr Machata  <pmachata@redhat.com>
39307         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39308         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39309         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39310         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39314         [BZ #14545]
39315         * csu/libc-tls.c (_dl_initial_dtv): New variable.
39316         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39317         freeing dtv[-1].
39319 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39321         [BZ #14544]
39322         * Makeconfig (link-static-before-libc): Replace $(+prector)
39323         with $(+prectorT).
39324         (link-static-after-libc): Replace $(+postctor) with
39325         $(+postctorT).
39326         (link-bounded): Replace $(+prector)/$(+postctor) with
39327         $(+prectorT)/$(+postctorT).
39328         (+prectorT): New macro.
39329         (+postctorT): Likewise.
39331 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39333         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39334         (round_str): Handle values above the maximum for IBM long double
39335         as inexact.
39336         * stdlib/tst-strtod-round.c (tests): Regenerated.
39338 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39340         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39341         assembler flag.
39342         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39343         zarch_nohighgprs around the zarch optimized routines.
39344         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39345         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39346         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39347         for zarch.
39349 2012-09-05  David S. Miller  <davem@davemloft.net>
39351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39353         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39354         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39355         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39356         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39357         entries.
39359 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39361         * malloc/arena.c: Fold copyright years.
39362         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39364 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39366         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39368 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39370         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39374         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39375         change internal state upon failure.
39377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39379         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39380         * malloc/memusage.c (mmap): Likewise.
39381         (mmap64, mremap): Likewise.  Adjust name in comment.
39383 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39385         * libio/fileops.c: Fix typos in comments.
39386         * libio/oldfileops.c: Likewise.
39387         * libio/wfileops.c: Likewise.
39389 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39391         [BZ #1349]
39392         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39393         (tst-malloc-usable-ENV): Set environment for test case.
39394         * malloc/hooks.c (malloc_check_get_size): New function to get
39395         requested size.
39396         * malloc/malloc.c (musable): Use malloc_check_get_size.
39397         * malloc/tst-malloc-usable.c: New test case.
39399 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39401         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39403 2012-09-05  Allan McRae  <allan@archlinux.org>
39405         [BZ #13966]
39406         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39407         determine header location.
39408         * configure: Regenerated.
39410 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39412         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39413         float format.
39414         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39415         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39416         format.
39417         (test): Regenerate.
39419 2012-09-04  David S. Miller  <davem@davemloft.net>
39421         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39422         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39423         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39425 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39427         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39428         failures.
39430         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39432 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39434         [BZ #9914]
39435         * libio/iogetdelim.c: Include <limits.h>.
39436         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39437         + len + 1 would overflow.
39439 2012-09-03  Andreas Jaeger  <aj@suse.de>
39441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39442         * sysdeps/i386/fpu/libm-test-ulps: Update.
39444 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39446         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39447         Add s_sinf-sse2, s_conf-sse2.
39449         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39450         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39451         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39452         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39454         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39455         for using routine as __sinf_ia32.
39456         Use macro for function declaration and weak_alias.
39457         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39458         for using routine as __cosf_ia32.
39459         Use macro for function declaration and weak_alias.
39461         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39462         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39464         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39465         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39468         * math/libm-test.inc (cos_test): Add more test cases.
39469         (sin_test): Likewise.
39470         (sincos_test): Likewise.
39472 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39474         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39475         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39476         hidden.
39477         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39479 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39481         [BZ #14538]
39482         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39483         first element of the GOT.
39484         (elf_machine_load_address): Return the difference between
39485         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39487 2012-09-01  Allan McRae  <allan@archlinux.org>
39489         [BZ #13412]
39490         * configure.in (AWK): Require gawk version 3.0 or later.
39491         * configure: Regenerated.
39493 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39495         * sysdeps/unix/sysv/linux/kernel-features.h
39496         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39498         [__NR_clock_getres]: Make code unconditional.
39499         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39500         (clock_getcpuclockid): Remove code left unreachable by removal of
39501         conditionals.
39502         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39503         code unconditional.
39504         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39505         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39506         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39507         Make code unconditional.
39508         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39509         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39510         * sysdeps/unix/sysv/linux/clock_settime.c
39511         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39512         conditional code.
39513         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39514         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39516 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39518         [BZ #14476]
39519         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39520         scripts/test-installation.pl.
39522         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39523         and $ld_so_version if it is set.
39525 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39527         [BZ #14516]
39528         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39529         failure if reading from procfs failed.
39530         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39532 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39534         * sysdeps/unix/sysv/linux/kernel-features.h
39535         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39536         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39537         Remove conditional code.
39538         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39539         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39540         Remove conditional code.
39541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39542         * sysdeps/unix/sysv/linux/i386/fxstat.c
39543         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39544         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39545         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39546         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39547         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39548         * sysdeps/unix/sysv/linux/i386/lxstat.c
39549         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39551         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39552         Remove conditional code.
39553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39554         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39555         Remove conditional code.
39556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39557         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39558         <kernel-features.h>.
39559         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39560         Remove.
39561         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39562         Remove conditional code.
39563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39564         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39565         Remove conditional.
39567 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39569         [BZ #5400]
39570         * NEWS: Add fixed bug number.
39572 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39574         [BZ #14519]
39575         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39576         underflowing exponent in case of negative sign.
39577         * stdlib/tst-strtod-round-data: Add more tests.
39578         * stdlib/tst-strtod-round.c (tests): Regenerated.
39580         [BZ #3479]
39581         * stdlib/strtod_l.c (NDIG): Remove.
39582         (HEXNDIG): Likewise.
39583         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39584         smallest representable value.
39585         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39586         lie within an exact representation of 1/2 ulp of the result.
39587         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39588         unconditionally.
39589         (TENS_P9_IDX): Define unconditionally.
39590         (TENS_P9_SIZE): Likewise.
39591         (TENS_P10_IDX): Likewise.
39592         (TENS_P10_SIZE): Likewise.
39593         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39594         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39595         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39596         entries for 10^2^13 and 10^2^14.
39597         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39598         (TENS_P13_IDX): Define.
39599         (TENS_P13_SIZE): Likewise.
39600         (TENS_P14_IDX): Likewise.
39601         (TENS_P14_SIZE): Likewise.
39602         (_fpioconst_pow10): Change array size to
39603         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39604         unconditional.
39605         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39606         1024]: Add entries for 10^2^13 and 10^2^14.
39607         [LAST_POW10 > _LAST_POW10]: Remove #error.
39608         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39609         (_fpioconst_pow10): Change array size to
39610         FPIOCONST_POW10_ARRAY_SIZE.
39611         * stdlib/gen-fpioconst.c: New file.
39612         * stdlib/gen-tst-strtod-round.c: Likewise.
39613         * stdlib/tst-strtod-round-data: Likewise.
39614         * stdlib/tst-strtod-round.c: Likewise.
39615         * stdlib/Makefile (tests): Add tst-strtod-round.
39617         [BZ #14459]
39618         * stdlib/strtod_l.c: Include <stdint.h>.
39619         (NDEBUG): Do not define.
39620         (round_and_return): Change EXPONENT parameter to type intmax_t.
39621         Rearrange calculations to avoid internal overflow possibilities.
39622         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39623         Rearrange calculations to avoid internal overflow possibilities.
39624         Assert that number fits inside MPNSIZE limbs.
39625         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39626         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39627         calculations and add assertions to avoid internal overflow
39628         possibilities.  Add casts to avoid signed/unsigned operations.
39629         * stdlib/tst-strtod-overflow.c: New file.
39630         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39632 2012-08-25  Marek Polacek  <polacek@redhat.com>
39634         * time/time.h: Fix some typos in comments.
39636 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39638         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39639         * posix/tst-rfc3484-2.c: Likewise.
39640         * posix/tst-rfc3484-3.c: Likewise.
39642 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39644         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39645         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39647 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39649         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39650         #include of fxstatat64.c.
39652 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39654         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39655         * shadow/getspent_r.c: Likewise.
39656         * shadow/getspnam.c: Likewise.
39657         * shadow/getspnam_r.c: Likewise.
39658         * gshadow/getsgent.c: Likewise.
39659         * gshadow/getsgent_r.c: Likewise.
39660         * gshadow/getsgnam.c: Likewise.
39661         * gshadow/getsgnam_r.c: Likewise.
39662         * inet/getnetbyad.c: Likewise.
39663         * inet/getnetbyad_r.c: Likewise.
39664         * inet/getnetbynm.c: Likewise.
39665         * inet/getnetbynm_r.c: Likewise.
39666         * inet/getnetent.c: Likewise.
39667         * inet/getnetent_r.c: Likewise.
39668         * inet/getproto.c: Likewise.
39669         * inet/getproto_r.c: Likewise.
39670         * inet/getprtent.c: Likewise.
39671         * inet/getprtent_r.c: Likewise.
39672         * inet/getprtname.c: Likewise.
39673         * inet/getprtname_r.c: Likewise.
39674         * inet/getrpcbyname.c: Likewise.
39675         * inet/getrpcbyname_r.c: Likewise.
39676         * inet/getrpcbynumber.c: Likewise.
39677         * inet/getrpcbynumber_r.c: Likewise.
39678         * inet/getrpcent.c: Likewise.
39679         * inet/getrpcent_r.c: Likewise.
39680         * inet/getaliasent.c: Likewise.
39681         * inet/getaliasent_r.c: Likewise.
39682         * inet/getaliasname.c: Likewise.
39683         * inet/getaliasname_r.c: Likewise.
39684         * nscd/getgrgid_r.c: Likewise.
39685         * nscd/getgrnam_r.c: Likewise.
39686         * nscd/gethstbyad_r.c: Likewise.
39687         * nscd/gethstbynm3_r.c: Likewise.
39688         * nscd/getpwnam_r.c: Likewise.
39689         * nscd/getpwuid_r.c: Likewise.
39690         * nscd/getsrvbynm_r.c: Likewise.
39691         * nscd/getsrvbypt_r.c: Likewise.
39692         * nscd/gai.c: Likewise.
39694         * configure.in (build_nscd): New substituted variable, set
39695         by --disable-build-nscd and defaults to $use_nscd.
39696         * configure: Regenerated.
39697         * config.make.in (build-nscd): New substituted variable.
39698         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39699         Change conditional to require [$(build-nscd) = yes] as well.
39700         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39702         [BZ# 13696]
39703         * configure.in (use_nscd): New substituted variable, set by
39704         --disable-nscd.  If enabled, define USE_NSCD.
39705         * configure: Regenerated.
39706         * config.h.in: Add USE_NSCD.
39707         * config.make.in (use-nscd): New substituted variable.
39708         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39709         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39710         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39711         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39712         (CFLAGS-getgrnam_r.c): Likewise.
39713         (CFLAGS-initgroups.c): Likewise.
39714         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39715         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39716         Variables removed.
39717         * inet/getnetgrent_r.c
39718         (nscd_setnetgrent): New function, broken out of ...
39719         (setnetgrent): ... here.  Call it.
39720         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39721         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39722         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39723         * nscd/Makefile (routines, aux): Move definitions after include of
39724         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39725         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39726         Conditionalize on [USE_NSCD].
39727         (is_nscd, nscd_init_cb): Likewise.
39728         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39729         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39730         * nss/nss_db/db-init.c: Likewise.
39731         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39732         [USE_NSCD].
39733         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39734         (make_request): Use it.
39735         (cache_valid_p): New function.
39736         (__check_pf): Use it.
39737         * NEWS: Add item for --disable-nscd.
39739 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39741         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39742         to support sed >= 4.2.1-20-ga9bf076.
39743         * configure: Regenerated.
39745 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39747         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39748         Conditionalize whole body on [IREL].
39750 2012-08-22  Jeff Law <law@redhat.com>
39752         [BZ #14505]
39753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39754         if the family is PF_UNSPEC.
39756 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39758         * Makerules (lib-version): Rename from V.
39759         (install-lib-nosubdir): Change V to lib-version.
39761 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39763         [BZ #14252]
39764         * powerpc32/power6/wcschr.c: New file.
39765         * powerpc32/power6/wcscpy.c: New file.
39766         * powerpc32/power6/wcsrchr.c: New file.
39767         * powerpc64/power6/wcschr.c: New file.
39768         * powerpc64/power6/wcscpy.c: New file.
39769         * powerpc64/power6/wcsrchr.c: New file.
39771 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39773         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39774         (two_way_short_needle): Use it.
39775         * string/strstr.c (AVAILABLE1_USES_J): Define.
39776         * string/strcasestr.c: Likewise.
39778         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39779         array references.
39780         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39782         [BZ #11607]
39783         * NEWS: Add an entry.
39784         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39785         define their defaults.
39786         (two_way_short_needle): Detect end-of-string on-the-fly.
39787         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39788         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39789         * string/bug-strcasestr1.c: New test.
39790         * string/Makefile: Run it.
39792 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39794         [BZ #11607]
39795         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39796         the first character.
39798 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39800         * csu/elf-init.c (__libc_csu_irel): Function removed.
39801         * csu/libc-start.c (apply_irel): New function.
39802         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39804 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39806         * sysdeps/unix/sysv/linux/kernel-features.h
39807         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39808         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39809         <kernel-features.h>.
39810         [__NR_fadvise64_64]: Make code unconditional.
39811         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39812         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39813         !__NR_fadvise64_64)]: Likewise.
39814         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39815         !__NR_fadvise64_64))]: Likewise.
39816         [__NR_fadvise64]: Make code unconditional.
39817         [!__NR_fadvise64]: Remove conditional code.
39818         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39819         <kernel-features.h>.
39820         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39821         unconditional.
39822         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39823         conditional code.
39824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39825         not include <kernel-features.h>.
39826         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39827         unconditional.
39828         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39829         conditional code.
39830         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39831         include <kernel-features.h>.
39832         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39833         unconditional.
39834         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39835         conditional code.
39837 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39839         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39840         slight instruction rearrangements per scrollpipe analysis.
39841         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39843 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39845         * manual/syslog.texi (syslog; vsyslog, closelog):
39846         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39847         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39849         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39850         DSOCAPS to match condition on defining it.
39852 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39854         * sysdeps/unix/sysv/linux/kernel-features.h
39855         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39857         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39858         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39860         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39861         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39863         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39864         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39866         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39867         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39869         * sysdeps/unix/sysv/linux/kernel-features.h
39870         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39871         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39872         unconditional.
39873         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39874         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39875         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39876         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39877         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39878         Make code unconditional.
39879         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39880         (__mmap64) [!__NR_mmap2]: Likewise.
39881         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39882         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39883         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39884         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39885         [__NR_mmap2]: Make code unconditional.
39886         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39887         (__mmap64) [!__NR_mmap2]: Likewise.
39889 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39891         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39893 2012-08-18  Andreas Jaeger  <aj@suse.de>
39895         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39897 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39899         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39900         * include/unistd.h (__have_sock_cloexec): Likewise.
39901         (__have_pipe2): Likewise.
39902         (__have_dup3): Likewise.
39904 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39906         [BZ #9685]
39907         * include/unistd.h (__have_pipe2): Change define into an extern int.
39908         (__have_dup3): Likewise.
39909         * socket/have_sock_cloexec.c: Include fcntl.h.
39910         (__have_pipe2): New variable.
39911         (__have_dup3): Likewise.
39913 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39915         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39917 2012-08-17  Marek Polacek  <polacek@redhat.com>
39919         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39920         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39922 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39924         * configure.in: Add AC_SUBST for sysheaders.
39925         * configure: Regenerated.
39926         * config.make.in (sysheaders): New substituted variable.
39928         * sysdeps/unix/mkfifo.c: Moved ...
39929         * sysdeps/posix/mkfifo.c: ... here.
39930         * sysdeps/unix/mkfifoat.c: Moved ...
39931         * sysdeps/posix/mkfifoat.c: ... here.
39933         * sysdeps/unix/utime.c: Moved ...
39934         * sysdeps/posix/utime.c: ... here.
39936         * sysdeps/unix/time.c: Moved ...
39937         * sysdeps/posix/time.c: ... here.
39938         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39939         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39941         * sysdeps/unix/nice.c: Moved ...
39942         * sysdeps/posix/nice.c: ... here.
39944         * sysdeps/unix/alarm.c: Moved ...
39945         * sysdeps/posix/alarm.c: ... here.
39947         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39949 2012-08-17  Jeff Law <law@redhat.com>
39951         * intl/Makefile (codeset_mo): New variable.
39952         ($(codeset_mo)): New target.
39953         (tst-codeset.out): Depend on that.  Remove explicit rule.
39954         (tst-gettext3.out, tst-gettext5.out): Likewise.
39955         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39956         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39957         * intl/tst-codeset.sh: Remove.
39958         * intl/tst-gettext3.sh: Likewise.
39959         * intl/tst-gettext5.sh: Likewise.
39961 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39963         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39964         * sysdeps/unix/syscalls.list: ... here.
39966         * sysdeps/posix/getaddrinfo.c
39967         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39968         (gaiconf_init, gaiconf_reload): Use them.
39969         [!_STATBUF_ST_NSEC]
39970         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39971         Define using time_t rather than struct timespec.
39973         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39974         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39975         Macros removed.
39976         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39977         [!NO_THREADS].
39978         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39979         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39980         Likewise.
39982         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39983         __libc_cleanup_push argument.
39985         * bits/param.h: New file.
39986         * misc/sys/param.h: New file.
39987         * include/sys/param.h: New file.
39988         * misc/Makefile (headers): Add bits/param.h.
39989         * sysdeps/generic/sys/param.h: File removed.
39990         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39991         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39992         * sysdeps/mach/hurd/bits/param.h: New file.
39993         * sysdeps/mach/hurd/sys/param.h: File removed.
39995         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39996         last change.
39998         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39999         [_IO_MTSAFE_IO].
40000         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40001         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40002         New macros.
40004         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40005         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40006         rather than -D_IO_MTSAFE_IO conditionally.
40007         * stdio-common/Makefile (CPPFLAGS): Likewise.
40008         * wcsmbs/Makefile (CPPFLAGS): Likewise.
40009         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40010         Use $(libio-mtsafe).
40011         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40012         of -D_IO_MTSAFE_IO.
40013         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40014         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40015         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40016         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40017         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40018         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40019         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40020         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40021         (CFLAGS-fread_u_chk.c): Likewise.
40022         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40023         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40024         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40025         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40026         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40027         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40028         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40029         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40030         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40032         * libio/Makefile: Test [$(libc-reentrant) = yes]
40033         instead of [$(filter %REENTRANT, $(defines)) nonempty].
40035         * Makeconfig
40036         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40037         * sysdeps/pthread/configure: File removed.
40038         * sysdeps/pthread/Makeconfig: New file.
40039         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40040         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40042 2012-08-16  Gary Benson  <gbenson@redhat.com>
40044         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40045         unmapping the first object in a namespace.
40047 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40049         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40050         (__internal_setnetgrent): ... this.  Add internal_function to
40051         definition.  Add libc_hidden_def.
40052         (setnetgrent): Update caller.
40053         (internal_endnetgrent): Renamed to ...
40054         (__internal_endnetgrent): ... this.  Add internal_function to
40055         definition.  Add libc_hidden_def.
40056         (endnetgrent): Update caller.
40057         (internal_getnetgrent_r): Renamed to ...
40058         (__internal_getnetgrent_r): ... this.  Add internal_function to
40059         definition.  Add libc_hidden_def.
40060         (__getnetgrent_r): Update caller.
40061         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
40063 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40065         * stdlib/longlong.h: Update from GCC.
40067 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40069         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40070         on _QL, which is set by umul_ppmm but never used.
40071         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40072         variables, which are set by GMP macros but never used.
40073         * stdio-common/_itowa.c (_itowa): Likewise.
40074         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40075         * stdlib/mod_1.c (mpn_mod_1): Likewise.
40077 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
40079         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40080         struct La_sh_regs is not constant.
40081         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40082         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40083         and struct La_sparc64_regs are not constant.
40085 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40087         * sysdeps/unix/sysv/linux/kernel-features.h
40088         (__ASSUME_POSIX_TIMERS): Remove.
40089         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40090         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40091         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40092         Make code unconditional.
40093         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40094         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40095         Make code unconditional.
40096         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40097         * sysdeps/unix/sysv/linux/clock_nanosleep.c
40098         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40099         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40100         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40101         Make code unconditional.
40102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40103         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40104         (__libc_missing_posix_timers): Remove.
40106 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40108         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40109         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40111         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40113         * elf/dl-sym.c: Include <stdlib.h>.
40115         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40116         constants, which avoids warnings in 32-bit builds.
40118         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40119         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40121         * misc/lseek.c: File moved to ...
40122         * io/lseek.c: ... here.
40124         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40126         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40127         shifting LEN more than 31 bits at once.
40129 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40131         [BZ #14195]
40132         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40133         segmentation fault for a case of two empty input strings.
40134         * string/test-strncasecmp.c (check1): Renamed to...
40135         (bz12205): ...this.
40136         (bz14195): Add new testcase for two empty input strings and N > 0.
40137         (test_main): Call new testcase, adapt for renamed function.
40139 2012-08-15  Andreas Jaeger  <aj@suse.de>
40141         [BZ #14090]
40142         * crypt/md5test2.c: New test, based on test supplied by Serge
40143         Belyshev <belyshev@depni.sinp.msu.ru>.
40144         * crypt/Makefile (xtests): Add md5test-giant..
40145         * crypt/Makefile ($(objpfx)md5test-giant): Add.
40147 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
40149         [BZ #14090]
40150         * crypt/md5.c (md5_process_block): Don't assume the buffer
40151         length is less than 2**32.
40152         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40153         length is less than 2**64.
40155 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40157         * string/str-two-way.h: Include <sys/param.h>.
40158         (MAX): Macro removed.
40160         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40161         Move #define and #undef of memmove to just before and after
40162         including <string.h>.
40164         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40165         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40166         and after including <string.h>.  Move declarations of
40167         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40168         to before #include "string/memmove.c".
40170         * include/dirent.h: Declare __getdirentries.
40172         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40173         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40175 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
40177         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40178         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40179         * sysdeps/i386/configure: Regenerated.
40180         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40181         STABS_CURRENT_FILE, and STABS_FUN.
40182         (END): Remove call to STABS_FUN_END.
40183         (STABS_CURRENT_FILE1): Delete.
40184         (STABS_CURRENT_FILE): Likewise.
40185         (STABS_FUN): Likewise.
40186         (STABS_FUN_END): Likewise.
40187         (STABS_FUN2): Likewise.
40188         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40189         * sysdeps/x86_64/configure: Regenerated.
40191 2012-08-14  Roland McGrath  <roland@hack.frob.com>
40193         * elf/dl-open.c: Include <atomic.h>.
40194         * elf/dl-lookup.c: Likewise.
40196 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40198         * sysdeps/unix/sysv/linux/kernel-features.h
40199         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40200         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40201         unconditionally.
40202         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40203         unconditionally.
40204         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40205         condition on __ASSUME_CLONE_THREAD_FLAGS.
40207 2012-08-14  Andreas Jaeger  <aj@suse.de>
40209         * sysdeps/i386/fpu/libm-test-ulps: Update.
40211 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40213         * include/atomic.h (atomic_exchange_and_add): Split into ...
40214         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40215         New atomic macros.
40217 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40219         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40221 2012-08-13  Jeff Law <law@redhat.com>
40223         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40224         null byte in the output string.
40226 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40228         * sysdeps/unix/sysv/linux/kernel-features.h
40229         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40230         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40231         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40232         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40233         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40234         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40235         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40237 2012-08-09  Jeff Law <law@redhat.com>
40239         [BZ #13939]
40240         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40241         When avoid_arena is set, don't retry in the that arena.  Pick the
40242         next one, whatever it might be.
40243         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40244         (arena_lock): Pass in new parameter to arena_get2.
40245         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40246         arena_get2.
40247         (__libc_malloc): Unify retrying after main arena failure with
40248         __libc_memalign version.
40249         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40251 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40253         [BZ #14166]
40254         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40255         to __redirect_strstr.
40256         (__strstr_sse42): Use typeof __redirect_strstr.
40257         (__strstr_ia32): Likewise.
40258         (__libc_strstr): New prototype.
40259         (strstr): Renamed to ...
40260         (__libc_strstr): This.
40261         (strstr): New strong alias of __libc_strstr.
40262         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40263         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40264         __redirect_time.
40265         Include <time.h>.
40266         (__libc_time): New prototype.
40267         (time_ifunc): Replace time with __libc_time.
40268         (time): New strong alias and hidden definition of __libc_time.
40269         (__GI_time): Remove strong alias.
40270         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40271         Include <stddef.h>.
40272         (memmove): Redefined to __redirect_memmove.
40273         (__memmove_sse2): Use typeof __redirect_memmove.
40274         (__memmove_ssse3): Likewise.
40275         (__memmove_ssse3_back): Likewise.
40276         (__libc_memmove): New prototype.
40277         (memmove): Renamed to ...
40278         (__libc_memmove): This.
40279         (memmove): New strong alias of __libc_memmove.
40281 2012-08-08  Mark Salter  <msalter@redhat.com>
40283         * elf/elf.h
40284         (R_MN10300_TLS_GD): Define.
40285         (R_MN10300_TLS_LD): Likewise.
40286         (R_MN10300_TLS_LDO): Likewise.
40287         (R_MN10300_TLS_GOTIE): Likewise.
40288         (R_MN10300_TLS_IE): Likewise.
40289         (R_MN10300_TLS_LE): Likewise.
40290         (R_MN10300_TLS_DTPMOD): Likewise.
40291         (R_MN10300_TLS_DTPOFF): Likewise.
40292         (R_MN10300_TLS_TPOFF): Likewise.
40293         (R_MN10300_SYM_DIFF): Likewise.
40294         (R_MN10300_ALIGN): Likewise.
40295         (R_MN10300_NUM): Update.
40297 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40300         Remove.
40302 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40304         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40306         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40307         sysdeps/unix -> sysdeps/posix move.
40308         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40310 2012-08-07      Allan McRae     <allan@archlinux.org>
40312         [BZ #14303]
40313         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40314         (SUNOS_CPP): Likewise.
40315         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40316         not found.
40317         (open_input): Call CPP using execvp.
40319 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40321         * sysdeps/unix/sysv/linux/kernel-features.h
40322         (__ASSUME_PROT_GROWSUPDOWN): Remove.
40323         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40324         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40325         (__ASSUME_WAITID_SYSCALL): Likewise.
40326         * sysdeps/unix/sysv/linux/dl-execstack.c
40327         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40328         code unconditional.
40329         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40330         conditional code.
40331         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40332         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40333         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40334         code.
40335         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40336         unconditional.
40337         [__ASSUME_WAITID_SYSCALL]: Likewise.
40338         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40340 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40342         * sysdeps/unix/closedir.c: Renamed to ...
40343         * sysdeps/posix/closedir.c: ... here.
40344         * sysdeps/unix/dirfd.c: Renamed to ...
40345         * sysdeps/posix/dirfd.c: ... here.
40346         * sysdeps/unix/dirstream.h: Renamed to ...
40347         * sysdeps/posix/dirstream.h: ... here.
40348         * sysdeps/unix/fdopendir.c: Renamed to ...
40349         * sysdeps/posix/fdopendir.c: ... here.
40350         * sysdeps/unix/opendir.c: Renamed to ...
40351         * sysdeps/posix/opendir.c: ... here.
40352         * sysdeps/unix/readdir.c: Renamed to ...
40353         * sysdeps/posix/readdir.c: ... here.
40354         * sysdeps/unix/readdir_r.c: Renamed to ...
40355         * sysdeps/posix/readdir_r.c: ... here.
40356         * sysdeps/unix/rewinddir.c: Renamed to ...
40357         * sysdeps/posix/rewinddir.c: ... here.
40358         * sysdeps/unix/seekdir.c: Renamed to ...
40359         * sysdeps/posix/seekdir.c: ... here.
40360         * sysdeps/unix/telldir.c: Renamed to ...
40361         * sysdeps/posix/telldir.c: ... here.
40362         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40363         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40364         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40365         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40367         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40368         * bits/fcntl.h: ... here.
40370         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40371         not 0.
40372         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40373         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40374         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40375         (struct flock): Move l_start, l_len to the beginning.
40376         Use __pid_t for l_pid.
40377         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40378         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40379         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40380         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40381         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40382         [__USE_LARGEFILE64] (struct flock64): New type.
40383         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40385         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40386         * bits/dirent.h: ... here.
40388         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40389         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40391 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40394         Change from 2.6.0 to 2.6.16.
40395         * sysdeps/unix/sysv/linux/configure: Regenerated.
40396         * sysdeps/unix/sysv/linux/kernel-features.h
40397         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40398         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40399         version.
40400         (__ASSUME_UTIMES): Likewise.
40401         (__ASSUME_CLONE_STOPPED): Remove.
40402         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40403         architectures, not kernel version.
40404         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40405         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40406         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40407         (__ASSUME_WAITID_SYSCALL): Likewise.
40408         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40409         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40410         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40411         refer to older versions.
40413 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40415         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40416         Define alphasort64 as an alias.
40417         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40418         Define versionsort64 as an alias.
40419         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40420         Define scandir64 as an alias.
40421         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40422         Define scandirat64 as an alias.
40423         * dirent/alphasort64.c (alphasort64):
40424         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40425         * dirent/versionsort64.c: Likewise.
40426         * dirent/scandir64.c: Likewise.
40427         * dirent/scandirat64.c: Likewise.
40428         * sysdeps/wordsize-64/alphasort.c: File removed.
40429         * sysdeps/wordsize-64/alphasort64.c: File removed.
40430         * sysdeps/wordsize-64/scandir.c: File removed.
40431         * sysdeps/wordsize-64/scandir64.c: File removed.
40432         * sysdeps/wordsize-64/scandirat.c: File removed.
40433         * sysdeps/wordsize-64/scandirat64.c: File removed.
40434         * sysdeps/wordsize-64/versionsort.c: File removed.
40435         * sysdeps/wordsize-64/versionsort64.c: File removed.
40436         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40437         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40438         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40439         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40440         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40441         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40442         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40443         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40445         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40447         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40449         [defined __arch64__ || defined __sparcv9]
40450         (__INO_T_MATCHES_INO64_T): New macro.
40451         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40452         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40453         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40454         * sysdeps/unix/sysv/linux/bits/dirent.h
40455         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40456         (_DIRENT_MATCHES_DIRENT64): New macro.
40458         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40459         Define lockf64 as an alias.
40460         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40461         Define fseeko64 as an alias.
40462         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40463         Define ftello64 as an alias.
40464         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40465         Define _IO_fgetpos64 and fgetpos64 as aliases.
40466         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40467         Define _IO_fsetpos64 and fsetpos64 as aliases.
40468         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40469         Conditionalize body on this.
40470         * libio/fseeko64.c: Likewise.
40471         * libio/ftello64.c: Likewise.
40472         * libio/iofgetpos64.c: Likewise.
40473         * libio/iofsetpos64.c: Likewise.
40474         * sysdeps/wordsize-64/lockf.c: File removed.
40475         * sysdeps/wordsize-64/lockf64.c: File removed.
40476         * sysdeps/wordsize-64/fseeko.c: File removed.
40477         * sysdeps/wordsize-64/fseeko64.c: File removed.
40478         * sysdeps/wordsize-64/ftello.c: File removed.
40479         * sysdeps/wordsize-64/ftello64.c: File removed.
40480         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40481         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40482         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40483         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40484         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40485         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40486         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40487         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40488         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40489         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40490         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40491         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40492         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40493         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40495         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40496         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40497         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40499         [defined __arch64__ || defined __sparcv9]
40500         (__OFF_T_MATCHES_OFF64_T): New macro.
40501         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40502         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40504         (__OFF_T_MATCHES_OFF64_T): New macro.
40506 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40508         * stdlib/secure-getenv.c (__secure_getenv): Replace
40509         GLIBC_2_16 with GLIBC_2_17.
40511 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40513         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40514         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40516 2012-08-03  David S. Miller  <davem@davemloft.net>
40518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40520 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40522         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40523         Remove.
40524         (__ASSUME_CORRECT_SI_PID): Likewise.
40525         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40526         (__ASSUME_TMPFS_NAME): Likewise.
40527         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40528         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40529         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40530         (HAVE_AUX_SECURE): Make definition unconditional.
40531         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40532         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40534 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40536         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40537         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40538         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40539         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40540         __eloop_threshold instead of SYMLOOP_MAX.
40542         * sysdeps/generic/eloop-threshold.h: New file.
40543         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40544         of MAXSYMLINKS.
40545         * elf/chroot_canon.c (chroot_canon): Likewise.
40547 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40549         [BZ #13717]
40550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40551         Change to 2.6.0 everywhere.
40552         * sysdeps/unix/sysv/linux/configure: Regenerated.
40553         * sysdeps/unix/sysv/linux/kernel-features.h
40554         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40555         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40556         kernel versions.
40557         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40558         (__ASSUME_FUTEX_REQUEUE): Remove.
40559         (__ASSUME_STATFS64): Define unconditionally.
40560         (__ASSUME_AT_SECURE): Likewise.
40561         (__ASSUME_CORRECT_SI_PID): Likewise.
40562         (__ASSUME_TGKILL): Define without depending on kernel version for
40563         i386.
40564         (__ASSUME_UTIMES): Likewise.
40565         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40566         kernel version.
40567         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40568         (__ASSUME_TMPFS_NAME): Likewise.
40569         * README: Update reference to Linux kernel versions.
40571 2012-08-02  Marek Polacek  <polacek@redhat.com>
40573         [BZ# 14150]
40574         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40575         libc_cv_asm_type_prefix with %.
40576         * configure: Regenerated.
40577         * include/libc-symbols.h: Remove comment about
40578         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40579         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40580         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40581         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40582         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40583         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40584         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40585         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40586         * elf/tst-unique2mod1.c: Likewise.
40587         * elf/tst-unique1mod2.c: Likewise.
40588         * elf/tst-unique1mod1.c: Likewise.
40589         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40590         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40591         Replace ASM_TYPE_DIRECTIVE with .type.
40592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40593         * sysdeps/i386/sysdep.h: Likewise.
40594         * sysdeps/x86_64/sysdep.h: Likewise.
40595         * sysdeps/sh/sysdep.h: Likewise.
40596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40597         Do not define ASM_TYPE_DIRECTIVE.
40598         * sysdeps/powerpc/sysdep.h: Likewise.
40599         * sysdeps/powerpc/powerpc32/sysdep.h:
40600         Replace ASM_TYPE_DIRECTIVE with .type.
40601         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40602         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40603         * sysdeps/i386/fpu/e_powf.S: Likewise.
40604         * sysdeps/i386/fpu/e_expl.S: Likewise.
40605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40606         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40607         * sysdeps/i386/fpu/e_pow.S: Likewise.
40608         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40609         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40610         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40611         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40612         * sysdeps/i386/fpu/e_log2.S: Likewise.
40613         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40614         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40615         * sysdeps/i386/fpu/e_powl.S: Likewise.
40616         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40617         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40618         * sysdeps/i386/fpu/e_logl.S: Likewise.
40619         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40620         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40621         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40622         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40623         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40624         * sysdeps/i386/fpu/e_log.S: Likewise.
40625         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40626         * sysdeps/i386/fpu/e_logf.S: Likewise.
40627         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40628         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40629         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40630         * sysdeps/i386/fpu/e_log10.S: Likewise.
40631         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40632         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40633         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40634         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40635         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40636         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40637         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40638         * sysdeps/i386/i686/strtok.S: Likewise.
40639         * sysdeps/i386/i386-mcount.S: Likewise.
40640         * sysdeps/i386/strtok.S: Likewise.
40641         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40642         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40643         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40644         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40645         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40646         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40647         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40648         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40649         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40650         * sysdeps/x86_64/_mcount.S: Likewise.
40651         * sysdeps/x86_64/strtok.S: Likewise.
40652         * sysdeps/sh/_mcount.S: Likewise.
40654 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40656         * libio/iofopen.c: Include <fcntl.h>.
40657         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40658         (_IO_fopen64, fopen64): Define as aliases.
40659         * libio/iofopen64.c: Include <fcntl.h>.
40660         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40661         Conditionalize body on this.
40662         * sysdeps/wordsize-64/iofopen.c: File removed.
40663         * sysdeps/wordsize-64/iofopen64.c: File removed.
40665 2012-08-01  Marek Polacek  <polacek@redhat.com>
40667         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40668         Use dlfcn directly instead of a variable.
40669         (binfmt-subdir): Do not define.
40670         (dlfcn): Likewise.
40672 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40675         Remove all definitions.
40676         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40677         <kernel-features.h>.
40678         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40679         (miss_F_GETOWN_EX): Remove all definitions.
40680         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40681         macro definition.
40682         [!__ASSUME_FCNTL64]: Remove conditional code.
40683         [__ASSUME_FCNTL64]: Make code unconditional.
40684         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40685         <kernel-features.h>.
40686         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40687         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40688         (lockf64) [__NR_fcntl64]: Make code unconditional.
40689         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40691         * sysdeps/unix/sysv/linux/kernel-features.h
40692         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40693         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40694         Make code unconditional.
40695         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40696         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40698         [__NR_vfork]: Make code unconditional.
40699         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40700         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40702         [__NR_vfork]: Make code unconditional.
40703         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40704         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40706 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40708         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40709         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40711         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40712         Define mkstemp64 as an alias.
40713         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40714         Define mkstemps64 as an alias.
40715         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40716         Define mkostemp64 as an alias.
40717         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40718         Define mkostemps64 as an alias.
40719         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40720         Conditionalize body on this.
40721         * misc/mkostemp64.c: Likewise.
40722         * misc/mkostemps64.c: Likewise.
40723         * misc/mkstemps64.c: Likewise.
40724         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40725         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40726         * sysdeps/wordsize-64/mkostemp.c: File removed.
40727         * sysdeps/wordsize-64/mkstemp.c: File removed.
40728         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40729         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40730         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40731         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40733         [BZ #14138]
40734         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40735         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40736         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40737         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40739         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40740         compat_symbol macros from <shlib-compat.h> rather than the underlying
40741         default_symbol_version and symbol_version macros, so that DEFAULT
40742         lines in shlib-versions are respected.
40743         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40745 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40747         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40748         Declare with warn_unused_result.
40749         (setgid, setregid, setegid, setresgid): Likewise.
40750         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40751         Likewise.
40752         * WUR-REPORT: Remove set*id functions.
40754 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40756         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40758 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40760         [BZ #10191]
40761         * include/sys/socket.h (__libc_accept, __libc_accept4):
40762         Add attribute_hidden.
40763         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40766         use of PTR_MANGLE.
40767         * inet/getnetgrent_r.c (setup): Likewise.
40769         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40771 2012-07-31  David S. Miller  <davem@davemloft.net>
40773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40775 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40777         [BZ #13629]
40778         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40779         value between 1.0 and 2.0 and smaller part has absolute value less
40780         than 1.0.
40781         * math/s_clog10.c (__clog10): Likewise.
40782         * math/s_clog10f.c (__clog10f): Likewise.
40783         * math/s_clog10l.c (__clog10l): Likewise.
40784         * math/s_clogf.c (__clogf): Likewise.
40785         * math/s_clogl.c (__clogl): Likewise.
40786         * math/libm-test.inc (clog_test): Add more tests.
40787         (clog10_test): Likewise.
40788         * sysdeps/i386/fpu/libm-test-ulps: Update.
40789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40791 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40793         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40794         Exit with zero in case no suitable GID is found, and write a
40795         message to standard error.
40797 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40799         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40800         rather than to 1.
40801         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40802         (MAXPATHLEN): Removed.
40803         (NOGROUP, NODEV): New macros.
40804         (setbit, clrbit, isset, isclr): New macros.
40805         (howmany, roundup, powerof2): New macros.
40806         (DEV_BSIZE): New macro.
40808         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40809         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40811         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40812         definition on [!__NO_LONG_DOUBLE_MATH].
40814         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40815         PTR_MANGLE and PTR_DEMANGLE.
40817         * socket/accept4.c (accept4): Rename to __libc_accept4.
40818         Define accept4 as a weak alias.
40820         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40821         on [_DIRENT_HAVE_D_TYPE].
40822         * io/ftw.c (ftw_dir): Likewise.
40824         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40826         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40828         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40829         Use the BSD numbers rather than the arbitrary ones we had.
40830         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40831         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40832         (SIGXCPU, SIGXFSZ): New macros.
40833         (_NSIG): Now 32.
40835         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40836         initializer on [_LIBC_REENTRANT].
40838         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40839         definitions inside [_POSIX_MAPPED_FILES].
40841         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40843         * dirent/opendir.c: Include <fcntl.h>.
40845         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40846         (__libc_getspecific): Likewise.
40847         (__libc_key_create): Likewise.
40849         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40850         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40851         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40852         (tmpfile64): Define as alias.
40853         * sysdeps/wordsize-64/tmpfile.c: File removed.
40854         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40855         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40858         * stdio-common/vfscanf.c: Include <stdbool.h>.
40859         * nss/makedb.c: Likewise.
40860         * stdio-common/_i18n_number.h: Likewise.
40861         * argp/argp-help.c: Likewise.
40862         * posix/wordexp.c: Likewise.
40863         * sysdeps/posix/spawni.c: Likewise.
40864         * nss/nss_files/files-initgroups.c: Likewise.
40865         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40866         * nss/nss_files/files-initgroups.c: Likewise.
40867         * nss/nss_db/db-netgrp.c: Likewise.
40868         * nss/nss_db/db-initgroups.c: Likewise.
40869         * io/fchmodat.c: Include <sys/stat.h>.
40871         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40872         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40874         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40875         [HAVE_MMAP].
40877         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40878         Add multiple inclusion protection.
40880 2012-07-27  David S. Miller  <davem@davemloft.net>
40882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40884 2012-07-27  Gary Benson  <gbenson@redhat.com>
40886         [BZ #14298]
40887         * elf/rtld.c: Include <stap-probe.h>.
40888         (dl_main): Added static probes "init_start" and "init_complete".
40889         * elf/dl-load.c: Include <stap-probe.h>.
40890         (lose): Take new parameter "nsid".
40891         Added static probe "map_failed".
40892         (_dl_map_object_from_fd): Pass namespace id to lose.
40893         Added static probe "map_start".
40894         (open_verify): Pass namespace id to lose.
40895         * elf/dl-open.c: Include <stap-probe.h>.
40896         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40897         and "reloc_complete".
40898         * elf/dl-close.c: Include <stap-probe.h>.
40899         (_dl_close_worker): Added static probes "unmap_start" and
40900         "unmap_complete".
40901         * elf/rtld-debugger-interface.txt: New file documenting the above.
40903 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40905         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40906         rather than a string variable.
40907         * sunrpc/rpc_main.c (h_output): Likewise.
40908         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40910 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40912         * inet/check_native.c: New file.
40914 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40916         [BZ #13629]
40917         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40918         if larger part has absolute value 1.0.
40919         * math/s_clog10.c (__clog10): Likewise.
40920         * math/s_clog10f.c (__clog10f): Likewise.
40921         * math/s_clog10l.c (__clog10l): Likewise.
40922         * math/s_clogf.c (__clogf): Likewise.
40923         * math/s_clogl.c (__clogl): Likewise.
40924         * math/libm-test.inc (clog_test): Add more tests.
40925         (clog10_test): Likewise.
40926         * sysdeps/i386/fpu/libm-test-ulps: Update.
40927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40929         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40930         (pltexit): Likewise.
40931         (La_regs): Likewise.
40932         (La_retval): Likewise.
40933         (int_retval): Likewise.
40934         Update #error for removed macros to refer only to definitions in
40935         tst-audit.h.
40936         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40937         macro.
40938         (pltexit): Likewise.
40939         (La_regs): Likewise.
40940         (La_retval): Likewise.
40941         (int_retval): Likewise.
40942         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40943         macro.
40944         (pltexit): Likewise.
40945         (La_regs): Likewise.
40946         (La_retval): Likewise.
40947         (int_retval): Likewise.
40948         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40949         macro.
40950         (pltexit): Likewise.
40951         (La_regs): Likewise.
40952         (La_retval): Likewise.
40953         (int_retval): Likewise.
40954         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40955         macro.
40956         (pltexit): Likewise.
40957         (La_regs): Likewise.
40958         (La_retval): Likewise.
40959         (int_retval): Likewise.
40960         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40961         macro.
40962         (pltexit): Likewise.
40963         (La_regs): Likewise.
40964         (La_retval): Likewise.
40965         (int_retval): Likewise.
40966         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40967         macro.
40968         (pltexit): Likewise.
40969         (La_regs): Likewise.
40970         (La_retval): Likewise.
40971         (int_retval): Likewise.
40972         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40973         macro definitions in tst-audit.h.
40974         * sysdeps/i386/tst-audit.h: New file.
40975         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40976         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40977         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40978         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40979         * sysdeps/sh/tst-audit.h: Likewise.
40980         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40981         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40982         * sysdeps/x86_64/tst-audit.h: Likewise.
40984 2012-07-26  Andreas Jaeger  <aj@suse.de>
40986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40987         ptrace.
40989         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40990         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40991         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40992         PTRACE_O_MASK.
40993         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40994         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40995         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40997         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40998         value.
41000         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41001         _sigsys.
41002         (si_call_addr, si_syscall, si_arch): Define new macro.
41003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41004         _sigsys.
41005         (si_call_addr, si_syscall, si_arch): Define new marcro.
41006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41007         _sigsys.
41008         (si_call_addr, si_syscall, si_arch): Define new macro.
41009         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41010         _sigsys.
41011         (si_call_addr, si_syscall, si_arch): Define new macro.
41013 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41015         [BZ #13717]
41016         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41017         Change to 2.4.21 where previously 2.4.1.
41018         * sysdeps/unix/sysv/linux/configure: Regenerated.
41019         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41020         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41021         Linux kernel version.
41022         (__ASSUME_STD_AUXV): Remove.
41023         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41024         kernel version.
41025         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41026         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41027         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41028         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41029         (__ASSUME_NETLINK_SUPPORT): Likewise.
41030         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41031         (__no_netlink_support): Remove conditional definition.
41032         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41033         Remove.
41034         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41035         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41036         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41037         (if_nameindex_ioctl): Remove.
41038         (if_nameindex_netlink): Do not handle __no_netlink_support.
41039         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41040         code.
41041         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41042         Remove conditional code.
41043         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41044         code.
41045         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41046         unconditional.
41047         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41048         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41049         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41050         Remove.
41051         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41052         [!__ASSUME_STD_AUXV]: Remove conditional code.
41053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41054         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41055         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41057         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41058         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41059         code.
41060         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41062         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41063         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41064         conditional code.
41065         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41067         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41068         code.
41069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41070         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41071         conditional code.
41072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41073         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41074         code unconditional.
41075         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41076         conditional code.
41077         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41078         unconditional.
41079         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41080         conditional code.
41081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41082         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41083         unconditional.
41084         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41085         conditional code.
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41087         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41088         code unconditional.
41089         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41090         conditional code.
41091         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41092         unconditional.
41093         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41094         conditional code.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41096         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41097         code unconditional.
41098         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41099         conditional code.
41100         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41101         unconditional.
41102         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41103         conditional code.
41105 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
41107         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41108         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41109         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41110         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41111         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41112         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41113         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41114         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41115         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41116         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41117         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41118         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41119         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41120         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41121         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41122         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41123         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41124         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41125         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41127         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41128         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41131 2012-07-25  Florian Weimer  <fweimer@redhat.com>
41133         * Versions.def: Add GLIBC_2.17.
41134         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41135         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41136         Introduce __libc_secure_getenv.
41137         * stdlib/Versions (2.17): Add secure_getenv
41138         (GLIBC_PRIVATE): Add __libc_secure_getenv.
41139         * stdlib/secure-getenv.c: Rename __secure_getenv to
41140         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
41141         symbol __secure_getenv for GLIBC_2.0.
41142         * stdlib/tst-secure-getenv.c: New.
41143         * stdlib/Makefile (tests): Add testcase.
41144         * manual/startup.texi (Environment Access): Document
41145         secure_getenv.
41146         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41147         __libc_secure_getenv.
41148         * inet/ruserpass.c (ruserpass): Likewise.
41149         * malloc/mtrace.c (mtrace): Likewise.
41150         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41151         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41152         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41153         * sysdeps/posix/tempname.c: Likewise.  Evaluate
41154         HAVE_SECURE_GETENV.
41155         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41156         __secure_getenv to __libc_secure_getenv.
41157         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41159         Likewise.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41161         Likewise.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41170 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41172         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41173         (struct La_i86_retval): Likewise.
41174         (struct La_x86_64_regs): Likewise.
41175         (struct La_x86_64_retval): Likewise.
41176         (struct La_x32_regs): Likewise.
41177         (struct La_x32_retval): Likewise.
41178         (struct La_ppc32_regs): Likewise.
41179         (struct La_ppc32_retval): Likewise.
41180         (struct La_ppc64_regs): Likewise.
41181         (struct La_ppc64_retval): Likewise.
41182         (struct La_sh_regs): Likewise.
41183         (struct La_sh_retval): Likewise.
41184         (struct La_s390_32_regs): Likewise.
41185         (struct La_s390_32_retval): Likewise.
41186         (struct La_s390_64_regs): Likewise.
41187         (struct La_s390_64_retval): Likewise.
41188         (struct La_sparc32_regs): Likewise.
41189         (struct La_sparc32_retval): Likewise.
41190         (struct La_sparc64_regs): Likewise.
41191         (struct La_sparc64_retval): Likewise.
41192         (struct audit_ifaces): Remove architecture-specific pltenter and
41193         pltexit members.
41194         * sysdeps/i386/ldsodefs.h: New file.
41195         * sysdeps/powerpc/ldsodefs.h: Likewise.
41196         * sysdeps/s390/ldsodefs.h: Likewise.
41197         * sysdeps/sh/ldsodefs.h: Likewise.
41198         * sysdeps/sparc/ldsodefs.h: Likewise.
41199         * sysdeps/x86_64/ldsodefs.h: Likewise.
41201 2012-07-25  Marek Polacek  <polacek@redhat.com>
41203         [BZ #6808]
41204         * math/libm-test.inc (yn_test): Add another test.
41205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41206         to ERANGE when the result is +-Inf.
41207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41208         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41209         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41210         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41212 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41214         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41215         equal to 0.
41216         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41217         clock_t.
41218         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41220 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41222         * configure.in <sysdeps resolving>: Correct printing
41223         Implies_before.
41224         * configure: Regenerate.
41226 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41228         * math/w_ilogb.c: Include <limits.h>.
41229         * math/w_ilogbl.c: Likewise.
41231 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41233         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41234         va_copy.  Document allowing for unavailable va_copy only as
41235         pre-C99 compatibility.
41236         * manual/string.texi (Copying and Concatenation): Use va_copy
41237         instead of __va_copy in concat example.
41239 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41241         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41242         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41243         it if not null.
41245         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41246         with O_NOLINK passed to __file_name_lookup.
41248         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41249         with O_NOLINK passed to __file_name_lookup.
41251         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41252         negative N or less than NGIDS.
41254         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41255         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41256         enough.  Use memcpy instead of strncpy.
41258 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41260         * elf/Makefile (check-data): Remove.
41261         (localplt.data): New vpath directive.
41262         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41263         instead of $(check-data).
41264         * scripts/data/localplt-generic.data: Move to ...
41265         * sysdeps/generic/localplt.data: ... here.
41266         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41267         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41268         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41270         ... here.
41271         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41273         ... here.
41274         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41276         ... here.
41277         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41279         ... here.
41280         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41282         ... here.
41283         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41285         ... here.
41287 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41289         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41290         PPC32 and PPC64 files.
41291         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41292         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41294 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41296         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41297         __makecontext_ret to ...
41298         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41299         ... here and call exit if uc_link is NULL.  New file.
41300         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41301         __makecontext_ret.S.
41302         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41303         __makecontext_ret to ...
41304         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41305         ... here and call exit if uc_link is NULL.  New file.
41306         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41307         __makecontext_ret.S.
41309 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41311         * elf/elf.h (R_390_IRELATIVE): New definition.
41312         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41313         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
41314         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41315         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41316         (elf_machine_lazy_rel): Likewise.
41317         * sysdeps/s390/dl-irel.h: New file.
41318         * sysdeps/s390/s390-64/memcpy.S: New asm code.
41319         * sysdeps/s390/s390-64/memset.S: New asm code.
41320         * sysdeps/s390/s390-64/memcmp.S: New asm code.
41321         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41322         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41323         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41324         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41325         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41326         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41327         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41328         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41329         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41330         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41331         * sysdeps/s390/s390-32/memcpy.S: New asm code.
41332         * sysdeps/s390/s390-32/memset.S: New asm code.
41333         * sysdeps/s390/s390-32/memcmp.S: New asm code.
41335 2012-07-17  Marek Polacek  <polacek@redhat.com>
41337         [BZ #14349]
41338         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41339         * sysdeps/s390/s390-64/configure.in: Likewise.
41340         * sysdeps/sparc/configure.in: Likewise.
41341         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41342         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41343         * sysdeps/i386/configure.in: Likewise.
41344         * sysdeps/x86_64/configure.in: Likewise.
41345         * sysdeps/sh/configure.in: Likewise.
41346         * sysdeps/s390/s390-32/configure: Regenerated.
41347         * sysdeps/s390/s390-64/configure: Likewise.
41348         * sysdeps/x86_64/configure: Likewise.
41349         * sysdeps/sh/configure: Likewise.
41350         * sysdeps/powerpc/powerpc64/configure: Likewise.
41351         * sysdeps/powerpc/powerpc32/configure: Likewise.
41352         * sysdeps/sparc/configure: Likwise.
41353         * sysdeps/i386/configure: Likewise.
41355         * elf/dl-open.c: Comment fixes.
41357 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41359         * Makefile [CXX] (check-data): Remove.
41360         [CXX] (c++-types.data): New vpath directive.
41361         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41362         vpath.  Do not allow for C++ type data being missing.
41363         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41364         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41365         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41366         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41367         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41368         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41369         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41371         ... here.
41372         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41374         ... here.
41375         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41377         ... here.
41378         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41380         ... here.
41381         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41383         ... here.
41384         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41386         ... here.
41387         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41389         ... here.
41390         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41393         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41394         definitions to architecture-specific files.
41395         (TLS_IE): Likewise.
41396         (TLS_LD): Likewise.
41397         (TLS_GD): Likewise.
41398         * sysdeps/i386/tls-macros.h: New file.
41399         * sysdeps/powerpc/tls-macros.h: Likewise.
41400         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41401         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41402         * sysdeps/sh/tls-macros.h: Likewise.
41403         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41404         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41405         * sysdeps/x86_64/tls-macros.h: Likewise.
41407 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41409         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41410         zero value for regular exit case.
41412         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41413         (__start_context): Preserve zero value for regular exit case.
41415 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41416             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41418         * manual/setjmp.texi (setcontext): Clarify normal process
41419         termination when uc_link is the null pointer.
41420         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41421         exit call.
41423 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41425         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41426         preprocessor.  Test for each exception mask separately.
41428 2012-07-16  Andreas Jaeger  <aj@suse.de>
41430         * po/ru.po: Update from translation team.
41432 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41434         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41435         equal to 0.
41436         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41437         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41438         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41439         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41442 2012-07-13  Andreas Jaeger  <aj@suse.de>
41444         * po/fr.po: Update from translation team.
41446 2012-07-12  Marek Polacek  <polacek@redhat.com>
41448         [BZ #14173]
41449         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41450         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41451         loop condition.
41453 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41455         [BZ #13717]
41456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41457         Change to 2.4.1 where previously 2.4.0.
41458         * sysdeps/unix/sysv/linux/configure: Regenerated.
41459         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41460         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41461         version.
41462         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41463         (__ASSUME_AT_CLKTCK): Remove.
41464         (__ASSUME_AT_PAGESIZE): Likewise.
41465         (__ASSUME_AT_XID): Likewise.
41466         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41467         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41468         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41469         unconditionally.
41470         (HAVE_AUX_PAGESIZE): Likewise.
41471         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41472         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41473         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41475 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41477         [BZ #14307]
41478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41479         the temporary buffer used to invoke __gethostbyname2_r,
41480         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41481         host_data / struct gaih_addrtuple.
41482         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41483         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41484         header file nss/nsswitch.h.
41485         * nss/nsswitch.h (global scope): Add definition of implementation
41486         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41487         resolv/nss_dns/dns-host.c).
41489 2012-07-11  Andreas Jaeger  <aj@suse.de>
41491         * po/fr.po: Update from translation team.
41493         * po/sv.po: Update from translation team
41494         * po/fr.po: Another update from translation team.
41496 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41499         for subnormals or multiply small sinh result by itself.
41500         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41503 2012-07-11  David S. Miller  <davem@davemloft.net>
41505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41507 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41509         [BZ #14347]
41510         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41511         (INTERNAL_MARK): Shift it here.
41513 2012-07-10  Marek Polacek  <polacek@redhat.com>
41515         [BZ #14151]
41516         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41517         libc_cv_asm_global_directive with .globl.
41518         * configure: Regenerated.
41519         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41520         with .globl.
41521         * sysdeps/i386/configure: Regenerated.
41522         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41523         with .globl.
41524         * sysdeps/x86_64/configure: Regenerated.
41525         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41526         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41527         * elf/tst-unique2mod2.c: Likewise.
41528         * elf/tst-unique2mod1.c: Likewise.
41529         * elf/tst-unique1mod2.c: Likewise.
41530         * elf/tst-unique1mod1.c: Likewise.
41531         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41532         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41533         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41534         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41535         * sysdeps/mach/sysdep.h: Likewise.
41536         * sysdeps/i386/sysdep.h: Likewise.
41537         * sysdeps/i386/i386-mcount.S: Likewise.
41538         * sysdeps/x86_64/_mcount.S: Likewise.
41539         * sysdeps/x86_64/sysdep.h: Likewise.
41540         * sysdeps/sh/_mcount.S: Likewise.
41541         * sysdeps/sh/sysdep.h: Likewise.
41542         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41543         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41544         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41545         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41546         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41547         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41548         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41549         * locale/localeinfo.h: Likewise.
41550         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41551         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41553 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41555         [BZ #14336]
41556         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41557         system".
41558         * manual/message.texi (The Uniforum approach): Likewise.
41559         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41560         (glibc iconv Implementation): Likewise.
41562 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41564         [BZ #14337]
41565         * math/s_clog.c (__clog): Avoid scaling a value down where that
41566         could result in underflow.
41567         * math/s_clog10.c (__clog10): Likewise.
41568         * math/s_clog10f.c (__clog10f): Likewise.
41569         * math/s_clog10l.c (__clog10l): Likewise.
41570         * math/s_clogf.c (__clogf): Likewise.
41571         * math/s_clogl.c (__clogl): Likewise.
41572         * math/libm-test.inc (clog_test): Add more tests.
41573         (clog10_test): Likewise.
41574         * sysdeps/i386/fpu/libm-test-ulps: Update.
41575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41577 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41579         [BZ #14283]
41580         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41581         by 7 not 8 to examine high bit of fractional part.
41583         [BZ #14042]
41584         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41585         for call to __mcount_internal.
41586         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41587         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41588         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41590 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41592         [BZ #14154]
41593         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41594         approximation for values within 0x1p-13f of an odd multiple of
41595         pi/4.
41596         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41597         exception.  Add more tests.
41598         * sysdeps/i386/fpu/libm-test-ulps: Update.
41600         [BZ #6778]
41601         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41602         inputs and return -1 for them.  Do not check for +Inf in case not
41603         reachable for +Inf.
41604         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41605         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41606         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41607         and return -1 for them.  Do not check for +Inf in case not
41608         reachable for +Inf.
41609         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41610         define.
41611         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41612         and return -1 for them.  Do not check for +Inf in case not
41613         reachable for +Inf.
41614         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41615         spurious underflow.
41616         * sysdeps/i386/fpu/libm-test-ulps: Update.
41617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41619 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41621         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41623 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41625         [BZ #14157]
41626         [BZ #14331]
41627         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41628         could result in spurious underflow.  Scale down values above
41629         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41630         * math/s_csqrtf.c (__csqrtf): Likewise.
41631         * math/s_csqrtl.c (__csqrtl): Likewise.
41632         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41633         spurious underflow.
41634         * sysdeps/i386/fpu/libm-test-ulps: Update.
41635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41637 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41639         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41640         xopen-msg.sed.
41641         * catgets/xopen-msg.awk: New file.
41642         * catgets/xopen-msg.sed: Removed.
41644         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41645         po2text.sed.
41646         * intl/po2test.awk: New file.
41647         * intl/po2test.sed: Removed.
41649 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41651         [BZ #14328]
41652         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41653         or multiply small sinh result by itself.
41654         * math/s_ctanf.c (__ctanf): Likewise.
41655         * math/s_ctanh.c (__ctanh): Likewise.
41656         * math/s_ctanhf.c (__ctanhf): Likewise.
41657         * math/s_ctanhl.c (__ctanhl): Likewise.
41658         * math/s_ctanl.c (__ctanl): Likewise.
41659         * math/libm-test.inc (ctan_test_tonearest): New function.
41660         (ctan_test_towardzero): Likewise.
41661         (ctan_test_downward): Likewise.
41662         (ctan_test_upward): Likewise.
41663         (ctanh_test_tonearest): Likewise.
41664         (ctanh_test_towardzero): Likewise.
41665         (ctanh_test_downward): Likewise.
41666         (ctanh_test_upward): Likewise.
41667         (main): Call these new functions.
41668         * sysdeps/i386/fpu/libm-test-ulps: Update.
41669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41671 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41673         * .gitignore: Delete /ports entry.
41675 2012-07-03  Andreas Jaeger  <aj@suse.de>
41677         * po/bg.po: Update from translation team.
41678         * po/cs.po: Likewise.
41679         * po/de.po: Likewise.
41680         * po/hr.po: Likewise.
41681         * po/nl.pl: Likewise.
41682         * po/pl.po: Likewise.
41683         * po/vi.po: Likewise.
41685 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41687         * Makeconfig [!+link] (+link-before-libc): New variable.
41688         [!+link] (+link-after-libc): Likewise.
41689         [!+link] (+link-tests): Likewise.
41690         [!+link] (+link): Define in terms of $(+link-before-libc) and
41691         $(+link-after-libc).
41692         [!+link-static] (+link-static-before-libc): New variable.
41693         [!+link-static] (+link-static-after-libc): Likewise.
41694         [!+link-static] (+link-static-tests): Likewise.
41695         [!+link-static] (+link-static): Define in terms of
41696         $(+link-static-before-libc) and $(+link-static-after-libc).
41697         [build-shared] (link-libc-before-gnulib): New variable.
41698         [build-shared] (link-libc-tests): Likewise.
41699         [build-shared] (link-libc): Define in terms of
41700         $(link-libc-before-gnulib).
41701         [!build-shared] (link-libc-tests): New variable.
41702         (link-libc-static-tests): New variable.
41703         [!gnulib] (gnulib-arch): New variable.
41704         [!gnulib] (gnulib-tests): Likewise.
41705         [!gnulib] (static-gnulib-arch): Likewise.
41706         [!gnulib] (static-gnulib-tests): Likewise.
41707         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41708         Define with "=" instead of ":=".
41709         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41710         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41711         * Rules (binaries-all-notests): New variable.
41712         (binaries-all-tests): Likewise.
41713         (binaries-static-notests): Likewise.
41714         (binaries-static-tests): Likewise.
41715         (binaries-all): Define using $(binaries-all-notests) and
41716         $(binaries-all-tests).
41717         (binaries-static): Define using $(binaries-static-notests) and
41718         $(binaries-static-tests).
41719         (binaries-shared-tests): New variable.
41720         (binaries-shared-notests): Likewise.
41721         (binaries-shared): Remove variable.
41722         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41723         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41724         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41725         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41726         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41727         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41728         * elf/Makefile (sln-modules): New variable.
41729         (extra-objs): Add $(sln-modules:=.o).
41730         (ldconfig-modules): Add static-stubs.
41731         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41732         * elf/static-stubs.c: New file.
41734         [BZ #14283]
41735         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41736         by 7 not 8 to examine high bit of fractional part.  Use volatile
41737         variables when splitting into final array of floats if
41738         __FLT_EVAL_METHOD__ != 0.
41739         * math/libm-test.inc (cos_test): Add another test.
41740         (sin_test): Likewise.
41741         * sysdeps/i386/fpu/libm-test-ulps: Update.
41743         [BZ #14273]
41744         * math/libm-test.inc (cosh_test): Add more tests.
41746         * version.h (RELEASE): Set to "development".
41747         (VERSION): Set to "2.16.90".
41749 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41751         * NEWS: Update copyright. Remove last-updated date.
41752         Mention math library bug fixes and timezone data changes.
41753         * README: Mention GNU/Hurd, x32, and HPPA support status.
41755 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41757         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41759 2012-06-27  Andreas Jaeger  <aj@suse.de>
41761         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41763 2012-06-25  Andreas Jaeger  <aj@suse.de>
41765         * sysdeps/s390/fpu/libm-test-ulps: Update.
41767 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41768             Thomas Schwinge  <thomas@codesourcery.com>
41770         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41771         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41773         fanotify_mark.
41775 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41777         * sysdeps/mach/start.c: Remove file.
41778         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41779         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41780         * sysdeps/sh/init-first.c: Likewise.
41782         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41783         registers for frame unwinding purposes, add CFI directives.
41784         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41785         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41786         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41787         Likewise.
41789         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41790         __fortify_fail returning.
41791         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41793         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41794         sysdeps/sh/____longjmp_chk.S.
41795         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41796         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41797         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41798         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41800         * sysdeps/sh/abort-instr.h: New file.
41801         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41802         process in case exit returns.
41804         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41805         initialize the GOT register before use.
41807         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41808         calculation of ARGC > 4.
41810         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41811         meaningful names to some local labels.
41813 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41814             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41816         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41817         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41818         (__arch_compare_and_exchange_val_16_acq): Likewise.
41819         (__arch_compare_and_exchange_val_32_acq): Likewise.
41820         (atomic_exchange_and_add): Fix gUSA sequence.
41821         (atomic_add): Likewise.
41822         (atomic_add_negative): Likewise.
41823         (atomic_add_zero): Likewise.
41824         (atomic_bit_test_set): Likewise.
41826 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41828         [BZ #13579]
41829         * include/link.h (struct link_map): Add l_free_initfini.
41830         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41831         l_initfini.
41832         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41833         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41834         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41835         set.
41837 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41839         * configure.in: Use AC_LANG_SOURCE.
41840         * configure: Regenerate.
41842 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41844         * configure.in (libc_cv_localstatedir): New substituted variable.
41845         * configure: Regenerated.
41846         * config.make.in (localstatedir): New variable, substituted from
41847         libc_cv_localstatedir.
41848         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41849         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41850         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41851         * sysdeps/gnu/configure: Regenerated.
41853 2012-06-21  Jeff Law  <law@redhat.com>
41855         [BZ #14277]
41856         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41857         free.  Simplify list management for _LIBC case.
41859 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41861         [BZ #14273]
41862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41863         Clear sign bit of 64-bit integer value before comparing against
41864         overflow value.
41866         * sysdeps/mach/configure: Regenerated.
41868 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41870         [BZ #14278]
41871         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41873 2012-06-21  Jeff Law  <law@redhat.com>
41875         [BZ #13882]
41876         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41877         uint16_t for elements in the "seen" array to avoid char overflows.
41878         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41879         * elf/dl-open.c (dl_open_worker): Likewise.
41881 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41883         * scripts/list-sources.sh: Scan PORTS for translations.
41884         * po/libc.pot: Regenerated.
41886 2012-06-21  Andreas Jaeger  <aj@suse.de>
41888         [BZ #12194]
41889         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41890         warning.
41891         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41892         * bits/byteswap-16.h (__bswap_16): Likewise.
41893         * bits/byteswap.h (__bswap_constant_16): Likewise.
41895 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41897         [BZ #14117]
41898         * sysdeps/i386/fpu_control.h: Removed.
41899         * sysdeps/x86_64/fpu_control.h: Moved to ...
41900         * sysdeps/x86/fpu_control.h: Here.
41902         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41903         (_FPU_SETCW): Likewise.
41905 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41907         [BZ #14117]
41908         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41909         * sysdeps/x86/fpu/bits/mathinline.h: This.
41910         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41912         [BZ #14050]
41913         [BZ #14117]
41914         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41915         functions if __x86_64__ is defined.
41917 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41919         * string/endian.h: Add !__ASSEMBLER__ condition for including
41920         conversion interfaces.
41922 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41924         [BZ #14241]
41925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41926         of ABS(x) in calculating zero to negative powers other than odd
41927         integers.
41928         * math/libm-test.inc (pow_test): Add more tests.
41930 2012-06-15  Andreas Jaeger  <aj@suse.de>
41932         * manual/contrib.texi (Contributors): Update entry of Liubov
41933         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41934         Machado Filho.
41936 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41938         * string/string.h: Add __wur to GNU version of strerror_r.
41940 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41942         [BZ #14229]
41943         * string/Makefile (tests): Add tst-strtok_r.
41944         * string/tst-strtok_r.c: New file.
41945         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41946         RAX_LP/RDX_LP on SAVE_PTR.
41948 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41950         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41952 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41954         * libm_test.inc (csqrt_test): Allow more spurious underflow
41955         exceptions.
41956         (j0_test): Likewise.
41957         (j1_test): Likewise.
41958         (y0_test): Likewise.
41959         (y1_test): Likewise.
41961 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41963         * po/Makefile (libc.pot): Use UTF-8 charset.
41965 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41967         [BZ #14210]
41968         Suppress sign-conversion warning from FD_SET.
41969         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41970         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41971         not unsigned long int.
41972         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41974 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41976         [BZ #14050]
41977         [BZ #14117]
41978         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41979         __extern_always_inline instead of __extern_inline.
41980         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41981         (__signbit): Likewise.
41982         (__signbitl): Support C++ namespace.
41983         (lrintf): New inline function.
41984         (lrint): Likewise.
41985         (llrintf): Likewise.
41986         (llrint): Likewise.
41987         (fmaxf): Likewise.
41988         (fmax): Likewise.
41989         (fminf): Likewise.
41990         (fmin): Likewise.
41991         (rint): Likewise.
41992         (rintf): Likewise.
41993         (ceil): Likewise.
41994         (ceilf): Likewise.
41995         (floor): Likewise.
41996         (floorf): Likewise.
41997         (nearbyint): Likewise.
41998         (nearbyintf): Likewise.
42000 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
42002         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42003         non-default versions.
42005 2012-06-11  Roland McGrath  <roland@hack.frob.com>
42007         [BZ #14218]
42008         * manual/argp.texi (Argp): Reword argp_parse description slightly.
42010 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
42012         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42013         (FE_UPWARD, FE_DOWNWARD): Don't define.
42014         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42015         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42017         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42018         reading it.
42019         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42020         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42022 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42024         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42026         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42027         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42029 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
42031         [BZ #14117]
42032         * sysdeps/i386/fpu/bits/fenv.h: Removed.
42033         * sysdeps/i386/fpu/Implies: New file.
42034         * sysdeps/x86_64/fpu/Implies: Likewise.
42035         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42036         * sysdeps/x86/fpu/bits/fenv.h: This.
42038         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42039         __SSE_MATH__.
42041 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42043         [BZ #14134]
42044         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42045         character 0xffff that matches the last element of the
42046         conversion table.
42048 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42050         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42051         fmodl commit.
42053 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42056         values higher than 25.6283.
42058 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42060         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42061         subnormal exponent extraction and add some __builtin_expect.
42062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42063         Fix for subnormal mantissa calculation.
42065 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
42067         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42068         cpu2 is -1 and errno is not ENOSYS.
42070 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
42072         [BZ #14117]
42073         * sysdeps/i386/i486/bits/string.h: Renamed to ...
42074         * sysdeps/x86/bits/string.h: This.
42075         * sysdeps/x86_64/bits/string.h: Removed.
42077         * sysdeps/i386/i486/bits/string.h: Define inline functions only
42078         if not compiling for x86-64, but compiling for >= i486.
42080         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42081         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42083         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42084         New macro from Linux kernel 3.4.0.
42085         (FP_XSTATE_MAGIC2): Likewise.
42086         (FP_XSTATE_MAGIC2_SIZE): Likewise.
42087         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42088         (struct _fpx_sw_bytes): New struct.
42089         (struct _xsave_hdr): Likewise.
42090         (struct _ymmh_state): Likewise.
42091         (struct _xstate): Likewise.
42093         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42094         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42095         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42096         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42097         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42098         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42100         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42101         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42102         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42103         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42104         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42105         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42107 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42109         [BZ #13743]
42110         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42111         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42112         (sysdep_headers): Include sys/platform/ppc.h.
42113         * sysdeps/powerpc/test-gettimebase.c: Test for
42114         __ppc_get_timebase() to catch future ISA opcode/insn changes.
42115         * manual/Makefile (appendices): Include platform.texi.
42116         * manual/contrib.texi (Contributors): Update @node pointers.
42117         * manual/maint.texi (Maintenance): Likewise.
42118         (Platform): New node.
42119         * manual/platform.texi: New file.  Document the new features.
42121 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42122             Jakub Jelinek  <jakub@redhat.com>
42124         [BZ #14188]
42125         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42126         where __builtin_expect is unavailable.
42128 2012-06-03  David S. Miller  <davem@davemloft.net>
42130         * stdlib/longlong.h: Updated from GCC.
42132 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
42134         [BZ #14042]
42135         * sysdeps/powerpc/powerpc32/mcount.c: New file.
42136         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42137         __mcount_internal.
42138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42139         (GLIBC_2.16): Likewise.
42141 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42143         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42145 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42148         (default-abi): New variable.
42149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42150         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42151         variable.
42152         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42153         Likewise.
42154         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42155         Likewise.
42156         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42157         Likewise.
42159         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42160         definition.  Document in comment.
42162 2012-06-01  David S. Miller  <davem@davemloft.net>
42164         * stdlib/longlong.h: Updated from GCC.
42166 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42168         [BZ #14117]
42169         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42170         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42171         sys/debugreg.h sys/io.h here.
42172         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42173         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42174         sys/io.h.
42175         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42176         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42177         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42178         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42179         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42180         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42182         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42183         Define only if __x86_64__ is defined.
42185 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42187         [BZ #14048]
42188         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42189         Use int64_t for variable i.
42190         * math/libm-test.inc (fmod_test): Add more tests.
42192         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42193         z computation is not scheduled after fetestexcept.
42194         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42195         Use math_force_eval instead of asm to ensure calculation scheduled
42196         before exception test.
42197         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42198         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42200 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42203         computation is not scheduled after fetestexcept.
42205 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42207         [BZ #14117]
42208         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42209         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42211 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42213         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42214         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42216 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42218         [BZ #14117]
42219         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42220         <bits/wordsize.h>.
42221         (__WCHAR_MIN): Support __WORDSIZE == 64.
42222         (__WCHAR_MAX): Likewise.
42224         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42225         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42227         [BZ #14183]
42228         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42229         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42231         [BZ #14117]
42232         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42233         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42235         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42236         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42238         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42239         Defined to 1 if __x86_64__ isn't defined.
42240         (_STAT_VER_LINUX_OLD): New.
42241         (st_atime): Remove duplicate.
42242         (st_mtime): Likewise.
42243         (st_ctime): Likewise.
42245 2012-05-31  David S. Miller  <davem@davemloft.net>
42247         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42248         entries.
42250 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42252         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42253         gen-libm-test.pl.
42255         [BZ #14132]
42256         * elf/dl-reloc.c: Include <_itoa.h>.
42257         (_dl_reloc_bad_type): Remove use of INTUSE.
42258         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42259         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42260         * stdio-common/psiginfo.c (psiginfo): Likewise.
42261         * stdio-common/psignal.c (psignal): Likewise.
42262         * string/strsignal.c (strsignal): Likewise.
42263         * include/signal.h (_sys_siglist): Declare hidden proto.
42264         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42265         INTVARDEF with libc_hidden_data_def.
42266         * stdio-common/itoa-udigits.c: Likewise.
42267         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42268         (_itoa_lower_digits_internal): Remove declaration.
42269         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42270         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42271         (_sys_sigabbrev_internal): Remove aliases.
42272         (_sys_siglist): Define hidden alias.
42274 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42277         bits/sysctl.h.
42279 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42281         [BZ #14117]
42282         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42283         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42285         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42286         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42287         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42288         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42290         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42292         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42293         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42294         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42296         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42297         with __addr.
42298         (insw): Likewise.
42299         (insl): Likewise.
42300         (outsb): Likewise.
42301         (outsw): Likewise.
42302         (outsl): Likewise.
42304         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42305         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42306         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42308         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42309         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42310         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42311         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42312         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42313         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42315         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42316         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42318         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42319         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42321         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42322         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42323         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42325         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42326         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42327         to ...
42328         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42330         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42331         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42332         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42334         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42335         for x86-64.
42336         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42338 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
42340         * math/math.h (M_El): Use two more decimal places.
42341         (M_LOG2El): Likewise.
42342         (M_LOG10El): Likewise.
42343         (M_LN2l): Likewise.
42344         (M_LN10l): Likewise.
42345         (M_PIl): Likewise.
42346         (M_PI_2l): Likewise.
42347         (M_PI_4l): Likewise.
42348         (M_1_PIl): Likewise.
42349         (M_2_PIl): Likewise.
42350         (M_2_SQRTPIl): Likewise.
42351         (M_SQRT2l): Likewise.
42352         (M_SQRT1_2l): Likewise.
42354 2012-05-31  David S. Miller  <davem@davemloft.net>
42356         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42357         values between float registers.
42358         * sysdeps/sparc/sparc64/memset.S: Likewise.
42359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42361 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42363         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42364         -D_FORTIFY_SOURCE=1.
42365         (CPPFLAGS-tst-longjmp_chk.c): Define.
42366         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42367         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42368         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42369         CFLAGS-tst-wchar-h.c.
42371 2012-05-31  Marek Polacek  <polacek@redhat.com>
42373         [BZ #14132]
42374         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42375         __endmntent_internal): Remove declaration.
42376         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42377         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42378         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42380 2012-05-30  David S. Miller  <davem@davemloft.net>
42382         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42383         (___Q_simulate_exceptions): Use real FP ops rather than writing
42384         into the %fsr.
42385         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42386         Likewise.
42388 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42390         [BZ #14117]
42391         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42392         * sysdeps/x86/bits/xtitypes.h: This.
42394         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42395         * sysdeps/x86/bits/wordsize.h: This.
42397         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42398         * sysdeps/x86/bits/huge_vall.h: This.
42400         * sysdeps/i386/bits/select.h: Removed.
42401         * sysdeps/x86_64/bits/select.h: Renamed to ...
42402         * sysdeps/x86/bits/select.h: This.
42404         * sysdeps/i386/bits/setjmp.h: Removed.
42405         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42406         * sysdeps/x86/bits/setjmp.h: This.
42408         * sysdeps/i386/bits/mathdef.h: Removed.
42409         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42410         * sysdeps/x86/bits/mathdef.h: This.
42412 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42414         [BZ #14132]
42415         * include/sys/socket.h (__connect_internal)
42416         (__libc_sa_len_internal): Remove declaration.
42417         (__connect, __libc_sa_len): Declare hidden_proto.
42418         (SA_LEN): Remove use of INTUSE.
42419         * socket/connect.c: Add libc_hidden_def.
42420         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42421         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42422         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42423         alias.
42424         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42425         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42426         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42427         of adding _internal alias.
42429 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42431         [BZ #14117]
42432         * sysdeps/i386/bits/link.h: Removed.
42433         * sysdeps/i386/bits/linkmap.h: Likewise.
42434         * sysdeps/x86_64/bits/link.h: Renamed to ...
42435         * sysdeps/x86/bits/link.h: This.
42436         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42437         * sysdeps/x86/bits/linkmap.h: This.
42439         * sysdeps/i386/bits/endian.h: Removed.
42440         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42441         * sysdeps/x86/bits/endian.h: This.
42443         * sysdeps/i386/bits/byteswap.h: Removed.
42444         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42445         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42446         * sysdeps/x86/bits/byteswap.h: This.
42447         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42448         * sysdeps/x86/bits/byteswap-16.h: This.
42449         * sysdeps/i386/Implies: Add x86.
42450         * sysdeps/x86_64/Implies: Likewise.
42452 2012-05-30  David S. Miller  <davem@davemloft.net>
42454         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42455         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42456         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42457         (FP_TRAPPING_EXCEPTIONS): Define.
42458         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42459         (FP_TRAPPING_EXCEPTIONS): Define.
42460         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42461         subnormals only when inexact has been signalled or underflow
42462         exceptions are enabled.
42463         (_FP_PACK_CANONICAL): Likewise.
42465 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42467         [BZ #14183]
42468         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42469         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42471 2012-05-30  Richard Henderson  <rth@twiddle.net>
42473         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42474         with #ifndef NOT_IN_libc.
42476         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42477         marked to avoid plt entry.
42479 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42481         [BZ #14112]
42482         * Makeconfig (default-abi): New macro.
42483         (abi-includes): Likewise.
42484         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42485         $(abi-$(default-abi)-lib-soname) for soname if defined.
42486         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42487         abi-variants.
42488         * Makefile (installed-stubs): Likewise.
42489         * include/stubs-biarch.h: Removed.
42490         * scripts/lib-names.awk: Only handle one library at a time.
42491         * scripts/soversions.awk: Remove WORDSIZE support.
42492         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42493         entries.
42494         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42495         Removed.
42496         (syscall-list-default-condition): Likewise.
42497         (syscall-list-default-condition): Likewise.
42498         (syscall-list-includes): Likewise.
42499         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42500         syscall-list-* with abi-*.  Handle undefined abi-variants.
42501         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42502         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42503         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42504         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42505         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42506         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42507         Removed.
42508         (syscall-list-32-options): Likewise.
42509         (syscall-list-32-condition): Likewise.
42510         (syscall-list-64-options): Likewise.
42511         (syscall-list-64-condition): Likewise.
42512         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42513         macro.
42514         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42515         Renamed to ...
42516         (abi-*): This.
42517         (abi-64-ld-soname): New macro.
42518         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42519         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42520         Renamed to ...
42521         (abi-*): This.
42522         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42523         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42525 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42527         * sysdeps/unix/sysv/linux/kernel-features.h
42528         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42529         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42530         include <kernel-features.h>.
42531         [!__NR_ftruncate64]: Remove conditional code.
42532         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42533         [__NR_ftruncate64]: Make code unconditional.
42534         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42535         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42536         include <kernel-features.h>.
42537         [!__NR_ftruncate64]: Remove conditional code.
42538         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42539         [__NR_ftruncate64]: Make code unconditional.
42540         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42542         include <kernel-features.h>.
42543         [!__NR_ftruncate64]: Remove conditional code.
42544         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42545         [__NR_ftruncate64]: Make code unconditional.
42546         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42548         include <kernel-features.h>.
42549         [!__NR_ftruncate64]: Remove conditional code.
42550         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42551         [__NR_ftruncate64]: Make code unconditional.
42552         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42554         * configure.in (libc_cv_fpie): Weaken to a compile test using
42555         LIBC_TRY_CC_OPTION.
42556         * configure: Regenerated.
42558 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42564         Refreshed.
42565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42571         Refreshed.
42573 2012-05-27  David S. Miller  <davem@davemloft.net>
42575         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42576         (___Q_zero): New.
42577         (__Q_simulate_exceptions): Return void.  Change to simulate
42578         exceptions by writing into the %fsr.
42579         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42580         (__Qp_handle_exceptions): Likewise.
42581         (numbers): Delete.
42582         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42583         __Qp_handle_exceptions.
42584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42585         __Qp_handle_exceptions.
42586         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42587         as unused and give dummy FP_RND_NEAREST initializer.
42588         (FP_INHIBIT_RESULTS): Define.
42589         (___Q_simulate_exceptions): Update declaration.
42590         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42591         formatting.
42592         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42593         as unused and give dummy FP_RND_NEAREST initializer.
42594         (__Qp_handle_exceptions): Update declaration.
42595         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42596         formatting.
42598 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42600         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42601         the temporary FPU control word.
42602         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42603         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42604         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42605         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42606         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42607         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42608         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42609         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42610         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42611         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42612         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42614 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42616         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42617         fields.
42619 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42621         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42622         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42623         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42624         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42625         Likewise.
42626         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42627         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42628         Likewise.
42630 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42632         * po/h.po: Update from translation team.
42634 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42636         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42638         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42639         handling of denormals.
42640         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42641         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42642         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42643         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42645         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42647         Likewise.
42649 2012-05-26  Marek Polacek  <polacek@redhat.com>
42651         [BZ #14152]
42652         * math/libm-test.inc (fma_test): Don't always expect underflow
42653         exception.
42655 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42657         [BZ #12416]
42658         * elf/tst-execstack.c: Include stackinfo.h.
42659         (do_test): Adjust test case to ensure that pthread_getattr_np
42660         behaviour remains the same after marking stack executable.
42662 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42664         * sysdeps/unix/sysv/linux/kernel-features.h
42665         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42666         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42667         kernel-features.h.
42668         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42669         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42670         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42671         kernel-features.h.
42672         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42673         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42675 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42677         * configure.in: Define the default includes to being none.
42678         * configure: Regenerated.
42680 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42682         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42683         * sysdeps/x86_64/setjmp.S: Likewise.
42684         * sysdeps/i386/bsd-setjmp.S: Likewise.
42685         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42686         * sysdeps/i386/setjmp.S: Likewise.
42687         * sysdeps/i386/__longjmp.S: Likewise.
42688         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42689         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42691         * include/stap-probe.h: New file.
42692         * configure.in: Handle --enable-systemtap.
42693         * configure: Regenerated.
42694         * config.h.in (USE_STAP_PROBE): New #undef.
42695         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42696         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42697         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42699 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42701         [BZ #13717]
42702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42703         to 2.4.0 where earlier.
42704         * sysdeps/unix/sysv/linux/configure: Regenerated.
42705         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42706         <kernel-features.h>.
42707         [__ASSUME_32BITUIDS]: Make code unconditional.
42708         [!__ASSUME_32BITUIDS]: Remove conditional code.
42709         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42710         <kernel-features.h>.
42711         [__ASSUME_32BITUIDS]: Make code unconditional.
42712         [!__ASSUME_32BITUIDS]: Remove conditional code.
42713         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42714         [__ASSUME_32BITUIDS]: Make code unconditional.
42715         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42716         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42717         <kernel-features.h>.
42718         [__ASSUME_32BITUIDS]: Make code unconditional.
42719         [!__ASSUME_32BITUIDS]: Remove conditional code.
42720         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42721         <kernel-features.h>.
42722         [__ASSUME_32BITUIDS]: Make code unconditional.
42723         [!__ASSUME_32BITUIDS]: Remove conditional code.
42724         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42725         <kernel-features.h>.
42726         [__ASSUME_32BITUIDS]: Make code unconditional.
42727         [!__ASSUME_32BITUIDS]: Remove conditional code.
42728         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42729         <kernel-features.h>.
42730         [__ASSUME_32BITUIDS]: Make code unconditional.
42731         [!__ASSUME_32BITUIDS]: Remove conditional code.
42732         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42733         <kernel-features.h>.
42734         [__ASSUME_32BITUIDS]: Make code unconditional.
42735         [!__ASSUME_32BITUIDS]: Remove conditional code.
42736         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42737         <kernel-features.h>.
42738         [__ASSUME_32BITUIDS]: Make code unconditional.
42739         [!__ASSUME_32BITUIDS]: Remove conditional code.
42740         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42741         <kernel-features.h>.
42742         [__ASSUME_32BITUIDS]: Make code unconditional.
42743         [!__ASSUME_32BITUIDS]: Remove conditional code.
42744         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42745         <kernel-features.h>.
42746         [__ASSUME_32BITUIDS]: Make code unconditional.
42747         [!__ASSUME_32BITUIDS]: Remove conditional code.
42748         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42749         <kernel-features.h>.
42750         [__ASSUME_32BITUIDS]: Make code unconditional.
42751         [!__ASSUME_32BITUIDS]: Remove conditional code.
42752         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42753         <kernel-features.h>.
42754         [__ASSUME_32BITUIDS]: Make code unconditional.
42755         [!__ASSUME_32BITUIDS]: Remove conditional code.
42756         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42757         <kernel-features.h>.
42758         [__NR_setresgid] (__setresgid): Do not declare.
42759         [__ASSUME_32BITUIDS]: Make code unconditional.
42760         [!__ASSUME_32BITUIDS]: Remove conditional code.
42761         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42762         <kernel-features.h>.
42763         [__NR_setresuid] (__setresuid): Do not declare.
42764         [__ASSUME_32BITUIDS]: Make code unconditional.
42765         [!__ASSUME_32BITUIDS]: Remove conditional code.
42766         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42767         <kernel-features.h>.
42768         [__ASSUME_32BITUIDS]: Make code unconditional.
42769         [!__ASSUME_32BITUIDS]: Remove conditional code.
42770         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42771         <kernel-features.h>.
42772         [__ASSUME_32BITUIDS]: Make code unconditional.
42773         [!__ASSUME_32BITUIDS]: Remove conditional code.
42774         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42775         <kernel-features.h>.
42776         [__ASSUME_32BITUIDS]: Make code unconditional.
42777         [!__ASSUME_32BITUIDS]: Remove conditional code.
42778         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42779         <kernel-features.h>.
42780         [__ASSUME_32BITUIDS]: Make code unconditional.
42781         [!__ASSUME_32BITUIDS]: Remove conditional code.
42782         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42783         <kernel-features.h>.
42784         [__ASSUME_32BITUIDS]: Make code unconditional.
42785         [!__ASSUME_32BITUIDS]: Remove conditional code.
42786         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42787         <kernel-features.h>.
42788         [__ASSUME_32BITUIDS]: Make code unconditional.
42789         [!__ASSUME_32BITUIDS]: Remove conditional code.
42790         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42791         <kernel-features.h>.
42792         [__ASSUME_32BITUIDS]: Make code unconditional.
42793         [!__ASSUME_32BITUIDS]: Remove conditional code.
42794         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42795         <kernel-features.h>.
42796         [__ASSUME_32BITUIDS]: Make code unconditional.
42797         [!__ASSUME_32BITUIDS]: Remove conditional code.
42798         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42799         <kernel-features.h>.
42800         [__ASSUME_32BITUIDS]: Make code unconditional.
42801         [!__ASSUME_32BITUIDS]: Remove conditional code.
42802         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42803         <kernel-features.h>.
42804         [__ASSUME_32BITUIDS]: Make code unconditional.
42805         [!__ASSUME_32BITUIDS]: Remove conditional code.
42806         * sysdeps/unix/sysv/linux/kernel-features.h
42807         (__ASSUME_SETRESUID_SYSCALL): Remove.
42808         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42809         (__ASSUME_32BITUIDS): Likewise.
42810         (__ASSUME_LDT_WORKS): Likewise.
42811         (__ASSUME_O_DIRECTORY): Likewise.
42812         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42813         architecture but not kernel version.
42814         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42815         (__ASSUME_MMAP2_SYSCALL): Likewise.
42816         (__ASSUME_STAT64_SYSCALL): Likewise.
42817         (__ASSUME_IPC64): Likewise.
42818         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42819         <kernel-features.h>.
42820         [__ASSUME_32BITUIDS]: Make code unconditional.
42821         [!__ASSUME_32BITUIDS]: Remove conditional code.
42822         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42823         <kernel-features.h>.
42824         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42825         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42826         132096]: Remove conditional code.
42827         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42828         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42829         <kernel-features.h>.
42830         [__ASSUME_32BITUIDS]: Make code unconditional.
42831         [!__ASSUME_32BITUIDS]: Remove conditional code.
42832         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42833         <kernel-features.h>.
42834         [__ASSUME_32BITUIDS]: Make code unconditional.
42835         [!__ASSUME_32BITUIDS]: Remove conditional code.
42836         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42837         <kernel-features.h>.
42838         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42839         unconditional.
42840         (__setresgid): Do not declare.
42841         [__ASSUME_32BITUIDS]: Make code unconditional.
42842         [!__ASSUME_32BITUIDS]: Remove conditional code.
42843         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42844         <kernel-features.h>.
42845         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42846         unconditional.
42847         (__setresuid): Do not declare.
42848         [__ASSUME_32BITUIDS]: Make code unconditional.
42849         [!__ASSUME_32BITUIDS]: Remove conditional code.
42850         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42851         <kernel-features.h>.
42852         [__ASSUME_32BITUIDS]: Make code unconditional.
42853         [!__ASSUME_32BITUIDS]: Remove conditional code.
42854         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42855         <kernel-features.h>.
42856         [__ASSUME_32BITUIDS]: Make code unconditional.
42857         [!__ASSUME_32BITUIDS]: Remove conditional code.
42859 2012-05-25  Richard Henderson  <rth@twiddle.net>
42861         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42862         dl_hwcap to ifunc resolver.
42863         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42864         elf_ifunc_invoke.
42865         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42866         dl_hwcap to ifunc resolver.
42867         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42869 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42871         [BZ #14153]
42872         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42873         for |x| <= 2**-26, not 2**-57.
42874         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42875         exception.
42877 2012-05-24  Jeff Law  <law@redhat.com>
42879         * stdio-common/Makefile (tests): Add bug25.
42880         * stdio-common/bug25.c: New test.
42882 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42884         [BZ #13576]
42885         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42886         multiple of MALLOC_ALIGNMENT in size.
42887         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42889 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42891         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42892         Require >= 256.
42893         (FILENAME_MAX): Use macro-int-constant.
42894         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42895         (_IOFBF): Use macro-int-constant.
42896         (_IOLBF): Likewise.
42897         (_IONBF): Likewise.
42898         (SEEK_CUR): Likewise.
42899         (SEEK_END): Likewise.
42900         (SEEK_SET): Likewise.
42901         (TMP_MAX): Likewise.
42902         (EOF): Use macro-int-constant.  Require < 0.
42903         (NULL): Use macro-constant.  Require == 0.
42904         (stdin): Require type to be FILE *.
42905         (stdout): Likewise.
42906         (stderr): Likewise.
42907         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42908         macro-int-constant.
42909         (EXIT_SUCCESS): Likewise.
42910         (NULL): Use macro-constant.  Require == 0.
42911         (RAND_MAX): Use macro-int-constant.
42912         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42913         [C99-based standards] (strtof): Require function.
42914         [C99-based standards] (strtold): Likewise.
42915         [C99-based standards] (strtoll): Likewise.
42916         [C99-based standards] (strtoull): Likewise.
42917         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42918         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42919         [ISO || ISO99 || ISO11] (math.h): Likewise.
42920         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42921         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42922         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42924 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42926         [BZ #14132]
42927         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42928         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42929         * intl/dgettext.c (DCGETTEXT): Likewise.
42930         * intl/gettext.c (DCGETTEXT): Likewise.
42931         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42932         * posix/regex_internal.h (gettext): Likewise.
42933         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42934         Remove declaration.
42935         * include/argz.h (__argz_count_internal)
42936         (__argz_stringify_internal): Remove declaration.
42937         (__argz_count, __argz_stringify): Declare hidden proto.
42938         * intl/dcgettext.c: Remove use of INTDEF.
42939         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42940         * string/argz-stringify.c: Likewise.
42941         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42942         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42943         Declare hidden proto.
42944         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42945         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42946         Declare hidden proto.
42947         * include/stdio.h (__asprintf_internal): Don't declare.
42948         (__asprintf): Don't define as macro.  Declare hidden proto.
42949         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42950         (__fsetlocking): Declare hidden proto.
42951         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42952         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42953         hidden proto.
42954         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42955         (_IO_setlinebuf): Remove use of INTUSE.
42956         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42957         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42958         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42959         Remove declaration.
42960         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42961         (_IO_do_flush): Remove use of INTUSE.
42962         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42963         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42964         (_IO_adjust_column, _IO_least_wmarker)
42965         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42966         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42967         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42968         (_IO_default_doallocate, _IO_wdefault_doallocate)
42969         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42970         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42971         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42972         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42973         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42974         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42975         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42976         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42977         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42978         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42979         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42980         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42981         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42982         proto.
42983         (_IO_flush_all_internal, _IO_adjust_column_internal)
42984         (_IO_default_uflow_internal, _IO_default_finish_internal)
42985         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42986         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42987         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42988         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42989         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42990         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42991         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42992         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42993         (_IO_file_close_internal, _IO_file_close_it_internal)
42994         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42995         (_IO_file_init_internal, _IO_file_attach_internal)
42996         (_IO_file_fopen_internal, _IO_file_read_internal)
42997         (_IO_file_sync_internal, _IO_file_seek_internal)
42998         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42999         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43000         (_IO_str_underflow_internal, _IO_str_overflow_internal)
43001         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43002         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43003         (_IO_list_all_internal, _IO_link_in_internal)
43004         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43005         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43006         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43007         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43008         (_IO_do_write_internal, _IO_padn_internal)
43009         (_IO_getline_info_internal, _IO_getline_internal)
43010         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43011         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43012         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43013         (_IO_vfscanf_internal, _IO_vfprintf_internal)
43014         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43015         (_IO_init_internal, _IO_un_link_internal): Don't declare.
43016         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43017         with libc_hidden_ver, remove use of INTUSE.
43018         * libio/genops.c: Likewise.
43019         * libio/freopen.c: Likewise.
43020         * libio/freopen64.c: Likewise.
43021         * libio/iofclose.c: Likewise.
43022         * libio/iofdopen.c: Likewise.
43023         * libio/iofflush.c: Likewise.
43024         * libio/iofflush_u.c: Likewise.
43025         * libio/iofgets.c: Likewise.
43026         * libio/iofgets_u.c: Likewise.
43027         * libio/iofopen.c: Likewise.
43028         * libio/iofopncook.c: Likewise.
43029         * libio/iofread.c: Likewise.
43030         * libio/iofread_u.c: Likewise.
43031         * libio/ioftell.c: Likewise.
43032         * libio/iofwrite.c: Likewise.
43033         * libio/iogetline.c: Likewise.
43034         * libio/iogets.c: Likewise.
43035         * libio/iogetwline.c: Likewise.
43036         * libio/iopadn.c: Likewise.
43037         * libio/iopopen.c: Likewise.
43038         * libio/ioseekoff.c: Likewise.
43039         * libio/ioseekpos.c: Likewise.
43040         * libio/iosetbuffer.c: Likewise.
43041         * libio/iosetvbuf.c: Likewise.
43042         * libio/ioungetc.c: Likewise.
43043         * libio/ioungetwc.c: Likewise.
43044         * libio/iovdprintf.c: Likewise.
43045         * libio/iovsprintf.c: Likewise.
43046         * libio/iovsscanf.c: Likewise.
43047         * libio/memstream.c: Likewise.
43048         * libio/obprintf.c: Likewise.
43049         * libio/oldfileops.c: Likewise.
43050         * libio/oldiofclose.c: Likewise.
43051         * libio/oldiofdopen.c: Likewise.
43052         * libio/oldiofopen.c: Likewise.
43053         * libio/oldiopopen.c: Likewise.
43054         * libio/oldstdfiles.c: Likewise.
43055         * libio/putc.c: Likewise.
43056         * libio/setbuf.c: Likewise.
43057         * libio/setlinebuf.c: Likewise.
43058         * libio/stdfiles.c: Likewise.
43059         * libio/strops.c: Likewise.
43060         * libio/vasprintf.c: Likewise.
43061         * libio/vscanf.c: Likewise.
43062         * libio/vsnprintf.c: Likewise.
43063         * libio/vswprintf.c: Likewise.
43064         * libio/wfiledoalloc.c: Likewise.
43065         * libio/wfileops.c: Likewise.
43066         * libio/wgenops.c: Likewise.
43067         * libio/wmemstream.c: Likewise.
43068         * libio/wstrops.c: Likewise.
43069         * libio/__fpurge.c: Likewise.
43070         * libio/__fsetlocking.c: Likewise.
43071         * assert/assert.c: Likewise.
43072         * debug/fgets_chk.c: Likewise.
43073         * debug/fgets_u_chk.c: Likewise.
43074         * debug/fread_chk.c: Likewise.
43075         * debug/fread_u_chk.c: Likewise.
43076         * debug/gets_chk.c: Likewise.
43077         * debug/obprintf_chk.c: Likewise.
43078         * debug/vasprintf_chk.c: Likewise.
43079         * debug/vdprintf_chk.c: Likewise.
43080         * debug/vsnprintf_chk.c: Likewise.
43081         * debug/vsprintf_chk.c: Likewise.
43082         * malloc/mtrace.c: Likewise.
43083         * misc/error.c: Likewise.
43084         * misc/syslog.c: Likewise.
43085         * stdio-common/asprintf.c: Likewise.
43086         * stdio-common/fxprintf.c: Likewise.
43087         * stdio-common/getw.c: Likewise.
43088         * stdio-common/isoc99_fscanf.c: Likewise.
43089         * stdio-common/isoc99_scanf.c: Likewise.
43090         * stdio-common/isoc99_vfscanf.c: Likewise.
43091         * stdio-common/isoc99_vscanf.c: Likewise.
43092         * stdio-common/isoc99_vsscanf.c: Likewise.
43093         * stdio-common/printf-prs.c: Likewise.
43094         * stdio-common/printf_fp.c: Likewise.
43095         * stdio-common/printf_fphex.c: Likewise.
43096         * stdio-common/printf_size.c: Likewise.
43097         * stdio-common/putw.c: Likewise.
43098         * stdio-common/scanf.c: Likewise.
43099         * stdio-common/sprintf.c: Likewise.
43100         * stdio-common/tmpfile.c: Likewise.
43101         * stdio-common/vfprintf.c: Likewise.
43102         * stdio-common/vfscanf.c: Likewise.
43103         * stdlib/strfmon_l.c: Likewise.
43104         * sunrpc/openchild.c: Likewise.
43105         * sunrpc/xdr_stdio.c: Likewise.
43106         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43107         * sysdeps/mach/hurd/tmpfile.c: Likewise.
43109 2012-05-24  Roland McGrath  <roland@hack.frob.com>
43111         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43113         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43114         in the third column, to generate for the shared library an IFUNC
43115         that uses _dl_vdso_vsym.
43116         * Makerules (COMPILE.c, compile-stdin.c): New variables.
43117         * Makeconfig (object-suffixes-noshared): New variable.
43119         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43120         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43121         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43122         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43124         [BZ #14132]
43125         * include/sys/time.h (__gettimeofday): Remove macro.
43126         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43127         * time/gettimeofday.c (__gettimeofday): Remove #undef.
43128         Remove INTDEF.
43129         (__gettimeofday): Add libc_hidden_def.
43130         (gettimeofday): Add libc_hidden_weak.
43131         * sysdeps/mach/gettimeofday.c: Likewise.
43132         * sysdeps/posix/gettimeofday.c: Likewise.
43133         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43134         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43136         (__gettimeofday_internal): Remove strong_alias.
43137         (__gettimeofday): Add libc_hidden_def.
43138         (gettimeofday): Add libc_hidden_weak.
43139         * sysdeps/unix/syscalls.list (gettimeofday):
43140         Remove __gettimeofday_internal alias.
43142 2012-05-24  Daniel Jacobowitz  <drow@false.org>
43143             H.J. Lu  <hongjiu.lu@intel.com>
43145         [BZ #12495]
43146         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43147         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43148         (largebin_index_32_big): New.
43149         (largebin_index): Use it for 16-byte alignment.
43150         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
43151         correction with front_misalign.
43153 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43157         Likewise.
43158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43159         Likewise.
43160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43161         Likewise.
43162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43163         Likewise.
43164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43165         Likewise.
43166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43167         Likewise.
43168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43169         Likewise.
43170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43171         Likewise.
43172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43173         Likewise.
43174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43175         Likewise.
43176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43177         Likewise.
43178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43179         Likewise.
43181         * scripts/data/c++-types-x32-linux-gnu.data: New file.
43182         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43184 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43186         [BZ #10846]
43187         [BZ #14036]
43188         * math/libm-test.inc (exp_test): Add test from bug 14036.
43189         (pow_test): Add test from bug 10846.
43191         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43192         and other flags.
43193         (special_function): Do not include flags in test name.
43194         (parse_args): Likewise.
43195         * sysdeps/i386/fpu/libm-test-ulps: Update.
43196         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43197         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43198         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43201         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43202         exceptions.
43203         * math/libm-test.inc ("Philosophy"): Update comment about
43204         exception testing.
43205         (UNDERFLOW_EXCEPTION): New macro.
43206         (UNDERFLOW_EXCEPTION_OK): Likewise.
43207         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43208         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43209         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43210         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43211         (INVALID_EXCEPTION_OK): Update value.
43212         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43213         (OVERFLOW_EXCEPTION_OK): Likewise.
43214         (IGNORE_ZERO_INF_SIGN): Likewise.
43215         (test_exceptions): Handle underflow exceptions.
43216         (acos_test): Update for underflow exception expectations.
43217         (cexp_test): Likewise.
43218         (clog_test): Likewise.
43219         (clog10_test): Likewise.
43220         (csqrt_test): Likewise.
43221         (ctan_test): Likewise.
43222         (ctanh_test): Likewise.
43223         (exp_test): Likewise.
43224         (exp10_test): Likewise.
43225         (exp2_test): Likewise.
43226         (expm1_test): Likewise.
43227         (fma_test): Likewise.
43228         (j0_test): Likewise.
43229         (jn_test): Likewise.
43230         (nexttoward_test): Likewise.
43231         (pow_test): Likewise.
43232         (scalbn_test): Likewise.
43233         (scalbln_test): Likewise.
43234         (tan_test): Likewise.
43235         (y1_test): Likewise.
43236         * sysdeps/i386/fpu/libm-test-ulps: Update.
43237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43239 2012-05-23  David S. Miller  <davem@davemloft.net>
43241         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43242         (__libc_sigaction): Remove unused local variables.
43244 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43246         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43248 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43250         mktime: avoid signed integer overflow
43251         * time/mktime.c (__mktime_internal): Do not mishandle the case
43252         where diff == INT_MIN.
43254         mktime: simplify computation of average
43255         * time/mktime.c (ranged_convert): Use new time_t_avg function
43256         instead of rolling our own (probably-slower) code.
43258         mktime: do not assume signed right shift propagates sign bit
43259         * time/mktime.c (isdst_differ): New static function.
43260         (__mktime_internal): No need to normalize tm_isdst now.
43261         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43262         tm_isdst values.
43264         mktime: merge another wrapv change from gnulib
43265         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43266         from some compilers.
43268         mktime: remove incorrect attempt at unusual arithmetics
43269         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43270         The code didn't really work on such machines anyway.
43271         (TYPE_MINIMUM): Assume two's complement.
43272         (twos_complement_arithmetic): Verify that long_int and time_t
43273         are two's complement (or unsigned, in the latter case).
43275         mktime: check signed shifts on long_int and time_t, too
43276         * time/mktime.c (SHR): Check that shifts work as desired
43277         on the types long_int and time_t too, as SHR is used on
43278         such types.
43280         mktime: do not assume 'long' is wide enough
43281         * time/mktime.c (verify): Move decl up.
43282         (long_int): New type.
43283         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43284         to remove assumption in the code that 'long' is wide enough to
43285         store year values.  This assumption is not true on x32 and on
43286         some non-glibc platforms.
43288         mktime: merge wrapv change from gnulib
43289         * time/mktime.c (WRAPV): New macro.
43290         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43291         (guess_time_tm, __mktime_internal): Do not assume that signed
43292         integer overflow wraps around; modern compilers generate code
43293         where this assumption is no longer valid.
43295 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43297         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43298         Replace "jmp L(pseudo_end)" with "ret".
43299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43300         Likewise.
43302 2012-05-23  Andreas Jaeger  <aj@suse.de>
43304         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43305         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43307 2012-05-23  Andreas Jaeger  <aj@suse.de>
43308             Maximilian Attems  <max@stro.at>
43310         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43311         New macros.
43313 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43315         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43316         code so that pseudo_end is just ret and the stack pointer is
43317         correct also for static library in error case.
43319 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
43321         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43322         move to syscalls.list.
43323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43328         * manual/install.texi (Running make install): Do not mention Linux
43329         kernel version for which pt_chown is not needed.
43330         (Linux): Do not mention problems with nscd with 2.0 kernels.
43331         * INSTALL: Regenerated.
43333 2012-05-23  Andreas Jaeger  <aj@suse.de>
43335         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43336         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43337         macro.
43338         * sysdeps/unix/sysv/linux/s390/bits/mman.h
43339         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43340         * sysdeps/unix/sysv/linux/sh/bits/mman.h
43341         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43342         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43343         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43344         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43345         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43346         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43347         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43348         * sysdeps/unix/sysv/linux/bits/in.h
43349         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43351 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43353         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43354         (PREPARE_VERSION): Just use assert instead, it will be elided
43355         under [NDEBUG] anyway.
43357 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43359         * sysdeps/unix/sysv/linux/Makefile: Include
43360         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43361         (sysdep_routines): Remove sysctl.
43362         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43363         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43364         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43365         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43366         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43368 2012-05-22  Andreas Jaeger  <aj@suse.de>
43370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43371         that pseudo_end is just ret and the stack pointer is correct also
43372         for static library in error case.
43374 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43376         [BZ #14122]
43377         * nss/nsswitch.c (defconfig_entries): New variable.
43378         (__nss_database_lookup): Don't leak defconfig entries.
43379         (nss_parse_service_list): Don't leak on error paths.
43380         (free_database_entries): New function.
43381         (free_defconfig): New function.
43382         (free_mem): Move common code to free_database_entries.
43384 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43386         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43387         Add arch_prctl.
43388         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43390         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43391         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43393         New macro.
43394         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43395         (INTERNAL_SYSCALL_TYPES): Likewise.
43396         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43397         (LOAD_REGS_TYPES_[1-6]): Likewise.
43398         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43399         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43401 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43403         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43404         copysignl for GLIBC_2_0.
43405         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43406         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43408         logbl for GLIBC_2_0.
43409         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43410         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43414         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43415         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43417         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43418         Use "neg %eax".
43420         * time/mktime.c: Update copyright years.
43422 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43424         mktime: merge comment-quoting-style change from gnulib
43425         * time/mktime.c: Quote 'like this' in comments.
43426         The GNU coding standards suggest that we no longer quote `like this',
43427         as "`" and "'" are typically rendered asymmetrically nowadays.
43428         The typical gnulib style is to quote 'like this' when quoting
43429         code, and "like this" when quoting English.
43431         * time/mktime.c (compile-command): Add "-I.".
43433         mktime: merge mktime-internal.h change from gnulib
43434         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43436         mktime: merge time_r change from gnulib
43437         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43439         mktime: merge DEBUG change from gnulib
43440         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43441         case system <time.h> has a #define.
43443         mktime: merge <sys/types.h> change from gnulib
43444         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43445         since <time.t> is now guaranteed to define time_t.
43447         mktime: merge HAVE_CONFIG_H change from gnulib
43448         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43450 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43453         Use "neg %eax".
43455         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43456         __rlim_t cast.
43457         (struct rusage): Use anonymous union to pad each field to
43458         __syscall_slong_t.
43460 2012-05-21  David S. Miller  <davem@davemloft.net>
43462         * Makefules (o-iterator): Remove .s cases.
43463         (compile-command.s): Delete.
43464         (COMPILE.s): Delete.
43465         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43467 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43469         * configure.in (libc_cv_predef_stack_protector): Only consider
43470         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43471         * configure: Regenerated.
43473 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43476         New macro.  Use R*LP on int and pointer.
43477         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43478         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43479         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43480         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43482         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43483         [__WORDSIZE_TIME64_COMPAT32] instead of
43484         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43485         (struct utmp): Likewise.
43486         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43487         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43488         Renamed to ...
43489         (__WORDSIZE_TIME64_COMPAT32): This.
43490         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43491         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43492         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43493         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43494         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43495         (__WORDSIZE_TIME64_COMPAT32): New macro.
43497 2012-05-21  Andreas Jaeger  <aj@suse.de>
43499         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43500         only if [SHARED]. Add prototype for __wcschr_ia32.
43502 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43504         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43505         of %rbp unmolested in the jmp_buf while mangling the low bits.
43506         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43507         unmolested high bits of %rbp while demangling the low bits.
43508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43510 2012-05-21  Andreas Jaeger  <aj@suse.de>
43512         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43513         * sunrpc/svc_simple.c: Use it for registerrpc.
43514         * sunrpc/xcrypt.c: Use it for passwd2des.
43516         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43518 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43520         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43521         Don't define if [__SYSCALL_WORDSIZE != 32].
43522         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43523         New macro.
43525 2012-05-21  Bruno Haible  <bruno@clisp.org>
43526             Andreas Jaeger  <aj@suse.de>
43528         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43529         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43530         inptr and inend for must_buffer_ch.
43531         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43532         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43533         * stdio-common/Makefile (tests): Remove bug15.
43534         (bug15-ENV): Remove macro.
43535         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43536         anymore.
43538 2012-05-19  Andreas Jaeger  <aj@suse.de>
43539             Roland McGrath  <roland@hack.frob.com>
43541         * manual/contrib.texi: Completely rewritten. It contains now an
43542         alphabetical list of contributors and their contributions.
43544 2012-05-21  Richard Henderson  <rth@twiddle.net>
43546         * misc/getauxval.c (__getauxval): Use unsigned long int.
43547         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43548         (getauxval): Use unsigned long int.
43550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43552         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43554 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43556         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43557         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43558         __alignof__ (long double).
43560 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43564 2012-05-20  Richard Henderson  <rth@twiddle.net>
43566         * misc/getauxval.c: New file.
43567         * misc/sys/auxv.h: New file.
43568         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43569         (routines): Add getauxval.
43570         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43571         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43572         * elf/dl-sysdep.c (_dl_auxv): Remove.
43573         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43574         * elf/dl-support.c (_dl_auxv): New variable.
43575         (_dl_aux_init): Initialize it.
43576         * manual/startup.texi (Auxiliary Vector): New node.
43577         * sysdeps/generic/bits/hwcap.h: New file.
43578         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43579         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43580         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43581         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43582         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43583         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43585         Update.
43586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43595 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43599 2012-05-19  David S. Miller  <davem@davemloft.net>
43601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43603 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43605         [BZ #14123]
43606         * math/s_ccosh.c: Include <float.h>
43607         (__ccosh): Avoid internal overflow calculating sinh and cosh
43608         values before multiplying by sin and cos values.
43609         * math/s_ccoshf.c: Likewise.
43610         * math/s_ccoshl.c: Likewise.
43611         * math/s_csin.c: Likewise.
43612         * math/s_csinf.c: Likewise.
43613         * math/s_csinl.c: Likewise.
43614         * math/s_csinh.c: Likewise.
43615         * math/s_csinhf.c: Likewise.
43616         * math/s_csinhl.c: Likewise.
43617         * math/libm-test.inc (ccos_test): Add more tests.
43618         (ccosh_test): Likewise.
43619         (csin_test): Likewise.
43620         (csinh_test): Likewise.
43621         * sysdeps/i386/fpu/libm-test-ulps: Update.
43622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43624 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43626         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43627         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43629         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43631 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43633         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43634         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43635         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43636         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43637         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43638         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43639         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43640         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43641         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43642         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43643         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43644         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43645         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43646         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43647         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43648         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43649         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43650         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43651         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43652         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43653         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43654         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43655         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43656         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43657         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43658         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43659         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43660         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43661         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43662         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43663         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43665 2012-05-18  Andreas Jaeger  <aj@suse.de>
43667         * csu/.gitignore: Delete.
43669 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43671         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43672         (timex): Use __syscall_slong_t.
43674 2012-05-18  Andreas Jaeger  <aj@suse.de>
43675             Carlos O'Donell  <carlos_odonell@mentor.com>
43677         * manual/install.texi (Configuring and compiling): Update
43678         description about files modified in the source directory.
43679         * INSTALL: Regenerated.
43681 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43683         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43684         value.  Use "or" to set return value to -1.
43685         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43686         negate return value.
43688 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43690         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43691         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43692         failure if the compiler has Graphite support disabled.
43693         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43694         Likewise.
43695         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43696         (CFLAGS-memmove.c): Likewise.
43697         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43698         Likewise.
43700 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43702         * sysdeps/x86_64/x32/_itoa.h: New file.
43704         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43705         getdents system call only if kernel and user dirents have the
43706         same d_ino and d_off.
43708         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43709         LLONG_MAX != LONG_MAX.
43710         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43711         (_fitoa_word): Likewise.
43713         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43714         years.
43715         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43716         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43717         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43719         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43720         include <bits/wordsize.h>.  Check __x86_64__ instead of
43721         __WORDSIZE.
43722         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43723         if __x86_64__ is defined.  Use anonymous union on fpstate.
43725         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43726         anonymous union.
43728 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43730         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43731         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43732         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43733         Refer to _rtld_local_ro instead of _rtld_global_ro.
43734         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43735         Likewise.
43736         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43737         Likewise.
43738         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43739         Likewise.
43740         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43741         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43742         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43744         * sysdeps/powerpc/powerpc32/dl-machine.c
43745         (__elf_machine_runtime_setup) [PROF]: Don't reference
43746         _dl_prof_resolve.
43748 2012-05-18  Andreas Jaeger  <aj@suse.de>
43750         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43751         function only available for GCCs before 3.4 since GCC 3.4
43752         introduced a builtin.
43753         (lrint): Likewise.
43754         (llrintf): Likewise.
43755         (llrint): Likewise.
43756         (fmaxf): Likewise.
43757         (fmax): Likewise.
43758         (fminf): Likewise.
43759         (fmin): Likewise.
43760         (rint): Likewise.
43761         (rintf): Likewise.
43762         (nearbyint): Likewise.
43763         (nearbyintf): Likewise.
43764         (ceil): Likewise.
43765         (ceilf): Likewise.
43766         (floor): Likewise.
43767         (floorf): Likewise.
43769 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43771         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43772         on both fields and cast pointer to __syscall_ulong_t.
43774         * bits/types.h (__fsword_t): New type.
43775         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43776         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43778         (__FSWORD_T_TYPE): Likewise.
43779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43780         (__FSWORD_T_TYPE): Likewise.
43781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43782         (__FSWORD_T_TYPE): Likewise.
43783         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43784         (__FSWORD_T_TYPE): Likewise.
43785         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43786         __SWORD_TYPE with __fsword_t.
43787         (statfs64): Likewise.
43789 2012-05-17  David S. Miller  <davem@davemloft.net>
43791         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43793 2012-05-17  Andreas Jaeger  <aj@suse.de>
43795         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43796         warning.
43798 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43800         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43802 2012-05-17  Andreas Jaeger  <aj@suse.de>
43804         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43805         when it is used.
43807 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43809         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43811 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43813         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43814         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43816 2012-05-17  Andreas Jaeger  <aj@suse.de>
43817             Carlos O'Donell  <carlos_odonell@mentor.com>
43819         [BZ #14059]
43820         * sysdeps/x86_64/multiarch/init-arch.h
43821         (bit_YMM_Usable): Rename to...
43822         (bit_AVX_Usable): ... this.
43823         (bit_FMA4_Usable): New macro.
43824         (bit_XMM_state): New macro.
43825         (bit_YMM_state): New macro.
43826         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43827         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43828         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43829         (CPUID_OSXSAVE): New macro.
43830         (CPUID_AVX): New macro.
43831         (CPUID_FMA4): New macro.
43832         (index_YMM_Usable): Rename to...
43833         (index_AVX_Usable): ... this.
43834         (HAS_AVX): Use HAS_ARCH_FEATURE.
43835         (HAS_FMA4): Likewise.
43836         (HAS_YMM_USABLE): Remove.
43837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43838         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43839         are present.
43840         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43841         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43842         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43843         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43844         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43846 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43848         * math/libm-test.c: Support platforms without multiple rounding modes.
43849         * math/bug-nextafter.c: Support platforms without FP exceptions.
43850         * math/bug-nexttoward.c: Likewise.
43851         * math/test-fenv.c: Likewise.
43852         * math/test-misc.c: Likewise.
43853         * stdlib/bug-getcontext.c: Likewise.
43855 2012-05-17  Andreas Jaeger  <aj@suse.de>
43857         * manual/examples/search.c (critter_cmp): Change signature to
43858         avoid warnings.
43859         * manual/string.texi (Collation Functions): Likewise.
43861 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43863         * bits/types.h: Fold copyright years.
43864         * bits/typesizes.h: Likewise.
43865         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43867         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43868         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43869         * time/time.h: Likewise.
43871 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43873         [BZ #208]
43874         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43875         in instead of returning them.  Return void.
43876         (__libc_mallinfo): Accumulate over all arenas.
43877         (__malloc_stats): Adjust for change in int_mallinfo interface.
43879 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43881         [BZ #10375]
43882         * configure.in (NM): Add AC_CHECK_TOOL for it.
43883         (libc_extra_cflags): New substituted variable.
43884         Check for -fstack-protector being used implicitly.
43885         * configure: Regenerated.
43886         * config.make.in (config-extra-cflags): New variable,
43887         gets @libc_extra_cflags@.
43888         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43890         [BZ #10375]
43891         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43892         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43893         * configure: Regenerated.
43894         * config.make.in (CPPUNDEFS): New substituted variable.
43895         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43896         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43897         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43899 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43901         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43902         (mq_attr): Use __syscall_slong_t.
43904 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43906         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43907         Check __x86_64__ instead of __WORDSIZE.
43908         (_STAT_VER_LINUX): Likewise.
43909         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43910         __syscall_ulong_t and __syscall_slong_t.
43911         (stat64): Likewise.
43913 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43915         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43919         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43923         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43924         __syscall_ulong_t.
43926         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43927         include <bits/wordsize.h>.  Check __x86_64__ instead of
43928         __WORDSIZE.
43929         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43930         defined.
43931         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43933         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43934         include <bits/wordsize.h>.  Check __x86_64__ instead of
43935         __WORDSIZE.
43936         (user_regs_struct): Use "__extension__ unsigned long long"
43937         instead of "unsigned long" if __x86_64__ is defined.
43938         (user): Likewise.  Pad after pointer field if __ILP32__ is
43939         defined.
43941 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43943         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43944         versions 5 to 9.
43945         * configure: Regenerated.
43946         * manual/install.texi (texinfo): Increase version requirement to
43947         4.5 or later.
43948         * INSTALL: Regenerated.
43950         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43954         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43956         * sysdeps/x86_64/x32/ffs.c: New file.
43958         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43959         __syscall_ulong_t.
43960         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43961         defined.  Use __syscall_ulong_t.
43962         (shminfo): Use __syscall_ulong_t.
43963         (shm_info): Likewise.
43965         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43966         __syscall_ulong_t.
43968         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43969         <bits/wordsize.h>.
43970         (msgqnum_t): Use __syscall_ulong_t.
43971         (msglen_t): Likewise.
43972         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43973         __syscall_ulong_t.
43975         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43976         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43978         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43980         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43981         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43983         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43984         __syscall_slong_t.
43986         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43987         include <bits/wordsize.h>.  Check __x86_64__ instead of
43988         __WORDSIZE.
43990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43991         "unsigned long long int" if __x86_64__ is defined.
43992         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43994         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43995         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43996         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43998         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43999         <stdint.h>.
44000         (GET_PC): Cast to uintptr_t first.
44001         (GET_FRAME): Likewise.
44002         (GET_STACK): Likewise.
44004         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44005         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44006         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44007         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44008         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44009         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44010         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44011         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44012         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44013         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44014         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44015         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44016         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44017         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44018         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44019         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44020         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44021         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44022         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44023         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44024         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44025         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44026         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44027         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44028         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44029         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44031         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44032         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44034 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
44036         * Makerules (+depfiles): Also collect depfiles from .oS in
44037         $(extra-objs).
44038         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44039         .oS, $(libnldbl-routines)).
44041         * Makerules (native-compile-mkdep-flags): Define.
44042         * sunrpc/Makefile (extra-objs): Add $(addprefix
44043         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44044         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44045         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
44046         calling $(make-target-directory).
44048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44050         * bits/types.h (__snseconds_t): Removed.
44051         * time/time.h (struct timespec): Replace __snseconds_t with
44052         __syscall_slong_t.
44053         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44054         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44055         Likewise.
44056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44057         (__SNSECONDS_T_TYPE): Likewise.
44058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44059         (__SNSECONDS_T_TYPE): Likewise.
44060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44061         (__SNSECONDS_T_TYPE): Likewise.
44063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44065         * sysdeps/mach/hurd/bits/typesizes.h
44066         (__SYSCALL_SLONG_TYPE): New macro.
44067         (__SYSCALL_ULONG_TYPE): Likewise.
44069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44071         * bits/types.h (__syscall_slong_t): New type.
44072         (__syscall_ulong_t): Likewise.
44074         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44075         (__SYSCALL_ULONG_TYPE): Likewise.
44076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44077         (__SYSCALL_SLONG_TYPE): Likewise.
44078         (__SYSCALL_ULONG_TYPE): Likewise.
44079         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44080         (__SYSCALL_SLONG_TYPE): Likewise.
44081         (__SYSCALL_ULONG_TYPE): Likewise.
44082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44083         (__SYSCALL_SLONG_TYPE): Likewise.
44084         (__SYSCALL_ULONG_TYPE): Likewise.
44086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44088         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44089         Add sigaltstack-offsets.sym.
44090         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44091         <sigaltstack-offsets.h>.
44092         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
44093         longjmp_msg pointer.
44094         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
44095         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44096         signal stack.
44097         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44099 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44101         * elf/stackguard-macros.h: Remove file.
44102         * sysdeps/generic/stackguard-macros.h: New file.
44103         * sysdeps/i386/stackguard-macros.h: Likewise.
44104         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44105         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44106         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44107         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44108         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44109         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44110         * sysdeps/x86_64/stackguard-macros.h: Likewise.
44111         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44112         <elf/stackguard-macros.h>.
44114         [BZ #14109]
44115         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44116         __aligned__ in attribute.
44117         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44118         (gregset_t): Likewise.
44120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44122         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44123         * sysdeps/x86_64/64/Implies-after: Here.  New file.
44124         * sysdeps/x86_64/x32/Implies-after: New file.
44126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44128         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44129         and access return value for _dl_profile_fixup.  Use R10_LP to
44130         load frame size.
44132 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44134         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44138         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44139         * sysdeps/x86_64/x32/sysdep.h: New file.
44141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44143         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44144         * sysdeps/x86_64/setjmp.S: Likewise.
44146 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44148         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44149         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44150         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44151         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44152         remove unused global constant.
44154 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
44156         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44157         include of <not-cancel.h>.
44159 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44161         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44163 2012-05-15  Jeff Law  <law@redhat.com>
44164             Andreas Jaeger  <aj@suse.de>
44166         [BZ #13594]
44167         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44168         out from...
44169         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44170         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44171         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44172         code changing __hst_map_handle.map.
44174 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44176         * configure.in (sysnames): Look for Implies-before and Implies-after
44177         files.
44178         * configure: Regenerated.
44180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44182         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44183         8-byte data alignment with LP_SIZE alignment.
44185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44187         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44188         into R10_LP.
44190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44192         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44197         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44198         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44199         Likewise.
44200         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44204         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44205         (stackinfo_sub_sp): Likewise.
44207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44209         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44210         RAX_LP.
44212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44214         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44215         into R*_LP.
44217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44219         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44220         sizes into R*_LP.
44222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44224         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44228         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44229         into R11_LP and load __x86_64_shared_cache_size_half into
44230         R8_LP.
44232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44234         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44235         R8_LP.
44237 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44240         logb for POWER7.
44241         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44242         logbf for POWER7.
44243         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44244         logbl for POWER7.
44245         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44246         powerpc32/power7/fpu/s_logb.c via #include.
44247         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44248         powerpc32/power7/fpu/s_logbf.c via #include.
44249         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44250         powerpc32/power7/fpu/s_logbl.c via #include.
44252 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44254         * README.libm: Remove file.
44256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44258         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44259         count for x32.  Use R*_LP and omit operand-size suffix.
44261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44263         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44264         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44265         * sysdeps/x86_64/x32/shlib-versions: New file.
44267 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44269         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44270         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44271         Use _dl_fatal_printf instead.
44273 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44275         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44276         set if not set by the user.  Do not allow for being unset.
44277         * sysdeps/unix/sysv/linux/configure: Regenerated.
44279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44281         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44282         the `q' suffix from lea and replace .quad with ASM_ADDR.
44284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44287         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44288         instead of $17.
44289         (PTR_DEMANGLE): Likewise.
44291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44293         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44294         (LP_OP): Likewise.
44295         (ASM_ADDR): Likewise.
44296         (RAX_LP): Likewise.
44297         (RBP_LP): Likewise.
44298         (RBX_LP): Likewise.
44299         (RCX_LP): Likewise.
44300         (RDI_LP): Likewise.
44301         (RSI_LP): Likewise.
44302         (RSP_LP): Likewise.
44303         (R8_LP): Likewise.
44304         (R9_LP): Likewise.
44305         (R10_LP): Likewise.
44306         (R10_LP): Likewise.
44307         (R11_LP): Likewise.
44308         (R12_LP): Likewise.
44309         (R13_LP): Likewise.
44310         (R14_LP): Likewise.
44311         (R15_LP): Likewise.
44313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44315         * sysdeps/x86_64/x32/dl-machine.h: New file.
44317 2012-05-14  Andreas Jaeger  <aj@suse.de>
44319         * manual/Makefile (subdir): Remove export of subdir.
44320         (all): Remove target.
44321         (.PHONY): Remove all from list.
44322         (mkinstalldirs): Remove.
44323         (.PHONY): Remove installdirs from list.
44324         ($(inst_infodir)/libc.info): Use make-target-directory.
44325         (installdirs): Remove.
44326         (subdir_%): Remove.
44327         (glibc-targets): Remove.
44328         (lib): Remove.
44329         (stubs): Remove.
44330         ($(objpfx)stubs ../po/manual.pot): Remove.
44331         ($(objpfx)stamp%): Remove.
44332         (make-target-directory): Remove.
44333         (subdir_install): Remove.
44334         (routines): Remove.
44335         (aux): Remove.
44336         (sources): Remove.
44337         (objects): Remove.
44338         (headers): Remove.
44340         [BZ #13750]
44341         * manual/.gitignore: Remove, it's not needed anymore.
44342         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44343         all files in it.
44344         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44345         directory.
44346         (texis): Renamed to $(objpfx)texis.
44347         (texis-path): New, contains path to generated files.
44348         (chapters.%): Use texis-path for complete path, add extra argument
44349         libc-texinfo.sh.
44350         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44351         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44352         (summary,texi, stamp-summary): Use complete path of
44353         files. Generate files in build dir.
44354         (dir-add.texi): Build in build dir.
44355         (libm-err.texi,stamp-libm-err): Likewise.
44356         (version.texi, stamp-version): Likewise.
44357         (.%c.texi): Likewise.
44358         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44359         (mostlyclean): Remove target.
44360         (realclean): Remove target.
44361         (generated): Add new variable with contents from mostlyclean and
44362         realclean, remove entries duplicated in common-mostlyclean, add
44363         stamp-libm-err and stamp-version.
44364         (generated-dirs): Add libc directory.
44365         ($(inst_infodir)/libc.info): Install files from build dir.
44367         * manual/install.texi (Configuring and compiling): Adjust since
44368         the info files are not part of the tar ball anymore.
44370 2012-05-14  Andreas Jaeger  <aj@suse.de>
44372         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44373         variable.
44375 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44377         [BZ #13717]
44378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44379         to 2.2.0 where earlier.
44380         * sysdeps/unix/sysv/linux/configure: Regenerated.
44381         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44382         Remove conditional code.
44383         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44384         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44385         Remove conditional code.
44386         [!__NR_lchown]: Likewise.
44387         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44388         [__NR_lchown]: Likewise.
44389         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44390         comment referencing __ASSUME_LCHOWN_SYSCALL.
44391         * sysdeps/unix/sysv/linux/i386/sigaction.c
44392         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44393         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44394         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44395         Remove conditional code.
44396         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44397         (__protocol_available): Remove #if 0 code.
44398         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44399         conditional code.
44400         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44401         * sysdeps/unix/sysv/linux/kernel-features.h
44402         (__ASSUME_GETCWD_SYSCALL): Don't define.
44403         (__ASSUME_REALTIME_SIGNALS): Likewise.
44404         (__ASSUME_PREAD_SYSCALL): Likewise.
44405         (__ASSUME_PWRITE_SYSCALL): Likewise.
44406         (__ASSUME_POLL_SYSCALL): Likewise.
44407         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44408         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44409         non-SPARC.
44410         (__ASSUME_SIOCGIFNAME): Don't define.
44411         (__ASSUME_MSG_NOSIGNAL): Likewise.
44412         (__ASSUME_SENDFILE): Define unconditionally.
44413         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44414         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44415         conditional code.
44416         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44417         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44418         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44419         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44420         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44421         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44422         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44424         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44427         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44430         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44433         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44436         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44439         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44445         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44447         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44448         Remove conditional code.
44449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44450         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44451         Remove conditional code.
44452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44453         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44454         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44455         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44456         Remove conditional code.
44457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44458         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44459         Remove conditional code.
44460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44461         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44462         Remove conditional code.
44463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44464         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44465         Remove conditional code.
44466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44467         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44468         Remove conditional code.
44469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44470         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44473         * sysdeps/unix/sysv/linux/sigaction.c
44474         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44475         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44476         * sysdeps/unix/sysv/linux/sigpending.c
44477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44479         * sysdeps/unix/sysv/linux/sigprocmask.c
44480         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44481         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44482         * sysdeps/unix/sysv/linux/sigsuspend.c
44483         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44484         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44485         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44486         (__libc_missing_rt_sigs): Remove.
44487         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44488         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44489         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44490         Remove conditional code.
44491         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44492         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44493         return 1.
44494         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44495         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44496         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44497         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44499 2012-05-14  Andreas Jaeger  <aj@suse.de>
44501         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44502         it's not used in glibc.
44503         (__coshm1): Likewise.
44504         (__acosh1p): Likewise.
44505         (__sgn): Likewise.
44507         * manual/string.texi (Copying and Concatenation): Add missing
44508         variable in concat example.
44509         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44513         [BZ #14103]
44514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44515         __builtin_clzl with __builtin_clzll.
44517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44519         [BZ #14104]
44520         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44521         libc_freeres_ptr.
44523 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44525         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44526         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44527         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44528         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44530 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44532         * NEWS: Update ia64 info.
44534 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44536         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44537         used as bcopy.
44539 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44541         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44542         * sysdeps/unix/syscalls.list (dup3): Likewise.
44543         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44544         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44546 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44548         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44549         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44551 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44553         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44554         thread pointer.
44555         (TLS_IE): Use mov/add instead of movq/addq to load thread
44556         pointer.
44557         (TLS_GD_PREFIX): New.
44558         (TLS_GD): Use it.
44560 2012-05-11  David S. Miller  <davem@davemloft.net>
44562         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44563         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44564         (_FPU_SETCW): Likewise.
44566 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44568         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44569         is 32-byte aligned.
44571 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44573         [BZ #11837]
44574         * iconvdata/gb18030.c: Update tables.
44575         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44576         characters specially.
44577         (BODY for TO_LOOP): Add encoding of missing ranges.
44579 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44581         [BZ #13673]
44582         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44583         * sysdeps/mach/hurd/dup3.c: Likewise.
44584         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44585         * sysdeps/powerpc/memmove.c:: Likewise.
44587 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44590         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44592 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44594         * elf/elf.h (R_X86_64_RELATIVE64): New.
44595         (R_X86_64_NUM): Updated.
44596         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44597         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44598         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44599         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44600         tst-quad1pie tst-quad2pie
44601         (modules-names): Add tst-quadmod1 tst-quadmod2.
44602         ($(objpfx)tst-quad1): New dependency.
44603         ($(objpfx)tst-quad2): Likewise.
44604         ($(objpfx)tst-quad1pie): Likewise.
44605         ($(objpfx)tst-quad2pie): Likewise.
44606         * sysdeps/x86_64/tst-quad1.c: New file.
44607         * sysdeps/x86_64/tst-quad1pie.c: New file.
44608         * sysdeps/x86_64/tst-quad2.c: Likewise.
44609         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44610         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44611         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44612         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44613         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44615 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44617         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44618         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44619         * streams/stropts.h (t_scalar_t): Define type.
44621         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44622         (_PATH_PRESERVE): Set to "/var/lib".
44623         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44625         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44626         instead of int.
44628         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44629         if __dir_mkfile succeeded.
44631         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44632         checking for _hurd_dtablesize.  Unlock it right after having
44633         finished _hurd_dtable allocation.
44635 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44637         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44638         * sysdeps/mach/hurd/configure: Regenerated.
44639         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44640         special-casing to...
44641         * sysdeps/gnu/configure.in: ... this new file.
44642         * sysdeps/unix/sysv/linux/configure: Regenerated.
44643         * sysdeps/gnu/configure: New generated file.
44645         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44646         for Linux: use nsec instead of usec, as well as:
44647         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44648         members of type struct timespec.
44649         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44650         New macros.
44651         (struct stat64): Likewise.
44652         (_STATBUF_ST_NSEC): New macro.
44653         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44655         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44656         __strtoul_internal rather than strtoul.
44658 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44660         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44661         and reject them.
44663 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44665         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44666         which preserves existing values.
44667         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44669 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44671         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44672         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44673         greater than FD_SETSIZE.
44675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44677         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44678         allocated, call __vm_protect to finish enabling the existing space, and
44679         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44680         allocate the remainder.
44682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44684         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44685         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44689         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44690         sysdeps/mach/hurd/readlink.c.
44692         * posix/tst-sysconf.c (posix_options): Only use
44693         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44694         _POSIX_SYNCHRONIZED_IO when they are defined
44695         * sysdeps/mach/hurd/bits/posix_opt.h:
44696         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44697         (_XOPEN_REALTIME): Undefine macro.
44698         (_XOPEN_REALTIME_THREADS): Undefine macro.
44699         (_XOPEN_SHM): Undefine macro.
44700         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44701         macro to -1.
44702         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44703         macro to -1.
44704         (_POSIX_ASYNC_IO): Undefine macro.
44705         (_POSIX_PRIORITIZED_IO): Undefine macro.
44706         (_POSIX_SPIN_LOCKS): Define macro to -1.
44708         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44709         SA_NODEFER, SA_RESETHAND.
44710         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44711         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44712         F_DUPFD_CLOEXEC.
44714 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44716         * elf/Makefile (pldd-modules): Define unconditionally.
44718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44720         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44724         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44725         Return ENOENT when name is empty.
44726         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44730         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44732         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44736         Fix mlock in all cases except non-readable pages.
44737         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44738         instead of VM_PROT_ALL as parameter to __vm_wire function.
44740         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44741         (__mkdir): When path is `/', just fail with EEXIST.
44742         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44744 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44746         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44747         <sys/uio.h> (for writev).
44748         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44749         and <sys/param.h> (for MIN).
44751 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44753         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44754         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44755         if interrupted.
44757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44759         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44760         Depend on against $(link-rpcuserlibs).
44762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44764         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44765         (__libc_stack_end): Do not use attribute_relro.
44766         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44767         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44768         to libthread-provided value.
44769         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44770         attribute_relro.
44772 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44774         [BZ #3748]
44775         * bits/libc-lock.h (__libc_once_get): New macro.
44776         * sysdeps/mach/bits/libc-lock.h: Likewise.
44777         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44778         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44779         instead of using implementation details.
44781         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44782         * libio/freopen.c: Likewise.
44783         * libio/freopen64.c: Likewise.
44784         * misc/syslog.c: Likewise.
44785         * nscd/connections.c: Likewise.
44786         * nscd/netgroupcache.c: Likewise.
44787         * sysdeps/posix/getcwd.c: Likewise.
44789 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44791         * math/w_ilogbf.c: Add #include <limits.h>.
44793 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44795         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44796         path instead of returning without unlocking.
44798         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44799         immediate-write ioctls.
44800         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44804         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44805         __builtin_frame_address instead of making assumptions about the
44806         location of the return address relative to DATA.  Force early load of
44807         the return address.
44808         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44809         __builtin_frame_address.
44811         dup3 for GNU Hurd.
44812         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44813         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44814         implement dup3 and do some further code clean-ups.
44815         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44816         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44818 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44820         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44822         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44823         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44824         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44825         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44826         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44827         d->port.lock.
44829         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44830         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44831         when handler == SIG_ERR, not when handler != SIG_ERR.
44833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44835         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44836         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44837         definitions.
44839         accept4 for GNU Hurd.
44840         * include/sys/socket.h (__libc_accept4): New prototype.
44841         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44842         to implement __libc_accept4.
44843         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44844         __libc_accept4.
44845         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44847         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44848         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44849         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44850         signal-defines.sym.
44852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44854         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44858         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44859         assertion on O_CLOEXEC flag.
44860         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44861         * hurd/intern-fd.c: Likewise.
44862         * hurd/port2fd.c: Likewise.
44864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44866         [BZ #3906]
44867         * bits/in.h (IPV6_PKTINFO): Define new macro.
44868         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44870 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44872         [BZ #13954]
44873         [BZ #13955]
44874         [BZ #13956]
44875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44876         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44877         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44878         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44880         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44881         * math/libm-test.inc (logb_test) : Additional logb tests.
44883 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44884             Andreas Jaeger  <aj@suse.de>
44886         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44887         * configure: Regenerated.
44888         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44889         * config.make.in (link-obsolete-rpc): New substituted variable.
44890         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44891         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44892         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44893         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44894         so that libc.a contains the symbols.
44895         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44896         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44897         * sunrpc/auth_none.c: Likewise.
44898         * sunrpc/auth_unix.c: Likewise.
44899         * sunrpc/authdes_prot.c: Likewise.
44900         * sunrpc/authuxprot.c: Likewise.
44901         * sunrpc/clnt_gen.c: Likewise.
44902         * sunrpc/clnt_perr.c: Likewise.
44903         * sunrpc/clnt_raw.c: Likewise.
44904         * sunrpc/clnt_simp.c: Likewise.
44905         * sunrpc/clnt_tcp.c: Likewise.
44906         * sunrpc/clnt_udp.c: Likewise.
44907         * sunrpc/clnt_unix.c: Likewise.
44908         * sunrpc/des_crypt.c: Likewise.
44909         * sunrpc/des_soft.c: Likewise.
44910         * sunrpc/get_myaddr.c: Likewise.
44911         * sunrpc/key_call.c: Likewise.
44912         * sunrpc/key_prot.c: Likewise.
44913         * sunrpc/netname.c: Likewise.
44914         * sunrpc/pm_getmaps.c: Likewise.
44915         * sunrpc/pm_getport.c: Likewise.
44916         * sunrpc/pmap_clnt.c: Likewise.
44917         * sunrpc/pmap_prot.c: Likewise.
44918         * sunrpc/pmap_prot2.c: Likewise.
44919         * sunrpc/pmap_rmt.c: Likewise.
44920         * sunrpc/publickey.c: Likewise.
44921         * sunrpc/rpc_cmsg.c: Likewise.
44922         * sunrpc/rpc_common.c: Likewise.
44923         * sunrpc/rpc_dtable.c: Likewise.
44924         * sunrpc/rpc_prot.c: Likewise.
44925         * sunrpc/rpc_thread.c: Likewise.
44926         * sunrpc/rtime.c: Likewise.
44927         * sunrpc/svc.c: Likewise.
44928         * sunrpc/svc_auth.c: Likewise.
44929         * sunrpc/svc_raw.c: Likewise.
44930         * sunrpc/svc_run.c: Likewise.
44931         * sunrpc/svc_tcp.c: Likewise.
44932         * sunrpc/svc_udp.c: Likewise.
44933         * sunrpc/svc_unix.c: Likewise.
44934         * sunrpc/svcauth_des.c: Likewise.
44935         * sunrpc/xcrypt.c: Likewise.
44936         * sunrpc/xdr.c: Likewise.
44937         * sunrpc/xdr_array.c: Likewise.
44938         * sunrpc/xdr_float.c: Likewise.
44939         * sunrpc/xdr_intXX_t.c: Likewise.
44940         * sunrpc/xdr_mem.c: Likewise.
44941         * sunrpc/xdr_rec.c: Likewise.
44942         * sunrpc/xdr_ref.c: Likewise.
44943         * sunrpc/xdr_sizeof.c: Likewise.
44944         * sunrpc/xdr_stdio.c: Likewise.
44946 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44949         change.  Update copyright years.
44951 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44953         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44955 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44956             Joseph Myers  <joseph@codesourcery.com>
44957             Paul Pluzhnikov  <ppluzhnikov@google.com>
44959         [BZ #14012]
44960         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44961         requiring rpcgen.
44962         [cross-compiling] (extra-libs): Likewise.
44963         [cross-compiling] (extra-libs-others): Likewise.
44964         [cross-compiling] (librpcsvc-routines): Likewise.
44965         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44966         [cross-compiling] (omit-deps): Likewise.
44967         (sunrpc-CPPFLAGS): New variable.
44968         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44969         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44970         (cross-rpcgen-objs): New variable.
44971         (extra-objs): Append $(cross-rpcgen-objs).
44972         ($(cross-rpcgen-objs)): New rule.
44973         ($(objpfx)cross-rpcgen): Likewise.
44974         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44975         comment.
44976         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44977         ($(objpfx)x%.stmp): Likewise.
44978         * sunrpc/proto.h [IS_IN_build] (_): Define.
44979         [IS_IN_build] (_libc_intl_domainname): Likewise.
44981 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44984         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44985         and R_X86_64_TPOFF64.
44987 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44989         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44990         sysdeps/unix/sysv/syscalls.list.
44991         (stime): Likewise.
44992         (utime): Likewise.
44993         * sysdeps/unix/sysv/syscalls.list: Remove file.
44995 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44997         [BZ #3440]
44998         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44999         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45000         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45001         (__LC_IDENTIFICATION): Make these macros useful in #if
45002         expressions, as required by C99.
45004 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
45006         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45007         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
45008         after this.
45010 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
45012         * stdlib/longlong.h: Updated from GCC.
45014 2012-05-09  Andreas Jaeger  <aj@suse.de>
45016         * nscd/nscd.c (run_modes): Make named enum, reorder so that
45017         default is first entry.
45018         (run_mode): Set type.
45019         (main): Remove informal message about syslog.
45020         (options): Fix typo.
45022         [BZ #14053]
45023         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45024         to asm.
45025         (lrint): Likewise.
45026         (llrintf): Likewise.
45027         (llrint): Likewise.
45028         (rint): Likewise.
45029         (rintf): Likewise.
45030         (nearbyint): Likewise.
45031         (nearbyintf): Likewise.
45033 2012-05-09  Andreas Jaeger  <aj@suse.de>
45034             Pedro Alves  <palves@redhat.com>
45036         * nscd/nscd.c (run_mode): Use enum.
45037         (main): Cleanup coding style issue.
45039 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
45040             Andreas Jaeger  <aj@suse.de>
45042         * nscd/nscd.c (go_background): Replaced with...
45043         (run_mode): ... this.
45044         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45045         (options): Add -F --foreground.
45046         (main): Implement it.
45047         (parse_opt): Parse it.
45049 2012-05-09  Andreas Jaeger  <aj@suse.de>
45051         [BZ #14083]
45052         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45053         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45054         -Wconversion warning.
45055         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45056         Likewise.
45058 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
45060         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
45061         == 0.
45062         (LC_ALL): Use macro-int-constant.
45063         (LC_COLLATE): Likewise.
45064         (LC_CTYPE): Likewise.
45065         (LC_MESSAGES): Likewise.
45066         (LC_MONETARY): Likewise.
45067         (LC_NUMERIC): Likewise.
45068         (LC_TIME): Likewise.
45069         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45070         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45071         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45072         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45073         Specify type.
45074         [C99-based standards] (float_t): Expect type.
45075         [C99-based standards] (double_t): Expect type.
45076         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
45077         type.
45078         [C99-based standards] (HUGE_VALL): Likewise.
45079         [C99-based standards] (INFINITY): Likewise.
45080         [C99-based standards] (NAN): Likewise.
45081         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45082         [C99-based standards] (FP_NAN): Likewise.
45083         [C99-based standards] (FP_NORMAL): Likewise.
45084         [C99-based standards] (FP_SUBNORMAL): Likewise.
45085         [C99-based standards] (FP_ZERO): Likewise.
45086         [C99-based standards] (FP_FAST_FMA): Use
45087         optional-macro-int-constant.  Specify type.  Require == 1.
45088         [C99-based standards] (FP_FAST_FMAF): Likewise.
45089         [C99-based standards] (FP_FAST_FMAL): Likewise.
45090         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45091         [C99-based standards] (FP_ILOGBNAN): Likewise.
45092         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45093         Specify type.
45094         [C99-based standards] (MATH_ERREXCEPT): Likewise.
45095         [C99-based standards] (math_errhandling): Specify type.
45096         [ISO99 || ISO11] (signgam): Do not allow.
45097         [non-C99-based standards] (copysignf): Do not allow.
45098         [non-C99-based standards] (exp2f): Likewise.
45099         [non-C99-based standards] (log2f): Likewise.
45100         [non-C99-based standards] (modff): Allow.
45101         [non-C99-based standards] (erff): Do not allow.
45102         [non-C99-based standards] (erfcf): Likewise.
45103         [non-C99-based standards] (gammaf): Likewise.
45104         [non-C99-based standards] (hypotf): Likewise.
45105         [non-C99-based standards] (j0f): Likewise.
45106         [non-C99-based standards] (j1f): Likewise.
45107         [non-C99-based standards] (jnf): Likewise.
45108         [non-C99-based standards] (lgammaf): Likewise.
45109         [non-C99-based standards] (tgammaf): Likewise.
45110         [non-C99-based standards] (y0f): Likewise.
45111         [non-C99-based standards] (y1f): Likewise.
45112         [non-C99-based standards] (ynf): Likewise.
45113         [non-C99-based standards] (isnanf): Likewise.
45114         [non-C99-based standards] (acoshf): Likewise.
45115         [non-C99-based standards] (asinhf): Likewise.
45116         [non-C99-based standards] (atanhf): Likewise.
45117         [non-C99-based standards] (cbrtf): Likewise.
45118         [non-C99-based standards] (expm1f): Likewise.
45119         [non-C99-based standards] (ilogbf): Likewise.
45120         [non-C99-based standards] (log1pf): Likewise.
45121         [non-C99-based standards] (logbf): Likewise.
45122         [non-C99-based standards] (nextafterf): Likewise.
45123         [non-C99-based standards] (remainderf): Likewise.
45124         [non-C99-based standards] (rintf): Likewise.
45125         [non-C99-based standards] (scalbf): Likewise.
45126         [non-C99-based standards] (copysignl): Likewise.
45127         [non-C99-based standards] (exp2l): Likewise.
45128         [non-C99-based standards] (log2l): Likewise.
45129         [non-C99-based standards] (modfl): Allow.
45130         [non-C99-based standards] (erfl): Do not allow.
45131         [non-C99-based standards] (erfcl): Likewise.
45132         [non-C99-based standards] (gammal): Likewise.
45133         [non-C99-based standards] (hypotl): Likewise.
45134         [non-C99-based standards] (j0l): Likewise.
45135         [non-C99-based standards] (j1l): Likewise.
45136         [non-C99-based standards] (jnl): Likewise.
45137         [non-C99-based standards] (lgammal): Likewise.
45138         [non-C99-based standards] (tgammal): Likewise.
45139         [non-C99-based standards] (y0l): Likewise.
45140         [non-C99-based standards] (y1l): Likewise.
45141         [non-C99-based standards] (ynl): Likewise.
45142         [non-C99-based standards] (isnanl): Likewise.
45143         [non-C99-based standards] (acoshl): Likewise.
45144         [non-C99-based standards] (asinhl): Likewise.
45145         [non-C99-based standards] (atanhl): Likewise.
45146         [non-C99-based standards] (cbrtl): Likewise.
45147         [non-C99-based standards] (expm1l): Likewise.
45148         [non-C99-based standards] (ilogbl): Likewise.
45149         [non-C99-based standards] (log1pl): Likewise.
45150         [non-C99-based standards] (logbl): Likewise.
45151         [non-C99-based standards] (nextafterl): Likewise.
45152         [non-C99-based standards] (remainderl): Likewise.
45153         [non-C99-based standards] (rintl): Likewise.
45154         [non-C99-based standards] (scalbl): Likewise.
45155         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45156         [non-C99-based standards] (FP_*): Do not allow.
45157         [C99-based standards] (FP_*): Change to
45158         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45159         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45160         allow.
45161         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45162         (SIG_ERR): Likewise.
45163         [X/Open-based standards] (SIG_HOLD): Likewise.
45164         (SIG_IGN): Likewise.
45165         (SIGABRT): Use macro-int-constant.  Specify type.  Require
45166         positive value.
45167         (SIGFPE): Likewise.
45168         (SIGILL): Likewise.
45169         (SIGINT): Likewise.
45170         (SIGSEGV): Likewise.
45171         (SIGTER): Likewise.
45172         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45173         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45174         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45175         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45176         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45177         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45178         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45179         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45180         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45181         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45182         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45183         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45184         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45185         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45186         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45187         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45188         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45189         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45190         [X/Open-based standards] (SIGTRAP): Likewise.
45191         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45192         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45193         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45194         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45195         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45196         allow.
45198 2012-05-08  Ian Wienand  <ianw@vmware.com>
45200         [BZ #14080]
45201         * time/tzset.c (__tzset_parse_tz): Update default rules for
45202         daylight time changes in the Energy Policy Act of 2005.
45204 2012-05-09  Andreas Jaeger  <aj@suse.de>
45206         [BZ #13983]
45207         * elf/ldconfig.c (parse_conf): Change string to make clear that
45208         ldconfig only issued a warning if ld.so.conf does not exist.
45210 2012-05-08  David S. Miller  <davem@davemloft.net>
45212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45213         movxtod instead of popping the value on the stack.
45215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45217 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45219         * config.h.in: Add HAVE_ARM_PCS_VFP.
45221 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45223         [BZ #13979]
45224         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45225         checking but the checks are disabled for any reason.
45227 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45229         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45230         and ELF64_R_TYPE with ELFW(R_TYPE).
45232 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45234         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45235         (ulimit): Likewise.
45237         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45238         (settimeofday): Likewise.
45240 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45242         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45243         a struct th_u2 inside the union, and move tu_block/tu_code into
45244         a new th_u3 union of tu_block/tu_code inside of that.  Move
45245         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45246         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45247         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45248         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45249         (th_stuff): Change to th_u1.tu_stuff.
45250         (th_data): Define.
45251         (th_msg): Change to th_u1.th_u2.tu_data.
45253 2012-05-07  David S. Miller  <davem@davemloft.net>
45255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45257         [BZ #14074]
45258         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45259         (SETUP_PIC_REG): Use it.
45260         (SETUP_PIC_REG_LEAF): Use it.
45262 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45264         [BZ #13885]
45265         [BZ #13923]
45266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45267         USE_AS_EXPM1L.
45268         (EXPL_FINITE): Likewise.
45269         (FLDLOG): Likewise.
45270         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45271         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45272         e_expl.S.
45273         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45274         USE_AS_EXPM1L.
45275         (EXPL_FINITE): Likewise.
45276         (FLDLOG): Likewise.
45277         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45278         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45279         e_expl.S.
45280         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45281         test of -max_value argument for long double.
45282         * sysdeps/i386/fpu/libm-test-ulps: Update.
45283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45285 2012-05-06  David S. Miller  <davem@davemloft.net>
45287         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45288         quad soft-float symbols whose references which are compiler
45289         generated.
45290         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45292 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45294         [BZ #13884]
45295         [BZ #13914]
45296         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45297         USE_AS_EXP10L.
45298         (EXPL_FINITE): Likewise.
45299         (FLDLOG): Likewise.
45300         (c0): Likewise.
45301         (c1): Likewise.
45302         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45303         Adjust comments for base varying.
45304         (__expl_finite): Change alias to EXPL_FINITE.
45305         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45306         e_expl.S.
45307         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45308         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45309         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45310         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45311         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45312         USE_AS_EXP10L.
45313         (EXPL_FINITE): Likewise.
45314         (FLDLOG): Likewise.
45315         (c0): Likewise.
45316         (c1): Likewise.
45317         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45318         Adjust comments for base varying.
45319         (__expl_finite): Change alias to EXPL_FINITE.
45320         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
45321         tests for bugs.
45322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45324         [BZ #14064]
45325         * math/libm-test.inc (check_float_internal): Correct ulp
45326         calculation for subnormal expected results.
45328 2012-05-06  Andreas Jaeger  <aj@suse.de>
45330         * Makeconfig (+math-flags): New, set to -frounding-math.
45331         (+cflags): Add +math-flags so that all of glibc gets compiled with
45332         it.
45334         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45336 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
45338         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45339         Disable one test.
45341         [BZ #13787]
45342         [BZ #13922]
45343         [BZ #14036]
45344         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45345         (__ieee754_expl): Allow for and saturate large arguments.
45346         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45347         (u_threshold): Likewise.
45348         (__exp): Call __ieee754_exp before checking for overflow and
45349         underflow.
45350         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45351         (u_threshold): Likewise.
45352         (__expf): Call __ieee754_expf before checking for overflow and
45353         underflow.
45354         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45355         (u_threshold): Likewise.
45356         (__expl): Call __ieee754_expl before checking for overflow and
45357         underflow.
45358         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45359         (__ieee754_expl): Allow for and saturate large arguments.
45360         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45361         missing overflow exception on overflow.
45362         (expm1_test): Do not allow missing overflow exception on overflow.
45364         * sysdeps/i386/fpu/e_expl.c: Move to ...
45365         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45366         rather than using inline asm.
45367         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45368         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45369         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45371         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45372         (nice): Likewise.
45373         (poll): Likewise.
45374         (signal): Likewise.
45375         (time): Likewise.
45376         (times): Likewise.
45378 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45380         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45381         sysdeps/unix/common/syscalls.list.
45382         (fchmod): Likewise.
45383         (fchown): Likewise.
45384         (ftruncate): Likewise.
45385         (getrusage): Likewise.
45386         (gettimeofday): Likewise.
45387         (setpgid): Likewise.
45388         (setregid): Likewise.
45389         (setreuid): Likewise.
45390         (sigaction): Likewise.
45391         (truncate): Likewise.
45392         (vhangup): Likewise.
45393         * sysdeps/unix/common/syscalls.list: Remove file.
45394         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45395         * sysdeps/unix/sysv/linux/Implies: Likewise.
45397 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45399         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45401         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45402         Moved to ...
45403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45404         Here.
45405         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45406         to ...
45407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45408         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45409         to ...
45410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45411         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45412         to ...
45413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45414         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45415         to ...
45416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45417         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45418         to ...
45419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45420         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45421         to ...
45422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45423         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45424         to ...
45425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45426         Here.
45427         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45428         to ...
45429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45430         Here.
45431         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45432         to ...
45433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45434         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45435         Moved to ...
45436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45437         Here.
45438         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45439         to ...
45440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45442 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45444         * sysdeps/unix/common/bits/dirent.h: Remove file.
45445         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45447         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45448         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45449         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45450         * sysdeps/unix/bsd/isatty.c: Likewise.
45451         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45452         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45453         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45455 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45457         [BZ #13563]
45458         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45459         long double comparison inaccuracies.
45460         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45463 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45465         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45466         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45468 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45470         [BZ #14049]
45471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45472         nonzero digits before rounding a hex value.
45473         * stdlib/tst-strtod.c (tests): Add another test.
45475 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45477         * sysdeps/s390/fpu/libm-test-ulps: Update.
45479 2012-05-03  Andreas Jaeger  <aj@suse.de>
45481         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45482         does not get optimized out.
45483         (malloc_opt_barrier): New.
45485 2012-05-03  Andreas Jaeger  <aj@suse.de>
45486             Roland McGrath  <roland@hack.frob.com>
45488         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45489         intermediate file deletion.
45490         (generated): Add .symlist files.
45492 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45494         [BZ #13775]
45495         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45496         Redirect under this condition.
45497         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45498         [__USE_GNU] (__dprintf_chk): Not under this condition.
45499         [__USE_GNU] (__vdprintf_chk): Likewise.
45500         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45501         under this condition.
45502         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45503         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45504         [__USE_XOPEN2K8] (vdprintf): Likewise.
45505         [__USE_GNU] (__dprintf_chk): Not under this condition.
45506         [__USE_GNU] (__vdprintf_chk): Likewise.
45507         [__USE_GNU] (dprintf): Likewise.
45508         [__USE_GNU] (vdprintf): Likewise.
45510 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45512         * elf/Makefile (common-generated): Set this instead of generated for
45513         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45514         $(all-built-dso)-derived lists.
45516 2012-05-03  Andreas Jaeger  <aj@suse.de>
45518         * sysdeps/i386/fpu/libm-test-ulps: Update.
45520         * FAQ: Removed.
45521         * FAQ.in: Likewise.
45522         * scripts/gen-FAQ.pl: Likewise.
45523         * manual/install.texi (Installation): Point to online location of
45524         FAQ.
45525         * Makefile (files-for-dist): Remove FAQ.
45526         (FAQ): Remove.
45528 2012-05-02  Allan McRae  <allan@archlinux.org>
45530         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45531         (LDFLAGS-reldepmod5.so): Likewise.
45532         (LDFLAGS-reldep6mod1.so): Likewise.
45533         (LDFLAGS-reldep6mod4.so): Likewise.
45534         (LDFLAGS-reldep8mod3.so): Likewise.
45535         (LDFLAGS-unload4mod1.so): Likewise.
45536         (LDFLAGS-unload4mod2.so): Likewise.
45537         (LDFLAGS-tst-initorder): Likewise.
45538         (LDFLAGS-tst-initordera2.so): Likewise.
45539         (LDFLAGS-tst-initordera3.so): Likewise.
45540         (LDFLAGS-tst-initordera4.so): Likewise.
45541         (LDFLAGS-tst-initorderb2.so): Likewise.
45542         (LDFLAGS-noload): Likewise.
45543         (LDFLAGS-next): Likewise.
45544         (LDFLAGS-order2mod1.so): Likewise.
45545         (LDFLAGS-order2mod2.so): Likewise.
45546         (LDFLAGS-tst-initorder2): Likewise.
45547         (LDFLAGS-tst-initorder2a.so): Likewise.
45548         (LDFLAGS-tst-initorder2b.so): Likewise.
45549         (LDFLAGS-tst-initorder2c.so): Likewise.
45550         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45552 2012-05-02  David S. Miller  <davem@davemloft.net>
45554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45556 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45558         [BZ #14055]
45559         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45561 2012-05-02  Andreas Jaeger  <aj@suse.de>
45563         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45564         since we manipulate rounding mode.
45565         (CPPFLAGS-test-idouble.c): Likewise.
45566         (CPPFLAGS-test-ifloat.c): Likewise.
45567         (CFLAGS-test-ldouble.c): Likewise.
45568         (CFLAGS-test-double.c): Likewise.
45569         (CFLAGS-test-float.c): Likewise.
45570         (CFLAGS-test-misc.c): Likewise.
45571         (CFLAGS-test-test-fenv.c): Likewise.
45573 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45575         [BZ #2550]
45576         [BZ #2570]
45577         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45578         comparisons to determine direction to adjust input.
45580 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45582         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45583         output to the target.
45585         * scripts/localplt.awk: New file.
45586         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45587         (check-localplt-CFLAGS): Variable removed.
45588         ($(all-built-dso:=.jmprel)): New static pattern rule.
45589         (generated): Add those targets.
45590         (localplt-built-dso): New variable.
45591         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45593         * elf/check-localplt.c: File removed.
45595         * scripts/check-execstack.awk: New file.
45596         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45597         (check-execstack-CFLAGS): Variable removed.
45598         ($(objpfx)check-execstack.h): Target removed.
45599         ($(objpfx)execstack-default): New target.
45600         (generated): Add that instead of check-execstack.h.
45601         ($(all-built-dso:=.phdr)): New static pattern rule.
45602         (generated): Add those targets.
45603         * elf/check-execstack.c: File removed.
45605         * scripts/check-textrel.awk: New file.
45606         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45607         (check-textrel-CFLAGS): Variable removed.
45608         (all-built-dso): Use := to define.o
45609         ($(all-built-dso:=.dyn)): New static pattern rule.
45610         (generated): Add those targets.
45611         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45612         * config.make.in (READELF): New substituted variable.
45613         * elf/check-textrel.c: File removed.
45615 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45617         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45618         allow.
45619         * conform/data/ctype.h-data [C99-based standards] (isblank):
45620         Expect function.
45621         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45622         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45624         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45625         Specify type.  Require positive value.
45626         (EILSEQ): Likewise.
45627         (ERANGE): Likewise.
45628         [ISO || POSIX] (EILSEQ): Do not expect.
45629         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45630         Specify type.  Require positive value.
45631         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45632         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45633         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45634         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45635         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45636         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45637         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45638         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45639         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45640         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45641         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45642         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45643         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45644         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45645         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45646         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45647         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45648         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45649         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45650         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45651         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45652         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45653         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45654         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45655         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45656         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45657         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45658         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45659         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45660         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45661         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45662         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45663         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45664         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45665         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45666         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45667         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45668         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45669         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45670         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45671         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45672         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45673         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45674         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45675         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45676         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45677         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45678         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45679         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45680         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45681         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45682         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45683         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45684         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45685         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45686         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45687         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45688         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45689         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45690         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45691         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45692         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45693         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45694         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45695         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45696         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45697         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45698         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45699         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45700         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45701         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45702         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45703         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45704         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45705         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45706         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45707         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45708         Require >= 2.
45709         (FLT_ROUNDS): Expect as macro, not constant.
45710         (FLT_MANT_DIG): Use macro-int-constant.
45711         (DBL_MANT_DIG): Likewise.
45712         (LDBL_MANT_DIG): Likewise.
45713         (FLT_DIG): Likewise.
45714         (DBL_DIG): Likewise.
45715         (LDBL_DIG): Likewise.
45716         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45717         (DBL_MIN_EXP): Likewise.
45718         (LDBL_MIN_EXP): Likewise.
45719         (FLT_MAX_EXP): Use macro-int-constant.
45720         (DBL_MAX_EXP): Likewise.
45721         (LDBL_MAX_EXP): Likewise.
45722         (FLT_MAX_10_EXP): Likewise.
45723         (DBL_MAX_10_EXP): Likewise.
45724         (LDBL_MAX_10_EXP): Likewise.
45725         (FLT_MAX): Use macro-constant.
45726         (DBL_MAX): Likewise.
45727         (LDBL_MAX): Likewise.
45728         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45729         (DBL_EPSILON): Likewise.
45730         (LDBL_EPSILON): Likewise.
45731         (FLT_MIN): Likewise.
45732         (DBL_MIN): Likewise.
45733         (LDBL_MIN): Likewise.
45734         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45735         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45736         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45737         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45738         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45739         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45740         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45741         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45742         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45743         [ISO11] (FLT_TRUE_MIN): Likewise.
45744         [ISO11] (LDBL_TRUE_MIN): Likewise.
45745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45746         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45747         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45748         (SCHAR_MAX): Likewise.
45749         (UCHAR_MAX): Likewise.
45750         (CHAR_MIN): Likewise.
45751         (CHAR_MAX): Likewise.
45752         (MB_LEN_MAX): Use macro-int-constant.
45753         (SHRT_MIN): Use macro-int-constant.  Specify type.
45754         (SHRT_MAX): Likewise.
45755         (USHRT_MAX): Likewise.
45756         (INT_MAX): Likewise.
45757         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45758         bound negative.
45759         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45760         bound with "U".
45761         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45762         bound with "L".
45763         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45764         bound negative.  Suffix upper bound with "L".
45765         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45766         bound with "UL".
45767         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45768         Specify type.
45769         [C99-based standards] (LLONG_MAX): Likewise.
45770         [C99-based standards] (ULLONG_MAX): Likewise.
45771         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45772         == 0.
45773         [ISO11] (max_align_t): Require type.
45774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45776         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45777         from $CFLAGS, without defining away __attribute__ calls.
45778         (checknamespace): Use $CFLAGS_namespace.
45780         * conform/conformtest.pl (@keywords): Only include C99 keywords
45781         for standards based on C99 or C11.
45783         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45784         Disable tests.
45785         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45786         UNIX98]: Likewise.
45788         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45789         usability of symbols in #if.
45791         * conform/conformtest.pl: If macro or constant types start
45792         "promoted:", expect the symbol to be of the following type
45793         promoted by the integer promotions.
45795         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45796         in one place.  Also handle "macro-constant".
45798         * conform/conformtest.pl: Only accept expected macro values with
45799         "==".  Parse all "macro" lines in one place.
45800         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45802         * conform/conformtest.pl: Handle braced types on "constant" lines
45803         instead of handling "typed-constant".
45804         * conform/data/signal.h-data: Use "constant" instead of
45805         "typed-constant".
45807         * conform/conformtest.pl: Handle "optional-" at start of lines in
45808         one place rather than duplicating several cases.  Handle each
45809         format of "macro" line with initial "optional-".
45811         * conform/conformtest.pl: Only accept expected constant or
45812         optional-constant values with "==".  Parse all "constant" lines in
45813         one place.  Parse all "optional-constant" lines in one place.
45814         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45815         * conform/data/fmtmsg.h-data: Likewise.
45816         * conform/data/netinet/in.h-data: Likewise.
45817         * conform/data/tar.h-data: Likewise.
45818         * conform/data/limits.h-data: Use "==" form on "constant" and
45819         "optional-constant" lines.
45821         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45822         Use -std=c99 for XOPEN2K.
45823         (@knownproblems): Remove.
45824         (newtoken): Don't check %isknown.
45826         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45827         Do not expect macro.
45828         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45829         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45830         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45831         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45832         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45833         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45834         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45835         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45836         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45837         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45838         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45839         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45840         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45841         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45842         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45843         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45844         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45845         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45846         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45847         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45848         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45849         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45850         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45851         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45852         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45853         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45854         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45855         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45856         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45857         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45858         [XPG3] (acosh): Likewise.
45859         [XPG3] (asinh): Likewise.
45860         [XPG3] (atanh): Likewise.
45861         [XPG3] (cbrt): Likewise.
45862         [XPG3] (expm1): Likewise.
45863         [XPG3] (ilogb): Likewise.
45864         [XPG3] (log1p): Likewise.
45865         [XPG3] (logb): Likewise.
45866         [XPG3] (nextafter): Likewise.
45867         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45868         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45869         [XPG3] (remainder): Likewise.
45870         [XPG3] (rint): Likewise.
45871         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45872         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45873         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45874         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45875         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45876         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45877         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45878         [UNIX98 || XOPEN2K] (scalb): Expect.
45879         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45880         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45881         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45882         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45883         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45884         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45885         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45886         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45887         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45888         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45889         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45890         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45891         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45892         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45893         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45894         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45895         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45896         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45897         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45898         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45899         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45900         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45901         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45902         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45903         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45904         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45905         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45906         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45907         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45908         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45909         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45910         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45911         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45912         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45913         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45914         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45915         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45916         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45917         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45918         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45919         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45920         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45921         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45922         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45923         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45924         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45925         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45926         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45927         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45928         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45929         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45930         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45931         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45932         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45933         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45934         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45935         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45936         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45937         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45938         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45939         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45940         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45941         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45942         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45943         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45944         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45945         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45946         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45947         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45948         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45949         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45950         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45951         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45952         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45953         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45954         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45955         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45956         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45957         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45958         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45959         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45960         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45961         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45962         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45963         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45964         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45965         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45966         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45967         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45968         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45969         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45970         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45971         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45972         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45973         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45974         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45975         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45976         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45977         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45978         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45979         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45980         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45981         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45982         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45983         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45984         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45985         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45986         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45987         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45988         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45989         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45990         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45991         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45992         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45993         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45994         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45995         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45996         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45997         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45998         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45999         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46000         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46001         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46002         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46003         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46004         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46005         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46006         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46007         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46008         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46009         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46010         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46011         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46012         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46013         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46014         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46015         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46017         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46018         _XOPEN_SOURCE_EXTENDED for XPG4.
46020         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46022         * Makeconfig (localtime): Remove variable.
46023         (inst_localtime-file): Likewise.
46025 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46028         Update.
46029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46030         Update.
46031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46032         Update.
46033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46034         Update.
46035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46036         Update.
46037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46038         Update.
46039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46040         Update.
46041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46042         Update.
46043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46044         Update.
46046 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46048         [BZ #2550]
46049         [BZ #2570]
46050         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46051         comparisons to determine direction to adjust input.
46052         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46053         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46054         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46055         Likewise.
46056         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46057         Likewise.
46058         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46059         Likewise.
46060         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46061         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46062         Likewise.
46063         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46064         Likewise.
46065         * math/libm-test.inc (nexttoward_test): Add more tests.
46067 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46069         [BZ #14040]
46070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46071         in version GLIBC_2.1, not GLIBC_2.0.
46072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46073         Likewise.
46075 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
46077         [BZ #13942]
46078         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46079         (1 - x) * (1 + x).
46080         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46081         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46082         * math/libm-test.inc (acos_test): Add more tests.
46083         (asin_test): Likewise.
46084         * sysdeps/i386/fpu/libm-test-ulps: Update.
46085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46087         [BZ #14034]
46088         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46089         of square root.
46090         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46091         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46092         * math/libm-test.inc (acos_test_tonearest): New function.
46093         (acos_test_towardzero): Likewise.
46094         (acos_test_downward): Likewise.
46095         (acos_test_upward): Likewise.
46096         (asin_test_tonearest): Likewise.
46097         (asin_test_towardzero): Likewise.
46098         (asin_test_downward): Likewise.
46099         (asin_test_upward): Likewise.
46100         (main): Call the new functions.
46101         * sysdeps/i386/fpu/libm-test-ulps: Update.
46102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46104         [BZ #13884]
46105         [BZ #13924]
46106         * math/e_exp10.c: Include <float.h>.
46107         (__ieee754_exp10): Handle underflow here rather than multiplying
46108         large negative argument by M_LN10.
46109         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46110         of __ieee754_expf.
46111         * math/e_exp10l.c: Include <float.h>.
46112         (__ieee754_exp10l): Handle underflow here rather than multiplying
46113         large negative argument by M_LN10l.
46114         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
46115         spurious overflow exception on underflow.
46117 2012-04-29  Marek Polacek  <polacek@redhat.com>
46119         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46120         (__fortify_function): New macro.
46121         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46122         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46123         __extern_always_inline.
46124         * libio/bits/stdio2.h: Likewise.
46125         * libio/bits/stdio.h: Likewise.
46126         * string/string.h: Likewise.
46127         * string/bits/string3.h: Likewise.
46128         * include/stdio.h: Likewise.
46129         * stdlib/bits/stdlib.h: Likewise.
46130         * stdlib/stdlib.h: Likewise.
46131         * rt/bits/mqueue2.h: Likewise.
46132         * rt/mqueue.h: Likewise.
46133         * posix/bits/unistd.h: Likewise.
46134         * posix/unistd.h: Likewise.
46135         * io/bits/poll2.h: Likewise.
46136         * io/bits/fcntl2.h: Likewise.
46137         * io/fcntl.h: Likewise.
46138         * io/sys/poll.h: Likewise.
46139         * misc/bits/syslog.h: Likewise.
46140         * misc/bits/syslog-ldbl.h: Likewise.
46141         * misc/sys/syslog.h: Likewise.
46142         * socket/bits/socket2.h: Likewise.
46143         * socket/sys/socket.h: Likewise.
46144         * debug/tst-chk1.c: Likewise.
46145         * wcsmbs/bits/wchar2.h: Likewise.
46146         * wcsmbs/bits/wchar-ldbl.h: Likewise.
46147         * wcsmbs/wchar.h: Likewise.
46149 2012-04-29  Andreas Jaeger  <aj@suse.de>
46151         * Makerules (tests): Remove enable-check-abi protection.
46152         (check-abi-warn): Remove.
46153         (check-abi-%): Remove check-abi-warn usage.
46155         * configure.in: Remove check-abi configure option.
46156         * configure: Regenerated.
46157         * config.make.in (enable-check-abi): Remove.
46159 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
46161         [BZ #14033]
46162         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46163         double functions to double *_finite functions.
46165         [BZ #13941]
46166         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46167         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46168         LDBL_MIN_EXP.
46169         * stdio-common/Makefile (tests): Add tst-sprintf3.
46170         * stdio-common/tst-sprintf3.c: New file.
46172         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46173         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46175 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46177         * conform/conformtest.pl: Remove duplicate typed-constant
46178         handling.
46180 2012-04-28  David S. Miller  <davem@davemloft.net>
46182         * Makerules (%.abilist): Add vpath on sysdep_dirs.
46183         (check-abi-%): Remove AWK script prerequisite and explicit
46184         abilist directory.
46185         (check-abi): Rewrite to just diff the symlist with the abilist.
46186         (config-tls, config-abi-config): Delete, no longer used.
46187         (update-abi-%): Remove AWK script and explicit abilist directory.
46188         (update-abi): Rewrite to simply compare and conditionally copy the
46189         symlist and the sysdep abilist file.  Remove update-abi-config
46190         checks.
46191         * abilist/ld.abilist: Remove.
46192         * abilist/libBrokenLocale.abilist: Remove.
46193         * abilist/libanl.abilist: Remove.
46194         * abilist/libcrypt.abilist: Remove.
46195         * abilist/libdl.abilist: Remove.
46196         * abilist/librt.abilist: Remove.
46197         * abilist/libthread_db.abilist: Remove.
46198         * abilist/libutil.abilist: Remove.
46199         * scripts/extract-abilist.awk: Remove.
46200         * scripts/merge-abilist.awk: Remove.
46201         * sysdeps/generic/libcidn.abilist: New file.
46202         * sysdeps/generic/libnss_compat.abilist: New file.
46203         * sysdeps/generic/libnss_db.abilist: New file.
46204         * sysdeps/generic/libnss_dns.abilist: New file.
46205         * sysdeps/generic/libnss_files.abilist: New file.
46206         * sysdeps/generic/libnss_hesiod.abilist: New file.
46207         * sysdeps/generic/libnss_nis.abilist: New file.
46208         * sysdeps/generic/libnss_nisplus.abilist: New file.
46209         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46210         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46211         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46212         file.
46213         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46214         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46215         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46216         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46217         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46218         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46219         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46220         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46221         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46222         file.
46223         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46224         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46225         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46226         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46227         file.
46228         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46229         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46230         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46231         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46232         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46233         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46234         file.
46235         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46236         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46237         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46238         file.
46239         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46241         New file.
46242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46243         New file.
46244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46245         New file.
46246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46247         New file.
46248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46249         New file.
46250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46251         New file.
46252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46253         New file.
46254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46255         New file.
46256         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46257         New file.
46258         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46259         New file.
46260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46261         New file.
46262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46263         New file.
46264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46265         New file.
46266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46267         file.
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46269         New file.
46270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46271         New file.
46272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46273         file.
46274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46275         New file.
46276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46277         New file.
46278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46279         file.
46280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46281         New file.
46282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46283         New file.
46284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46285         New file.
46286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46287         New file.
46288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46289         New file.
46290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46291         New file.
46292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46294         file.
46295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46296         New file.
46297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46298         file.
46299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46300         file.
46301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46302         file.
46303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46304         file.
46305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46306         file.
46307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46308         New file.
46309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46310         file.
46311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46312         file.
46313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46314         New file.
46315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46316         file.
46317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46319         file.
46320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46321         New file.
46322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46323         file.
46324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46325         file.
46326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46327         file.
46328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46329         file.
46330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46331         file.
46332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46333         New file.
46334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46335         file.
46336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46337         file.
46338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46339         New file.
46340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46341         file.
46342         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46343         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46344         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46345         file.
46346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46347         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46348         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46349         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46350         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46351         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46352         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46353         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46354         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46355         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46358         file.
46359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46360         New file.
46361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46362         file.
46363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46364         file.
46365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46366         file.
46367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46368         file.
46369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46370         file.
46371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46372         New file.
46373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46374         New file.
46375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46376         file.
46377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46378         New file.
46379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46380         file.
46381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46383         file.
46384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46385         New file.
46386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46387         file.
46388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46389         file.
46390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46391         file.
46392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46393         file.
46394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46395         file.
46396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46397         New file.
46398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46399         New file.
46400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46401         file.
46402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46403         New file.
46404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46405         file.
46407 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46409         * conform/conformtest.pl: Fix typo in handling typed-constant from
46410         allow-header.
46412 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46414         * README: Cut down references to pre-2.6 Linux kernels and
46415         Linuxthreads.  Update lists of configurations in libc and ports
46416         and sort alphabetically.  Say "or newer" with Linux kernel version
46417         requirements.
46419         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46421 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46423         [BZ #887]
46424         * math/libm-test.inc (logb_test_downward): New test to expose
46425         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46426         rounding mode.
46428 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46430         [BZ #14027]
46431         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46432         to be done.
46433         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46434         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46436 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46438         * sysdeps/unix/i386/brk.S: Remove file.
46439         * sysdeps/unix/i386/dl-brk.S: Likewise.
46440         * sysdeps/unix/i386/pipe.S: Likewise.
46441         * sysdeps/unix/i386/sigreturn.S: Likewise.
46442         * sysdeps/unix/i386/syscall.S: Likewise.
46443         * sysdeps/unix/i386/vfork.S: Likewise.
46444         * sysdeps/unix/i386/wait.S: Likewise.
46446         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46447         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46449         * configure.in (arm*-none*): Do not allow without
46450         --enable-hacker-mode.
46451         (netbsd*): Remove case setting base_os.
46452         (386bsd*): Likewise.
46453         (freebsd*): Likewise.
46454         (bsdi*): Likewise.
46455         (osf*): Likewise.
46456         (sunos*): Likewise.
46457         (ultrix*): Likewise.
46458         (newsos*): Likewise.
46459         (dynix*): Likewise.
46460         (*bsd*): Likewise.
46461         (sysv*): Likewise.
46462         (isc*): Likewise.
46463         (esix*): Likewise.
46464         (sco*): Likewise.
46465         (minix*): Likewise.
46466         (irix4*): Likewise.
46467         (irix6*): Likewise.
46468         (solaris[2-9]*): Likewise.
46469         (none): Likewise.
46470         * configure: Regenerated.
46472 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46474         [BZ #11521]
46475         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46476         overflow or cancellation in calculating denominator.
46477         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46478         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46479         down expression to avoid unexpected rounding in newer GCCs.
46480         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46482 2012-04-26  David S. Miller  <davem@davemloft.net>
46484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46485         long-double compat symbols.
46486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46500 2012-04-25  David S. Miller  <davem@davemloft.net>
46502         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46503         HWCAP_* values only after the memory barriers have been defined.
46504         (atomic_full_barrier): Define.
46505         (atomic_read_barrier): Define.
46506         (atomic_write_barrier): Define.
46508 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46510         * shlib-versions: Add libgcc_s version information.
46511         * sysdeps/generic/libgcc_s.h: Remove.
46512         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46513         libgcc_s.h.
46514         * sysdeps/gnu/unwind-resume.c: Likewise.
46515         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46517 2012-04-25  David S. Miller  <davem@davemloft.net>
46519         * sysdeps/unix/sparc/brk.S: Delete.
46520         * sysdeps/unix/sparc/dl-brk.S: Delete.
46521         * sysdeps/unix/sparc/pipe.S: Delete.
46522         * sysdeps/unix/sparc/sysdep.S: Delete.
46523         * sysdeps/unix/sparc/sysdep.h: Delete.
46524         * sysdeps/unix/sparc/vfork.S: Delete.
46525         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46526         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46527         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46528         (ret_ERRVAL, r0, r1, MOVE): Define.
46529         (JUMPTARGET): Remove.
46530         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46531         sysdeps/unix/sparc/sysdep.h
46532         (ENTRY, END): Remove.
46533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46535 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46537         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46538         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46539         -DIS_IN_build.
46541         * timezone/README: Update upstream location and email address for
46542         tzcode and tzdata.
46543         * timezone/zdump.c: Update from tzcode 2012b.
46544         * timezone/zic.c: Likewise.
46546         * configure.in (libc_cv_as_needed): Remove test.
46547         * configure: Regenerated.
46548         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46549         conditional definition.
46550         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46551         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46552         * config.make.in (have-as-needed): Remove variable.
46554 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555             Paul Pluzhnikov  <ppluzhnikov@google.com>
46557         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46558         strings correctly.
46560 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46562         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46563         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46564         * sysdeps/sh/strlen.S: Likewise.
46566 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46568         * sysdeps/unix/fork.S: Remove file.
46569         * sysdeps/unix/i386/fork.S: Likewise.
46570         * sysdeps/unix/sparc/fork.S: Likewise.
46572         * sysdeps/unix/system.c: Remove file.
46573         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46575         * sysdeps/unix/getegid.S: Remove file.
46576         * sysdeps/unix/geteuid.S: Likewise.
46578 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46580         * scripts/check-localplt.awk: New file.
46581         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46582         of diff.
46583         * scripts/data/localplt-generic.data: Add a comment.
46585         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46586         NODE when __dir_mkfile failed.
46587         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46588         Reported by Ludovic Courtès <ludo@gnu.org>.
46590 2012-04-24  Andreas Jaeger  <aj@suse.de>
46592         * Makerules (common-clean): Also remove gen-as-const-headers
46593         files.
46595 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46597         * Makerules (native-compile): Do not change working directory for
46598         build.  Use $(OUTPUT_OPTION) in command.
46599         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46601 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46603         [BZ #13886]
46604         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46605         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46606         * math/libm-test.inc (floor_test): Add more tests.
46607         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46609 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46611         * sysdeps/unix/getdents.c: Remove file.
46612         * sysdeps/unix/sysv/getdents.c: Likewise.
46613         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46615         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46616         sysdeps/unix/mman/syscalls.list.
46617         (mmap): Likewise.
46618         (mprotect): Likewise.
46619         (msync): Likewise.
46620         (munmap): Likewise.
46621         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46622         * sysdeps/unix/mman/syscalls.list: Remove.
46623         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46625         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46626         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46627         * configure: Regenerated.
46628         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46629         $(libgcc_s_suffix).
46630         * config.make.in (libgcc_s_suffix): Remove variable.
46632 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46634         * sysdeps/unix/sysv/gethostname.c: Move to ...
46635         * sysdeps/posix/gethostname.c: ... here.
46637         * sysdeps/unix/execve.S: Remove file.
46639         * sysdeps/unix/_exit.S: Remove file.
46641 2012-04-23  Andreas Jaeger  <aj@suse.de>
46643         [BZ #13739]
46644         * manual/Makefile: Remove make dist support, there's no
46645         need for a stand-alone documentation tar ball.
46646         (TEXI2DVI): Define always, it's not in Makeconfig.
46647         (dist): Removed.
46648         (tar-it): Removed.
46649         (edition): Removed.
46650         (glibc-doc-$(edition).tar): Removed
46651         (%.Z): Removed.
46652         (%.gz): Removed.
46653         (%.uu): Removed.
46654         (ETAGS): Remove, it's in Makeconfig.
46655         (move-if-change): Remove, it's in Makeconfig.
46657 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46659         [BZ #13970]
46660         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46661         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46662         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46663         (strtod_l, strtof_l, strtold_l): Remove __wur.
46664         It is not necessarily an error to ignore strtol's return value.
46665         One can reliably look at the stored endptr to decide whether
46666         the number had valid syntax.
46668 2012-04-21  Andreas Jaeger  <aj@suse.de>
46670         [BZ #13739]
46671         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46673 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46675         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46676         * sysdeps/unix/sysv/Versions: Remove file.
46678 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46680         [BZ #13927]
46681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46683 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46685         [BZ #7064]
46686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46687         version from __vm86.
46689 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46691         * sysdeps/unix/common/lxstat.c: Remove file.
46692         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46694         * sysdeps/unix/sysv/Makefile: Remove file.
46696         * sysdeps/unix/sysv/direct.h: Remove file.
46698         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46699         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46700         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46701         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46702         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46703         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46704         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46706         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46708         * sysdeps/unix/xmknod.c: Remove file.
46709         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46711         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46713         * sysdeps/unix/sysv/i386/time.S: Remove file.
46715         * sysdeps/unix/fxstat.c: Remove file.
46716         * sysdeps/unix/xstat.c: Likewise.
46717         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46719         * sysdeps/unix/sysv/sigaction.c: Remove file.
46721         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46722         (sysdep_headers): Remove variable.
46723         [termio.h not in sysdep_headers] (generated): Likewise.
46724         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46725         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46726         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46727         * sysdeps/unix/sysv/tcflow.c: Likewise.
46728         * sysdeps/unix/sysv/tcflush.c: Likewise.
46729         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46730         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46731         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46732         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46733         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46735         * sysdeps/unix/siglist.c: Remove file.
46737         * sysdeps/unix/getppid.S: Remove file.
46739         * sysdeps/unix/mkdir.c: Remove file.
46740         * sysdeps/unix/rmdir.c: Likewise.
46742 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46744         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46745         ERR_MAX value.
46746         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46747         errlist-compat value.
46749 2012-04-18  David S. Miller  <davem@davemloft.net>
46751         * sysdeps/generic/memcopy.h (reg_char): Delete.
46752         * debug/strcat_chk.c: Use char, not reg_char.
46753         * debug/strcpy_chk.c: Likewise.
46754         * debug/strncat_chk.c: Likewise.
46755         * debug/strncpy_chk.c: Likewise.
46756         * string/memchr.c: Likewise.
46757         * string/memrchr.c: Likewise.
46758         * string/rawmemchr.c: Likewise.
46759         * string/strcat.c: Likewise.
46760         * string/strchr.c: Likewise.
46761         * string/strchrnul.c: Likewise.
46762         * string/strcmp.c: Likewise.
46763         * string/strcpy.c: Likewise.
46764         * string/strncat.c: Likewise.
46765         * string/strncmp.c: Likewise.
46766         * string/strncpy.c: Likewise.
46768 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46770         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46771         __builtin_memcopy is called when src and dest ranges are known to not
46772         overlap.
46774 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46776         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46777         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46778         fwd_align_merge macro call.
46779         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46780         bwd_align_merge macro call.
46781         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46783 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46785         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46786         bwd_align_merge macros.
46787         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46788         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46789         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46791 2012-04-18  David S. Miller  <davem@davemloft.net>
46793         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46795 2012-04-18  Andreas Jaeger  <aj@suse.de>
46797         [BZ# 6794]
46798         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46799         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46800         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46802         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46803         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46804         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46806         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46807         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46808         Adjust for changed ldbl-128 files.
46810         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46811         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46812         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46814 2012-04-17  David S. Miller  <davem@davemloft.net>
46816         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46818 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46820         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46821         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46822         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46823         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46824         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46825         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46827 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46829         [BZ #6794]
46830         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46831         * math/libm-test.inc: Add ilogb errno and exception tests.
46832         * math/w_ilogb.c: New file: ilogb wrapper.
46833         * math/w_ilogbf.c: New file: ilogbf wrapper.
46834         * math/w_ilogbl.c: New file: ilogbl wrapper.
46835         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46836         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46837         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46838         exception being thrown with 0.0 as argument.
46839         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46840         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46841         exception being thrown with 0.0 as argument.
46842         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46843         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46844         exception being thrown with 0.0 as argument.
46845         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46846         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46847         exception being thrown with 0.0 as argument.
46848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46849         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46850         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46851         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46852         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46853         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46854         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46855         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46856         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46858 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46860         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46861         with altivec.
46863 2012-04-16  Marek Polacek  <polacek@redhat.com>
46865         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46867 2012-04-16  Marek Polacek  <polacek@redhat.com>
46869         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46870         operands of fdivp instruction.
46872 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46874         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46875         * elf/tst-auditmod3b.c: Likewise.
46876         * elf/tst-auditmod4b.c: Likewise.
46877         * elf/tst-auditmod5b.c: Likewise.
46878         * elf/tst-auditmod6b.c: Likewise.
46879         * elf/tst-auditmod6c.c: Likewise.
46880         * elf/tst-auditmod7b.c: Likewise.
46881         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46882         * sysdeps/x86_64/preconfigure.in: Likewise.
46883         * sysdeps/x86_64/preconfigure: Regenerated.
46885 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46887         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46888         __ILP32__.
46890 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46893         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46895 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46897         [BZ #13973]
46898         * locale/iso-639.def: Fix gl language name. Spotted by
46899         Yaron Shahrabani.
46901 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46903         [BZ #2074]
46904         * libio/libio.h (__io_write_fn): Update comment.
46906 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46908         [BZ #2074]
46909         * stdio.texi (Hook Functions): The user provided writer function
46910         is not allowed to return -1.
46912 2012-04-11  David S. Miller  <davem@davemloft.net>
46914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46916 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46918         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46919         Add a leading slash to rtkaio.
46921 2012-04-11  Jim Meyering  <meyering@redhat.com>
46923         [BZ #11959]
46924         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46925         It is not necessarily an error to ignore fwrite's return
46926         value.  One can reliably use ferror to test for errors after
46927         the fact.
46929 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46931         * bits/types.h (__snseconds_t): New type.
46932         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46934         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46936         (__SNSECONDS_T_TYPE): Likewise.
46937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46938         (__SNSECONDS_T_TYPE): Likewise.
46939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46940         (__SNSECONDS_T_TYPE): Likewise.
46942 2012-04-10  Andreas Jaeger  <aj@suse.de>
46944         [BZ #2636]
46945         * manual/time.texi (Processor Time): Return type of times is
46946         elapsed real time since an arbitrary point in the past.
46947         (CPU Time): Move CLK_TCK from here...
46948         (Processor Time): ...to here.  Correct description.
46949         * manual/conf.texi (Constants for Sysconf): Correct description of
46950         _SC_CLK_TCK.
46952 2012-04-10  David S. Miller  <davem@davemloft.net>
46954         [BZ #13967]
46955         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46956         where the is a gap between DT_REL(A) and DT_JMPREL.
46958 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46960         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46961         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46962         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46964 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46966         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46967         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46968         (dl_main): Handle --inhibit-cache.
46969         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46970         _dl_inhibit_cache.
46971         * elf/dl-load.c (_dl_map_object): Use it.
46972         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46974 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46976         [BZ #13872]
46977         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46978         (__ieee754_powl): Saturate large exponents rather than testing for
46979         overflow of y*log2(x).
46980         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46981         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46982         exceptions.
46984         [BZ #11521]
46985         * math/s_ctan.c: Include <float.h>.
46986         (__ctan): Avoid internal overflow or cancellation in calculating
46987         denominator.
46988         * math/s_ctanf.c: Likewise.
46989         * math/s_ctanl.c: Likewise.
46990         * math/s_ctanh.c: Likewise.
46991         * math/s_ctanhf.c: Likewise.
46992         * math/s_ctanhl.c: Likewise.
46993         * math/libm-test.inc (ctan_test): Add more tests.
46994         (ctanh_test): Likewise.
46995         * sysdeps/i386/fpu/libm-test-ulps: Update.
46996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46998 2012-04-09  Andreas Jaeger  <aj@suse.de>
47000         [BZ #6894]
47001         * manual/filesys.texi (Directory Entries): Mention that d_namlen
47002         is an optional BSD extension.
47004         [BZ #10254]
47005         * manual/stdio.texi (Opening Streams): Document additional fopen
47006         parameters.
47008 2012-04-09  Roland McGrath  <roland@hack.frob.com>
47010         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47011         %eax without telling the compiler.
47013 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
47015         [BZ # 13963]
47016         * manual/install.texi: Use sourceware.org.
47018 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47020         [BZ #13873]
47021         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47022         (__ieee754_pow): Generate overflow and underflow using huge*huge
47023         and tiny*tiny rather than just returning constant infinity or zero
47024         for large exponents.
47025         * math/libm-test.inc (pow_test): Require overflow exceptions for
47026         applicable cases of large exponents.
47028         [BZ #706]
47029         * sysdeps/i386/fpu/e_pow.S (p10): New object.
47030         (__ieee754_pow): Use iterative multiplication algorithm only for
47031         integer exponents with absolute value below 1024.  Check for odd
47032         integer exponents when using algorithm for real exponents.
47033         * math/libm-test.inc (pow_test): Add more tests.
47034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47036 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
47038         [BZ #13705]
47039         * math/libm-test.inc (exp_test): Do not allow overflow exception
47040         on underflow test.
47042 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
47044         [BZ #13705]
47045         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47046         instead of __kernel_standard_f.
47048 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
47050         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47051         * sysdeps/x86_64/memset_chk.S: Likewise.
47053 2012-04-08  Andreas Jaeger  <aj@suse.de>
47055         [BZ #10153]
47056         * manual/startup.texi (Environment Access): Describe return value
47057         for putenv and setenv.
47059         [BZ #6895]
47060         * manual/filesys.texi (Directory Entries): Add description for
47061         DT_LNK.
47063         [BZ #6890]
47064         * manual/filesys.texi (Directory Entries): Clarify that it's file
47065         system not operating system in the description of DT_UNKNOWN.
47067         [BZ #6578]
47068         * manual/syslog.texi (closelog): Fix reference, it's openlog.
47070 2012-04-08  Stephen Compall  <s11@member.fsf.org>
47072         [BZ #6649]
47073         * manual/llio.texi (Opening and Closing Files): Add cross
47074         reference to explain mode argument.
47076 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
47078         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47079         * sysdeps/x86_64/memset_chk.S: Likewise.
47081 2012-04-07  David S. Miller  <davem@davemloft.net>
47083         * elf/elf.h (R_SPARC_WDISP10): Define.
47084         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47085         R_SPARC_SIZE32.
47086         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47087         R_SPARC_SIZE64 and R_SPARC_H34.
47089 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
47091         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47092         conditions and remove no longer applicable assertion.
47094 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47096         * bits/byteswap.h: Include <features.h>.
47097         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47098         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47100 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47102         * bits/byteswap.h (__bswap_16): Removed.
47103         Include <bits/byteswap-16.h> to get __bswap_16.
47104         * sysdeps/i386/bits/byteswap.h: Likewise.
47105         * sysdeps/s390/bits/byteswap.h: Likewise.
47106         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47107         * bits/byteswap-16.h: New file.
47108         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47109         * sysdeps/s390/bits/byteswap-16.h: Likewise.
47110         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47111         * string/Makefile (headers): Add bits/byteswap-16.h.
47113 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47115         [BZ #13895]
47116         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47117         extra indirection.
47118         * nss/Makefile (tests-static, tests): Add tst-nss-static.
47119         * nss/tst-nss-static.c: New.
47121 2012-04-06  Robert Millan  <rmh@gnu.org>
47123         [BZ #6486]
47124         * manual/llio.texi (File Position Primitive): lseek
47125         refers to WHENCE when it really means OFFSET.
47127 2012-04-06  Andreas Jaeger  <aj@suse.de>
47129         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47130         strncmp declarations.
47132         * abilist/libc.abilist: Add __poll and __ppoll.
47134 2012-04-05  David S. Miller  <davem@davemloft.net>
47136         * scripts/check-local-headers.sh: Accept a host triplet in the
47137         path matched by the exclude regexp.
47139         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47140         definition.
47141         * sysdeps/powerpc/powerpc32/dl-machine.h
47142         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47143         * sysdeps/s390/s390-32/dl-machine.h
47144         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47145         * sysdeps/sparc/sparc32/dl-machine.h
47146         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47147         * sysdeps/sparc/sparc64/dl-machine.h
47148         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47150         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47151         lazy binding.
47152         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47153         undefined symbol errors.
47155         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47156         DT_NEEDED entries.
47158 2012-04-05  Michael Matz  <matz@suse.de>
47160         [BZ #13592]
47161         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47163 2012-04-05  Andreas Jaeger  <aj@suse.de>
47165         [BZ #13908]
47166         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47167         comment.
47169 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47171         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47172         which ROUND is no valid rounding mode.
47174 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47176         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47177         read again.
47178         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47180 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47182         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47183         an exception using FPU order intentionally.
47185 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47187         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47188         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47189         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47190         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47192 2012-04-05  Simon Josefsson  <simon@josefsson.org>
47194         [BZ #12340]
47195         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47196         EINVAL when BUFLEN is too smal.
47198 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47200         [BZ #13553]
47201         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47202         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47204 2012-04-03  Andreas Jaeger  <aj@suse.de>
47206         [BZ #13938]
47207         * manual/setjmp.texi (System V contexts): Fix sentence.
47209         [BZ #13926]
47210         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47211         New macro for this case.
47212         [!__GNUC__] (__bswap_64): New inline function for this case.
47213         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47214         * bits/byteswap.h: Likewise.
47215         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47216         ull, guard with __GLIBC_HAVE_LONG_LONG.
47218         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47219         __GLIBC_HAVE_LONG_LONG.
47221         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47222         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47224 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47226         [BZ #13691]
47227         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47228         inptr and inend, rather than using last_ch.
47230 2012-04-02  David S. Miller  <davem@davemloft.net>
47232         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47233         * stdio-common/printf-parse.h (read_int): Change return type to
47234         'int', return -1 on INT_MAX overflow.
47235         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47236         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47237         overflows INT_MAX.  Check for overflow of in-format-string precision
47238         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47239         SIZE_MAX not INT_MAX for integer overflow test.
47240         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47241         skip the construct in the format string but do not record anything.
47242         * stdio-common/bug22.c: Adjust to test both width/prevision
47243         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47244         explicitly for proper errno values.
47246 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47248         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47249         CHAR_MAX.
47250         * string/test-strcmp.c [! WIDE]: Likewise.
47251         * time/tst-mktime2.c: Likewise for INT_MAX.
47252         * string/test-string.h: #include <sys/param.h> for MIN.
47254         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47255         * sysdeps/i386/init-first.c (init): Likewise.
47256         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47257         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47258         * sysdeps/sh/init-first.c (init): Likewise.
47260 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47262         * po/ru.po: Update from translation team.
47263         * po/vi.po: Likewise.
47265 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47267         * resolv/nss_dns/dns-host.c: Merge copyright years.
47269 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47271         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47272         Optimize memcpy with prefetch if
47273         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47274         src, dst pointers have unequal 16 byte alignments.
47276 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47278         [BZ #13928]
47279         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47280         from a CNAME entry and return the minimum ttl for the query.
47281         (gaih_getanswer_slice): Likewise.
47283 2012-03-30  Jeff Law  <law@redhat.com>
47285         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47286         due to long keys.
47287         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47288         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47290         * resolv/nss_dns/dns-host.c: Update copyright year.
47292 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47294         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47295         requests to save a system call.  Fix check that all bytes are sent.
47297         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47298         comments for sendmmsg.
47300 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47302         [BZ #13691]
47303         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47304         with only 1 character between 0x0041 and 0x01b0.
47305         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47306         * wcsmbs/tst-mbsnrtowcs.c: New file.
47308 2012-03-29  David S. Miller  <davem@davemloft.net>
47310         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47311         small copies by hand.
47313 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47315         [BZ #13761]
47316         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47317         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47318         group memberships.
47320 2012-03-28  David S. Miller  <davem@davemloft.net>
47322         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47323         that branches into memcpy.
47324         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47325         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47327         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47328         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47329         bits.
47330         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47331         implementation too.
47332         * sysdeps/sparc/mempcpy.S: New file.
47334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47335         the IFUNC routine in the libc case.
47336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47338         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47339         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47340         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47341         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47342         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47343         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47344         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47345         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47347         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47348         loop to 256 bytes instead of 64 bytes and fix test signedness.
47350         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47351         * sysdeps/sparc/sparc32/Makefile: rather than here...
47352         * sysdeps/sparc/sparc64/Makefile: and here.
47354 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47356         * malloc/mallocbug.c: Avoid warnings about unused variables.
47358 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47360         [BZ #13760]
47361         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47362         in the right place. Discard and retry query if response is
47363         larger than input buffer size.
47365 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47367         [BZ #369]
47368         [BZ #2678]
47369         [BZ #3866]
47370         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47371         x for large integer exponent.
47372         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47373         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47374         sign of result as needed afterwards.
47375         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47376         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47377         result for underflowing pow the same as for overflow.
47378         (__kernel_standard_l): Handle powl overflow and underflow here
47379         rather than calling __kernel_standard.
47380         * math/libm-test.inc (pow_test): Add more tests.
47382         [BZ #3868]
47383         [BZ #13879]
47384         [BZ #13910]
47385         [BZ #13911]
47386         [BZ #13912]
47387         [BZ #13913]
47388         [BZ #13915]
47389         [BZ #13916]
47390         [BZ #13917]
47391         [BZ #13918]
47392         [BZ #13919]
47393         [BZ #13920]
47394         [BZ #13921]
47395         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47396         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47397         (__kernel_standard_l): New function.
47398         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47399         __kernel_standard.
47400         * math/w_acosl.c (__acosl): Likewise.
47401         * math/w_asinl.c (__asinl): Likewise.
47402         * math/w_atan2l.c (__atan2l): Likewise.
47403         * math/w_atanhl.c (__atanhl): Likewise.
47404         * math/w_coshl.c (__coshl): Likewise.
47405         * math/w_exp10l.c (__exp10l): Likewise.
47406         * math/w_exp2l.c (__exp2l): Likewise.
47407         * math/w_fmodl.c (__fmodl): Likewise.
47408         * math/w_hypotl.c (__hypotl): Likewise.
47409         * math/w_j0l.c (__j0l, __y0l): Likewise.
47410         * math/w_j1l.c (__j1l, __y1l): Likewise.
47411         * math/w_jnl.c (__jnl, __ynl): Likewise.
47412         * math/w_lgammal.c (__lgammal): Likewise.
47413         * math/w_log10l.c (__log10l): Likewise.
47414         * math/w_log2l.c (__log2l): Likewise.
47415         * math/w_logl.c (__logl): Likewise.
47416         * math/w_powl.c (__powl): Likewise.
47417         * math/w_remainderl.c (__remainderl): Likewise.
47418         * math/w_scalbl.c (sysv_scalbl): Likewise.
47419         * math/w_sinhl.c (__sinhl): Likewise.
47420         * math/w_sqrtl.c (__sqrtl): Likewise.
47421         * math/w_tgammal.c (__tgammal): Likewise.
47422         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47423         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47424         * math/libm-test.inc (acos_test): Add more tests.
47425         (acosh_test): Likewise.
47426         (asin_test): Likewise.
47427         (atanh_test): Likewise.
47428         (exp_test): Likewise.
47429         (exp10_test): Likewise.
47430         (exp2_test): Likewise.
47431         (expm1_test): Likewise.
47432         (lgamma_test): Likewise.
47433         (log_test): Likewise.
47434         (log10_test): Likewise.
47435         (log1p_test): Likewise.
47436         (log2_test): Likewise.
47437         (pow_test): Do not allow some spurious overflow exceptions.
47438         (sqrt_test): Add more tests.
47439         (tgamma_test): Likewise.
47440         (y0_test): Likewise.
47441         (y1_test): Likewise.
47442         (yn_test): Likewise.
47444 2012-03-27  Anton Blanchard  <anton@samba.org>
47446         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47447         MAP_HUGETLB.
47448         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47449         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47450         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47452 2012-03-27  David S. Miller  <davem@davemloft.net>
47454         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47456         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47457         have-as-vis3 check.
47459 2012-03-27  Andreas Jaeger  <aj@suse.de>
47461         * sysdeps/x86_64/elf/configure.in: Moved to ...
47462         * sysdeps/x86_64/configure.in: ... here.
47463         * sysdeps/x86_64/elf/start.S: Moved to ...
47464         * sysdeps/x86_64/start.S: ... here.
47465         * sysdeps/x86_64/elf/configure: Delete.
47467         * sysdeps/x86_64/configure.in: Merge contents from
47468         sysdeps/i386/configure.in (without i686 check).
47470         * sysdeps/i386/elf/Versions: Merge into ...
47471         * sysdeps/i386/Versions: ... this.
47472         * sysdeps/i386/elf/Versions: Delete file.
47473         * sysdeps/i386/elf/start.S: Moved to ...
47474         * sysdeps/i386/start.S: ...here.
47475         * sysdeps/i386/elf/configure.in: Merge into...
47476         * sysdeps/i386/configure.in: ...here.
47477         * sysdeps/i386/elf/configure.in: Delete file.
47478         * sysdeps/i386/elf/configure: Delete file.
47480         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47481         * debug/backtracesyms.c: ... here.
47482         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47483         * debug/backtracesymsfd.c: ... here.
47484         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47485         * sysdeps/generic/ifunc-sel.h: ... here.
47487         * sysdeps/unix/i386/start.c: Delete file.
47488         * sysdeps/unix/sparc/start.c: Delete file.
47489         * sysdeps/unix/start.c: Delete file.
47491         * sysdeps/sh/elf/configure.in: Moved to ...
47492         * sysdeps/sh/configure.in: ... here.
47493         * sysdeps/sh/elf/start.S: Moved to ...
47494         * sysdeps/sh/start.S: ... here.
47495         * sysdeps/sh/elf/configure: Delete file.
47497         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47498         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47499         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47500         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47501         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47502         * sysdeps/powerpc/powerpc64/start.S: here.
47503         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47504         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47505         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47506         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47507         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47509         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47510         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47511         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47512         * sysdeps/powerpc/powerpc32/start.S: ... here.
47513         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47514         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47515         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47517         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47518         * sysdeps/powerpc/ifunc-sel.h: ... here.
47519         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47520         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47522         * sysdeps/sparc/elf/configure.in: Moved to ...
47523         * sysdeps/sparc/configure.in: ... here.
47524         * sysdeps/sparc/elf/configure: Delete file.
47525         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47526         * sysdeps/sparc/sparc32/start.S: ... here.
47527         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47528         * sysdeps/sparc/sparc64/start.S: ... here.
47529         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47530         * sysdeps/sparc/sparc32/Makefile: ... this.
47531         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47532         * sysdeps/sparc/sparc64/Makefile: ... this.
47534         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47535         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47536         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47537         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47538         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47539         * sysdeps/s390/s390-32/setjmp.S: ... here.
47540         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47541         * sysdeps/s390/s390-32/configure.in: ... here.
47542         * sysdeps/s390/s390-32/elf/configure: Delete file.
47543         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47544         * sysdeps/s390/s390-32/start.S: ... here.
47546         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47547         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47548         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47549         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47550         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47551         * sysdeps/s390/s390-64/setjmp.S: ... here.
47552         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47553         * sysdeps/s390/s390-64/configure.in: ... here
47554         * sysdeps/s390/s390-64/elf/configure: Delete file.
47555         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47556         * sysdeps/s390/s390-64/start.S: ... here.
47557         * sysdeps/s390/s390-64/elf/configure: Delete.
47559         * configure.in: Remove support for elf directories in sysdeps.
47561         * configure: Regenerated.
47562         * sysdeps/i386/configure: Regenerated.
47563         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47564         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47565         * sysdeps/s390/s390-32/configure: Regenerated.
47566         * sysdeps/s390/s390-64/configure: Regenerated.
47567         * sysdeps/sh/configure: Regenerated.
47568         * sysdeps/sparc/configure: Regenerated.
47569         * sysdeps/x86_64/configure: Regenerated.
47571 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47575         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47576         denormal result into account.
47578 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47580         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47581         Reported by Allan McRae <allan@archlinux.org>.
47583 2012-03-23  Jeff Law  <law@redhat.com>
47585         * nss/getnssent.c (__nss_getent): Fix typo.
47587 2012-03-23  David S. Miller  <davem@davemloft.net>
47589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47591 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47593         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47594         to pad to uint64_t for each field.
47595         (dl_tls_index): Replace unsigned long with uint64_t.
47597 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47598         Paul Pluzhnikov  <ppluzhnikov@google.com>
47600         [BZ #6528]
47601         * grp/Makefile (otherlibs): Don't set it.
47602         * inet/Makefile (otherlibs): Likewise.
47603         * login/Makefile (otherlibs): Likewise.
47604         * nscd/Makefile (otherlibs): Likewise.
47605         * posix/Makefile (otherlibs): Likewise.
47606         * pwd/Makefile (otherlibs): Likewise.
47607         * rt/Makefile (otherlibs): Likewise.
47608         * sunrpc/Makefile (otherlibs): Likewise.
47609         * nss/Makefile (otherlibs): Likewise.
47610         Add libnss_files to routines and static-only-routines.
47611         ($(objpfx)getent): Remove rule.
47612         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47613         static-only-routines.
47615 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47617         [BZ #13892]
47618         * math/s_cexp.c: Include <float.h>.
47619         (__cexp): Handle exp result overflowing not necessarily
47620         overflowing both real and imaginary parts of result.
47621         * math/s_cexpf.c: Likewise.
47622         * math/s_cexpl.c: Likewise.
47623         * math/libm-test.inc (cexp_test): Add more tests.
47624         * sysdeps/i386/fpu/libm-test-ulps: Update.
47625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47627 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47629         * include/link.h (ELFW): New macro.
47630         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47631         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47633 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47635         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47636         with uint64_t.
47638 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47640         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47641         declaration.
47642         (struct La_x32_retval): Likewise.
47644 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47646         * sysdeps/x86_64/preconfigure.in: New file.
47647         * sysdeps/x86_64/preconfigure: New generated file.
47649 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47651         [BZ #13824]
47652         * math/e_exp2l.c: Include <float.h>.
47653         (__ieee754_exp2l): Handle overflow and underflow cases
47654         separately.  Only pass fractional part of argument to
47655         __ieee754_expl.
47656         * math/libm-test.inc (exp2_test): Add more tests.
47658         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47659         negating x to take absolute value.
47660         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47661         Likewise.
47662         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47663         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47664         Likewise.
47665         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47666         computing low part if x was negated.
47667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47669 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47671         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47672         la_x32_gnu_pltexit.
47673         (pltexit): Cast int_retval to ptrdiff_t.
47674         * elf/tst-auditmod3b.c: Likewise.
47675         * elf/tst-auditmod4b.c: Likewise.
47676         * elf/tst-auditmod5b.c: Likewise.
47677         * elf/tst-auditmod6b.c: Likewise.
47678         * elf/tst-auditmod6c.c: Likewise.
47679         * elf/tst-auditmod7b.c: Likewise.
47681         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47682         and x32_gnu_pltexit.
47684         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47685         __ELF_NATIVE_CLASS.
47686         (La_x32_regs): New macro.
47687         (La_x32_retval): Likewise.
47688         (la_x32_gnu_pltenter): New function prototype.
47689         (la_x32_gnu_pltexit): Likewise.
47691 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47693         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47694         exponent.
47696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47698         * configure.in (libc_cv_cc_nofma): Check for option to disable
47699         generation of FMA instructions.
47700         * configure: Regenerate.
47701         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47702         * sysdeps/ieee754/dbl-64/Makefile: New file.
47703         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47704         Remove brandred-fma4.
47705         (CFLAGS-brandred-fma4.c): Remove.
47706         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47707         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47708         define.
47709         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47710         define.
47712 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47714         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47715         LLONG_MAX != LONG_MAX.
47716         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47717         (_fitoa_word): Likewise.
47718         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47719         LLONG_MAX != LONG_MAX.
47720         * stdio-common/_itowa.h: Include <_itoa.h>.
47721         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47722         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47723         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47724         only if not defined.
47725         (_ITOA_WORD_TYPE): Likewise.
47726         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47727         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47729 2012-03-21  David S. Miller  <davem@davemloft.net>
47731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47733 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47735         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47736         of x86_64 when setting libc_cv_slibdir, libdir and
47737         libc_cv_localedir.
47738         * sysdeps/unix/sysv/linux/configure: Regenerated.
47740 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47742         * manual/lang.texi (Old Varargs): Remove section.
47743         (How Variadic): Update menu.
47744         (va_start): Do not mention varargs.h.
47746 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47747             Joseph Myers  <joseph@codesourcery.com>
47749         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47750         link test.
47751         * configure: Regenerated.
47753 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47755         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47756         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47757         conformtest.pl
47759 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47761         * NOTES: Remove.
47762         * Makefile (files-for-dist): Remove NOTES.
47763         (NOTES): Remove rule.
47764         * README: Don't refer to NOTES.
47765         * manual/creature.texi: Don't include macros.texi.
47766         * manual/intro.texi (creature.texi): Remove comment referring to
47767         NOTES.
47769         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47770         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47771         * configure: Regenerated.
47772         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47773         LIBC_TRY_CC_OPTION.
47774         (libc_cv_as_i686): Likewise.
47775         (libc_cv_cc_avx): Likewise.
47776         (libc_cv_cc_sse2avx): Likewise.
47777         (libc_cv_cc_fma4): Likewise.
47778         (libc_cv_cc_novzeroupper): Likewise.
47779         * sysdeps/i386/configure: Regenerated.
47781         [BZ #13883]
47782         * sysdeps/i386/fpu/s_cexp.S: Remove.
47783         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47784         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47785         * math/libm-test.inc (cexp_test): Add more tests.
47786         * sysdeps/i386/fpu/libm-test-ulps: Update.
47787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47789 2012-03-21  Allan McRae  <allan@archlinux.org>
47791         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47793 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47795         [BZ #13871]
47796         * math/w_exp2.c: Do not include <float.h>.
47797         (o_threshold, u_threshold): Remove.
47798         (__exp2): Calculate result before checking finiteness and calling
47799         __kernel_standard.
47800         * math/w_exp2f.c: Likewise.
47801         * math/w_exp2l.c: Likewise.
47802         * math/libm-test.inc (exp2_test): Require overflow exception for
47803         1e6 input.
47805         [BZ #3866]
47806         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47807         range of signed 64-bit integers before using fistpll.  Remove
47808         checks for whether integers fit in mantissa bits.
47809         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47810         the range of signed 32-bit integers before using fistpl.  Remove
47811         checks for whether integers fit in mantissa bits.
47812         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47813         (__ieee754_powl): Test for y outside the range of signed 64-bit
47814         integers before using fistpll.  Reduce 64-bit values to 63-bit
47815         ones as needed.
47816         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47817         divide-by-zero is raised for zero to large negative powers.
47818         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47819         (__ieee754_powl): Test for y outside the range of signed 64-bit
47820         integers before using fistpll.  Reduce 64-bit values to 63-bit
47821         ones as needed.
47822         * math/libm-test.inc (pow_test): Add more tests.
47824 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47826         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47827         <stdio-common/_itoa.h>.
47828         * debug/segfault.c: Likewise.
47829         * elf/dl-cache.c: Likewise.
47830         * elf/dl-minimal.c: Likewise.
47831         * elf/dl-misc.c: Likewise.
47832         * elf/dl-sysdep.c: Likewise.
47833         * elf/dl-version.c: Likewise.
47834         * elf/rtld.c: Likewise.
47835         * hurd/hurdsock.c: Likewise.
47836         * hurd/lookup-retry.c: Likewise.
47837         * malloc/malloc.c: Likewise.
47838         * malloc/mtrace.c: Likewise.
47839         * nscd/nscd_getgr_r.c: Likewise.
47840         * nscd/nscd_getpw_r.c: Likewise.
47841         * nscd/nscd_getserv_r.c: Likewise.
47842         * posix/getopt_init.c: Likewise.
47843         * posix/wordexp.c: Likewise.
47844         * stdio-common/_itoa.c: Likewise.
47845         * stdio-common/printf_fphex.c: Likewise.
47846         * stdio-common/vfprintf.c: Likewise.
47847         * string/_strerror.c: Likewise.
47848         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47849         * sysdeps/i386/i686/hp-timing.h: Likewise.
47850         * sysdeps/mach/_strerror.c: Likewise.
47851         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47852         * sysdeps/mach/hurd/sethostid.c: Likewise.
47853         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47854         * sysdeps/mach/xpg-strerror.c: Likewise.
47855         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47856         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47857         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47858         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47859         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47860         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47862         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47863         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47864         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47865         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47866         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47867         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47868         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47869         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47870         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47871         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47872         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47873         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47874         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47875         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47877         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47879         * stdio-common/_itoa.h: Moved to ...
47880         * sysdeps/generic/_itoa.h: Here.
47882         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47884         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47885         instead of "_itoa.h" and "_itowa.h".
47886         * stdio-common/vfprintf.: Likewise.
47888 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47890         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47891         <bits/wordsize.h>.
47892         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47893         (__signbit): Likwise.
47894         (llrintf): Likwise.
47895         (llrint): Likwise.
47897 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47899         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47900         __WORDSIZE != 64.
47902 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47904         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47905         OVERFLOW_EXCEPTION_OK.
47906         * math/libm-test.inc ("Philosophy"): Update comment about
47907         exception testing.
47908         (OVERFLOW_EXCEPTION): Define.
47909         (OVERFLOW_EXCEPTION_OK): Likewise.
47910         (INVALID_EXCEPTION_OK): Renumber.
47911         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47912         (IGNORE_ZERO_INF_SIGN): Likewise.
47913         (test_exceptions): Handle FE_OVERFLOW.
47914         (exp10_test): Expect overflow exceptions.
47915         (exp2_test): Likewise.
47916         (expm1_test): Likewise.
47917         (nextafter_test): Likewise.
47918         (pow_test): Likewise.
47919         (scalbn_test): Likewise.
47920         (scalbln_test): Likewise.
47922 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47924         * sysdeps/x86_64/bits/atomic.h
47925         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47926         64bit integer.
47927         (atomic_exchange_acq): Likewise.
47928         (__arch_exchange_and_add_body): Likewise.
47929         (__arch_add_body): Likewise.
47930         (atomic_add_negative): Likewise.
47931         (atomic_add_zero): Likewise.
47933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47935         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47936         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47940         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47941         Check __x86_64__ instead of __WORDSIZE.
47943 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47945         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47947 2012-03-19  David S. Miller  <davem@davemloft.net>
47949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47951         * sysdeps/sparc/fpu/fenv_private.h: New file.
47952         * sysdeps/sparc/fpu/math_private.h: Use it.
47953         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47954         Remove.
47955         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47956         (libc_feholdexcept_setroundl): Remove.
47957         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47958         Remove.
47959         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47960         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47964         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47965         int64_t instead of long int.
47966         (INSERT_WORDS64): Likwise.
47968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47970         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47971         _Unwind_GetCFA return to _Unwind_Ptr first.
47973 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47975         [BZ #13629]
47976         * math/s_clog.c: Include <float.h>.
47977         (__clog): Scale large or subnormal inputs.
47978         * math/s_clogf.c: Likewise.
47979         * math/s_clogl.c: Likewise.
47980         * math/s_clog10.c: Include <float.h>.
47981         (M_LOG10_2): Define.
47982         (__clog10): Scale large or subnormal inputs.
47983         * math/s_clog10f.c: Likewise.
47984         * math/s_clog10l.c: Likewise.
47985         * math/libm-test.inc (clog_test): Add more tests.
47986         (clog10_test): Likewise.
47987         * sysdeps/i386/fpu/libm-test-ulps: Update.
47988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47990         [BZ #11451]
47991         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47992         x and y.
47993         * math/libm-test.inc (atan2_test): Add another test.
47995         * Makerules (common-objdir-compile): Remove.
47996         * sysdeps/unix/Makefile (config-generated): Do not add
47997         $(unix-generated) to variable.
47998         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47999         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48000         Remove rule.
48001         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48002         Likewise.
48003         [generic bits/local_lim.h] (before-compile): Do not append to
48004         variable.
48005         [generic bits/local_lim.h] (common-generated): Likewise.
48006         [generic sys/param.h] (before-compile): Do not append to variable.
48007         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48008         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48009         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48010         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48011         include.
48012         [generic sys/param.h] (sys/param.h-includes): Remove variable.
48013         [generic sys/param.h] (sys/param.h-includes): Remove rule.
48014         [generic sys/param.h] ($(addprefix
48015         $(common-objpfx),$(sys/param.h-includes))): Likewise.
48016         [generic sys/param.h] (common-generated): Do not append to
48017         variable.
48018         [generic sys/param.h] (sysdep_headers): Likewise.
48019         [generic bits/errno.h] (before-compile): Do not append to
48020         variable.
48021         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48022         rule.
48023         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48024         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48025         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48026         [generic bits/errno.h] (common-generated): Do not append to
48027         variable.
48028         [generic bits/ioctls.h] (before-compile): Do not append to
48029         variable.
48030         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48031         rule.
48032         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48033         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48034         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48035         rule.
48036         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48037         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48038         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48039         [generic bits/ioctls.h] (common-generated): Do not append to
48040         variable.
48041         [generic sys/syscall.h] (syscall.h): Remove variable.
48042         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48043         rule.
48044         [generic sys/syscall.h] (before-compile): Do not append to
48045         variable.
48046         [generic sys/syscall.h] (common-generated): Likewise.
48047         * sysdeps/unix/errnos-tmpl.c: Remove file.
48048         * sysdeps/unix/errnos.awk: Likewise.
48049         * sysdeps/unix/ioctls-tmpl.c: Likewise.
48050         * sysdeps/unix/ioctls.awk: Likewise.
48051         * sysdeps/unix/mk-local_lim.c: Likewise.
48052         * sysdeps/unix/snarf-ioctls: Likewise.
48054 2012-03-19  Richard Henderson  <rth@twiddle.net>
48056         * sysdeps/i386/fpu/fenv_private.h: New file.
48057         * sysdeps/i386/fpu/math_private.h: Use it.
48058         (math_opt_barrier, math_force_eval): Remove.
48059         (libc_feholdexcept_setround_53bit): Remove.
48060         (libc_feupdateenv_53bit): Remove.
48061         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48062         (math_opt_barrier, math_force_eval): Remove.
48063         (libc_feholdexcept): Remove.
48064         (libc_feholdexcept_setround): Remove.
48065         (libc_fetestexcept, libc_fesetenv): Remove.
48066         (libc_feupdateenv_test): Remove.
48067         (libc_feupdateenv, libc_feholdsetround): Remove.
48068         (libc_feresetround): Remove.
48070         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48071         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48073         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48074         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48075         (libc_feupdateenv_testl): New.
48076         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48077         (libc_feupdateenv_testf): New.
48078         (libc_feupdateenv): Use libc_feupdateenv_test.
48079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48080         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48082         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48083         (libc_feholdsetroundf, libc_feholdsetroundl): New.
48084         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48085         (libc_feresetround_noex): New.
48086         (libc_feresetround_noexf): New.
48087         (libc_feresetround_noexl): New.
48088         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48089         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48090         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48091         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48092         SET_RESTORE_ROUND.
48093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48095         (__cos): Likewise.
48096         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48097         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48098         SET_RESTORE_ROUND_NOEX.
48099         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48100         SET_RESTORE_ROUND_NOEXF.
48101         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48102         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48103         (libc_feholdsetroundf): New.
48104         (libc_feresetround, libc_feresetroundf): New.
48106         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48107         (libc_feholdexcept_setround_53bit): Convert from macro to function.
48108         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
48110         * sysdeps/generic/math_private.h: Include <fenv.h>.
48111         (default_libc_feholdexcept): New.
48112         (default_libc_feholdexcept_setround): New.
48113         (default_libc_fesetenv, default_libc_feupdateenv): New.
48114         (libc_feholdexcept): Only define if undefined.
48115         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48116         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48117         (libc_feholdexcept_setroundl): Likewise.
48118         (libc_feholdexcept_setround_53bit): Likewise.
48119         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48120         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48121         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48122         (libc_feupdateenv_53bit): Likewise.
48123         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48124         (libc_feholdexcept): Convert from macro to inline function.
48125         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48126         (libc_fesetenv, libc_feupdateenv): Likewise.
48128         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48129         not previously defined.
48130         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48131         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48132         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48133         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48134         * sysdeps/ieee754/flt-32/math_private.h: New file.
48135         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48136         math_private.h below SET_FLOAT_WORD.
48137         (__isnan, __isinf_ns, __finite): Remove.
48138         (__isnanf, __isinf_nsf, __finitef): Remove.
48140 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
48142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48144 2012-03-17  David S. Miller  <davem@davemloft.net>
48146         [BZ #6471]
48147         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48148         for 2.16.
48150 2012-03-16  David S. Miller  <davem@davemloft.net>
48152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48153         warnings.
48155         [BZ #6471]
48156         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48157         properly.
48158         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48159         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48160         sysdep_routines when subdir is sysvipc.
48161         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48162         __getshmlba helper.
48164         * sysdeps/sparc/fpu/libm-test/ulps: Update.
48166 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48168         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48169         [__LP64__].
48171 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48173         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48174         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48175         (__lround): Renamed to ...
48176         (__llround): This.  Replace long int with long long int.
48177         Define lround functions as aliases of llround functions.
48178         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48180 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48182         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48183         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
48184         adresses to uintptr_t.  Replace "long int" and "unsigned long
48185         int" with "greg_t" on va_arg.
48187 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48189         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48190         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48192         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48193         Move e_machine check before EI_CLASS check.  Handle x32
48194         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48195         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48196         SKIP_EM_IA_64 and include
48197         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48199         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48200         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48201         (add_system_dir): New macro.
48203         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48206 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48208         [BZ #2551]
48209         [BZ #2552]
48210         [BZ #2553]
48211         [BZ #2554]
48212         [BZ #2562]
48213         [BZ #2563]
48214         [BZ #2565]
48215         [BZ #2566]
48216         [BZ #2576]
48217         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48218         (y0): Likewise.
48219         * math/w_j0f.c (j0f): Likewise.
48220         (y0f): Likewise.
48221         * math/w_j0l.c (__j0l): Likewise.
48222         (__y0l): Likewise.
48223         * math/w_j1.c (j1): Likewise.
48224         (y1): Likewise.
48225         * math/w_j1f.c (j1f): Likewise.
48226         (y1f): Likewise.
48227         * math/w_j1l.c (__j1l): Likewise.
48228         (__y1l): Likewise.
48229         * math/w_jn.c (jn): Likewise.
48230         (yn): Likewise.
48231         * math/w_jnf.c (jnf): Likewise.
48232         (ynf): Likewise.
48233         * math/w_jnl.c (__jnl): Likewise.
48234         (__ynl): Likewise.
48235         * math/libm-test.inc (j0_test): Add more tests.
48236         (j1_test): Likewise.
48237         (jn_test): Likewise.  Add trailing semicolon to existing test.
48238         (y0_test): Likewise.
48239         (y1_test): Likewise.
48240         * sysdeps/i386/fpu/libm-test-ulps: Update.
48241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48243         [BZ #13851]
48244         [BZ #13854]
48245         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48246         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48247         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48248         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48249         (__tanl): Set errno for infinite argument.
48250         * sysdeps/i386/fpu/mptan.c: Remove.
48251         * sysdeps/i386/fpu/s_tan.S: Likewise.
48252         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48253         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48254         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48255         * math/libm-test.inc (tan_test): Add more tests and enable more
48256         tests for double and long double.
48257         * sysdeps/i386/fpu/libm-test-ulps: Update.
48258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48260 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48262         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48263         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48265 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48267         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48268         * configure.in: Use it for both main tree and add-ons.
48269         * configure: Regenerated.
48271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48273         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48275 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48277         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48278         in comment.
48280         [BZ #13851]
48281         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48282         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48283         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48284         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48286         infinite argument.
48287         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48289         != 0 for prec == 2.
48290         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48291         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48292         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48293         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48294         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48295         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48296         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48297         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48298         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48299         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48300         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48301         * math/libm-test.inc (cos_test): Add more tests and enable more
48302         tests for long double.
48303         (sin_test): Likewise.
48304         (sincos_test): Likewise.
48305         * sysdeps/i386/fpu/libm-test-ulps: Update.
48306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48308 2012-03-16  David S. Miller  <davem@davemloft.net>
48310         * sysdeps/sparc/fpu/math_private.h: New file.
48312 2012-03-15  David S. Miller  <davem@davemloft.net>
48314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48315         file.
48316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48318         file.
48319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48320         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48321         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48322         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48323         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48324         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48325         sysdep routines.
48326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48328         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48329         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48331         * sysdeps/sparc/sparc-ifunc.h: New file.
48332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48333         sparc-ifunc.h
48334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48336         Likewise.
48337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48338         Likewise.
48339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48343         Likewise.
48344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48349         Likewise.
48350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48351         Likewise.
48352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48358         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48359         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48361         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48362         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48363         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48364         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48365         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48371         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48372         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48377 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48379         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48380         scaling.
48381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48383 2012-03-15  Andreas Jaeger  <aj@suse.de>
48385         [BZ #13852]
48386         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48387         ieee754/flt-32 implementation for sin, cos and sincos.
48388         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48389         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48390         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48391         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48392         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48393         ieee754/flt-32 implementation for tan.
48395         * math/libm-test.inc (cos_test): Enable some large input tests for
48396         float as well
48397         (sin_test): Likewise.
48398         (sincos_test): Likewise.
48399         (tan_test): Add tests for large input.
48401         * sysdeps/i386/fpu/libm-test-ulps: Update.
48403 2012-03-15  Andreas Jaeger  <aj@suse.de>
48405         [BZ #13658]
48406         * math/libm-test.inc (cos_test): Add more test cases.
48407         (sin_test): Likewise.
48408         (sincos_test): Likewise.
48410 2012-03-15  Andreas Jaeger  <aj@suse.de>
48412         [BZ #13837]
48413         * math/libm-test.inc (cos_test): Add a test case for large input
48414         value.
48415         (sin_test): Likewise.
48416         (sincos_test): Likewise.
48418 2012-03-15  Andreas Jaeger  <aj@suse.de>
48419             Joseph Myers  <joseph@codesourcery.com>
48421         [BZ #13658]
48422         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48423         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48424         * sysdeps/i386/fpu/branred.c: Likewise.
48425         * sysdeps/i386/fpu/dosincos.c: Likewise.
48426         * sysdeps/i386/fpu/mpa.c: Likewise.
48427         * sysdeps/i386/fpu/s_cos.S: Likewise.
48428         * sysdeps/i386/fpu/s_sin.S: Likewise.
48429         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48430         * sysdeps/i386/fpu/sincos32.c: Likewise.
48432         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48433         Define.
48434         (libc_feupdateenv_53bit): Define.
48435         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48436         Define.
48437         (libc_feupdateenv_53bit): Define.
48439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48440         53 bit (without extend i386 double precision).
48442         * math/libm-test.inc (sincos_test): Add tests for large input.
48443         (sin): Likewise.
48444         (cos): Likewise.
48446         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48448 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48452 2012-03-15  David S. Miller  <davem@davemloft.net>
48454         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48455         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48456         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48457         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48470         file.
48471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48473         file.
48474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48476         file.
48477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48479         file.
48480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48481         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48482         fmin/fmax sysdep routines.
48483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48485 2012-03-14  David S. Miller  <davem@davemloft.net>
48487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48491         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48492         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48493         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48494         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48495         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48507         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48508         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48509         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48510         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48511         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48512         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48513         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48514         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48515         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48516         routines.
48517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48518         file.
48519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48521         file.
48522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48524         file.
48525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48527         file.
48528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48530         file.
48531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48533         file.
48534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48535         file.
48536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48537         file.
48538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48539         file.
48540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48541         New file.
48542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48543         file.
48544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48545         file.
48546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48548         file.
48549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48551         file.
48552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48554         file.
48555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48557         VIS3 routines.
48559         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48560         New file.
48562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48564         * sysdeps/sparc/configure.in: New file.
48565         * sysdeps/sparc/configure: Generate.
48566         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48567         * configure: Regenerate.
48568         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48569         * config.make.in (have-as-vis3): New.
48570         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48571         available use -Av9d instead of -Av9a.
48572         * sysdeps/sparc/sparc64/Makefile: Likewise.
48573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48575         New file.
48576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48577         file.
48578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48579         New file.
48580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48581         file.
48582         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48583         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48584         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48588         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48589         fzeros/fnegs to load 0x80000000 into a float register instead of
48590         using the stack.
48591         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48593 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48595         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48596         bits/syscall.h.
48597         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48598         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48599         ($(inst_includedir)/bits/syscall.h): Remove rule.
48600         ($(objpfx)bits/syscall.d): Include instead of
48601         $(objpfx)syscall-list.d.
48602         (generated): Change syscall-list.h and syscall-list.d to
48603         bits/syscall.h and bits/syscall.d.
48605 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48607         [BZ #13846]
48608         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48610 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48612         [BZ #13841]
48613         * math/s_csqrt.c: Include <float.h>.
48614         (__csqrt): Scale large or subnormal inputs.
48615         * math/s_csqrtf.c: Likewise.
48616         * math/s_csqrtl.c: Likewise.
48617         * math/libm-test.inc (csqrt_test): Add more tests.
48618         * sysdeps/i386/fpu/libm-test-ulps: Update.
48619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48621         [BZ #13840]
48622         * math/libm-test.inc (hypot_test): Add more tests.
48624 2012-03-13  David S. Miller  <davem@davemloft.net>
48626         [BZ #13840]
48627         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48628         double-precision for the calculation instead of scaling.
48630 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48632         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48633         manipulate bits before adding and subtracting TWO52[sx].
48634         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48635         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48636         Likewise.
48637         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48639 2012-03-13  David S. Miller  <davem@davemloft.net>
48641         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48642         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48644         rtld-global-offsets.h
48645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48647         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48648         large parameters.
48650         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48652         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48653         'err' in the ifdef scope in which it is actually used.
48655         * nss/nss_db/db-init.c: Include string.h
48657 2012-03-12  David S. Miller  <davem@davemloft.net>
48659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48660         masking out of the most significant byte of random value used.
48661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48662         Fix coding style in previous change.
48664         * sysdeps/unix/sysv/linux/kernel-features.h
48665         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48666         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48667         expression.
48668         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48669         later.
48671 2012-03-11  David S. Miller  <davem@davemloft.net>
48673         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48674         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48675         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48676         for 'resultvar' otherwise things get truncated on 64-bit.
48678         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48679         Fix masking out of the most significant byte of random value used.
48681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48683 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48687 2012-03-09  David S. Miller  <davem@davemloft.net>
48689         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48690         variables with appropriate CPP guards.
48691         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48692         from the frame pointer, not the stack pointer.  Correct layout
48693         comments.  Fix test on resulting framesize and the management of
48694         the outregs buffer for pltexit.  Preserve floating point return
48695         values across _dl_call_pltexit call.
48696         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48697         framesize and the management of the outregs buffer for pltexit.
48698         Preserve floating point return values across _dl_call_pltexit
48699         call.
48700         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48701         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48702         (la_sparc64_gnu_pltexit): New functions.
48703         (print_exit): Fix format string for return register value.
48705 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48707         * sunrpc/Makefile (others): Add rpcgen.
48708         ($(objpfx)rpcgen): Remove special build rule and dependency on
48709         libc.
48710         * sunrpc/rpcgen.c: New file.
48712 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48714         [BZ #13673]
48715         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48716         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48717         * sysdeps/i386/crti.S: Likewise.
48718         * sysdeps/i386/crtn.S: Likewise.
48719         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48720         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48721         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48722         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48723         * sysdeps/sh/crti.S: Likewise.
48724         * sysdeps/sh/crtn.S: Likewise.
48725         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48727         [BZ #13673]
48728         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48729         with URL.
48730         * locale/programs/locfile-kw.gperf: Likewise.
48731         * locale/programs/charmap-kw.h: Regenerated.
48732         * locale/programs/locfile-kw.h: Likewise.
48734         [BZ #13673]
48735         * intl/plural.y: Replace FSF snail mail address with URL.
48736         * intl/plural.c: Regenerated.
48738 2012-03-09  Richard Henderson  <rth@twiddle.net>
48740         * include/math_private.h: Remove file.
48741         * math/math_private.h: Move file ...
48742         * sysdeps/generic/math_private.h: ... here.
48744         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48745         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48746         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48748         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48749         and <math_private.h>.
48750         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48751         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48752         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48753         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48754         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48755         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48756         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48761         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48762         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48764         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48776         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48777         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48778         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48780         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48782         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48784         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48790         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48791         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48792         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48793         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48794         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48795         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48796         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48797         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48798         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48799         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48800         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48801         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48802         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48803         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48804         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48805         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48806         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48807         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48808         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48809         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48814         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48815         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48816         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48817         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48818         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48819         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48820         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48822         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48823         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48824         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48828         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48829         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48831         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48834         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48837         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48838         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48839         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48840         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48841         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48843         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48844         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48845         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48847         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48848         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48850         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48851         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48852         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48853         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48854         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48855         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48856         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48857         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48858         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48859         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48860         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48861         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48862         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48864         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48865         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48866         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48867         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48868         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48869         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48870         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48871         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48872         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48873         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48875         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48876         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48877         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48878         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48879         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48880         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48881         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48882         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48883         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48884         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48885         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48887         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48888         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48889         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48890         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48891         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48892         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48893         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48894         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48895         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48896         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48897         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48898         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48899         * sysdeps/ieee754/k_standard.c: Likewise.
48900         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48901         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48902         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48903         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48904         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48905         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48906         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48907         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48908         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48912         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48913         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48914         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48915         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48917         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48918         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48919         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48920         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48921         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48923         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48924         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48925         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48926         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48927         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48928         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48929         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48930         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48931         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48932         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48933         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48934         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48936         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48937         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48938         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48939         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48940         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48941         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48942         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48943         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48944         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48945         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48946         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48947         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48948         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48949         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48950         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48951         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48952         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48953         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48954         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48955         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48956         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48957         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48958         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48959         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48960         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48961         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48962         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48963         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48964         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48966         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48967         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48968         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48972         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48973         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48976         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48977         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48978         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48979         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48980         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48981         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48984         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48985         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48990         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48991         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48992         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48999         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49004         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49007         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49008         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49009         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49010         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49011         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49012         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49013         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49014         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49015         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49016         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49017         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49018         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49021         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49022         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49023         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49024         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49025         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49026         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49027         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49028         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49029         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49030         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49031         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49032         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49033         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49034         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49036         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49037         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49038         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49039         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49040         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49041         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49042         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49043         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49044         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49045         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49046         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49047         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49048         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49049         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49050         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49051         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49053         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49054         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49055         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49056         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49059         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49060         * sysdeps/ieee754/s_lib_version.c: Likewise.
49061         * sysdeps/ieee754/s_matherr.c: Likewise.
49062         * sysdeps/ieee754/s_signgam.c: Likewise.
49063         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49064         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49065         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49066         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49067         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49068         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49069         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49070         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49071         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49072         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49073         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49074         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49075         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49076         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49077         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49078         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49079         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49080         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49081         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49082         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49083         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49085 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49087         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49088         * sunrpc/rpc_main.c: Likewise.
49089         * sunrpc/rpc_svcout.c: Likewise.
49091 2012-03-09  David S. Miller  <davem@davemloft.net>
49093         * include/math_private.h: New file.
49095 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49097         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49098         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49099         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49100         from <bits/socket_type.h>.
49101         (enum __socket_type): Don't define here.
49102         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49104         bits/socket_type.h.
49106         [BZ #13566]
49107         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49108         checking __USE_GNU.
49110         * Makerules ($(inst_includedir)/%.h): New rule.
49111         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49112         (install-others): Remove variable setting.
49113         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49115 2012-03-08  Richard Henderson  <rth@twiddle.net>
49117         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49118         from macro to inline function; merge with the
49119         !__LIBC_INTERNAL_MATH_INLINES version.
49120         (__ieee754_sqrtf): Likewise.
49122         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49123         to inline function.
49124         (__rintf, __floor, __floorf): Likewise.
49126         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49127         macro to inline function.
49128         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49131         not <math/math_private.h>.
49133 2012-03-08  David S. Miller  <davem@davemloft.net>
49135         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49136         copyright year.
49137         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49139 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
49141         * resolv/gai_misc.c (handle_requests): Fix struct timespec
49142         normalization.
49143         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49144         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49146 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
49148         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
49149         be defined individually, they must be defined as a block.  Define
49150         S for printing a string instead of hidint the different by using a
49151         macro for adding the 'l'.
49152         * stdio-common/tst-fphex-wide.c: Adjust.
49154 2012-03-07  Marek Polacek  <polacek@redhat.com>
49156         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49158 2012-03-08  Marek Polacek  <polacek@redhat.com>
49160         [BZ #13806]
49161         * stdio-common/Makefile (tests): Add tst-fphex-wide.
49162         * stdio-common/tst-fphex.c: Define a few macros to make the
49163         test reusable.  Use them.
49164         * stdio-common/tst-fphex-wide.c: New file.
49166 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
49168         [BZ #6911]
49169         * manual/macros.texi (gnusystems): New macro.
49170         (nongnusystems): Likewise.
49171         (gnulinuxhurdsystems): Likewise.
49172         (gnuhurdsystems): Likewise..
49173         (gnulinuxsystems): Likewise.
49174         * manual/charset.texi: Use new macros or @theglibc{} to refer to
49175         variants of the GNU system, not "GNU system".
49176         * manual/conf.texi: Likewise.
49177         * manual/errno.texi: Likewise.  Update example of errno macro
49178         expansion.
49179         * manual/filesys.texi: Likewise.
49180         (getumask): Document as specific to GNU/Hurd.
49181         * manual/install.texi: Likewise.  Reword some references to
49182         GNU/Linux.
49183         * manual/intro.texi: Likewise.
49184         * manual/io.texi: Likewise.
49185         (File Name Portability): Detail which constraints are inapplicable
49186         to all GNU systems and which are only inapplicable to GNU/Hurd.
49187         * manual/job.texi: Likewise.
49188         * manual/llio.texi: Likewise.
49189         (O_NOCTTY): Document as present on GNU/Linux.
49190         * manual/maint.texi: Likewise.
49191         * manual/memory.texi: Likewise.
49192         * manual/pattern.texi: Likewise.
49193         * manual/pipe.texi: Likewise.
49194         * manual/process.texi: Likewise.
49195         * manual/resource.texi: Likewise.
49196         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49197         child on GNU/Hurd.
49198         * manual/setjmp.texi: Likewise.
49199         * manual/signal.texi: Likewise.
49200         * manual/startup.texi: Likewise.
49201         * manual/stdio.texi: Likewise.
49202         * manual/terminal.texi: Likewise.
49203         (ONLCR): Document as POSIX.
49204         (OXTABS): Document availability on GNU/Linux as XTABS.
49205         (ONOEOT): Document availability separately from other bits.
49206         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49207         * manual/time.texi: Likewise.
49208         * manual/users.texi: Likewise.
49209         * INSTALL: Regenerated.
49210         * sysdeps/gnu/errlist.c: Regenerated.
49212         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49213         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49214         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49215         puts.
49216         * configure: Regenerated.
49218 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49220         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49221         default includes instead of AC_HEADER_CHECK.
49222         * sysdeps/i386/configure: Regenerated.
49224         [BZ #10716]
49225         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49226         * math/s_cacoshf.c (__cacoshf): Likewise.
49227         * math/s_cacoshl.c (__cacoshl): Likewise.
49228         * math/s_casinh.c (__casinh): Set signs of result from argument.
49229         * math/s_casinhf.c (__casinhf): Likewise.
49230         * math/s_casinhl.c (__casinhl): Likewise.
49231         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49232         (casinh_test): Add more tests.
49233         * sysdeps/i386/fpu/libm-test-ulps: Update.
49234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49236 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49238         * po/zh_TW.po: Update from translation team.
49240         * login/Makefile (distribute): Remove variable.
49241         * catgets/Makefile: Likewise.
49242         * mach/Makefile: Likewise.
49243         * malloc/Makefile: Likewise.
49244         * misc/Makefile: Likewise.
49245         * iconv/Makefile: Likewise.
49246         * nscd/Makefile: Likewise.
49247         * hurd/Makefile: Likewise.
49248         * manual/Makefile: Likewise.
49249         * locale/Makefile: Likewise.
49250         * intl/Makefile: Likewise.
49251         * conform/Makefile: Likewise.
49252         * nss/Makefile: Likewise.
49253         * time/Makefile: Likewise.
49254         * soft-fp/Makefile: Likewise.
49255         * dirent/Makefile: Likewise.
49256         * gmon/Makefile: Likewise.
49257         * po/Makefile: Likewise.
49258         * rt/Makefile: Likewise.
49259         * socket/Makefile: Likewise.
49260         * math/Makefile: Likewise.
49261         * signal/Makefile: Likewise.
49262         * debug/Makefile: Likewise.
49263         * elf/Makefile: Likewise.
49264         * timezone/Makefile: Likewise.
49265         * stdlib/Makefile: Likewise.
49266         * iconvdata/Makefile: Likewise.
49267         * sunrpc/Makefile: Likewise.
49268         * io/Makefile: Likewise.
49269         * argp/Makefile: Likewise.
49270         * inet/Makefile: Likewise.
49271         * hesiod/Makefile: Likewise.
49272         * grp/Makefile: Likewise.
49273         * csu/Makefile: Likewise.
49274         * wctype/Makefile: Likewise.
49275         * crypt/Makefile: Likewise.
49276         * libio/Makefile: Likewise.
49277         * string/Makefile: Likewise.
49278         * nis/Makefile: Likewise.
49279         * resolv/Makefile: Likewise.
49280         * stdio-common/Makefile: Likewise.
49281         * wcsmbs/Makefile: Likewise.
49282         * dlfcn/Makefile: Likewise.
49283         * posix/Makefile: Likewise.
49285         [BZ #6959]
49286         * timezone/Makefile: Don't install timezone files, just the programs
49287         and scripts.
49289 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49291         * nss/databases.def: Add missing gshadow entry.
49293         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49295 2012-03-06  Marek Polacek  <polacek@redhat.com>
49297         [BZ #13726]
49298         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49299         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49300         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49301         * stdio-common/tst-long-dbl-fphex.c: New file.
49303 2012-03-06  David S. Miller  <davem@davemloft.net>
49305         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49306         (set_obp_int): New function.
49307         (get_obp_int): New function.
49308         (__get_clockfreq_via_dev_openprom): Likewise.
49309         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49310         Avoid unused variable warnings on 'val' and use builtin_expect.
49311         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49312         __builtin_expect.
49313         (INLINE_CLONE_SYSCALL): Likewise.
49315 2012-03-05  David S. Miller  <davem@davemloft.net>
49317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49319 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
49321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49323         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49324         only for |x| >= 40.
49325         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49327 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
49329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49330         Replace gettimeofday with __vdso_gettimeofday.
49332         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49333         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49334         __vdso_clock_gettime and __vdso_getcpu.
49336         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49337         time with __vdso_time.
49339 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49341         * manual/lang.texi (size_t): Note types to which size_t may be
49342         equivalent with the GNU C Library, but do not describe when
49343         differences between them are significant.
49345 2012-03-05  Andreas Jaeger  <aj@suse.de>
49347         * sysdeps/i386/fpu/libm-test-ulps: Update.
49349 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49351         [BZ #3976]
49352         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49353         (__ieee754_pow): Save and restore rounding mode and use
49354         round-to-nearest for main computations.
49355         * math/libm-test.inc (pow_test_tonearest): New function.
49356         (pow_test_towardzero): Likewise.
49357         (pow_test_downward): Likewise.
49358         (pow_test_upward): Likewise.
49359         (main): Call the new functions.
49360         * sysdeps/i386/fpu/libm-test-ulps: Update.
49361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49363         [BZ #3976]
49364         * math/libm-test.inc (cosh_test_tonearest): New function.
49365         (cosh_test_towardzero): Likewise.
49366         (cosh_test_downward): Likewise.
49367         (cosh_test_upward): Likewise.
49368         (sinh_test_tonearest): Likewise.
49369         (sinh_test_towardzero): Likewise.
49370         (sinh_test_downward): Likewise.
49371         (sinh_test_upward): Likewise.
49372         (main): Call the new functions.
49373         * sysdeps/i386/fpu/libm-test-ulps: Update.
49374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49376 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49378         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49379         default stack guard is set in last bytes.
49380         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49382 2012-03-05  Kees Cook  <keescook@chromium.org>
49384         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49386         [BZ #13656]
49387         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49388         possibly allocate from heap instead of stack.
49389         * stdio-common/bug-vfprintf-nargs.c: New file.
49390         * stdio-common/Makefile (tests): Add nargs overflow test.
49392 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49396 2012-03-03  Marek Polacek  <polacek@redhat.com>
49398         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49399         * math/math_private.h: Likewise.
49400         * stdlib/tst-strtod.c: Likewise.
49401         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49402         * sysdeps/x86_64/bits/atomic.h: Likewise.
49404 2012-03-02  David S. Miller  <davem@davemloft.net>
49406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49410         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49411         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49412         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49413         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49415 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49417         [BZ #13792]
49418         * manual/examples/README: New file, says the example source files
49419         can be used under GPL>=2.
49420         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49421         line containing just "*/".
49422         * manual/examples/add.c: Add copyright header (GPL>=2).
49423         * manual/examples/argp-ex1.c: Likewise.
49424         * manual/examples/argp-ex2.c: Likewise.
49425         * manual/examples/argp-ex3.c: Likewise.
49426         * manual/examples/argp-ex4.c: Likewise.
49427         * manual/examples/atexit.c: Likewise.
49428         * manual/examples/db.c: Likewise.
49429         * manual/examples/dir.c: Likewise.
49430         * manual/examples/dir2.c: Likewise.
49431         * manual/examples/execinfo.c: Likewise.
49432         * manual/examples/filecli.c: Likewise.
49433         * manual/examples/filesrv.c: Likewise.
49434         * manual/examples/fmtmsgexpl.c: Likewise.
49435         * manual/examples/genpass.c: Likewise.
49436         * manual/examples/inetcli.c: Likewise.
49437         * manual/examples/inetsrv.c: Likewise.
49438         * manual/examples/isockad.c: Likewise.
49439         * manual/examples/longopt.c: Likewise.
49440         * manual/examples/memopen.c: Likewise.
49441         * manual/examples/memstrm.c: Likewise.
49442         * manual/examples/mkfsock.c: Likewise.
49443         * manual/examples/mkisock.c: Likewise.
49444         * manual/examples/mygetpass.c: Likewise.
49445         * manual/examples/pipe.c: Likewise.
49446         * manual/examples/popen.c: Likewise.
49447         * manual/examples/rprintf.c: Likewise.
49448         * manual/examples/search.c: Likewise.
49449         * manual/examples/select.c: Likewise.
49450         * manual/examples/setjmp.c: Likewise.
49451         * manual/examples/sigh1.c: Likewise.
49452         * manual/examples/sigusr.c: Likewise.
49453         * manual/examples/stpcpy.c: Likewise.
49454         * manual/examples/strdupa.c: Likewise.
49455         * manual/examples/strftim.c: Likewise.
49456         * manual/examples/strncat.c: Likewise.
49457         * manual/examples/subopt.c: Likewise.
49458         * manual/examples/swapcontext.c: Likewise.
49459         * manual/examples/termios.c: Likewise.
49460         * manual/examples/testopt.c: Likewise.
49461         * manual/examples/testpass.c: Likewise.
49462         * manual/examples/timeval_subtract.c: Likewise.
49464         [BZ #13792]
49465         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49466         function to ...
49467         * manual/timeval_subtract.c.texi: ... here, new file.
49469 2012-03-02  David S. Miller  <davem@davemloft.net>
49471         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49473 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49475         [BZ #3976]
49476         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49477         (__sin): Save and restore rounding mode and use round-to-nearest
49478         for all computations.
49479         (__cos): Save and restore rounding mode and use round-to-nearest
49480         for all computations.
49481         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49482         <fenv.h>.
49483         (tan): Save and restore rounding mode and use round-to-nearest for
49484         all computations.
49485         * math/libm-test.inc (cos_test_tonearest): New function.
49486         (cos_test_towardzero): Likewise.
49487         (cos_test_downward): Likewise.
49488         (cos_test_upward): Likewise.
49489         (sin_test_tonearest): Likewise.
49490         (sin_test_towardzero): Likewise.
49491         (sin_test_downward): Likewise.
49492         (sin_test_upward): Likewise.
49493         (tan_test_tonearest): Likewise.
49494         (tan_test_towardzero): Likewise.
49495         (tan_test_downward): Likewise.
49496         (tan_test_upward): Likewise.
49497         (main): Call the new functions.
49498         * sysdeps/i386/fpu/libm-test-ulps: Update.
49499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49501         [BZ #10135]
49502         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49503         small n, then large n, before computing and testing k+n.
49504         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49505         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49506         Likewise.
49507         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49508         Likewise.
49509         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49510         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49511         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49512         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49513         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49514         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49515         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49516         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49517         * math/libm-test.inc (scalbn_test): Add more tests.
49518         (scalbln_test): Likewise.
49520         * manual/filesys.texi (mode_t): Describe constraints on size and
49521         signedness, not exact equivalence to a particular type.
49522         (ino_t): Likewise.
49523         (ino64_t): Likewise.
49524         (dev_t): Likewise.
49525         (nlink_t): Likewise.
49526         (blkcnt_t): Likewise.
49527         (blkcnt64_t): Likewise.
49528         * manual/llio.texi (off_t): Likewise.
49530         [BZ #3976]
49531         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49532         (__ieee754_exp): Save and restore rounding mode and use
49533         round-to-nearest for all computations.
49534         * math/libm-test.inc (exp_test_tonearest): New function.
49535         (exp_test_towardzero): Likewise.
49536         (exp_test_downward): Likewise.
49537         (exp_test_upward): Likewise.
49538         (main): Call the new functions.
49539         * sysdeps/i386/fpu/libm-test-ulps: Update.
49540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49542 2012-03-01  Chris Demetriou  <cgd@google.com>
49544         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49545         have predictable order.
49547 2012-03-01  David S. Miller  <davem@davemloft.net>
49549         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49551         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49552         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49553         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49554         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49556         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49557         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49558         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49560         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49561         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49562         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49563         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49564         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49568         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49569         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49570         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49572         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49573         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49574         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49575         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49576         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49577         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49578         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49579         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49580         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49581         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49582         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49583         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49585         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49588         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49589         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49590         * sysdeps/sparc/elf/configure: Regenerated.
49592 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49594         * configure.in (AS, LD): Require binutils 2.20 or later.
49595         * configure: Regenerated.
49596         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49597         as required minimum version.
49598         * INSTALL: Regenerated.
49600         [BZ #2541]
49601         [BZ #4108]
49602         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49603         before squaring exponent.
49604         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49605         bottom long double and 27 bits of top long double before squaring
49606         exponent.
49607         * math/libm-test.inc (erfc_test): Add more tests.
49608         * sysdeps/i386/fpu/libm-test-ulps: Update.
49609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49612 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49614         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49615         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49616         containing bit-fields.
49617         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49618         * soft-fp/single.h (_FP_UNION_S): Likewise.
49619         * soft-fp/double.h (_FP_UNION_D): Likewise.
49621 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49623         [BZ #13786]
49624         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49625         not include ../strcmp.S.
49626         [USE_AS_STRNCASECMP_L]: Likewise.
49627         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49628         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49629         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49630         (__strncasecmp_l_ia32): Define as alias to
49631         __strncasecmp_l_nonascii.
49633         [BZ #5794]
49634         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49635         * sysdeps/i386/fpu/libm-test-ulps: Update.
49636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49638         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49641 2012-02-29  Jeff Law  <law@redhat.com>
49643         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49644         out of bounds read.
49646 2012-02-29  Marek Polacek  <polacek@redhat.com>
49648         [BZ #13706]
49649         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49650         * elf/Makefile: Add rules to run tst-unused-dep.out.
49652 2012-02-28  David S. Miller  <davem@davemloft.net>
49654         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49655         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49656         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49657         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49658         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49659         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49661 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49663         * math/libm-test.inc (llround_test): Move one test from
49664         lround_test.  Use TEST_f_L in moved test.
49665         (lround_test): Move misplaced test to llround_test.  Add testcase
49666         from bug 2561.
49668 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49670         * sysdeps/x86_64/fpu/e_expf.S: New file.
49671         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49673 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49675         [BZ #13637]
49676         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49677         of remain_len that may cause incomplete multi-byte character and
49678         false match.
49679         * posix/bug-regex33.c: New file.
49680         * posix/Makefile (tests): Add bug-regex33.
49682 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49684         * manual/macros.texi: New file.
49685         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49686         * manual/libc.texinfo: Include macros.texi.
49687         * manual/creatute.texi: Likewise.
49688         * manual/install.texi: Likewise.
49689         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49690         @glibcadj{} in references to the GNU C Library.
49691         * manual/charset.texi: Likewise.
49692         * manual/conf.texi: Likewise.
49693         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49694         when not using those macros.
49695         * manual/creature.texi: Likewise.
49696         * manual/crypt.texi: Likewise.
49697         * manual/errno.texi: Likewise.
49698         * manual/filesys.texi: Likewise.
49699         * manual/header.texi: Likewise.
49700         * manual/install.texi: Likewise.
49701         * manual/intro.texi: Likewise.
49702         * manual/io.texi: Likewise.
49703         * manual/job.texi: Likewise.
49704         * manual/lang.texi: Likewise.
49705         * manual/libc.texiinfo: Likewise.
49706         * manual/llio.texi: Likewise.
49707         * manual/locale.texi: Likewise.
49708         * manual/maint.texi: Likewise.
49709         * manual/math.texi: Likewise.
49710         * manual/memory.texi: Likewise.
49711         * manual/message.texi: Likewise.
49712         * manual/nss.texi: Likewise.
49713         * manual/pattern.texi: Likewise.
49714         * manual/process.texi: Likewise.
49715         * manual/resource.texi: Likewise.
49716         * manual/search.texi: Likewise.
49717         * manual/setjmp.texi: Likewise.
49718         * manual/signal.texi: Likewise.
49719         * manual/socket.texi: Likewise.
49720         * manual/startup.texi: Likewise.
49721         * manual/stdio.texi: Likewise.
49722         * manual/string.texi: Likewise.
49723         * manual/sysinfo.texi: Likewise.
49724         * manual/syslog.texi: Likewise.
49725         * manual/terminal.texi: Likewise.
49726         * manual/time.texi: Likewise.
49727         * manual/users.texi: Likewise.
49728         * INSTALL: Regenerated.
49729         * NOTES: Regenerated.
49730         * sysdeps/gnu/errlist.c: Regenerated.
49732 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49734         * include/dirent.h: Include <dirstream.h> before
49735         <dirent/dirent.h>.
49737 2012-02-28  David S. Miller  <davem@davemloft.net>
49739         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49740         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49741         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49742         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49744 2012-02-27  David S. Miller  <davem@davemloft.net>
49746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49748         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49749         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49752         frame pointer instead of stack pointer relative arg slot.
49753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49754         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49755         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49757 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49759         [BZ #3992]
49760         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49762 2012-02-27  David S. Miller  <davem@davemloft.net>
49764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49768         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49769         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49770         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49771         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49773 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49775         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49776         later.  Allow versions 5-9.
49777         * configure: Regenerated.
49778         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49779         required minimum version and 4.6 as recommended version.  Do not
49780         mention bugs in GCC 2.7 and 2.8.
49781         * INSTALL: Regenerated.
49783 2012-02-27  David S. Miller  <davem@davemloft.net>
49785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49791         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49792         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49794         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49795         manipulate bits before adding and subtracting TWO112[sx].
49796         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49798 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49800         [BZ #13775]
49801         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49802         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49803         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49804         being in POSIX, because they are in 1003.1-2008.
49806         * rt/tst-aio.c: Include <fcntl.h>.
49807         * rt/tst-aio7.c: Likewise.
49808         * rt/tst-aio64.c: Likewise.
49810         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49812 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49814         * manual/install.texi (--with-headers): Describe headers as
49815         interface headers, not private headers.
49816         (Specific advice for GNU/Linux systems): Describe use of headers
49817         from "make headers_install", not private headers from older
49818         kernels.
49819         * INSTALL: Regenerated.
49820         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49821         Change to 2.6.19.
49822         * sysdeps/unix/sysv/linux/configure: Regenerated.
49824         * manual/llio.texi (fclean): Remove documentation.
49826         * manual/Makefile (libc-texi-generated): New variable.  Include
49827         version.texi.
49828         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49829         $(libc-texi-generated), not duplicated list of files.
49830         (version.texi, stamp-version): New rules.
49831         (realclean): Remove $(libc-texi-generated), not individual files
49832         from that list.  Do not remove dir-add.texinfo.
49833         * manual/libc.texinfo: Comment out uses of edition numbers and
49834         references to printed manual.  Remove last-updated dates.
49835         (EDITION): Comment out.
49836         (ISBN): Likewise.
49837         (VERSION, UPDATED): Remove.
49838         (version.texi): Include.
49840 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49842         * sysdeps/posix/spawni.c: Include <signal.h>.
49843         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49844         * sysdeps/pthread/aio_fsync.c: Likewise.
49846 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49848         * conform/Makefile (tests): Run only when not cross-compiling and
49849         when fast-check is not defined.
49851         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49852         * conform/data/limits.h-data: Fixes for POSIX2008.
49853         * conform/run-conformtest.sh: Run all tests.
49854         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49855         headers.
49856         * include/bits/dlfcn.h: Likewise.
49857         * include/langinfo.h: Likewise.
49858         * include/monetary.h: Likewise.
49859         * include/sys/poll.h: Likewise.
49861         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49862         for __USE_GNU.
49863         * posix/spawn.h: Define __need_sigset_t.
49864         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49865         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49866         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49867         to get sigevent_t only.
49868         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49869         only for __USE_GNU.
49870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49871         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49872         process_vm_writev only for __USE_GNU.
49873         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49875         * conform/Makefile: For now ignore errors from run-conformtest.
49876         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49877         POSIX to avoid namespace pollution.  Don't prepend headers.
49878         * conform/data/aio.h-data: Fixes for POSIX testing.
49879         * conform/data/fcntl.h-data: Likewise.
49880         * conform/data/glob.h-data: Likewise.
49881         * conform/data/grp.h-data: Likewise.
49882         * conform/data/pthread.h-data: Likewise.
49883         * conform/data/pwd.h-data: Likewise.
49884         * conform/data/signal.h-data: Likewise.
49885         * conform/data/spawn.h-data: Likewise.
49886         * conform/data/stdio.h-data: Likewise.
49887         * conform/data/stdlib.h-data: Likewise.
49888         * conform/data/stropts.h-data: Likewise.
49889         * conform/data/sys/mman.h-data: Likewise.
49890         * conform/data/sys/stat.h-data: Likewise.
49891         * conform/data/sys/types.h-data: Likewise.
49892         * conform/data/sys/wait.h-data: Likewise.
49893         * conform/data/time.h-data: Likewise.
49894         * conform/data/unistd.h-data: Likewise.
49895         * conform/data/utime.h-data: Likewise.
49897         * io/sys/stat.h: fchmod was always in POSIX.
49898         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49899         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49900         * rt/aio.h: Define __need_timespec before including <time.h>.
49901         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49902         struct.  Add forward declaration of pthread_attr_t and use it in
49903         sigevent.
49904         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49905         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49906         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49907         always remove CLK_TCK definition.
49909 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49911         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49913 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49915         * conform/run-conformtest.sh: New file.
49916         * conform/Makefile: Run run-conformtest for tests.
49917         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49918         support.
49920         * conform/data/uchar.h-data: New file.
49921         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49922         * conform/data/arpa/inet.h-data: Likewise.
49923         * conform/data/assert.h-data: Likewise.
49924         * conform/data/complex.h-data: Likewise.
49925         * conform/data/cpio.h-data: Likewise.
49926         * conform/data/ctype.h-data: Likewise.
49927         * conform/data/dirent.h-data: Likewise.
49928         * conform/data/dlfcn.h-data: Likewise.
49929         * conform/data/errno.h-data: Likewise.
49930         * conform/data/fcntl.h-data: Likewise.
49931         * conform/data/float.h-data: Likewise.
49932         * conform/data/fmtmsg.h-data: Likewise.
49933         * conform/data/fnmatch.h-data: Likewise.
49934         * conform/data/ftw.h-data: Likewise.
49935         * conform/data/glob.h-data: Likewise.
49936         * conform/data/grp.h-data: Likewise.
49937         * conform/data/iconv.h-data: Likewise.
49938         * conform/data/inttypes.h-data: Likewise.
49939         * conform/data/langinfo.h-data: Likewise.
49940         * conform/data/libgen.h-data: Likewise.
49941         * conform/data/limits.h-data: Likewise.
49942         * conform/data/locale.h-data: Likewise.
49943         * conform/data/math.h-data: Likewise.
49944         * conform/data/monetary.h-data: Likewise.
49945         * conform/data/mqueue.h-data: Likewise.
49946         * conform/data/ndbm.h-data: Likewise.
49947         * conform/data/net/if.h-data: Likewise.
49948         * conform/data/netdb.h-data: Likewise.
49949         * conform/data/netinet/in.h-data: Likewise.
49950         * conform/data/nl_types.h-data: Likewise.
49951         * conform/data/poll.h-data: Likewise.
49952         * conform/data/pthread.h-data: Likewise.
49953         * conform/data/pwd.h-data: Likewise.
49954         * conform/data/regex.h-data: Likewise.
49955         * conform/data/sched.h-data: Likewise.
49956         * conform/data/search.h-data: Likewise.
49957         * conform/data/semaphore.h-data: Likewise.
49958         * conform/data/setjmp.h-data: Likewise.
49959         * conform/data/signal.h-data: Likewise.
49960         * conform/data/spawn.h-data: Likewise.
49961         * conform/data/stdarg.h-data: Likewise.
49962         * conform/data/stdio.h-data: Likewise.
49963         * conform/data/stdlib.h-data: Likewise.
49964         * conform/data/string.h-data: Likewise.
49965         * conform/data/strings.h-data: Likewise.
49966         * conform/data/stropts.h-data: Likewise.
49967         * conform/data/sys/ipc.h-data: Likewise.
49968         * conform/data/sys/mman.h-data: Likewise.
49969         * conform/data/sys/msg.h-data: Likewise.
49970         * conform/data/sys/resource.h-data: Likewise.
49971         * conform/data/sys/select.h-data: Likewise.
49972         * conform/data/sys/sem.h-data: Likewise.
49973         * conform/data/sys/shm.h-data: Likewise.
49974         * conform/data/sys/socket.h-data: Likewise.
49975         * conform/data/sys/stat.h-data: Likewise.
49976         * conform/data/sys/statvfs.h-data: Likewise.
49977         * conform/data/sys/time.h-data: Likewise.
49978         * conform/data/sys/timeb.h-data: Likewise.
49979         * conform/data/sys/times.h-data: Likewise.
49980         * conform/data/sys/types.h-data: Likewise.
49981         * conform/data/sys/uio.h-data: Likewise.
49982         * conform/data/sys/un.h-data: Likewise.
49983         * conform/data/sys/utsname.h-data: Likewise.
49984         * conform/data/sys/wait.h-data: Likewise.
49985         * conform/data/syslog.h-data: Likewise.
49986         * conform/data/tar.h-data: Likewise.
49987         * conform/data/termios.h-data: Likewise.
49988         * conform/data/utime.h-data: Likewise.
49989         * conform/data/utmpx.h-data: Likewise.
49990         * conform/data/varargs.h-data: Likewise.
49991         * conform/data/wchar.h-data: Likewise.
49992         * conform/data/wctype.h-data: Likewise.
49993         * conform/data/wordexp.h-data: Likewise.
49995         * include/stropts.h: New file.
49996         * include/uchar.h: New file.
49997         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49998         * include/assert.h: Likewise.
49999         * include/ctype.h: Likewise.
50000         * include/dirent.h: Likewise.
50001         * include/dlfcn.h: Likewise.
50002         * include/fcntl.h: Likewise.
50003         * include/fnmatch.h: Likewise.
50004         * include/glob.h: Likewise.
50005         * include/grp.h: Likewise.
50006         * include/libio.h: Likewise.
50007         * include/locale.h: Likewise.
50008         * include/math.h: Likewise.
50009         * include/net/if.h: Likewise.
50010         * include/netdb.h: Likewise.
50011         * include/netinet/in.h: Likewise.
50012         * include/pthread.h: Likewise.
50013         * include/pwd.h: Likewise.
50014         * include/regex.h: Likewise.
50015         * include/sched.h: Likewise.
50016         * include/search.h: Likewise.
50017         * include/setjmp.h: Likewise.
50018         * include/signal.h: Likewise.
50019         * include/stdio.h: Likewise.
50020         * include/stdlib.h: Likewise.
50021         * include/string.h: Likewise.
50022         * include/sys/cdefs.h: Likewise.
50023         * include/sys/mman.h: Likewise.
50024         * include/sys/msg.h: Likewise.
50025         * include/sys/resource.h: Likewise.
50026         * include/sys/select.h: Likewise.
50027         * include/sys/socket.h: Likewise.
50028         * include/sys/stat.h: Likewise.
50029         * include/sys/statvfs.h: Likewise.
50030         * include/sys/time.h: Likewise.
50031         * include/sys/times.h: Likewise.
50032         * include/sys/uio.h: Likewise.
50033         * include/sys/utsname.h: Likewise.
50034         * include/sys/wait.h: Likewise.
50035         * include/termios.h: Likewise.
50036         * include/time.h: Likewise.
50037         * include/ulimit.h: Likewise.
50038         * include/unistd.h: Likewise.
50039         * include/utime.h: Likewise.
50040         * include/wchar.h: Likewise.
50041         * include/wctype.h: Likewise.
50042         * include/wordexp.h: Likewise.
50044         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50046         * time/time.h: TIME_UTC must be a macro.
50047         Make timespec_get available for ISO C11 only as well.
50049 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
50051         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50052         Reported by Peng Haitao <penght@cn.fujitsu.com>.
50054 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50056         * configure.in: Use -o not -a in test for unsupported multi-arch.
50058 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50060         * manual/texinfo.tex: Update to version 2012-01-19.16.
50062 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50064         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50066 2012-02-24  Roland McGrath  <roland@hack.frob.com>
50068         [BZ #13738]
50069         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50070         * manual/fdl-1.3.texi: New file.
50071         * manual/fdl-1.1.texi: File removed.
50073         [BZ #13738]
50074         * manual/libc.texinfo (FDL_VERSION): New @set.
50075         Use it for mention of FDL in cover text.
50076         (Documentation License): Use it in @include file name.
50078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50079             Roland McGrath  <roland@hack.frob.com>
50081         [BZ #5461]
50082         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50083         (not LONG_LONG_MAX and LONG_LONG_MIN.
50084         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50085         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
50086         name.
50087         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50089 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50091         [BZ #2547]
50092         [BZ #11365]
50093         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50094         manipulate bits before adding and subtracting TWO23[sx].
50095         * math/libm-test.inc (nearbyint_test): Add more tests.
50097 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50099         [BZ #2548]
50100         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50101         bits before adding and subtracting TWO23[sx].
50102         * math/libm-test.inc (rint_test): Add more tests.
50103         (rint_test_tonearest): Likewise.
50104         (rint_test_towardzero): Likewise.
50105         (rint_test_downward): Likewise.
50106         (rint_test_upward: Likewise.
50108 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50110         [BZ #10110]
50111         * include/stdc-predef.h: New file.  Extracted from features.h.
50112         * include/features.h: Include stdc-predef.h.
50113         * Makefile (headers): Add stdc-predef.h.
50114         * CONFORMANCE (Compiler limitations): Update.
50116 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50118         * manual/libc.texinfo (VERSION, UPDATED): Revert.
50120 2012-02-21  David S. Miller  <davem@davemloft.net>
50122         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50123         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50125 2012-02-20  David S. Miller  <davem@davemloft.net>
50127         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50128         using a normal save/restore sequence, rather than allocating a
50129         dummy stack frame just to store a frame pointer and restore.
50130         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50132 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50134         * manual/install.texi: Fix stray word in line-wrapped comment.
50136 2012-02-20  David S. Miller  <davem@davemloft.net>
50138         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50139         both binutils and gcc support GOTDATA.
50141         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50142         "rd %pc" in the PIC register setup sequences.
50144         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50145         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50146         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50147         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50148         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50153         (SYSCALL_ERROR_HANDLER): Likewise.
50154         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50155         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50157         (SYSCALL_ERROR_HANDLER): Likewise.
50159         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50160         (HAVE_GCC_GOTDATA): New.
50161         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50162         relocation support in both binutils and gcc.
50163         * sysdeps/sparc/elf/configure: Regenerate.
50165         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50166         * sysdeps/sparc/sparc32/elf/configure: Delete.
50167         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50168         * sysdeps/sparc/sparc64/elf/configure: Delete.
50169         * sysdeps/sparc/elf/configure.in: New file.
50170         * sysdeps/sparc/elf/configure: Generate.
50172         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50173         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50174         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50175         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50176         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50178 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50180         * manual/install.texi: Do not mention specific glibc version
50181         numbers.
50182         * manual/libc.texinfo (VERSION, UPDATED): Update.
50183         (@copying): Use @copyright{} and range of years.
50185 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50187         [BZ #13695]
50188         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50189         [crti.S not in sysdirs] (generated): Do not append.
50190         [crti.S not in sysdirs] (omit-deps): Likewise.
50191         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50192         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50193         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50194         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50195         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50196         Likewise.
50197         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50198         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50199         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50200         * csu/defs.awk: Remove file.
50201         * sysdeps/generic/initfini.c: Likewise.
50202         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50203         variable.
50204         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50205         Likewise.
50207 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50209         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50210         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50211         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50212         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50213         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50214         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50215         <bits/epoll.h>.
50216         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50217         (__EPOLL_PACKED): Define to empty if not defined by
50218         <bits/epoll.h>.
50219         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50221         bits/epoll.h.
50223 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50225         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50226         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50227         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50228         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50229         <bits/timerfd.h>.
50230         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50232         bits/timerfd.h.
50234 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50236         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50237         in C locale.
50238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50239         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50243 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50245         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50246         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50248 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50250         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50251         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50252         defined.
50253         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50254         Likewise.
50255         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50256         entry for 2.16.
50258 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50260         * math/w_acos.c: Use non-signaling floating-point comparisons.
50261         * math/w_acosf.c: Likewise.
50262         * math/w_acosh.c: Likewise.
50263         * math/w_acoshf.c: Likewise.
50264         * math/w_acoshl.c: Likewise.
50265         * math/w_acosl.c: Likewise.
50266         * math/w_asin.c: Likewise.
50267         * math/w_asinf.c: Likewise.
50268         * math/w_asinl.c: Likewise.
50269         * math/w_atanh.c: Likewise.
50270         * math/w_atanhf.c: Likewise.
50271         * math/w_atanhl.c: Likewise.
50272         * math/w_exp2.c: Likewise.
50273         * math/w_exp2f.c: Likewise.
50274         * math/w_exp2l.c: Likewise.
50275         * math/w_j0.c: Likewise.
50276         * math/w_j0f.c: Likewise.
50277         * math/w_j0l.c: Likewise.
50278         * math/w_j1.c: Likewise.
50279         * math/w_j1f.c: Likewise.
50280         * math/w_j1l.c: Likewise.
50281         * math/w_jn.c: Likewise.
50282         * math/w_jnf.c: Likewise.
50283         * math/w_log.c: Likewise.
50284         * math/w_log10.c: Likewise.
50285         * math/w_log10f.c: Likewise.
50286         * math/w_log10l.c: Likewise.
50287         * math/w_log2.c: Likewise.
50288         * math/w_log2f.c: Likewise.
50289         * math/w_log2l.c: Likewise.
50290         * math/w_logf.c: Likewise.
50291         * math/w_logl.c: Likewise.
50292         * math/w_sqrt.c: Likewise.
50293         * math/w_sqrtf.c: Likewise.
50294         * math/w_sqrtl.c: Likewise.
50295         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50296         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50297         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50298         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50299         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50301 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50303         [BZ #9739]
50304         * manual/string.texi (strnlen): Use correct parameter name in
50305         equivalent expression.
50307 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #11174]
50310         * manual/users.texi (seteuid): Consistently use neweuid for
50311         argument name.
50313 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50315         [BZ #13704]
50316         * manual/nss.texi (Services in the NSS configuration): Correct
50317         list of services in example configuration file.
50319 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
50321         [BZ #11322]
50322         * manual/arith.texi: Remove statements about negative zero
50323         behaving identically to zero.
50325 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50327         [BZ #5993]
50328         * manual/install.texi: Do not document upgrading from libc5.
50330 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50332         [BZ #4596]
50333         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50335 2012-02-18  David S. Miller  <davem@davemloft.net>
50337         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50338         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50339         %o7 across the call.
50340         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50341         instead.
50342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50343         SETUP_PIC_REG_LEAF.
50344         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50345         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50346         * sysdeps/sparc/crtn.S: Likewise.
50348 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50350         * aout/Makefile: Remove.
50352 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50354         [BZ #13058]
50355         * manual/examples/argp-ex1.c (main): Format definition in GNU
50356         style.
50357         * manual/examples/argp-ex2.c (main): Likewise.
50358         * manual/examples/argp-ex3.c (main): Likewise.
50359         * manual/examples/argp-ex4.c (main): Likewise.
50360         * manual/examples/longopt.c (main): Use new-style prototype
50361         definition.
50362         * manual/examples/strncat.c (main): Specify return type and use
50363         (void) for arguments.
50364         * manual/examples/subopt.c (main): Use char **argv argument.
50366 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50368         [BZ #5077]
50369         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50370         rounding modes.
50372 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50374         [BZ #6907]
50375         * manual/string.texi (strchr): Change when strchrnul is
50376         recommended.
50378 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50380         [BZ #174]
50381         * manual/locale.texi (setlocale): Document LOCPATH.
50383 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50385         [BZ #10210]
50386         * manual/process.texi (execle): Move @dots{} before last argument.
50388 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50390         [BZ #12047]
50391         * manual/charset.texi (Generic Charset Conversion): Fix typo
50392         (LC_TYPE -> LC_CTYPE).
50394 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50396         [BZ #5805]
50397         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50398         (scalbnf): Likewise.
50399         (scalbnl): Likewise.
50400         (scalbln): Likewise.
50401         (scalblnf): Likewise.
50402         (scalblnl): Likewise.
50403         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50404         (vwarnx): Likewise.
50405         (verr): Likewise.
50406         (verrx): Likewise.
50407         * manual/filesys.texi (telldir): Use braces around return type.
50408         * manual/llio.texi (mmap): Add space after comma.
50409         (mmap64): Likewise.
50410         * manual/math.texi (jn): Use @var{} on parameter names.
50411         (jnf): Likewise.
50412         (jnl): Likewise.
50413         (yn): Likewise.
50414         (ynf): Likewise.
50415         (ynl): Likewise.
50416         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50417         line.
50418         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50419         "...".
50420         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50421         (sched_get_priority_max): Likewise.
50422         * manual/signal.texi (sigvec): Add space after comma.
50423         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50424         names.
50425         (if_indextoname): Likewise.
50426         (if_freenameindex): Likewise.
50427         (sendto): Use ',' instead of '.' in prototype.
50428         * manual/startup.texi (syscall): Use @dots{} instead of literal
50429         "...".
50430         * manual/stdio.texi (__fpending): Separate initial words of
50431         paragraph from @deftypefun line.
50432         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50433         "...".
50434         (vsyslog): Use @var{} on parameter names.
50435         * manual/terminal.texi (stty): Use @var{} on parameter names.
50436         * manual/users.texi (getutmp): Use @var{} on parameter names.
50437         (getutmpx): Likewise.
50439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50441         [BZ #6884]
50442         * manual/stdio.texi (fopen): Fix typos in description of
50443         ",ccs=STRING".
50445 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50447         [BZ #4026]
50448         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50449         get clock_id definition.
50451 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50453         [BZ #4822]
50454         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50455         (madvise): Cast every argument to void on its own.
50457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50459         [BZ #9902]
50460         * manual/startup.texi (Exit Status): Fix typo.
50462 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50464         [BZ #10140]
50465         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50466         * manual/examples/argp-ex2.c: Likewise.
50467         * manual/examples/argp-ex3.c: Likewise.
50469 2012-02-16  Richard Henderson  <rth@redhat.com>
50471         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50472         * sysdeps/s390/s390-32/initfini.c: Remove.
50473         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50474         * sysdeps/s390/s390-64/initfini.c: Remove.
50476 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50478         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50479         compiler output for sysdeps/generic/initfini.c.
50480         * sysdeps/sh/elf/initfini.c: Remove file.
50482 2012-02-16  David S. Miller  <davem@davemloft.net>
50484         [BZ #11494]
50485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50487         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50488         * sysdeps/sparc/crti.S: New file.
50489         * sysdeps/sparc/crtn.S: New file.
50490         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50491         * sysdeps/sparc/sparc64/Makefile: Likewise.
50493 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50495         [BZ #3335]
50496         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50498 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50500         [BZ #4822]
50501         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50503         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50504         (write, read, close): Likewise.
50505         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50507 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50509         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50510         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50511         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50512         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50513         <bits/signalfd.h>.
50514         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50516         bits/signalfd.h.
50518 2012-02-14  Marek Polacek  <polacek@redhat.com>
50520         * sysdeps/x86_64/crti.S: New file.
50521         * sysdeps/x86_64/crtn.S: New file.
50522         * sysdeps/x86_64/elf/initfini.c: Remove file.
50524 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50526         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50527         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50528         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50529         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50530         <bits/inotify.h>.
50531         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50532         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50533         bits/inotify.h.
50535 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50537         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50538         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50539         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50540         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50541         <bits/eventfd.h>.
50542         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50544         bits/eventfd.h.
50546 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50548         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50549         __feraiseexcept instead of feraiseexcept.
50551         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50552         nanosleep invocations.
50553         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50554         strings, and add error checking for a nanosleep invocations.
50556 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50558         Replace FSF snail mail address with URLs, as per GNU coding standards.
50559         Most of the snail mail addresses were wrong anyway, and omitting
50560         them makes the source code easier to maintain.  Almost all of the
50561         changes are to license notices and to locale LC_IDENTIFICATION
50562         addresses, except for this one:
50563         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50564         not its snail mail address.
50566 2012-02-09  Richard Henderson  <rth@twiddle.net>
50568         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50569         of kernel-features.h.
50571         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50573 2012-02-08  Marek Polacek  <polacek@redhat.com>
50575         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50576         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50577         * sysdeps/gnu/_G_config.h: Likewise.
50578         * sysdeps/generic/_G_config.h: Likewise.
50580 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50582         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50583         tests.
50584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50586         * sysdeps/powerpc/powerpc32/crti.S: New file.
50587         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50588         * sysdeps/powerpc/powerpc64/crti.S: New file.
50589         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50591         * Makeconfig (have-initfini): Don't set.
50592         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50593         * configure.in (nopic_initfini): Don't substitute.
50594         * config.h.in (HAVE_INITFINI): Don't #undef.
50595         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50596         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50598 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50600         Support crti.S and crtn.S provided directly by architectures.
50601         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50602         [crti.S in sysdirs] (omit-deps): Likewise.
50603         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50604         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50605         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50606         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50607         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50608         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50609         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50610         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50611         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50612         compiler output for sysdeps/generic/initfini.c.
50613         * sysdeps/i386/elf/Makefile: Remove file.
50614         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50616 2012-02-07  Marek Polacek  <polacek@redhat.com>
50618         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50619         * sysdeps/gnu/_G_config.h: Likewise.
50620         * sysdeps/mach/hurd/_G_config.h: Likewise.
50622 2012-02-07  Marek Polacek  <polacek@redhat.com>
50624         * math/Makefile (tests): Add tst-CMPLX2.
50625         * math/tst-CMPLX2.c: New file.
50627 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50629         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50631         * math/libm-test.inc (jn_test): Add missing L suffix.
50633 2012-02-06  Marek Polacek  <polacek@redhat.com>
50635         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50636         * sysdeps/i386/fpu/e_powf.S: Likewise.
50637         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50638         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50639         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50640         * sysdeps/i386/fpu/e_pow.S: Likewise.
50641         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50642         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50643         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50644         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50645         * sysdeps/i386/fpu/e_log2.S: Likewise.
50646         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50647         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50648         * sysdeps/i386/fpu/e_powl.S: Likewise.
50649         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50650         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50651         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50652         * sysdeps/i386/fpu/e_logl.S: Likewise.
50653         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50654         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50655         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50656         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50659         * sysdeps/i386/fpu/e_log.S: Likewise.
50660         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50661         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50662         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50663         * sysdeps/i386/fpu/e_logf.S: Likewise.
50664         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50665         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50666         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50667         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50668         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50669         * sysdeps/i386/fpu/e_log10.S: Likewise.
50670         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50671         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50672         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50673         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50674         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50675         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50676         * sysdeps/i386/asm-syntax.h: Likewise.
50677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50678         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50680         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50681         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50682         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50683         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50684         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50685         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50686         * sysdeps/powerpc/sysdep.h: Likewise.
50687         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50688         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50690 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50692         [BZ #411]
50693         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50695 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50697         * sysdeps/i386/sysdep.h: Include <features.h>.
50698         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50699         version.
50701 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50703         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50704         Define.
50705         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50706         LOAD_PIC_REG_STR.
50708 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50710         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50711         (SETUP_PIC_REG): Use GET_PC_THUNK.
50712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50713         macro.
50715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50717         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50718         for non-PIC compilation.
50719         (SETUP_PIC_REG): Add .p2align directive.
50720         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50721         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50722         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50723         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50724         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50725         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50734         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50735         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50736         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50737         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50738         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50739         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50740         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50742         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50743         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50744         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50745         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50746         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50747         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50748         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50749         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50750         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50752         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50753         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50754         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50755         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50756         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50757         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50758         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50759         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50760         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50762 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50764         * math/tst-CMPLX.c: Include <stdio.h>.
50766 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50768         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50769         float.
50770         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50771         * sysdeps/sparc/bits/mathdef.h: Likewise.
50773 2012-01-31  Marek Polacek  <polacek@redhat.com>
50775         * libio/libio.h: Don't define _PARAMS.
50776         * locale/programs/config.h: Don't define PARAMS.
50777         * stdlib/strtol_l.c: Likewise.
50778         (__strtol_l): Remove PARAMS from the prototype.
50780 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50782         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50783         names.  Just use the correct names.  Remove unnecessary wrapper
50784         functions.
50785         * malloc/arena.c: Likewise.
50786         * malloc/hooks.c: Likewise.
50788         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50789         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50790         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50792 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50794         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50795         into tail calls.
50796         (update_get_addr): New function.
50797         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50798         GET_ADDR_MODULE parameter.
50800 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50802         * crypt/cert.c: Remove __STDC__ conditionals.
50803         * crypt/crypt-entry.c: Likewise.
50804         * crypt/crypt_util.c: Likewise.
50805         * libio/filedoalloc.c: Likewise.
50806         * libio/fileops.c: Likewise.
50807         * libio/genops.c: Likewise.
50808         * libio/iofclose.c: Likewise.
50809         * libio/iofdopen.c: Likewise.
50810         * libio/iofopen.c: Likewise.
50811         * libio/iofopen64.c: Likewise.
50812         * libio/iogetdelim.c: Likewise.
50813         * libio/iopopen.c: Likewise.
50814         * libio/obprintf.c: Likewise.
50815         * libio/oldfileops.c: Likewise.
50816         * libio/oldiofclose.c: Likewise.
50817         * libio/oldiofdopen.c: Likewise.
50818         * libio/oldiofopen.c: Likewise.
50819         * libio/oldiopopen.c: Likewise.
50820         * libio/wfiledoalloc.c: Likewise.
50821         * libio/wgenops.c: Likewise.
50822         * locale/programs/xmalloc.c: Likewise.
50823         * misc/syslog.c: Likewise.
50824         * stdio-common/xbug.c: Likewise.
50825         * string/memchr.c: Likewise.
50826         * string/memcmp.c: Likewise.
50827         * string/memrchr.c: Likewise.
50828         * string/rawmemchr.c: Likewise.
50829         * sysdeps/posix/getcwd.c: Likewise.
50830         * time/strftime_l.c: Likewise.
50832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50834         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50835         * config.make.in (config-cflags-sse2avx): Define.
50836         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50837         Fix typo.
50839 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50841         * scripts/config.guess: Update from upstream config git repository.
50842         * scripts/config.sub: Likewise.
50844 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50846         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50847         (EM_NUM): Update.
50848         (R_TILEPRO_*, R_TILEGX_*): New macros.
50850         * scripts/firstversions.awk: Fix bug in version range handling.
50852         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50854         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50856         * include/sys/epoll.h: New file.
50857         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50858         libc_hidden_def.
50860 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50862         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50863         Avoid unnecessary __WORDSIZE == 64 test.
50864         (fmaxf): Use VEX format if possible.
50865         (fmax): Likewise.
50866         (fminf): Likewise.
50867         (fmin): Likewise.
50869         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50870         * math/math_private.h: Remove libc_fegetround* and
50871         libc_fesetround*.
50872         * sysdeps/i386/configure.in: Check for -msse2avx.
50873         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50874         also if SSE2AVX is defined.
50875         Remove libc_fegetround* and libc_fesetround*.
50876         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50877         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50879         of HAS_YMM_USABLE.
50880         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50881         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50882         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50883         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50884         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50886         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50888 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50890         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50891         size is not set.
50892         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50894 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50896         [BZ #13618]
50897         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50898         relocation.
50899         * Makeconfig (libm): Define.
50900         * elf/Makefile: Add rules to build and run tst-relsort1.
50901         * elf/tst-relsort1.c: New file.
50902         * elf/tst-relsort1mod1.c: New file.
50903         * elf/tst-relsort1mod2.c: New file.
50905 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50907         * math/s_ldexp.c: Remove __STDC__ conditionals.
50908         * math/s_ldexpf.c: Likewise.
50909         * math/s_ldexpl.c: Likewise.
50910         * math/s_nextafter.c: Likewise.
50911         * math/s_nexttowardf.c: Likewise.
50912         * math/s_significand.c: Likewise.
50913         * math/s_significandf.c: Likewise.
50914         * math/s_significandl.c: Likewise.
50915         * math/w_jnl.c: Likewise.
50916         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50917         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50918         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50919         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50920         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50921         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50922         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50923         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50924         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50925         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50926         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50927         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50928         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50929         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50930         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50931         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50932         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50933         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50934         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50935         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50936         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50937         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50938         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50939         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50940         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50941         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50942         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50943         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50944         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50947         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50950         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50951         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50952         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50953         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50954         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50955         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50956         * sysdeps/ieee754/k_standard.c: Likewise.
50957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50958         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50959         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50960         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50961         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50962         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50964         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50965         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50966         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50969         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50970         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50971         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50973         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50974         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50976         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50978         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50979         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50980         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50981         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50986         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50987         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50988         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50989         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50990         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50991         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50992         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50993         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50994         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50995         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50996         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50997         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50998         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50999         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51000         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51001         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51002         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51003         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51004         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51005         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51006         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51007         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51008         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51009         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51010         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51011         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51012         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51013         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51014         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51015         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51017         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51018         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51019         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51020         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51021         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51022         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51023         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51024         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51025         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51026         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51027         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51028         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51029         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51030         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51031         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51032         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51033         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51034         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51036         * sysdeps/ieee754/s_matherr.c: Likewise.
51037         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51038         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51039         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51042 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51044         * crypt/md5.h: Remove __STDC__ conditionals.
51045         * libio/libioP.h: Likewise.
51046         * locale/programs/config.h: Likewise.
51047         * sysdeps/generic/sysdep.h: Likewise.
51048         * sysdeps/i386/asm-syntax.h: Likewise.
51049         * sysdeps/s390/asm-syntax.h: Likewise.
51050         * sysdeps/unix/sysdep.h: Likewise.
51051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51054 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51056         * libio/libio.h: Remove __STDC__ conditionals.
51057         * malloc/obstack.h: Likewise.
51058         * math/complex.h: Likewise.
51059         * math/math.h: Likewise.
51060         * sysdeps/generic/_G_config.h: Likewise.
51061         * sysdeps/gnu/_G_config.h: Likewise.
51062         * sysdeps/mach/hurd/_G_config.h: Likewise.
51063         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51064         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51065         * sysdeps/sparc/bits/mathdef.h: Likewise.
51067 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
51069         [BZ #13583]
51070         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51071         Clean up HAS_* macros.
51072         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51073         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51074         possible.
51075         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51076         HAS_AVX.
51077         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51078         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51079         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51080         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51081         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51083 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
51085         * elf/tst-unique3.cc (gets): Remove declaration.
51086         * elf/tst-unique3lib.cc (gets): Likewise.
51087         * elf/tst-unique3lib2.cc (gets): Likewise.
51088         * elf/tst-unique4.cc (gets): Likewise.
51090 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
51092         * include/stdio.h: Add C++ protection.  Add gets declarations and
51093         definitions.
51094         * debug/tst-chk1.c: Don't declare gets here.
51095         * stdio-common/tst-gets.c: Likewise.
51097 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51099         * posix/glob: Remove directory.
51101 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51103         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51105 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
51107         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51108         of the non-standard EPFNOSUPPORT.
51110 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51112         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51113         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51114         ANYWHERE set to 1 only on KERN_NO_SPACE error.
51116 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
51118         * wcsmbs/uchar.h: Test __STDC_VERSION__.
51120 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
51122         * nscd/aicache.c (addhstaiX): Do not cache negative results of
51123         transient errors.
51124         * nscd/grpcache.c (cache_addgr): Likewise.
51125         * nscd/hstcache.c (cache_addhst): Likewise.
51126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51127         * nscd/pwdcache.c (cache_addpw): Likewise.
51128         * nscd/servicescache.c (cache_addserv): Likewise.
51130 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
51132         * malloc/malloc.c: Various cleanups.
51133         * malloc/hooks.c: Likewise.
51135         * stdlib/Makefile (tests): Add bug-fmtmsg1.
51136         * stdlib/bug-fmtmsg1.c: New file.
51138         * stdlib/fmtmsg.c (init): Add missing unlock.
51139         Patch by Peng Haitao <penght@cn.fujitsu.com>.
51141 2012-01-12  Marek Polacek  <polacek@redhat.com>
51143         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51144         and _GNU_SOURCE.
51146 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51148         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51149         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51150         macro to ensure uniqueness of label name.
51151         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51152         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51154 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
51156         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51158         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51159         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51160         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51163 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
51165         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51167         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51168         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51169         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51171         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51173         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51174         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51178         * math/bits/math-finite.h: Add ldexp support.
51180 2012-01-10  Marek Polacek  <polacek@redhat.com>
51182         * locale/programs/localedef.h (show_archive_content): Add noreturn
51183         attribute.
51185 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
51187         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51189 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51191         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51193         * io/Makefile (headers): Add bits/poll2.h.
51195 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51198         typo #include statement.
51200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51202         * include/sys/cdefs.h: Define __attribute_alloc_size.
51203         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51204         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51205         * elf/pldd.c: Likewise.
51206         * iconv/iconv_charmap.c: Likewise.
51207         * iconv/iconvconfig.c: Likewise.
51208         * iconv/strtab.c: Likewise.
51209         * locale/programs/locale.c: Likewise.
51210         * locale/programs/localedef.h: Likewise.
51211         * locale/programs/simple-hash.c: Likewise.
51212         * nscd/nscd.h: Likewise.
51213         * nss/makedb.c: Likewise.
51214         * sysdeps/generic/ldconfig.h: Likewise.
51215         * locale/programs/localedef.c: Remove xmalloc prototype.
51216         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51218 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51220         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51221         appropriate.
51223 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51225         * math/Makefile (tests): Add tst-CMPLX.
51226         * math/tst-CMPLX.c: New file.
51228         * math/complex.h (CMPLXL): Fix typo.
51230         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51231         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51232         GLIBC_2.16.
51233         * debug/tst-chk1.c: Add poll and ppoll tests.
51234         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51235         * include/sys/poll.h: Add hidden proto for ppoll.
51236         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51237         * sysdeps/mach/hurd/ppoll.c: Likewise.
51238         * io/ppoll.c: Likewise.
51239         * debug/poll_chk.c: New file.
51240         * debug/ppoll_chk.c: New file.
51241         * include/bits/poll2.h: New file.
51242         * io/bits/poll2.h: New file.
51244         [BZ #1350]
51245         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51247         * configure.in: static is always set to yes.  Remove.
51248         * config.make.in: Don't set build-static.
51249         * Makeconfig: Remove use of build-static.
51250         * dlfcn/Makefile: Likewise.
51251         * elf/Makefile: Likewise.
51252         * math/Makefile: Likewise.
51253         * misc/Makefile: Likewise.
51254         * nptl/Makefile: Likewise.
51255         * sysdeps/mach/hurd/Makefile: Likewise.
51257         * configure.in: PWD_P is not used anymore.
51258         * config.make.in: Remove PWD_P entry.
51260         * configure.in: Remove last remnants of RANLIB.
51261         No need to check for signed size_t anymore.
51262         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51263         and IA-64.
51264         Remove __builtin_expect test because we require at least gcc 3.4.
51265         * aclocal.m4: Likewise.
51267         * wcsmbs/mbrtoc16.c: Implement using towc function.
51268         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51269         * wcsmbs/wcsmbsload.c: Likewise.
51270         * iconv/gconv_simple.c: Likewise.
51271         * iconv/gconv_int.h: Likewise.
51272         * iconv/gconv_builtin.h: Likewise.
51273         * iconv/iconv_prog.c: Remove CHAR16 handling.
51275         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51277         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51279         * configure.in: Remove --with-elf and --enable-bounded options.
51280         Dont set base_machine for ia64.  More non-ELF conditions removed.
51281         Remove testing and setting of leading underscore information.
51282         * config.make.in (build-bounded): Set to no.
51283         * config.h.in: Remove NO_UNDERSCORES entry.
51284         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51285         them.
51286         * csu/start.c: Remove !NO_UNDERSCORE code.
51287         * locale/localeinfo.h: Likewise.
51288         * sysdeps/generic/machine-gmon.h: Likewise.
51289         * sysdeps/generic/sysdep.h: Likewise.
51290         * sysdeps/i386/sysdep.h: Likewise.
51291         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51292         * sysdeps/mach/sysdep.h: Likewise.
51293         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51294         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51295         * sysdeps/sh/sysdep.h: Likewise.
51296         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51297         * sysdeps/unix/i386/sysdep.S: Likewise.
51298         * sysdeps/unix/sparc/start.c: Likewise.
51299         * sysdeps/unix/sparc/sysdep.S: Likewise.
51300         * sysdeps/unix/sparc/sysdep.h: Likewise.
51301         * sysdeps/unix/start.c: Likewise.
51302         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51303         * sysdeps/x86_64/sysdep.h: Likewise.
51305 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51307         [BZ #13553]
51308         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51309         for non-gcc.
51310         * argp/argp-fmtstream.h: Use const instead __const.
51311         * argp/argp.h: Likewise.
51312         * assert/assert.h: Likewise.
51313         * bits/fenv.h: Likewise.
51314         * bits/sched.h: Likewise.
51315         * bits/sigset.h: Likewise.
51316         * bits/sigthread.h: Likewise.
51317         * catgets/nl_types.h: Likewise.
51318         * conform/data/pthread.h-data: Likewise.
51319         * crypt/crypt-private.h: Likewise.
51320         * crypt/crypt.h: Likewise.
51321         * crypt/crypt_util.c: Likewise.
51322         * ctype/ctype.h: Likewise.
51323         * debug/execinfo.h: Likewise.
51324         * debug/mbsnrtowcs_chk.c: Likewise.
51325         * debug/mbsrtowcs_chk.c: Likewise.
51326         * debug/wcsnrtombs_chk.c: Likewise.
51327         * debug/wcsrtombs_chk.c: Likewise.
51328         * debug/wcstombs_chk.c: Likewise.
51329         * dirent/dirent.h: Likewise.
51330         * dlfcn/dlfcn.h: Likewise.
51331         * elf/neededtest4.c: Likewise.
51332         * grp/grp.h: Likewise.
51333         * gshadow/gshadow.h: Likewise.
51334         * iconv/gconv.h: Likewise.
51335         * iconv/gconv_int.h: Likewise.
51336         * iconv/gconv_simple.c: Likewise.
51337         * iconv/iconv.h: Likewise.
51338         * iconv/loop.c: Likewise.
51339         * iconv/skeleton.c: Likewise.
51340         * include/aio.h: Likewise.
51341         * include/aliases.h: Likewise.
51342         * include/argz.h: Likewise.
51343         * include/arpa/inet.h: Likewise.
51344         * include/assert.h: Likewise.
51345         * include/dirent.h: Likewise.
51346         * include/dlfcn.h: Likewise.
51347         * include/execinfo.h: Likewise.
51348         * include/fcntl.h: Likewise.
51349         * include/fenv.h: Likewise.
51350         * include/glob.h: Likewise.
51351         * include/grp.h: Likewise.
51352         * include/libintl.h: Likewise.
51353         * include/mntent.h: Likewise.
51354         * include/netdb.h: Likewise.
51355         * include/pwd.h: Likewise.
51356         * include/rpc/netdb.h: Likewise.
51357         * include/sched.h: Likewise.
51358         * include/search.h: Likewise.
51359         * include/shadow.h: Likewise.
51360         * include/signal.h: Likewise.
51361         * include/stdio.h: Likewise.
51362         * include/stdlib.h: Likewise.
51363         * include/string.h: Likewise.
51364         * include/sys/socket.h: Likewise.
51365         * include/sys/stat.h: Likewise.
51366         * include/sys/statfs.h: Likewise.
51367         * include/sys/statvfs.h: Likewise.
51368         * include/sys/syslog.h: Likewise.
51369         * include/sys/time.h: Likewise.
51370         * include/sys/uio.h: Likewise.
51371         * include/time.h: Likewise.
51372         * include/unistd.h: Likewise.
51373         * include/utmp.h: Likewise.
51374         * include/wchar.h: Likewise.
51375         * include/wctype.h: Likewise.
51376         * inet/aliases.h: Likewise.
51377         * inet/arpa/inet.h: Likewise.
51378         * inet/netinet/ether.h: Likewise.
51379         * inet/netinet/in.h: Likewise.
51380         * intl/libintl.h: Likewise.
51381         * io/bits/fcntl2.h: Likewise.
51382         * io/fcntl.h: Likewise.
51383         * io/ftw.h: Likewise.
51384         * io/sys/poll.h: Likewise.
51385         * io/sys/stat.h: Likewise.
51386         * io/sys/statfs.h: Likewise.
51387         * io/sys/statvfs.h: Likewise.
51388         * io/utime.h: Likewise.
51389         * libio/bits/stdio.h: Likewise.
51390         * libio/bits/stdio2.h: Likewise.
51391         * libio/libio.h: Likewise.
51392         * libio/libioP.h: Likewise.
51393         * libio/stdio.h: Likewise.
51394         * locale/lc-ctype.c: Likewise.
51395         * locale/locale.h: Likewise.
51396         * login/utmp.h: Likewise.
51397         * malloc/arena.c: Likewise.
51398         * malloc/malloc.c: Likewise.
51399         * malloc/malloc.h: Likewise.
51400         * malloc/mcheck.c: Likewise.
51401         * malloc/mtrace.c: Likewise.
51402         * math/bits/mathcalls.h: Likewise.
51403         * math/fenv.h: Likewise.
51404         * math/math_private.h: Likewise.
51405         * misc/bits/error.h: Likewise.
51406         * misc/bits/syslog.h: Likewise.
51407         * misc/err.h: Likewise.
51408         * misc/error.h: Likewise.
51409         * misc/fstab.h: Likewise.
51410         * misc/mntent.h: Likewise.
51411         * misc/regexp.h: Likewise.
51412         * misc/search.h: Likewise.
51413         * misc/sgtty.h: Likewise.
51414         * misc/sys/mman.h: Likewise.
51415         * misc/sys/syslog.h: Likewise.
51416         * misc/sys/uio.h: Likewise.
51417         * misc/sys/xattr.h: Likewise.
51418         * misc/ttyent.h: Likewise.
51419         * nis/rpcsvc/ypclnt.h: Likewise.
51420         * nss/nss.h: Likewise.
51421         * posix/bits/unistd.h: Likewise.
51422         * posix/fnmatch.h: Likewise.
51423         * posix/glob.h: Likewise.
51424         * posix/sched.h: Likewise.
51425         * posix/spawn.h: Likewise.
51426         * posix/sys/wait.h: Likewise.
51427         * posix/unistd.h: Likewise.
51428         * posix/wordexp.h: Likewise.
51429         * pwd/pwd.h: Likewise.
51430         * resolv/netdb.h: Likewise.
51431         * resource/sys/resource.h: Likewise.
51432         * rt/aio.h: Likewise.
51433         * rt/bits/mqueue2.h: Likewise.
51434         * rt/mqueue.h: Likewise.
51435         * shadow/shadow.h: Likewise.
51436         * signal/signal.h: Likewise.
51437         * socket/send.c: Likewise.
51438         * socket/sendto.c: Likewise.
51439         * socket/sys/socket.h: Likewise.
51440         * stdio-common/printf.h: Likewise.
51441         * stdlib/bits/stdlib.h: Likewise.
51442         * stdlib/fmtmsg.h: Likewise.
51443         * stdlib/monetary.h: Likewise.
51444         * stdlib/stdlib.h: Likewise.
51445         * stdlib/ucontext.h: Likewise.
51446         * streams/stropts.h: Likewise.
51447         * string/argz.h: Likewise.
51448         * string/bits/string2.h: Likewise.
51449         * string/string.h: Likewise.
51450         * string/strings.h: Likewise.
51451         * sunrpc/rpc/auth.h: Likewise.
51452         * sunrpc/rpc/auth_des.h: Likewise.
51453         * sunrpc/rpc/clnt.h: Likewise.
51454         * sunrpc/rpc/netdb.h: Likewise.
51455         * sunrpc/rpc/pmap_clnt.h: Likewise.
51456         * sunrpc/rpc/xdr.h: Likewise.
51457         * sysdeps/generic/inttypes.h: Likewise.
51458         * sysdeps/generic/net/if.h: Likewise.
51459         * sysdeps/generic/sys/swap.h: Likewise.
51460         * sysdeps/gnu/net/if.h: Likewise.
51461         * sysdeps/gnu/utmpx.h: Likewise.
51462         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51463         * sysdeps/i386/i486/bits/string.h: Likewise.
51464         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51465         * sysdeps/s390/bits/string.h: Likewise.
51466         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51467         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51468         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51469         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51470         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51471         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51472         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51473         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51474         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51475         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51476         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51477         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51478         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51479         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51480         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51481         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51482         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51483         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51486         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51487         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51488         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51489         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51490         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51491         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51492         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51493         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51494         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51495         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51496         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51497         * sysvipc/sys/ipc.h: Likewise.
51498         * sysvipc/sys/msg.h: Likewise.
51499         * sysvipc/sys/sem.h: Likewise.
51500         * sysvipc/sys/shm.h: Likewise.
51501         * termios/termios.h: Likewise.
51502         * time/sys/time.h: Likewise.
51503         * time/time.h: Likewise.
51504         * wcsmbs/bits/wchar2.h: Likewise.
51505         * wcsmbs/uchar.h: Likewise.
51506         * wcsmbs/wchar.h: Likewise.
51507         * wctype/wctype.h: Likewise.
51509         [BZ #13551]
51510         * Makeconfig: Remove all but ELF support including AIX support.
51511         * Makerules: Likewise.
51512         * config.h.in: Likewise.
51513         * config.make.in: Likewise.
51514         * configure: Likewise.
51515         * configure.in: Likewise.
51516         * csu/Makefile: Likewise.
51517         * csu/version.c: Likewise.
51518         * debug/Makefile: Likewise.
51519         * dlfcn/Makefile: Likewise.
51520         * elf/Makefile: Likewise.
51521         * extra-lib.mk: Likewise.
51522         * iconv/Makefile: Likewise.
51523         * include/libc-symbols.h: Likewise.
51524         * include/shlib-compat.h: Likewise.
51525         * resolv/Makefile: Likewise.
51526         * resolv/res_libc.c: Likewise.
51527         * rt/Makefile: Likewise.
51528         * sysdeps/i386/asm-syntax.h: Likewise.
51529         * sysdeps/i386/sysdep.h: Likewise.
51530         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51531         * sysdeps/mach/sysdep.h: Likewise.
51532         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51533         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51534         * sysdeps/s390/asm-syntax.h: Likewise.
51535         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51536         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51537         * sysdeps/sh/sysdep.h: Likewise.
51538         * sysdeps/unix/sparc/sysdep.h: Likewise.
51539         * sysdeps/wordsize-32/divdi3.c: Likewise.
51540         * sysdeps/x86_64/sysdep.h: Likewise.
51542         * argp/Versions: Remove _argp_unlock_xxx.
51544         [BZ #13559]
51545         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51546         * abilist/libBrokenLocale.abilist: Likewise.
51547         * abilist/libanl.abilist: Likewise.
51548         * abilist/libc.abilist: Likewise.
51549         * abilist/libcrypt.abilist: Likewise.
51550         * abilist/libdl.abilist: Likewise.
51551         * abilist/libm.abilist: Likewise.
51552         * abilist/libnsl.abilist: Likewise.
51553         * abilist/libpthread.abilist: Likewise.
51554         * abilist/libresolv.abilist: Likewise.
51555         * abilist/librt.abilist: Likewise.
51556         * abilist/libthread_db.abilist: Likewise.
51557         * abilist/libutil.abilist: Likewise.
51558         * abilist/libnss_db.abilist: New file.
51560         * scripts/abilist.awk: Add support for indirect functions.
51562         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51564         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51566         * shlib-versions: Remove entries for ports architectures.
51568         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51569         files in ports.
51570         * elf/stackguard-macros.h: Remove support for IA-64.
51571         * elf/tst-auditmod1.c: Likewise.
51572         * sysdeps/generic/ldsodefs.h: Likewise.
51574         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51575         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51576         configure files.
51578         [BZ #13552]
51579         * configure.in: Remove --enable-omitfp support.
51580         * FAQ.in: Adjust.
51581         * config.make.in: Likewise.
51582         * Makeconfig: Likewise.
51583         * manual/install.texi: Likewise.
51585         In case anyone cares, the IA-64 architecture could move to ports.
51586         * sysdeps/ia64/*: Removed.
51587         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51588         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51590         [BZ #13555]
51591         * configure.in: Remove entries for unsupported architectures.
51593         [BZ #13533]
51594         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51595         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51596         routines.
51597         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51598         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51599         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51600         fall back to using wcrtomb.
51601         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51602         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51603         renaming.
51604         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51605         * wcsmbs/tst-c16c32-1.c: New file.
51607         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51608         local variable.
51610         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51612         * elf/tst-unique3.cc: Add explicit declaration of gets.
51613         * elf/tst-unique3lib.cc: Likewise.
51614         * elf/tst-unique3lib2.cc: Likewise.
51615         * elf/tst-unique4.cc: Likewise.
51617         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51619 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51621         [BZ #13566]
51622         * assert/assert.h (static_assert): Don't define for C++.
51623         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51624         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51626 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51628         * iconv/loop.c (single loop): Fix assertion in storing of
51629         remaining bytes.
51631         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51633 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51635         * posix/getconf.c: Update copyright year.
51636         * nss/getent.c: Likewise.
51637         * nss/makedb.c: Likewise.
51638         * iconv/iconvconfig.c: Likewise.
51639         * iconv/iconv_prog.c: Likewise.
51640         * elf/ldconfig.c: Likewise.
51641         * elf/pldd.c: Likewise.
51642         * elf/sotruss.ksh: Likewise.
51643         * catgets/gencat.c: Likewise.
51644         * csu/version.c: Likewise.
51645         * elf/ldd.bash.in: Likewise.
51646         * elf/sprof.c (print_version): Likewise.
51647         * locale/programs/locale.c: Likewise.
51648         * locale/programs/localedef.c: Likewise.
51649         * login/programs/pt_chown.c: Likewise.
51650         * nscd/nscd.c (print_version): Likewise.
51651         * debug/xtrace.sh: Likewise.
51652         * malloc/memusage.sh: Likewise.
51653         * malloc/mtrace.pl: Likewise.
51654         * debug/catchsegv.sh: Likewise.
51656 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51658         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51659         pure attribute.
51661 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51663         [BZ #13533]
51664         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51665         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51666         transformations.
51667         * iconv/gconv_int.h: Likewise.
51668         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51669         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51670         from libc for GLIBC_2.16.
51671         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51672         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51673         * wcsmbs/uchar.h: Really define mbstate_t.
51674         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51675         * wcsmbs/c16rtomb.c: New file.
51676         * wcsmbs/mbrtoc16.c: New file.
51677         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51678         for C/POSIX locale.
51679         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51680         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51682         * wcsmbs/wchar.h: Add missing __restrict.
51684 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51686         [BZ #13532]
51687         * time/Makefile (routines): Add timespec_get.
51688         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51689         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51690         timespec for ISO C11.
51691         * time/timespec_get.c: New file.
51692         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51693         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51695         [BZ #13531]
51696         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51697         * stdlib/stdlib.h: Declare aligned_alloc.
51698         * Versions.def: Add GLIBC_2.16 for libc.
51699         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51701         [BZ 13527]
51702         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51703         ISO C11.
51705         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51706         code.
51708         [BZ #13528]
51709         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51711         [BZ #13529]
51712         * assert/assert.h (static_assert): Define.
51714         * version.h: Update for 2.16 development version.
51716         [BZ #13526]
51717         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51718         _ISOC11_SOURCE.
51720         * version.h (RELEASE): Bump for 2.15 release.
51721         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51723         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51724         Patch by Marek Polacek <mpolacek@redhat.com>.
51726         * bits/byteswap.h: Protect long long constants with __extension__.
51727         * sysdeps/i386/bits/byteswap.h: Likewise.
51728         * sysdeps/ia64/bits/byteswap.h: Likewise.
51729         * sysdeps/s390/bits/byteswap.h: Likewise.
51730         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51732 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51734         [BZ #13540]
51735         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51736         destination buffer.
51737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51739 2011-12-23  Marek Polacek  <polacek@redhat.com>
51741         * elf/dl-addr.c (determine_info): Add inline keyword.
51742         * elf/tst-auditmod4b.c (check_avx): Likewise.
51743         * elf/tst-auditmod6b.c (check_avx): Likewise.
51744         * elf/tst-auditmod6c.c (check_avx): Likewise.
51745         * elf/tst-auditmod7b.c (check_avx): Likewise.
51747 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51749         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51750         !__SSE_MATH__.
51752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51754         [BZ #13540]
51755         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51756         processing for last bytes.
51758 2011-08-06  Bruno Haible  <bruno@clisp.org>
51760         [BZ #13061]
51761         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51762         U+0385, not to U+1FEE.
51764         [BZ #13062]
51765         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51766         entry for U+00A5 U+0301.
51768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51770         [BZ #13166]
51771         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51772         buffer for the output is too small.
51774         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51775         optimization.
51777         [BZ #13185]
51778         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51779         SSE flags if possible.
51781 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51783         [BZ #13540]
51784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51785         processing for last bytes.
51787 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51789         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51790         (syscall-list-default-options, syscall-list-default-condition)
51791         (syscall-list-includes): Define.
51792         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51793         list of ABIs and options and #if conditions for each ABI.  Do not
51794         handle common syscalls between ABIs specially.
51795         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51796         Remove.
51797         (syscall-list-variants, syscall-list-32bit-options)
51798         (syscall-list-32bit-condition, syscall-list-64bit-options)
51799         (syscall-list-64bit-condition): Define.
51800         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51801         (syscall-list-variants, syscall-list-32bit-options)
51802         (syscall-list-32bit-condition, syscall-list-64bit-options)
51803         (syscall-list-64bit-condition): Define.
51804         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51805         Remove.
51806         (syscall-list-variants, syscall-list-32bit-options)
51807         (syscall-list-32bit-condition, syscall-list-64bit-options)
51808         (syscall-list-64bit-condition): Define.
51809         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51810         Remove.
51811         (syscall-list-variants, syscall-list-32bit-options)
51812         (syscall-list-32bit-condition, syscall-list-64bit-options)
51813         (syscall-list-64bit-condition): Define.
51815 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51817         * locale/iso-639.def: Add brx entry.
51819         [BZ #13328]
51820         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51821         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51823         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51824         __feraiseexcept_renamed.
51826 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51828         [BZ #13538]
51829         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51830         EPOLLET with unsigned values.
51831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51832         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51834         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51835         to large cancellation.
51836         * math/s_cacoshf.c: Likewise.
51837         * math/s_cacoshl.c: Likewise.
51839 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51841         [BZ #13305]
51842         [BZ #12786]
51843         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51844         * math/s_cacoshf.c: Likewise.
51845         * math/s_cacoshl.c: Likewise.
51847 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51849         [BZ #13439]
51850         * iconv/gconv.h: Define __GCONV_SWAP.
51851         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51852         * iconvdata/utf-16.c: Likewise.
51853         * iconvdata/utf-32.c: Likewise.
51855 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51857         [BZ #13524]
51858         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51859         numerator after shifting it by one limb.
51861 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51864         under [__USE_EXTERN_INLINES].
51866 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51868         [BZ #13446]
51869         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51871 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51873         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51874         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51875         optimized code.
51876         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51877         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51878         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51879         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51880         for strncasecmp/strncasecmp_l compilation.
51881         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51882         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51884 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51886         [BZ #13484]
51887         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51888         of __asm__.
51890 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51892         [BZ #13506]
51893         * time/tzfile.c (__tzfile_read): Check values from file header.
51895 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51897         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51898         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51899         * powerpc/powerpc32/dl-start.S: Likewise.
51900         * powerpc/powerpc32/elf/start.S: Likewise.
51901         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51902         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51903         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51904         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51905         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51906         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51907         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51908         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51909         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51910         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51911         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51912         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51913         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51914         * powerpc/powerpc32/memset.S: Likewise.
51915         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51916         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51917         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51918         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51919         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51920         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51921         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51922         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51923         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51924         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51925         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51926         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51927         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51929 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51931         * math/libm-test.inc: Added more nearbyint tests.
51932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51933         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51935         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51937 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51939         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51940         FD_CLOEXEC.
51942 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51944         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51945         Add wcscpy-ssse3 wcscpy-c.
51946         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51947         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51948         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51949         * sysdeps/x86_64/wcschr.S: New file.
51950         * sysdeps/x86_64/wcsrchr.S: New file.
51951         * string/test-strcmp.c: Remove checking of wcscmp function for
51952         wrong alignments.
51953         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51954         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51955         wcsrchr-sse2 wcsrchr-c.
51956         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51957         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51958         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51959         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51960         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51961         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51962         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51963         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51964         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51965         * wcsmbc/wcschr.c (WCSCHR): New macro.
51967 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51969         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51970         * wcsmbs/test-wcsrchr.c: New file.
51971         * string/test-strrchr.c: Add wcsrchr support.
51972         (WIDE): New macro.
51973         * wcsmbs/test-wcscpy.c: New file.
51974         * string/test-strcpy.c: Add wcscpy support.
51975         (WIDE): New macro.
51977 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51980         the inner loop.
51982 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51984         [BZ #13472]
51985         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51987 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51989         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51990         Minor optimizations.
51992         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51993         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51994         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51996 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51998         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51999         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52000         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52001         for gcc to avoid warnings.
52002         * inet/Makefile (tests): Add tst-checks.
52003         * inet/tst-checks.c: New file.
52005         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52006         warning.
52008         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52009         __wmemcmp_sse2.
52011         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52012         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52014         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52016 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
52018         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52019         problem.
52021         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52023 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
52025         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52026         conditional on GCC version.
52027         (__arch_compare_and_exchange_val_8_acq)
52028         (__arch_compare_and_exchange_val_16_acq)
52029         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52030         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52031         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52033 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
52035         * sysdeps/sh/backtrace.c: New file.
52037 2011-12-02  Andreas Schwab  <schwab@redhat.com>
52039         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
52040         parenthesis.
52042 2011-12-01  Andreas Schwab  <schwab@redhat.com>
52044         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52045         falling back to utime.
52047 2011-11-30  Andreas Schwab  <schwab@redhat.com>
52049         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52050         expectations for float.
52052 2011-11-29  Andreas Schwab  <schwab@redhat.com>
52054         * locale/weight.h (findidx): Add parameter len.
52055         * locale/weightwc.h (findidx): Likewise.
52056         * posix/fnmatch_loop.c (FCT): Adjust caller.
52057         * posix/regcomp.c (build_equiv_class): Likewise.
52058         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52059         * posix/regexec.c (check_node_accept_bytes): Likewise.
52060         * string/strcoll_l.c (STRCOLL): Likewise.
52061         * string/strxfrm_l.c (STRXFRM): Likewise.
52063 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
52065         * Makefile.in: Remove CVSOPT handling.
52066         * configure.in: Remove use of AC_REVISION.
52067         * iconvdata/Makefile (distribute): No need to filter out CVS.
52068         * scripts/list-sources.sh: Remove CVS, subversion and monotone
52069         handling.
52071 2011-11-16  Andreas Schwab  <schwab@redhat.com>
52073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52074         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52075         [USE_AS_STRNCASECMP_L]: Likewise.
52076         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52077         NO_TLS_DIRECT_SEG_REFS.
52078         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52079         Fix argument offsets for non-PIC.
52080         [USE_AS_STRNCASECMP_L]: Likewise.
52081         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52082         NO_TLS_DIRECT_SEG_REFS.
52084 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52086         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52087         O_CLOEXEC.
52088         * locale/loadlocale.c (_nl_load_locale): Likewise.
52090 2011-11-15  Andreas Schwab  <schwab@redhat.com>
52092         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52093         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52094         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52095         (SYSCALL_GETTIME): Set errno on error.
52097         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52098         count references to noai6ai_cached.
52100 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52102         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52104         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52105         FD_CLOEXEC for /proc/self/maps.
52107         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52108         FD_CLOEXEC for /proc/meminfo.
52110         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52111         gai.conf.
52113         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
52114         FD_CLOEXEC for given file.
52116         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52118         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52119         FD_CLOEXEC for /etc/hosts.
52120         (_gethtent): Likewise.
52122         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52124         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52125         cancellation and set FD_CLOEXEC for /etc/netgroup.
52127         * nss/nss_files/files-key.c (search): Don't allow cancellation when
52128         reading /etc/publickey.
52130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52131         allow cancellation when reading /etc/group.
52133         * nss/nss_files/files-alias.c (internal_setent): Don't allow
52134         cancellation.
52135         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
52137         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52138         when using data file.
52140         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52142         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52143         (write_nis_obj): Use "c" and "e" in fopen.
52145         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52147         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52149         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52151         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52153         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52154         locale.alias.
52156         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52158         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52160         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52162         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52163         file parsing and set FD_CLOEXEC.
52165 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52167         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52169 2011-11-14  Andreas Schwab  <schwab@redhat.com>
52171         * malloc/arena.c (arena_get2): Don't call reused_arena when
52172         _int_new_arena failed.
52174 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52176         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52177         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52178         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52179         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52180         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52181         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52182         to compile strcasecmp and strncasecmp.
52183         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52184         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52188 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
52190         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52191         locale-defines.sym to gen-as-const-headers.
52192         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52193         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52195         to compile strcasecmp and strncasecmp.
52196         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52197         strcasecmp_l and strncasecmp_l.
52198         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52199         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52200         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52201         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52202         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52203         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52204         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52205         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52206         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52207         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52208         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52210 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52212         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52213         result of SYSDEP_GETTIME_CPU to retval.
52214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52215         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52217         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52218         variable.
52220         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52221         mantissa words.
52222         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52225         from unused variable.
52227         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52228         DWARF definitions.
52229         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52230         for assembling.
52232         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52233         over namespaces.
52235         * sunrpc/rpc_prot.c (rejected): Fix case value.
52237         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52238         unsigned long long int to avoid warnings in shift.
52240         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52241         of use of trans.
52242         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52243         variable tmp.
52245         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52246         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52247         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52249         * nis/nis_table.c (nis_list): Use variable of correct type for
52250         result of __follow_path call.
52252 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52254         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52255         of math functions ceil, trunc, floor, round, and sqrt, when
52256         avaliable on the platform.
52257         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52258         name clash.
52259         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52260         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52261         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52263 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52265         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52266         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52268 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52270         * include/unistd.h: Fix __readlink return type.
52271         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52273 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52275         * stdlib/ucontext.h: Undo last change for makecontext.
52277 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52279         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52281         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52282         * setjmp/setjmp.h: Mark functions as non-leaf.
52283         * setjmp/bits/setjmp2.h: Likewise.
52284         * stdlib/ucontext.h: Likewise.
52286 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52288         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52289         (reused_arena): Don't check arena limit.
52290         (arena_get2): Atomically check arena limit.
52292 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52294         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52295         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52297         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52298         instructions.
52300 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52302         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52303         handler when locking.
52305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52306         Fix size of allocated buffer.
52308 2011-11-04  Andreas Schwab  <schwab@redhat.com>
52310         [BZ #10103]
52311         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52312         declarations for long double functions.
52313         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52315         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52317 2011-11-03  Andreas Schwab  <schwab@redhat.com>
52319         * nscd/nscd.c (main): Don't start AVC thread until credentials are
52320         installed.
52322         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52323         is disabled.
52325 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52327         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52329 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52331         * include/alloca.h (stackinfo_alloca_round): Define.
52332         (extend_alloca): Use it.
52333         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52334         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52335         here.
52337         * scripts/check-local-headers.sh: Ignore libaudit.h.
52339         * nscd/Makefile (extra-objs): Make recursively expanded.
52341 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52343         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52346         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52347         * posix/tst-rfc3484-2.c: Likewise.
52348         * posix/tst-rfc3484-3.c: Likewise.
52350         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52351         process_vm_writev.
52352         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52353         process_vm_writev.
52354         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52355         process_vm_writev from libc using GLIBC_2.15 version.
52357         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52359 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52361         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52362         stack usage.
52364 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52366         [BZ #13367]
52367         * nss/getent.c (initgroups_keys): Show error message in case no group
52368         names are given.
52370         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52371         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52372         __bump_nl_timestamp.
52373         * nscd/connections (nscd_init): When host database is served open
52374         netlink socket and request notification about configuration changes.
52375         (main_loop_poll): Track netlink file descriptor and bump timestamp
52376         in case data becomes available.
52377         (main_loop_epoll): Likewise.
52378         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52379         (database_pers_head): Add extra_data fileds.
52380         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52381         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52382         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52383         Adjust caller.
52384         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52385         in6ai data, call __free_in6ai.
52386         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52387         Add -DHAVE_NETLINK.
52388         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52389         interface information.  Reuse previous data if netlink timestamp
52390         is not changed.
52391         (__bump_nl_timestamp): New function.
52392         (__free_in6ai): New function.
52394 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52396         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52397         close_not_cancel_no_status here.
52398         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52400 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52402         [BZ #13276]
52403         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52404         return value.
52406         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52407         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52408         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52410 2011-07-03  Andreas Jaeger  <aj@suse.de>
52412         [BZ #10709]
52413         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52414         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52415         * math/libm-test.inc (sin_test): Add test case.
52417 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52419         [BZ #13337]
52420         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52421         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52423         * elf/chroot_canon.c (chroot_canon): Cleanups.
52425         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52427         [BZ #13335]
52428         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52429         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52431         * string/test-strchr.c: Make usable for strchrnul testing.
52432         * string/test-strchrnul.c: New file.
52433         * string/Makefile (strop-tests): Add strchrnul.
52435         * po/it.po: Update from translation team.
52436         * po/es.po: Likewise.
52438 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52441         the three constants needed as parameters.  Drop the others.
52442         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52443         __m128i_strloadu_tolower.
52444         Create and initialize variable zero and use it in all the places
52445         where _mm_setzero_si128 was used.
52447         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52448         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52449         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52450         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52451         anymore.
52452         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52453         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52454         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52455         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52456         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52457         __mpranred, __mptan.
52458         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52459         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52460         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52461         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52462         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52463         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52464         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52465         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52466         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52468 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52470         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52471         redefine if SHARED.
52472         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52475         wide char related routines to wcsmbs subdir.
52477 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52479         [BZ #13344]
52480         * misc/sys/cdefs.h (__THROWNL): Define.
52481         * posix/unistd.h: Use __THREADNL instead of __THREAD
52482         for memory synchronization functions.
52484 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52486         [BZ #13349]
52487         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52488         doesn't exist.
52489         * manual/stdio.texi (Obstack Streams): Node removed.
52491 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52493         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52494         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52495         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52497         * math/math_private.h (math_force_eval): Allow non-addressable
52498         arguments.
52499         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52503         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52504         file is not needed.
52506         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52509         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52513         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52514         Add AVX variants.
52515         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52516         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52517         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52518         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52519         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52520         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52521         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52523         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52524         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52525         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52526         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52527         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52528         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52529         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52530         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52531         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52532         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52533         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52535         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52536         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52539         place.  Use VEX encoding when compiling for AVX.
52541 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52543         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52544         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52546         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52548 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52550         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52551         useless if() expression.
52552         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52553         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52557         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52560         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52561         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52562         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52563         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52564         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52566         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52567         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52568         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52570         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52572         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52574 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52576         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52577         condition.
52578         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52582         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52583         .text section.  Avoid duplicate constants.
52584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52592         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52593         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52594         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52595         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52596         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52597         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52598         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52600         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52601         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52604         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52605         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52606         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52607         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52608         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52609         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52610         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52611         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52612         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52613         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52614         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52615         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52616         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52617         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52618         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52619         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52620         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52621         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52622         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52623         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52624         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52625         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52626         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52627         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52628         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52630 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52632         * sysdeps/x86_64/dla.h: Move to ...
52633         * sysdeps/x86_64/fpu/dla.h: ...here.
52634         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52635         situations.  Use __builtin_fma only for gcc 4.6 and up.
52637         * config.make.in: Add have-mfma4 entry.
52638         * configure.in: Substitute libc_cv_cc_fma4.
52639         * math/Makefile (dbl-only-routines): Add sincostab.
52640         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52641         Use __sincostab not sincos.
52642         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52643         name is a macro.
52644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52645         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52647         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52648         using __copysign.
52649         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52650         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52651         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52652         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52653         and __inv.
52654         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52655         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52656         __copysign.
52657         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52658         define aliases when function name is a macro.
52659         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52660         sysdeps/ieee754/dbl-64/sincos.tbl.
52661         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52662         fma4-enabled routines.
52663         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52664         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52665         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52666         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52667         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52668         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52669         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52670         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52671         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52672         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52673         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52674         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52675         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52676         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52677         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52678         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52679         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52680         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52681         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52682         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52683         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52684         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52685         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52686         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52687         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52688         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52689         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52690         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52691         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52692         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52694         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52695         rename.
52696         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52698         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52699         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52700         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52701         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52702         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52705 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52707         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52709 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52713         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52714         prediction.
52715         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52717         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52718         Remove unused variable magic_bits.
52719         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52721         * string/strnlen.c: Define and use STRNLEN macro.
52722         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52723         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52725         * wcsmbs/wcslen.c: Define and use WCSLEN.
52726         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52727         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52728         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52729         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52730         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52731         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52732         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52734 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52737         strnlen-sse2-no-bsf.
52738         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52740         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52741         Add strnlen support.
52742         (USE_AS_STRNLEN): New macro.
52743         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52745         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52746         * sysdeps/x86_64/wcslen.S: New file.
52748 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52751         XMM-moves are used for copying on small sizes.
52753 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52755         * wcsmbs/Makefile (strop-tests): Add wcschr.
52756         * wcsmbs/test-wcschr.c: New file.
52757         * string/test-strchr.c: Update.
52758         Add wcschr support.
52759         (WIDE): New macro.
52761 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52763         * wcsmbs/Makefile (strop-tests): Add wcslen.
52764         * wcsmbs/test-wcslen.c: New file.
52765         * string/test-strlen.c: Update.
52766         Add wcslen support.
52767         (WIDE): New macro.
52769 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52771         * po/it.po: Update from translation team.
52773 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52775         * sysdeps/x86_64/wcscmp.S: Update.
52776         Fix wrong comparison semantics.
52777         wcscmp shall use signed comparison not unsigned.
52778         Don't use substraction to avoid overflow bug.
52779         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52780         * wcsmbc/wcscmp.c: Likewise.
52781         * string/test-strcmp.c: Likewise.
52782         Add new tests to check cases with negative values.
52784 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52786         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52787         * sysdeps/x86_64/dla.h: ...here.  New file.
52788         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52790         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52791         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52793         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52798 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52801         __ynl_finite aliases.
52803 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52807         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52808         define DLA_FMA.
52809         [DLA_FMA] (EMULV): Use DLA_FMA.
52810         [DLA_FMA] (MUL12): Use EMULV.
52811         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52812         that are not needed.
52813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52821 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52823         * math/s_nan.c: Undef __nan.
52824         * math/s_nanf.c: Undef __nanf.
52825         * math/s_nanl.c: Undef __nanl.
52826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52827         "math_private.h".
52829 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52831         * math/s_catan.c: Add branch predictions.
52832         * math/s_catanf.c: Likewise.
52833         * math/s_catanh.c: Likewise.
52834         * math/s_catanhf.c: Likewise.
52835         * math/s_catanhl.c: Likewise.
52836         * math/s_catanl.c: Likewise.
52837         * math/s_cexp.c: Likewise.
52838         * math/s_cexpf.c: Likewise.
52839         * math/s_cexpl.c: Likewise.
52840         * math/s_clog.c: Likewise.
52841         * math/s_clog10.c: Likewise.
52842         * math/s_clog10f.c: Likewise.
52843         * math/s_clog10l.c: Likewise.
52844         * math/s_clogf.c: Likewise.
52845         * math/s_clogl.c: Likewise.
52846         * math/s_csqrt.c: Likewise.
52847         * math/s_csqrtf.c: Likewise.
52848         * math/s_csqrtl.c: Likewise.
52849         * math/s_ctanf.c: Likewise.
52850         * math/s_ctanh.c: Likewise.
52851         * math/s_ctanhf.c: Likewise.
52852         * math/s_ctanhl.c: Likewise.
52853         * math/s_ctanl.c: Likewise.
52855         * math/math_private.h: Define __nan, __nanf, __nanl.
52856         * math/s_cacosh.c: Include <math_private.h>.
52857         * math/s_cacoshl.c: Likewise.
52858         * math/s_casinh.c: Likewise.
52859         * math/s_casinhf.c: Likewise.
52860         * math/s_casinhl.c: Likewise.
52861         * math/s_ccos.c: Rely entire on ccosh.
52862         * math/s_ccosf.c: Rely entire on ccoshf.
52863         * math/s_ccosl.c: Rely entirely on ccoshl.
52864         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52865         Remove tests for FE_INVALID.
52866         * math/s_ccoshf.c: Likewise.
52867         * math/s_ccoshl.c: Likewise.
52868         * math/s_csin.c: Likewise.
52869         * math/s_csinf.c: Likewise.
52870         * math/s_csinh.c Likewise.
52871         * math/s_csinhf.c: Likewise.
52872         * math/s_csinhl.c: Likewise.
52873         * math/s_csinl.c: Likewise.
52874         * math/s_ctan.c: Likewise.
52875         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52876         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52877         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52879 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52882         compilation problems.
52884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52885         __builtin_expect.
52887 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52889         * sysdeps/i386/configure.in: Test for -mfma4 option.
52890         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52891         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52892         COMMON_CPUID_INDEX_80000001.
52893         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52894         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52895         use it if FMA3 is not supported.
52896         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52898         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52899         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52901 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52903         [BZ #12892]
52904         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52905         it would create a cycle with a link time dependency.
52907 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52909         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52910         instruction.
52911         * string/Makefile (strop-tests): Add rawmemchr.
52912         * string/test-rawmemchr.c: New file.
52914         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52915         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52916         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52917         when compiling str{,n}casecmp and when AVX is available.  Hook up
52918         new optimized code in initializers.
52920 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52922         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52923         __feraiseexcept instead of feraiseexcept.
52925 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52927         * math/math_private.h: Define defaults for libc_fetestexcept and
52928         libc_feupdateenv.
52929         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52930         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52931         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52932         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52933         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52934         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52935         libc_fetestexcept and libc_feupdateenv.
52937         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52938         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52939         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52940         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52941         libc_feholdexcept_setround.
52943         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52944         Add s_nearbyint-c and s_nearbyintf-c.
52945         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52946         nearbyintf inlines.
52947         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52948         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52949         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52950         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52952         * math/math_private.h: Define defaults for libc_fegetround,
52953         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52954         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52955         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52957         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52958         standard functions.
52959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52960         Remove comments and hacks for old compiler versions.
52961         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52962         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52963         libc_feholdexceptl.
52965 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52967         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52968         (__feraiseexcept_renamed): Add __NTH.
52969         (feraiseexcept): Add __NTH.  Rename local variables to fix
52970         namespace violations.
52972 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52974         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52976         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52978         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52979         recently added interfaces.
52980         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52982         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52983         about macro parameter expansion.
52985         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52986         __NO_MATH_INLINES is defined.  Cleanups.
52988         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52989         and __floorf is target has SSE4.1.
52990         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52991         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52992         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52993         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52995         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52996         name.
52997         (floorf): Likewise.
52999         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53001 2011-10-17  Andreas Schwab  <schwab@redhat.com>
53003         * misc/sys/cdefs.h: Fix last change.
53005         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53006         database lookup.
53008 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
53010         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53012         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53013         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53018         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53019         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53020         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53021         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53022         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53023         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53024         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53025         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53026         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53027         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53028         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53029         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53030         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53031         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53032         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53033         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53035         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53036         ceil, ceilf, floor, floorf.
53038         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53039         Perform IRELATIVE relocations last.
53041         * elf/do-rel.h: Add another parameter nrelative, replacing the
53042         local variable with the same name.  Change name of the function
53043         to end in Rel or Rela (uppercase).
53044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53045         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
53046         elf_dynamic_do_##reloc function.
53048 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53050         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53051         is sufficient, at least on modern CPUs.
53053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53055         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53058         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53059         __expl_finite.
53060         * math/bits/math-finite.h: Add entries for exp.
53061         * math/e_expl.c: Add __*_finite alias.
53062         * sysdeps/i386/fpu/e_exp.S: Likewise.
53063         * sysdeps/i386/fpu/e_expf.S: Likewise.
53064         * sysdeps/i386/fpu/e_expl.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53066         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53067         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53068         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53070         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53071         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53073         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53074         is sufficient, at least on modern CPUs.
53076         * ctype/ctype-info.c (__ctype_init): Define.
53077         * include/ctype.h (__ctype_init): Declare.
53078         (__ctype_b_loc): The variable is always initialized.
53079         (__ctype_toupper_loc): Likewise.
53080         (__ctype_tolower_loc): Likewise.
53081         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53082         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53084 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
53086         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53088         * configure.in: Also look in $cxxmachine/include for C++ system
53089         headers.
53091 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53093         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53094         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53095         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53096         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
53097         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53098         (USE_AS_WMEMCMP): New macro.
53099         Fixing indents.
53100         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53101         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53102         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53103         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53105         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53106         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53107         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53108         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53109         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53110         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53111         (USE_AS_WMEMCMP): New macro.
53112         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53113         * sysdeps/string/test-memcmp.c: Update.
53114         Fix simple_wmemcmp.
53115         Add new tests.
53116         * wcsmbs/wmemcmp.c: Update.
53117         (WMEMCMP): New macro.
53118         Fix overflow bug.
53120 2011-10-12  Andreas Jaeger  <aj@suse.de>
53122         [BZ #13268]
53123         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53125 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53127         * libio/iofwide.c (do_length): Avoid warning.
53129         * ctype/ctype.h (__isctype_f): Add missing __THROW.
53131 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
53133         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53135         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53136         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53137         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53138         * sysdeps/i386/i686/fpu/e_log.S: New file.
53139         * sysdeps/i386/i686/fpu/e_logf.S: New file.
53140         * sysdeps/i386/i686/fpu/e_logl.S: New file.
53142         * ctype/ctype.h: Add support for inlined isXXX functions when
53143         compiling C++ code.
53145 2011-10-14  Andreas Schwab  <schwab@redhat.com>
53147         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53149         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53151 2011-10-13  Roland McGrath  <roland@hack.frob.com>
53153         [BZ #13291]
53154         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53156 2011-10-13  Andreas Schwab  <schwab@redhat.com>
53158         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53159         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53160         feraiseexcept.
53162         * sysdeps/x86_64/memrchr.S: Check for zero size.
53164         * string/stratcliff.c: Add memrchr tests.
53166 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53169         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53170         rawmemchr-sse2 rawmemchr-sse2-bsf.
53171         * sysdeps/i386/i686/multiarch/memchr.S: New file.
53172         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53173         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53174         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53175         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53176         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53177         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53178         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53179         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53180         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53181         * string/memrchr.c (MEMRCHR): New macro.
53183 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
53185         Add integration with gcc's -ffinite-math-only and optimize wrapper
53186         functions in libm.
53187         * Versions.def: Define GLIBC_2.15 version for libm.
53188         * math/Makefile (headers): Add bits/math-finite.h.
53189         * math/bits/math-finite.h: New file.
53190         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53191         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53192         * math/e_acoshl.c: Add __*_finite alias.
53193         * math/e_acosl.c: Likewise.
53194         * math/e_asinl.c: Likewise.
53195         * math/e_atan2l.c: Likewise.
53196         * math/e_atanhl.c: Likewise.
53197         * math/e_coshl.c: Likewise.
53198         * math/e_exp10.c: Likewise.
53199         * math/e_exp10f.c: Likewise.
53200         * math/e_exp10l.c: Likewise.
53201         * math/e_exp2l.c: Likewise.
53202         * math/e_fmodl.c: Likewise.
53203         * math/e_gammal_r.c: Likewise.
53204         * math/e_hypotl.c: Likewise.
53205         * math/e_j0l.c: Likewise.
53206         * math/e_j1l.c: Likewise.
53207         * math/e_jnl.c: Likewise.
53208         * math/e_lgammal_r.c: Likewise.
53209         * math/e_log10l.c: Likewise.
53210         * math/e_log2l.c: Likewise.
53211         * math/e_logl.c: Likewise.
53212         * math/e_powl.c: Likewise.
53213         * math/e_sinhl.c: Likewise.
53214         * math/e_sqrtl.c: Likewise.
53215         * math/e_scalb.c: Completely rewritten and optimized.
53216         * math/e_scalbf.c: Likewise.
53217         * math/e_scalbl.c: Likewise.
53218         * math/w_acos.c: Likewise.
53219         * math/w_acosf.c: Likewise.
53220         * math/w_acosl.c: Likewise.
53221         * math/w_acosh.c: Likewise.
53222         * math/w_acoshf.c: Likewise.
53223         * math/w_acoshl.c: Likewise.
53224         * math/w_asin.c: Likewise.
53225         * math/w_asinf.c: Likewise.
53226         * math/w_asinl.c: Likewise.
53227         * math/w_atan2.c: Likewise.
53228         * math/w_atan2f.c: Likewise.
53229         * math/w_atan2l.c: Likewise.
53230         * math/w_atanh.c: Likewise.
53231         * math/w_atanhf.c: Likewise.
53232         * math/w_atanhl.c: Likewise.
53233         * math/w_exp10.c: Likewise.
53234         * math/w_exp10f.c: Likewise.
53235         * math/w_exp10l.c: Likewise.
53236         * math/w_fmod.c: Likewise.
53237         * math/w_fmodf.c: Likewise.
53238         * math/w_fmodl.c: Likewise.
53239         * math/w_j0.c: Likewise.
53240         * math/w_j0f.c: Likewise.
53241         * math/w_j0l.c: Likewise.
53242         * math/w_j1.c: Likewise.
53243         * math/w_j1f.c: Likewise.
53244         * math/w_j1l.c: Likewise.
53245         * math/w_jn.c: Likewise.
53246         * math/w_jnf.c: Likewise.
53247         * math/w_log.c: Likewise.
53248         * math/w_logf.c: Likewise.
53249         * math/w_logl.c: Likewise.
53250         * math/w_log10.c: Likewise.
53251         * math/w_log10f.c: Likewise.
53252         * math/w_log10l.c: Likewise.
53253         * math/w_log2.c: Likewise.
53254         * math/w_log2f.c: Likewise.
53255         * math/w_log2l.c: Likewise.
53256         * math/w_pow.c: Likewise.
53257         * math/w_powf.c: Likewise.
53258         * math/w_powl.c: Likewise.
53259         * math/w_remainder.c: Likewise.
53260         * math/w_remainderf.c: Likewise.
53261         * math/w_remainderl.c: Likewise.
53262         * math/w_scalb.c: Likewise.
53263         * math/w_scalbf.c: Likewise.
53264         * math/w_scalbl.c: Likewise.
53265         * math/w_sqrt.c: Likewise.
53266         * math/w_sqrtf.c: Likewise.
53267         * math/w_sqrtl.c: Likewise.
53268         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53269         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53270         used.
53271         * math/math_private.h: Declare __kernel_standard_f.
53272         * math/w_cosh.c: Remove cruft and optimize a bit.
53273         * math/w_coshf.c: Likewise.
53274         * math/w_coshl.c: Likewise.
53275         * math/w_exp2.c: Likewise.
53276         * math/w_exp2f.c: Likewise.
53277         * math/w_exp2l.c: Likewise.
53278         * math/w_hypot.c: Likewise.
53279         * math/w_hypotf.c: Likewise.
53280         * math/w_hypotl.c: Likewise.
53281         * math/w_lgamma.c: Likewise.
53282         * math/w_lgamma_r.c: Likewise.
53283         * math/w_lgammaf.c: Likewise.
53284         * math/w_lgammaf_r.c: Likewise.
53285         * math/w_lgammal.c: Likewise.
53286         * math/w_lgammal_r.c: Likewise.
53287         * math/w_sinh.c: Likewise.
53288         * math/w_sinhf.c: Likewise.
53289         * math/w_sinhl.c: Likewise.
53290         * math/w_tgamma.c: Likewise.
53291         * math/w_tgammaf.c: Likewise.
53292         * math/w_tgammal.c: Likewise.
53293         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53294         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53295         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53296         Minor optimizations.  Pretty printing.  Remove cruft.
53297         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53298         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53299         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53301         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53302         * sysdeps/i386/fpu/e_asin.S: Likewise.
53303         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53304         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53305         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53306         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53307         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53308         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53309         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53310         * sysdeps/i386/fpu/e_exp10.S: Likewise.
53311         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53312         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53313         * sysdeps/i386/fpu/e_exp2.S: Likewise.
53314         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53315         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53316         * sysdeps/i386/fpu/e_fmod.S: Likewise.
53317         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53318         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53319         * sysdeps/i386/fpu/e_hypot.S: Likewise.
53320         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53321         * sysdeps/i386/fpu/e_log.S: Likewise.
53322         * sysdeps/i386/fpu/e_log10.S: Likewise.
53323         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53325         * sysdeps/i386/fpu/e_log2.S: Likewise.
53326         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53327         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53328         * sysdeps/i386/fpu/e_logf.S: Likewise.
53329         * sysdeps/i386/fpu/e_logl.S: Likewise.
53330         * sysdeps/i386/fpu/e_pow.S: Likewise.
53331         * sysdeps/i386/fpu/e_powf.S: Likewise.
53332         * sysdeps/i386/fpu/e_powl.S: Likewise.
53333         * sysdeps/i386/fpu/e_remainder.S: Likewise.
53334         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53335         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53336         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53337         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53338         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53339         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53340         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53341         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53343         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53345         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53346         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53347         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53348         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53349         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53354         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53355         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53356         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53357         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53359         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53360         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53361         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53362         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53363         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53364         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53365         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53366         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53367         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53368         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53369         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53370         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53371         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53373         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53374         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53376         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53377         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53378         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53379         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53380         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53381         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53382         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53383         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53384         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53387         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53388         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53389         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53391         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53392         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53393         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53394         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53395         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53396         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53397         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53398         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53399         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53400         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53403         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53406         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53407         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53409         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53410         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53411         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53412         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53413         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53414         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53415         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53416         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53417         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53418         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53419         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53420         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53421         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53422         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53423         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53425         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53426         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53430         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53431         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53433         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53434         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53435         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53436         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53437         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53438         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53439         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53440         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53441         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53442         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53443         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53444         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53445         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53446         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53447         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53448         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53449         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53450         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53451         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53452         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53453         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53454         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53455         (__isnanf): Likewise.
53456         (__isinf_ns): Likewise.
53457         (__isinf_nsf): Likewise.
53458         (__finite): Likewise.
53459         (__finitef): Likewise.
53460         (__ieee754_sqrt): Define as macro.
53461         (__ieee754_sqrtf): Define as macro.
53462         (__ieee754_sqrtl): Define as macro.
53463         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53464         inlined copy.
53465         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53466         __FINITE_MATH_ONLY__ consistent.
53467         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53469 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53471         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53472         of rawmemchr.
53474         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53476 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53478         * po/ja.po: Update from translation team.
53480 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53482         * locale/programs/locarchive.c (prepare_address_space): New function.
53483         (create_archive, enlarge_archive, open_archive): Use it.
53485         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53486         inside [SHARED], where it is used.
53488         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53490         * nss/getent.c (netgroup_keys): Remove unused variable.
53491         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53493 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53495         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53496         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53497         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53498         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53499         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53500         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53501         * math/Makefile (libm-calls): Add s_isinf_ns.
53502         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53503         * math/multc3.c: Likewise.
53504         * math/s_casin.c: Likewise.
53505         * math/s_casinf.c: Likewise.
53506         * math/s_casinl.c: Likewise.
53507         * math/s_ccos.c: Likewise.
53508         * math/s_ccosf.c: Likewise.
53509         * math/s_ccosl.c: Likewise.
53510         * math/s_ctan.c: Likewise.
53511         * math/s_ctanf.c: Likewise.
53512         * math/s_ctanh.c: Likewise.
53513         * math/s_ctanhf.c: Likewise.
53514         * math/s_ctanhl.c: Likewise.
53515         * math/s_ctanl.c: Likewise.
53516         * math/w_fmod.c: Likewise.
53517         * math/w_fmodf.c: Likewise.
53518         * math/w_fmodl.c: Likewise.
53519         * math/w_remainder.c: Likewise.
53520         * math/w_remainderf.c: Likewise.
53521         * math/w_remainderl.c: Likewise.
53522         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53523         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53525         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53526         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53527         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53528         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53529         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53531         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53532         of the number.
53533         * stdio-common/printf_fphex.c: Likewise.
53534         * stdio-common/printf_size.c: Likewise.
53536         * math/e_exp10.c: Include math_private.h using <...> not "...".
53537         * math/e_exp10f.c: Likewise.
53538         * math/e_exp10l.c: Likewise.
53539         * math/e_exp2l.c: Likewise.
53540         * math/e_j0l.c: Likewise.
53541         * math/e_j1l.c: Likewise.
53542         * math/e_jnl.c: Likewise.
53543         * math/e_lgammal_r.c: Likewise.
53544         * math/e_rem_pio2l.c: Likewise.
53545         * math/e_scalb.c: Likewise.
53546         * math/e_scalbf.c: Likewise.
53547         * math/e_scalbl.c: Likewise.
53548         * math/k_cosl.c: Likewise.
53549         * math/k_sinl.c: Likewise.
53550         * math/k_tanl.c: Likewise.
53551         * math/s_cacoshf.c: Likewise.
53552         * math/s_catan.c: Likewise.
53553         * math/s_catanf.c: Likewise.
53554         * math/s_catanh.c: Likewise.
53555         * math/s_catanhf.c: Likewise.
53556         * math/s_catanhl.c: Likewise.
53557         * math/s_catanl.c: Likewise.
53558         * math/s_ccosh.c: Likewise.
53559         * math/s_ccoshf.c: Likewise.
53560         * math/s_ccoshl.c: Likewise.
53561         * math/s_cexp.c: Likewise.
53562         * math/s_cexpf.c: Likewise.
53563         * math/s_cexpl.c: Likewise.
53564         * math/s_clog.c: Likewise.
53565         * math/s_clog10.c: Likewise.
53566         * math/s_clog10f.c: Likewise.
53567         * math/s_clog10l.c: Likewise.
53568         * math/s_clogf.c: Likewise.
53569         * math/s_clogl.c: Likewise.
53570         * math/s_csin.c: Likewise.
53571         * math/s_csinf.c: Likewise.
53572         * math/s_csinh.c: Likewise.
53573         * math/s_csinhf.c: Likewise.
53574         * math/s_csinhl.c: Likewise.
53575         * math/s_csinl.c: Likewise.
53576         * math/s_csqrt.c: Likewise.
53577         * math/s_csqrtf.c: Likewise.
53578         * math/s_csqrtl.c: Likewise.
53579         * math/s_ctan.c: Likewise.
53580         * math/s_ctanf.c: Likewise.
53581         * math/s_ctanh.c: Likewise.
53582         * math/s_ctanhf.c: Likewise.
53583         * math/s_ctanhl.c: Likewise.
53584         * math/s_ctanl.c: Likewise.
53585         * math/s_ldexp.c: Likewise.
53586         * math/s_ldexpf.c: Likewise.
53587         * math/s_ldexpl.c: Likewise.
53588         * math/s_significand.c: Likewise.
53589         * math/s_significandf.c: Likewise.
53590         * math/s_significandl.c: Likewise.
53591         * math/w_acos.c: Likewise.
53592         * math/w_acosf.c: Likewise.
53593         * math/w_acosh.c: Likewise.
53594         * math/w_acoshf.c: Likewise.
53595         * math/w_acoshl.c: Likewise.
53596         * math/w_acosl.c: Likewise.
53597         * math/w_asin.c: Likewise.
53598         * math/w_asinf.c: Likewise.
53599         * math/w_asinl.c: Likewise.
53600         * math/w_atan2.c: Likewise.
53601         * math/w_atan2f.c: Likewise.
53602         * math/w_atan2l.c: Likewise.
53603         * math/w_atanh.c: Likewise.
53604         * math/w_atanhf.c: Likewise.
53605         * math/w_atanhl.c: Likewise.
53606         * math/w_cosh.c: Likewise.
53607         * math/w_coshf.c: Likewise.
53608         * math/w_coshl.c: Likewise.
53609         * math/w_dremf.c: Likewise.
53610         * math/w_exp10.c: Likewise.
53611         * math/w_exp10f.c: Likewise.
53612         * math/w_exp10l.c: Likewise.
53613         * math/w_exp2.c: Likewise.
53614         * math/w_exp2f.c: Likewise.
53615         * math/w_fmod.c: Likewise.
53616         * math/w_fmodf.c: Likewise.
53617         * math/w_fmodl.c: Likewise.
53618         * math/w_hypot.c: Likewise.
53619         * math/w_hypotf.c: Likewise.
53620         * math/w_hypotl.c: Likewise.
53621         * math/w_j0.c: Likewise.
53622         * math/w_j0f.c: Likewise.
53623         * math/w_j0l.c: Likewise.
53624         * math/w_j1.c: Likewise.
53625         * math/w_j1f.c: Likewise.
53626         * math/w_j1l.c: Likewise.
53627         * math/w_jn.c: Likewise.
53628         * math/w_jnf.c: Likewise.
53629         * math/w_jnl.c: Likewise.
53630         * math/w_lgamma.c: Likewise.
53631         * math/w_lgamma_r.c: Likewise.
53632         * math/w_lgammaf.c: Likewise.
53633         * math/w_lgammaf_r.c: Likewise.
53634         * math/w_lgammal.c: Likewise.
53635         * math/w_lgammal_r.c: Likewise.
53636         * math/w_log.c: Likewise.
53637         * math/w_log10.c: Likewise.
53638         * math/w_log10f.c: Likewise.
53639         * math/w_log10l.c: Likewise.
53640         * math/w_log2.c: Likewise.
53641         * math/w_log2f.c: Likewise.
53642         * math/w_log2l.c: Likewise.
53643         * math/w_logf.c: Likewise.
53644         * math/w_logl.c: Likewise.
53645         * math/w_pow.c: Likewise.
53646         * math/w_powf.c: Likewise.
53647         * math/w_powl.c: Likewise.
53648         * math/w_remainder.c: Likewise.
53649         * math/w_remainderf.c: Likewise.
53650         * math/w_remainderl.c: Likewise.
53651         * math/w_scalb.c: Likewise.
53652         * math/w_scalbf.c: Likewise.
53653         * math/w_scalbl.c: Likewise.
53654         * math/w_sinh.c: Likewise.
53655         * math/w_sinhf.c: Likewise.
53656         * math/w_sinhl.c: Likewise.
53657         * math/w_sqrt.c: Likewise.
53658         * math/w_sqrtf.c: Likewise.
53659         * math/w_sqrtl.c: Likewise.
53660         * math/w_tgamma.c: Likewise.
53661         * math/w_tgammaf.c: Likewise.
53662         * math/w_tgammal.c: Likewise.
53664         * po/ja.po: Update from translation team.
53666 2011-09-29  Andreas Jaeger  <aj@suse.de>
53668         [BZ #13179]
53669         * sunrpc/netname.c (netname2host): Fix logic.
53671         [BZ #6779]
53672         [BZ #6783]
53673         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53674         correctly.
53675         * math/w_remainder.c (__remainder): Likewise.
53676         * math/w_remainderf.c (__remainderf): Likewise.
53677         * math/libm-test.inc (remainder_test): Add test cases.
53679 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53681         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53682         sdiv_qrnnd.
53684 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53686         * string/test-memcmp.c: Avoid unncessary #defines.
53687         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53689 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53691         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53692         Use new sse2 version for core i3 - i7 as it's faster
53693         than sse42 version.
53694         (bit_Prefer_PMINUB_for_stringop): New.
53695         * sysdeps/x86_64/rawmemchr.S: Update.
53696         Replace with faster SSE2 version.
53697         * sysdeps/x86_64/memrchr.S: New file.
53698         * sysdeps/x86_64/memchr.S: Update.
53699         Replace with faster SSE2 version.
53701 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53703         * elf/dl-load.c (lose): Add cast to avoid warning.
53705 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53707         * po/ca.po: Update from translation team.
53709         * inet/getnetgrent_r.c: Hook up nscd.
53710         * nscd/Makefile (routines): Add nscd_netgroup.
53711         (nscd-modules): Add netgroupcache.
53712         (CFLAGS-netgroupcache.c): Define.
53713         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53714         (cache_search): Add const to second parameter.
53715         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53716         INNETGR.
53717         (dbs): Add netgrdb entry.
53718         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53719         (verify_persistent_db): Handle netgrdb.
53720         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53721         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53722         GETFDNETGR.
53723         (netgroup_response_header): Define.
53724         (innetgroup_response_header): Define.
53725         (datahead): Add netgroup_response_header and innetgroup_response_header
53726         elements.
53727         * nscd/nscd.conf: Add entries for netgroup cache.
53728         * nscd/nscd.h (dbtype): Add netgrdb.
53729         (_PATH_NSCD_NETGROUP_DB): Define.
53730         (netgroup_iov_disabled): Declare.
53731         (xmalloc, xcalloc, xrealloc): Move declarations here.
53732         (cache_search): Adjust prototype.
53733         Add netgroup-related prototypes.
53734         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53735         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53736         (__nscd_innetgr): Declare.
53737         * nscd/selinux.c (perms): Use access_vector_t as element type and
53738         add netgroup-related initializers.
53739         * nscd/netgroupcache.c: New file.
53740         * nscd/nscd_netgroup.c: New file.
53741         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53742         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53743         For four parameters use innetgr.
53744         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53745         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53746         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53747         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53749         * nscd/connections.c (register_traced_file): Don't register file
53750         for disabled databases.
53752 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53754         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53756         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53757         from tree and freeing node.
53759 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53761         * nss/nsswitch.c (__nss_database_lookup): Handle
53762         nss_parse_service_list out of memory case.
53764 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53766         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53767         out of memory case.
53769 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53771         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53772         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53773         pass it down.
53774         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53775         elf_machine_rela, elf_machine_lazy_rel.
53776         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53777         (ELF_DYNAMIC_DO_REL): Likewise.
53778         (ELF_DYNAMIC_DO_RELA): Likewise.
53779         (ELF_DYNAMIC_RELOCATE): Likewise.
53780         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53781         to ELF_DYNAMIC_DO_REL.
53782         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53783         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53784         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53785         elf_machine_rela.
53786         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53787         skip_ifunc, don't call ifunc function if non-zero.
53788         (elf_machine_rela): Likewise.
53789         (elf_machine_lazy_rel): Likewise.
53790         (elf_machine_lazy_rela): Likewise.
53791         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53792         (elf_machine_lazy_rel): Likewise.
53793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53794         Likewise.
53795         (elf_machine_lazy_rel): Likewise.
53796         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53797         Likewise.
53798         (elf_machine_lazy_rel): Likewise.
53799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53800         (elf_machine_lazy_rel): Likewise.
53801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53802         (elf_machine_lazy_rel): Likewise.
53803         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53804         (elf_machine_lazy_rel): Likewise.
53805         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53806         (elf_machine_lazy_rel): Likewise.
53807         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53808         (elf_machine_lazy_rel): Likewise.
53809         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53810         (elf_machine_lazy_rel): Likewise.
53812 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53814         * nss/nss_files/files-init.c (_nss_files_init): Use static
53815         initialization for all the *_traced_file variables.
53817 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53819         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53821 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53823         [BZ #13226]
53824         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53826 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53828         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53829         Reread the line before reparsing it.
53831 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53833         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53835 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53836             Maxim Kuvyrkov  <maxim@codesourcery.com>
53837             Joseph Myers  <joseph@codesourcery.com>
53839         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53840         if needed for __stack_chk_guard.
53842 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53844         * sysdeps/posix/spawni.c (script_execute): Always define it.
53845         It will be optimized away if unused.
53846         (maybe_script_execute): New function.
53847         (__spawni): Call it.
53849         * Makerules: Don't include tls.make.
53850         (config-tls): Always set to thread.
53851         * tls.make.c: File removed.
53853 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53855         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53856         * config.make.in (CPPFLAGS-config): New substituted variable.
53858 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53862         [BZ #13192]
53863         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53864         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53866 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53868         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53869         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53871         (CALL_FAIL): Likewise.
53872         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53873         (CALL_FAIL): Macro removed.
53874         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53876 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53878         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53879         for __FINITE_MATH_ONLY__ == 1.
53881 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53883         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53884         __ieee754_sqrt instead of sqrt.
53885         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53886         __ieee754_sqrtf instead of sqrtf.
53887         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53888         __floorf instead of floorf.
53889         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53890         __floorf, __truncf instead of floorf, truncf.
53892 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53894         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53896         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53897         __extern_always_inline.
53898         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53899         32-bit.
53901 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53903         * elf/rtld.c (dl_main): Also relocate in dependency order when
53904         doing symbol dependency testing.
53906 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53909         Always define `refsym'.
53911 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53913         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53914         (__FD_ELT): Renamed from __FDELT.
53915         * misc/bits/select2.h (__FD_ELT): Likewise.
53916         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53917         __FD_MASK instead of __FDELT, __FDMASK.
53918         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53919         Likewise.
53920         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53921         Likewise.
53923         * elf/Makefile (gen-ldd): Fix pattern.
53925         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53926         (init_tls): Likewise.
53928 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53932 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53935         `struct cmsghdr *' instead of `void *'.
53936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53937         Likewise.
53939 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53941         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53942         if non-absolute.
53943         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53944         ldd_rewrite_script.
53946 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53948         * configure.in: Remove --with-tls option.
53949         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53950         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53951         out in case it is missing.
53952         * sysdeps/ia64/elf/configure.in: Likewise.
53953         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53954         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53955         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53956         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53957         * sysdeps/sh/elf/configure.in: Likewise.
53958         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53960         * sysdeps/x86_64/elf/configure.in: Likewise.
53961         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53962         * sysdeps/mach/hurd/tls.h: Likewise.
53964         [BZ #13067]
53965         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53967         [BZ #13090]
53968         * configure.in: Fix use of AC_INIT.
53970         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53972 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53974         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53975         __set_errno.
53976         * malloc/hooks.c: Likewise.
53978         [BZ #11929]
53979         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53980         variables statically.
53981         (narenas): Initialize.
53982         (list_lock): Initialize.
53983         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53984         initializtion of main_arena and list_lock.  Small cleanups.
53985         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53986         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53987         Add initializers to main_arena and mp_.
53988         (malloc_state): Remove pagesize member.  Change all users to use
53989         GLRO(dl_pagesize).
53991         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53992         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53993         is always initialized.
53995         * malloc/malloc.c: Removed unused configurations and dead code.
53996         * malloc/arena.c: Likewise.
53997         * malloc/hooks.c: Likewise.
53998         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54000         * include/tls.h: Removed.  USE___THREAD must always be defined.
54001         * bits/libc-tsd.h: Don't handle !USE___THREAD.
54002         * elf/dl-libc.c: Likewise.
54003         * elf/dl-tsd.c: Likewise.
54004         * include/errno.h: Likewise.
54005         * include/netdb.h: Likewise.
54006         * include/resolv.h: Likewise.
54007         * inet/herrno-loc.c: Likewise.
54008         * inet/herrno.c: Likewise.
54009         * malloc/arena.c: Likewise.
54010         * malloc/hooks.c: Likewise.
54011         * malloc/malloc.c: Likewise.
54012         * resolv/res-state.c: Likewise.
54013         * resolv/res_libc.c: Likewise.
54014         * sysdeps/i386/dl-machine.h: Likewise.
54015         * sysdeps/ia64/dl-machine.h: Likewise.
54016         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54017         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54018         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54019         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54020         * sysdeps/sh/dl-machine.h: Likewise.
54021         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54022         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54023         * sysdeps/unix/i386/sysdep.S: Likewise.
54024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54025         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54028         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54030         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54034         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54035         * sysdeps/x86_64/dl-machine.h: Likewise.
54036         * tls.make.c: Likewise.
54038         * configure.in: Remove --with-__thread option.  Make tests for
54039         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54040         tls_model attribute fail if no support is available.  Remove
54041         USE_IN_LIBIO.
54042         * Makeconfig: Adjust for dropped configure option.  All features are
54043         now mandatory.
54044         * Makerules: Likewise.
54045         * Versions.def: Likewise.
54046         * argp/argp-fmtstream.c: Likewise.
54047         * argp/argp-fmtstream.h: Likewise.
54048         * argp/argp-help.c: Likewise.
54049         * assert/assert.c: Likewise.
54050         * config.h.in: Likewise.
54051         * config.make.in: Likewise.
54052         * configure: Likewise.
54053         * configure.in: Likewise.
54054         * csu/Versions: Likewise.
54055         * csu/init.c: Likewise.
54056         * elf/tst-audit2.c: Likewise.
54057         * elf/tst-tls10.c: Likewise.
54058         * elf/tst-tls10.h: Likewise.
54059         * elf/tst-tls11.c: Likewise.
54060         * elf/tst-tls12.c: Likewise.
54061         * elf/tst-tls14.c: Likewise.
54062         * elf/tst-tlsmod11.c: Likewise.
54063         * elf/tst-tlsmod12.c: Likewise.
54064         * elf/tst-tlsmod13.c: Likewise.
54065         * elf/tst-tlsmod13a.c: Likewise.
54066         * elf/tst-tlsmod14a.c: Likewise.
54067         * elf/tst-tlsmod15b.c: Likewise.
54068         * elf/tst-tlsmod16a.c: Likewise.
54069         * elf/tst-tlsmod16b.c: Likewise.
54070         * elf/tst-tlsmod7.c: Likewise.
54071         * elf/tst-tlsmod8.c: Likewise.
54072         * elf/tst-tlsmod9.c: Likewise.
54073         * gmon/gmon.c: Likewise.
54074         * grp/fgetgrent_r.c: Likewise.
54075         * grp/putgrent.c: Likewise.
54076         * hurd/fopenport.c: Likewise.
54077         * include/libc-symbols.h: Likewise.
54078         * include/tls.h: Likewise.
54079         * intl/gettextP.h: Likewise.
54080         * intl/loadinfo.h: Likewise.
54081         * locale/global-locale.c: Likewise.
54082         * locale/localeinfo.h: Likewise.
54083         * mach/devstream.c: Likewise.
54084         * malloc/arena.c: Likewise.
54085         * malloc/set-freeres.c: Likewise.
54086         * misc/err.c: Likewise.
54087         * misc/getttyent.c: Likewise.
54088         * misc/mntent_r.c: Likewise.
54089         * posix/getopt.c: Likewise.
54090         * posix/wordexp.c: Likewise.
54091         * pwd/fgetpwent_r.c: Likewise.
54092         * resolv/Versions: Likewise.
54093         * resolv/res_hconf.c: Likewise.
54094         * shadow/fgetspent_r.c: Likewise.
54095         * shadow/putspent.c: Likewise.
54096         * stdio-common/printf_fphex.c: Likewise.
54097         * stdio-common/tmpfile.c: Likewise.
54098         * stdlib/abort.c: Likewise.
54099         * stdlib/fmtmsg.c: Likewise.
54100         * sunrpc/auth_unix.c: Likewise.
54101         * sunrpc/clnt_perr.c: Likewise.
54102         * sunrpc/clnt_tcp.c: Likewise.
54103         * sunrpc/clnt_udp.c: Likewise.
54104         * sunrpc/clnt_unix.c: Likewise.
54105         * sunrpc/openchild.c: Likewise.
54106         * sunrpc/svc_simple.c: Likewise.
54107         * sunrpc/svc_tcp.c: Likewise.
54108         * sunrpc/svc_udp.c: Likewise.
54109         * sunrpc/svc_unix.c: Likewise.
54110         * sunrpc/xdr.c: Likewise.
54111         * sunrpc/xdr_array.c: Likewise.
54112         * sunrpc/xdr_rec.c: Likewise.
54113         * sunrpc/xdr_ref.c: Likewise.
54114         * sunrpc/xdr_stdio.c: Likewise.
54116 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54118         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54120 2011-07-03  Andreas Jaeger  <aj@suse.de>
54122         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54123         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54124         regenerate with gen-libm-tests.pl.
54126 2010-05-12  Petr Baudis  <pasky@suse.cz>
54128         [BZ #11589]
54129         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54130         around j0() zero points by switching to j1().
54131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54132         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54133         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54134         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54138         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54139         instead of 0.
54140         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54141         instead of 0.
54142         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54143         Patch in part by Pavel Roskin <proski@gnu.org>.
54145         [BZ #13138]
54146         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54147         realloc.
54148         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
54149         Free memory block if necessary.
54151         [BZ #12847]
54152         * libio/genops.c (INTDEF): For string streams the _lock pointer can
54153         be NULL.  Don't lock in this case.
54155 2011-09-09  Roland McGrath  <roland@hack.frob.com>
54157         * elf/elf.h (ELFOSABI_GNU): New macro.
54158         (ELFOSABI_LINUX): Define to that.
54160 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
54162         * string/strncat.c (strncat): Undef the symbol in case it has been
54163         defined in bits/string.h.
54165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54167         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54169         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54170         link map.
54172 2011-08-17  Andreas Jaeger  <aj@suse.de>
54174         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54176 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54177             Ian Lance Taylor  <iant@google.com>
54179         * math/libm-test.inc (lround_test): New testcase.
54180         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54182 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
54184         * Makefile: Remove support for automatic cvs check-ins.
54185         * Makerules: Likewise.
54186         * config.make.in: Likewise.
54187         * configure.in: Likewise.
54188         * intl/Makefile: Likewise.
54189         * locale/Makefile: Likewise.
54190         * po/Makefile: Likewise.
54191         * posix/Makefile: Likewise.
54192         * sysdeps/gnu/Makefile: Likewise.
54193         * sysdeps/mach/hurd/Makefile: Likewise.
54194         * sysdeps/sparc/sparc32/Makefile: Likewise.
54196         [BZ #13118]
54197         * posix/Makefile (bug-regex32-ENV): Define.
54198         Patch by John Stanley <jpsinthemix@verizon.net>.
54200         * misc/Makefile (headers): Add bits/select2.h.
54201         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54202         * misc/bits/select2.h: New file.
54203         * include/bits/select2.h: New file.
54204         * debug/Makefile (routines): Add fdelt_chk.
54205         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54206         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54207         FD_ISSET.
54208         * debug/fdelt_chk.c: New file.
54210         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54211         * wcsmbs/test-wmemcmp.c: Likewise.
54212         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54213         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54215 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54217         * string/Makefile (strop-tests): Add memcmp.
54218         * string/test-wmemcmp.c: New file.
54219         * string/test-memcmp.c: Add wmemcmp support.
54221 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54223         [BZ #13153]
54224         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54225         2011-07-19 change.
54227         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54228         garbage value in a __mach_port_mod_refs call in the cases of the
54229         task-self and thread-self ports.
54231 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54233         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54235 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54237         * elf/dl-load.c (lose): Check for non-null L.
54239 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54241         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54243         * elf/dl-libc.c (dlerror_run): Pass back error code from
54244         dl_catch_error.
54246         [BZ #13123]
54247         * elf/dl-load.c (lose): Free l_origin if it is valid.
54249         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54250         names.
54251         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54252         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54253         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54254         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54255         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54256         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54258 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54260         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54261         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54262         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54263         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54264         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54265         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54266         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54267         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54268         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54269         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54271 2011-08-15  Alan Modra  <amodra@gmail.com>
54273         [BZ #13092]
54274         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54275         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54276         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54277         ppc_mcount to static-only-routines.
54278         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54279         __mcount_internal.
54280         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54281         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54283 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54285         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54286         for finite and infinity parameters.
54288 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54290         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54291         and add nop instructions for throughput optimization.
54292         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54294 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54297         aligned copy for power7 with vector-scalar instructions.
54298         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54300 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54303         AVX check.
54305 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54307         [BZ #13144]
54308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54309         last change.
54311 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54313         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54314         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54315         syscall wrapper around clock_gettime in __vdso_clock_gettime.
54316         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54317         clock_gettime.
54319 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54321         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54322         Forgot to demangle the pointer.
54324         * sysdeps/i386/sysdep.h: Define atom_text_section.
54325         * sysdeps/x86_64/sysdep.h: Likewise.
54326         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54327         section with atom_text_section.
54328         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54329         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54330         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54331         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54332         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54336         already be defined.  Change to take two parameters and don't assign
54337         result to variable.  Adjust all users.
54338         Define INTERNAL_GETTIME if not already defined.
54339         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54340         call.
54341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54342         HAVE_CLOCK_GETTIME_VSYSCALL.
54343         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54346         gettimeofday vsyscall, just use time.
54348 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54351         <errno.h>.
54353 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54355         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54356         syscall on x86-64.
54357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54358         syscall.
54359         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54360         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54361         syscall if possible.
54363 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54365         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54366         e_ident.  Don't pass to find_mapsXX.
54367         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54369 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54372         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54373         * sysdeps/x86_64/multiarch/strchr.S: Update.
54374         Check bit_slow_BSF bit.
54375         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54376         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54377         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54379 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54381         [BZ #13134]
54382         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54383         before glibc 2.15.
54384         (tryshell): Define.
54385         (__spawni): Change last parameter to be flag.  Test
54386         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54387         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54388         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54389         * posix/spawni.c: Likewise.
54390         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54391         * posix/spawnp.c: Likewise.  Change normal version to use
54392         SPAWN_XFLAGS_USE_PATH.
54393         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54394         SPAWN_XFLAGS_TRY_SHELL.
54396         [BZ #13150]
54397         * posix/glob.h: Remove gcc 1.x support.
54399         [BZ #13068]
54400         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54402 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54405         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54406         strrchr-sse2-bsf
54407         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54408         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54409         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54410         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54411         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54412         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54414 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54416         * sysdeps/x86_64/wcscmp.S: New file.
54418         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54419         wcscmp-c wcscmp-sse2
54420         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54421         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54422         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54423         * wcsmbs/wcscmp.c: Allow renaming.
54425 2011-09-05  David S. Miller  <davem@davemloft.net>
54427         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54428         stack slot, rather than the struct return pointer slot.
54429         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54430         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54432         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54434 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54436         * po/ja.po: Update from translation team.
54438         [BZ #13144]
54439         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54440         kernel in 64-bit binaries.
54442 2011-09-01  David S. Miller  <davem@davemloft.net>
54444         * elf/elf.h (HWCAP_SPARC_*): Move to..
54445         * sysdeps/sparc/sysdep.h: this new file and add new values.
54446         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54447         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54448         _DL_HWCAP_COUNT to 24.
54449         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54450         entries.
54451         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54452         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54453         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54454         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54455         instead of magic constants.
54456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54458 2011-08-31  David S. Miller  <davem@davemloft.net>
54460         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54461         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54462         Reimplement to do errno handling inline.
54463         (SYSCALL_ERROR_HANDLER): New macro.
54464         (__SYSCALL_STRING): Do not do errno handling in asm.
54465         (__CLONE_SYSCALL_STRING): Delete.
54466         (__INTERNAL_SYSCALL_STRING): Delete.
54467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54468         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54469         (PSEUDO): Reimplement to do errno handling inline.
54470         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54471         (SYSCALL_ERROR_HANDLER): New macro.
54472         (__SYSCALL_STRING): Do not do errno handling in asm.
54473         (__CLONE_SYSCALL_STRING): Delete.
54474         (__INTERNAL_SYSCALL_STRING): Delete.
54475         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54476         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54477         i386.
54478         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54479         (inline_syscall*): Add 'err' argument.
54480         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54481         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54482         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54483         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54485         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54486         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54488 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54490         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54492 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54494         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54495         directive.
54497 2011-08-24  David S. Miller  <davem@davemloft.net>
54499         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54501 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54503         * elf/Makefile: Add rules to build and run unload8 test.
54504         * elf/unload8.c: New file.
54505         * elf/unload8mod1.c: New file.
54506         * elf/unload8mod1x.c: New file.
54507         * elf/unload8mod2.c: New file.
54508         * elf/unload8mod3.c: New file.
54510         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54511         it wasn't used.
54513 2011-08-23  David S. Miller  <davem@davemloft.net>
54515         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54516         subtract stack bias.
54517         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54518         %sp not %fp in calculations.
54519         (_JMPBUF_UNWINDS_ADJ): Likewise.
54521         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54522         (aio_suspend): Call it to force an exception region around the
54523         AIO_MISC_WAIT() invocation.
54525 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54527         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54528         backslash.
54530 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54532         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54533         protection macro.
54534         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54535         and <dl-machine.h>.
54536         (Elf64_FuncDesc): Remove.
54538 2011-08-22  David S. Miller  <davem@davemloft.net>
54540         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54541         sigaltstack check, add missing cfi directives.
54542         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54543         missing cfi directives, and sigaltstack handling.
54545 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54547         [BZ #11724]
54548         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54549         object is seen twice.
54550         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54552         * elf/Makefile (distribute): Add tst-initorder2.c.
54553         (tests): Add tst-initorder2.
54554         (modules-names): Add tst-initorder2a tst-initorder2b
54555         tst-initorder2c tst-initorder2d.  Add rules to build them.
54556         ($(objpfx)tst-initorder2.out): New rule.
54557         * elf/tst-initorder2.c: New file.
54558         * elf/tst-initorder2.exp: New file.
54560 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54564         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54565         dependencies back to end of function.
54567         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54568         $(elfobjdir)/ld.so.
54570 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54573         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54574         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54575         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54576         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54577         of __vdso_gettimeofday.
54578         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54579         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54580         attribute_hidden.
54581         (_libc_vdso_platform_setup): Remove initialization of
54582         __vdso_gettimeofday and __vdso_time.
54584 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54586         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54587         and fgetc_unlocked.
54588         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54589         getc_unlocked.
54591         * elf/dl-open.c (add_to_global): Report additions to the global scope
54592         for LD_DEBUG=scopes.
54593         (dl_open_worker): Also print scope of newly loaded dependencies.
54594         (_dl_show_scope): Indicate if there is no scope.
54596         [BZ #13114]
54597         * stdio-common/Makefile (tests): Add bug24.
54598         * stdio-common/bug24.c: New file.
54600 2011-08-19  Andreas Jaeger  <aj@suse.de>
54602         [BZ #13114]
54603         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54604         non-existant file when using close-on-exec mode.
54606 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54608         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54609         the very first instruction.
54611         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54612         the CFI state in the end.
54613         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54614         inclusion of dl-trampoline.h.
54615         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54617 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54619         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54620         expectations for long double.
54622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54623         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54625 2011-08-14  David S. Miller  <davem@davemloft.net>
54627         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54628         artificual limit depends upon the system page size.
54630 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54632         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54633         * resolv/Makefile: Define CFLAGS-libresolv.
54635 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54637         * nss/makedb.c (compute_tables): Make variables used in nested
54638         function static.
54640 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54642         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54643         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54644         if buffer was too small.
54646         * elf/pldd.c (main): Attach to all threads in the process.
54647         Rewrite /proc handling to use *at functions.
54649 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54651         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54652         specifies first scope to show.
54653         (dl_open_worker): Update callers.  Move printing scope of new
54654         object to before the relocation.
54655         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54656         * sysdeps/generic/ldsodefs.h: Update declaration.
54658         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54659         string for the scope number.
54661 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54663         * nscd/servicescache.c (cache_addserv): Make sure written is always
54664         initialized.
54666 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54668         * sysdeps/i386/i486/bits/atomic.h
54669         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54670         statement expression, so as to suppress "set but not used" warning.
54671         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54673         * string/strncat.c (STRNCAT): Use prototype definition.
54675         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54676         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54677         -Iprograms here.
54678         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54679         (localedef-modules): Add localedef.
54680         (locale-modules): Add locale.
54682         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54683         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54684         to avoid a warning.
54686 2011-08-14  David S. Miller  <davem@davemloft.net>
54688         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54689         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54691 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54693         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54694         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54695         * elf/rtld.c (dl_main): Set l_name of vDSO.
54696         Call _dl_show_scope when DL_DEBUG_SCOPES.
54697         (process_dl_debug): Recognize scopes flag and also set it for all.
54698         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54699         Declare _dl_show_scope.
54701         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54702         (do_dlopen): Pass caller_dlopen to dl_open.
54703         (__libc_dlopen_mode): Initialize caller_dlopen.
54705         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54706         of libc.  Make tolower call locale-independent.  Optimize a bit by
54707         using isdigit instead of isalnum.
54708         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54710 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54712         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54713         was a dependency or dynamically loaded.
54715 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54717         * intl/l10nflist.c: Allow architecture-specific pop function.
54718         * sysdeps/x86_64/l10nflist.c: New file.
54720         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54721         classification.
54723 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54725         * include/dirent.h: Add libc_hidden_proto for scandirat and
54726         scandirat64.  Don't declare __scandirat64.
54727         * dirent/scandirat.c: Add libc_hidden_def.
54728         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54729         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54731 2011-08-10  David S. Miller  <davem@davemloft.net>
54733         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54734         enum.
54735         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54736         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54737         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54739 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54741         * Versions.def [libc]: Add GLIBC_2.15.
54742         * dirent/Makefile (routines): Add scandirat and scandirat64.
54743         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54744         GLIBC_2.15.
54745         * dirent/dirent.h: Declare scandirat and scandirat64.
54746         * dirent/scandirat.c: New file.
54747         * dirent/scandirat64.c: New file.
54748         * sysdeps/wordsize-64/scandirat.c: New file.
54749         * sysdeps/wordsize-64/scandirat64.c: New file.
54750         * dirent/opendir.c: Define opendirat.
54751         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54752         using scandirat.
54753         * dirent/scandir64.c: Adjust for scandir.c change.
54754         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54755         __scandirat64, and __scandir_cancel_handler.
54756         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54757         additional parameter and use openat instead of open (outside of ld.so).
54758         Add new __opendir as wrapper around __opendirat.
54759         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54760         here without requiring old scandirat implementation.
54762 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54764         * dirent/scandir.c (cancel_handler): Renamed to
54765         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54766         defined.  Adjust users.
54767         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54768         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54770 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54772         * string/test-string.h (IMPL): Use __STRING to expand name and then
54773         stringify it.
54775         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54776         of cleanups.
54778 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54780         * string/Makefile: Update.
54781         (strop-tests): Append strncat.
54782         * string/test-wcscmp.c: New file.
54783         New comprehensive test for wcscmp.
54784         * string/test-strcmp.c: Update.
54785         (WIDE): New define.
54787 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54789         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54790         line.
54792 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54795         encoding to ACE if AI_IDN.
54797 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54800         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54802 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54804         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54805         Fix overflow bug in strncat.
54806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54808         * string/test-strncat.c: Update.
54809         Add new tests for checking overflow bugs.
54811 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54814         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54815         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54816         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54818         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54819         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54820         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54821         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54824         (USE_AS_STRCAT): Define.
54825         Add strcat and strncat support.
54826         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54828 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54830         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54831         __n bigger than INT_MAX+1.
54832         (__strncmp_g): Likewise.
54834 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54836         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54837         * libio/stido.h: Likewise.
54839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54840         (AF_NFC): Define.
54841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54842         (AF_NFC): Define.
54844         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54845         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54846         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54847         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54850         [BZ #13021]
54851         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54852         installed.
54854         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54855         typo.
54856         (_dl_x86_64_save_sse): Likewise.
54858 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54861         OSXSAVE.
54862         (_dl_x86_64_save_sse): Likewise.
54864         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54866         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54868 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54870         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54871         change.
54872         (_dl_x86_64_save_sse): Use correct AVX check.
54874 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54876         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54877         bug in strncpy/strncat.
54878         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54880 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54882         * string/tester.c (test_strcat): Add tests for different alignments
54883         of source and destination.
54884         (test_strncat): Likewise.
54886 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54888         [BZ #12852]
54889         * posix/glob.c (glob): Check passed in values before using them in
54890         expressions to avoid some overflows.
54891         (glob_in_dir): Likewise.
54893         [BZ #13007]
54894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54895         check for AVX enablement so that we don't crash with old kernels and
54896         new hardware.
54897         * elf/tst-audit4.c: Add same checks here.
54898         * elf/tst-audit6.c: Likewise.
54900         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54902 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54904         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54908         * po/cs.po: Update from translation team.
54909         * po/bg.po: Likewise.
54911 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54913         * misc/sys/cdefs.h: Add support for const attribute.
54914         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54915         to gnu_dev_{major,minor,makedev} functions.
54917 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54919         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54921 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54923         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54924         strlen results.
54926 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54928         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54929         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54930         register in order to avoid conflicts with the soft frame pointer
54931         being held in r11 when necessary.
54932         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54933         (INTERNAL_VSYSCALL_NCS): Likewise.
54935 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54937         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54938         * elf/dl-fini.c (_dl_fini): Adjust caller.
54939         * elf/dl-close.c (_dl_close_worker): Likewise.
54940         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54942 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54944         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54945         "aux_cache->nlibs < 0".
54947         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54948         in the reload-count case.
54950 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54953         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54954         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54955         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54956         * sysdeps/x86_64/multiarch/strcat.S: New file.
54957         * sysdeps/x86_64/multiarch/strncat.S: New file.
54958         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54959         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54960         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54961         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54962         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54963         (USE_AS_STRCAT): Define.
54964         Add strcat and strncat support.
54965         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54966         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54967         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54968         * string/strncat.c: Update.
54969         (USE_AS_STRNCAT): Define.
54970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54971         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54972         and i7.
54973         * sysdeps/x86_64/multiarch/init-arch.h
54974         (bit_Prefer_PMINUB_for_stringop): New.
54975         (index_Prefer_PMINUB_for_stringop): Likewise.
54976         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54977         bit_Prefer_PMINUB_for_stringop.
54979 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54981         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54982         buffer64.
54983         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54984         of casting of buffer.
54985         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54986         buffer32 and buffer64.
54987         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54988         writes instead of casting of buffer.
54989         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54990         buffer32.
54991         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54992         casting of buffer.
54994 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54996         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54998 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55000         * nscd/nscd.c (termination_handler): Don't do anything for a database
55001         if it has not yet been initialized.
55003 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55005         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55007 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55009         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55011 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55013         * po/nl.po: Update from translation team.
55014         * po/sv.po: Likewise.
55016 2011-07-16  Roland McGrath  <roland@hack.frob.com>
55018         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55019         now disallowed by GCC.
55021         * configure.in (use-default-link): Default to yes if a test -shared
55022         link meets our qualifications.
55023         * configure: Regenerated.
55025         * config.make.in (output-format): New variable.
55026         * configure.in: Check for ld --print-output-format support.
55027         * configure: Regenerated.
55028         * Makerules ($(common-objpfx)format.lds)
55029         [$(output-format) != unknown]: Just use $(output-format),
55030         instead of the linker-script munging.
55032 2011-07-14  Roland McGrath  <roland@hack.frob.com>
55034         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55035         of $(common-objpfx)shlib.lds.
55036         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55038         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55039         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55041         * configure.in (-z relro check): Adjust test code to add a large
55042         writable data section after it.
55043         * configure: Regenerated.
55045 2011-07-11  Roland McGrath  <roland@hack.frob.com>
55047         * configure.in (-z relro check): Fix test code to make the variable
55048         truly const.
55049         * configure: Regenerated.
55051 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
55053         * nscd/nscd.h (struct traced_file): Define.
55054         (struct database_dyn): Remove inotify_descr, reset_res, and filename
55055         elements.  Add traced_files.
55056         (inotify_fd): Declare.
55057         (register_traced_file): Declare.
55058         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55059         (inotify_fd): Export.
55060         (resolv_conf_descr): Remove.
55061         (nscd_init): Move inotify descriptor creation to main.
55062         Don't register files for notification here.
55063         (register_traced_file): New function.
55064         (invalidate_cache): Don't use reset_res to determine whether to call
55065         res_init, go through the list of registered files.
55066         (main_loop_poll): The inotify descriptors are now stored in the
55067         structures for the traced files.
55068         (main_loop_epoll): Likewise
55069         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
55070         to __nss_disable_nscd.
55071         * nscd/cache.c (prune_cache): There is no single inotify descriptor
55072         for a database anymore.  Check the records for all the registered
55073         files instead.
55074         * nss/Makefile (libnss_files-routines): Add files-init.
55075         (libnss_db-routines): Add db-init.
55076         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55077         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55078         * nss/nss_db/db-init.c: New file.
55079         * nss/nss_files/files-init.c: New file.
55080         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
55081         __nss_lookup_function.
55082         (__nss_lookup_function): Call nss_load_library.
55083         (nss_load_all_libraries): New function.
55084         (__nss_disable_nscd): Take parameter with callback function for files
55085         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
55086         used for the cached services.
55087         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55088         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55089         options for features to all the files in nscd.
55091         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55093 2011-07-10  Roland McGrath  <roland@hack.frob.com>
55095         * csu/elf-init.c (__libc_csu_init): Comment typo.
55097 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
55099         * po/pl.po: Update from translation team.
55100         * po/ja.po: Likewise.
55101         * po/ru.po: Likewise.
55102         * po/ko.po: Likewise.
55103         * po/fr.po: Likewise.
55105 2011-07-09  Roland McGrath  <roland@hack.frob.com>
55107         * configure.in (.ctors/.dtors header and trailer check):
55108         Use an empirical test on a built program.
55109         * configure: Regenerated.
55111         * configure.in (-z relro check): Use an empirical test on a built DSO.
55112         Detect, but do not require, on ia64.
55113         * configure: Regenerated.
55115         * configure.in (READELF): Find it with AC_CHECK_TOOL.
55116         Update tests that use readelf to use $READELF instead.
55117         * configure: Regenerated.
55119 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
55121         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55122         if the result is not used.
55124 2011-07-05  Andreas Jaeger  <aj@suse.de>
55126         [BZ#9696]
55127         * stdlib/tst-strtod.c: Add testcase.
55129 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
55131         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55132         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55133         The latter has a higher limit.  Take additional parameter to pass to
55134         the new function.
55135         (__pathconf): Pass file to __statfs_link_max.
55136         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55137         __statfs_link_max.
55138         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55139         __statfs_link_max.
55141         [BZ #12868]
55142         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55143         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55144         Handle Lustre.
55145         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55146         (__statfs_filesize_max): Likewise.
55147         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55149 2011-07-05  Andreas Jaeger  <aj@suse.de>
55151         * resolv/res_comp.c (dn_skipname): Remove unused variable.
55153 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
55155         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55156         `status' variable.
55157         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55158         Likewise.
55160 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
55162         * Makefile (strop-tests): Add strncat.
55163         * string/test-strncat.c: New file.
55165 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
55167         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55169 2011-06-21  Andreas Jaeger  <aj@suse.de>
55171         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55172         Copy rule from iconvdata/Makefile.
55174 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55176         [BZ #12922]
55177         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55178         but no long options are defined, just return 'W'.
55180 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
55182         [BZ #9696]
55183         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55185 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55187         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55188         netgroups to read.
55189         (innetgr): Likewise.
55191 2011-07-05  Roland McGrath  <roland@hack.frob.com>
55193         * config.make.in (install_root): Default to $(DESTDIR).
55195 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55197         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55199 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55201         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55203         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55204         containing directory rather than embedding absolute directory names.
55206         * scripts/check-local-headers.sh: Rewritten using awk.
55207         Match by word, not by line.  Print error messages for matches.
55208         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55210         * Makerules [shlib-lds-flags empty]:
55211         ($(common-objpfx)libc_pic.opts): New target.
55212         ($(common-objpfx)libc_pic.os.clean): New target.
55213         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55215         * config.make.in (OBJCOPY): New variable.
55216         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55217         * configure: Regenerated.
55219         * config.make.in (use-default-link): New variable.
55220         * configure.in (use_default_link): Grok --with-default-link to set it.
55221         * configure: Regenerated.
55222         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55223         (shlib-lds, shlib-lds-flags): Define to empty.
55225         * Makerules (shlib-lds): New variable.
55226         (shlib-lds-flags): New variable.
55227         (build-shlib, build-moduile, build-module-asneeded): Use it.
55228         ($(common-objpfx)libc.so): Use $(shlib-lds).
55229         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55230         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55232         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55233         DT_FLAGS/DT_FLAGS_1 with zero flags.
55235         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55236         linker script munging.
55238 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55240         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55241         as 128-bit value.
55242         * crypt/sha512.c (sha512_process_block): Perform total addition using
55243         128-bit if possible.
55244         (__sha512_finish_ctx): Likewise.
55245         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55246         as 64-bit value.
55247         * crypt/sha256.c (SWAP64): Define.
55248         (sha256_process_block): Perform total addition using 64-bit if
55249         possible.
55250         (__sha256_finish_ctx): Likewise.
55252 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55254         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55255         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55256         * nscd/hstcache.c (cache_addhst): Likewise.
55257         * nscd/grpcache.c (cache_addgr): Likewise.
55258         * nscd/aicache.c (addhstaiX): Likewise
55259         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55261 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55263         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55265         * nscd/hstcache.c (cache_addhst): Likewise.
55266         * nscd/grpcache.c (cache_addgr): Likewise.
55267         * nscd/aicache.c (addhstaiX): Likewise
55269 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55271         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55272         domain only when needed.
55274 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55277         is always restored.
55279 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55281         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55282         are re-adding the entry.
55283         * nscd/servicescache.c (cache_addserv): Likewise.
55285 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55287         * sysdeps/generic/dl-irel.h: fix protection against multiple
55288         inclusions.
55289         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55291 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55293         [BZ #12935]
55294         * malloc/memusage.sh: Fix quoting in message.
55295         * debug/xtrace.sh: Likewise.
55297         * configure.in: Remove support for --experimental-malloc option, make
55298         it the default.
55299         * config.make.in: Likewise.
55300         * malloc/Makefile: Likewise.
55302 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55304         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55305         two-byte characters.
55307 2011-06-27  Roland McGrath  <roland@hack.frob.com>
55309         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55310         AC_CACHE_CHECK invocation.
55311         * configure: Regenerated.
55313         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55315 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
55317         [BZ #12350]
55318         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
55319         bit from old_res_options.
55321         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55323         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55324         value type for setfct.
55326 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
55328         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55329         __gettimeofday instead of gettimeofday.
55331 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
55333         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55335 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
55337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55340         info.
55342 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55345         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55346         strcpy-sse2-unaligned strncpy-sse2-unaligned
55347         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55348         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55349         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55350         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55351         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55352         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55353         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55354         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55355         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55356         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55357         (STRCPY): Support SSE2 and SSSE3 versions.
55359 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55361         [BZ #12874]
55362         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55363         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55364         kernels which artificially limit size of requests.
55366 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55369         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55370         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55371         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55372         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55373         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55374         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55375         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55376         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55378         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55379         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55380         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55381         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55382         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55384         Enable unaligned load optimization for Intel Core i3, i5 and i7
55385         processors.
55386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55387         Define.
55388         (index_Fast_Unaligned_Load): Define.
55389         (HAS_FAST_UNALIGNED_LOAD): Define.
55391 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55393         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55395 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55397         [BZ #12907]
55398         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55399         until it is clear that the information is realy needed.
55400         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55402 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55406 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55408         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55409         /sys/devices/system/cpu/online if it is usable.
55411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55412         reading the information from the /proc filesystem to once a second.
55414 2011-06-21  Andreas Jaeger  <aj@suse.de>
55416         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55417         NULL after inclusion of kernel headers.
55419 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55421         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55422         calls to internal_setent.
55424         [BZ #12885]
55425         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55426         addresses using gethostbyname4_r ignore IPv4 addresses.
55428         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55429         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55431         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55433 2011-06-20  David S. Miller  <davem@davemloft.net>
55435         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55436         inclusions.
55437         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55439         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55440         (elf_irel): Use it.
55441         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55442         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55443         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55444         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55445         * sysdeps/x86_64/dl-irel.h: Likewise.
55447         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55448         * elf/dl-sym.c: Likewise.
55450 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55452         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55453         need to dereference resplen2.
55455 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55457         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55459 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55461         * Makeconfig: Define vardbdir and inst_vardbdir.
55462         * nss/Makefile: Add rules to install db-Makefile.
55464         * nss/nss_db/db-XXX.c: Cleanup.
55466         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55467         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55468         GLIBC_PRIVATE.
55469         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55470         * nss/makedb.c: Implement -g option to specify that value strings
55471         are generated and should not be added to table iterated over for
55472         get*ent calls.
55473         * nss/nss_db/db-initgroups.c: New file.
55475         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55476         interface.
55478         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55479         (internal_getgrouplist): Adjust to name change.
55480         Update use_initgroups_entry if this is not the first call.
55481         * nss/databases.def: Add initgroups entry.
55483         * nss/makedb.c (compute_tables): Check result of multiple hash table
55484         sizes to minimize maximum chain length.
55486 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55488         * Versions.def: Add entry for libnss_db.
55489         * shlib-versions: Likewise.
55490         * nss/Makefile: Add rules to build libnss_db.
55491         * nss/Versions: Add libnss_db information.  Organize libnss_files
55492         entries better.
55493         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55494         makedb progra.  Some minor improvements to generate smaller files.
55495         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55496         here from...
55497         * nss/makedb.c: ...here.
55498         Improve database format to be smaller and require less memory at
55499         runtime.
55500         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55501         db anymore.
55502         * nss/nss_db/db-netgrp.c: Likewise.
55503         * nss/nss_db/db-open.c: Likewise.
55504         * nss/nss_files/flies-XXX.x: Adjust comments.
55505         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55506         * nss/nss_files/files-grp.c: Likewise.
55507         * nss/nss_files/files-hosts.c: Likewise.
55508         * nss/nss_files/files-network.c: Likewise.
55509         * nss/nss_files/files-proto.c: Likewise.
55510         * nss/nss_files/files-pwd.c: Likewise.
55511         * nss/nss_files/files-rpc.c: Likewise.
55512         * nss/nss_files/files-service.c: Likewise.
55513         * nss/nss_files/files-sgrp.c: Likewise.
55514         * nss/nss_files/files-spwd.c: Likewise.
55515         * nss/nss_db/db-alias.c: Removed.
55516         * nss/nss_db/dummy-db.h: Removed.
55518 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55520         * nss/makedb.c: Rewritten to not use database library.
55521         * nss/Makefile: Update to build new makedb program.
55523 2011-06-14  Andreas Jaeger  <aj@suse.de>
55525         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55526         memset declaration.
55528 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55531         tmpbuf.
55533 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55535         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55536         * elf/Makefile ($(objpfx)ld.so): Likewise.
55538         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55539         Don't list ld.so twice in dependencies.
55541         * posix/bug-regex31.c: Include <stdlib.h>.
55543         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55545         * nis/nss_compat/compat-spwd.c
55546         (getspent_next_nss_netgr): Remove unused variable.
55547         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55549         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55550         nonmembers" output to use the right array.
55552         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55554         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55556         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55557         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55558         * catgets/gencat.c (read_input_file): Likewise.
55559         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55561         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55562         variable definition inside #if's controlling its use.
55564         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55568         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55570         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55571         unreachable code.
55573         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55575         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55576         * configure: Regenerated.
55578         * Makerules: Revert last change.
55579         * elf/Makefile: Likewise.
55581 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55583         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55584         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55585         (reloc-link): Likewise.
55587 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55589         * elf/Makefile: Add rules to build pldd.
55590         * elf/pldd.c: New file.
55591         * elf/pldd-xx.c: New file.
55593 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55595         * version.h: Update for 2.15 development version.
55597 2011-06-07  David S. Miller  <davem@davemloft.net>
55599         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55600         ifuncs.
55601         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55602         elf_machine_lazy_rel): Likewise.
55603         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55604         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55605         elf_machine_lazy_rel): Likewise.
55606         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55607         dl_hwcap via passed in argument.
55608         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55609         Likewise.
55611 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55613         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55615 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55617         [BZ #12849]
55618         * manual/fdl-1.1.texi: New file, verbatim from:
55619         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55620         * manual/lgpl-2.1.texi: New file, verbatim from:
55621         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55622         * manual/Makefile (licenses): New variable, list those new file names.
55623         (texis): Use it.
55624         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55626         * manual/fdl.texi: File removed.
55627         * manual/lesser.texi: File removed.
55628         * manual/libc.texinfo (Copying, Documentation License):
55629         Use new @include file names, put @appendix directive before @include.
55631 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55633         [BZ #12841]
55634         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55635         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55636         (mq_open): Add __NTH.
55638 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55641         Assume Intel Core i3/i5/i7 processor if AVX is available.
55643 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55646         typo.
55648 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55650         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55651         memory.  Use alloca_account.  Fix memory leak when retrying.
55653 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55655         * version.h (RELEASE): Bump for 2.14 release.
55656         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55658         * config.make.in (RANLIB): Remove entry.
55660 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55662         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55663         (libc.pot): Work around missing support for .ksh extension in xgettext.
55665         [BZ #12684]
55666         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55667         if both request failed.
55668         (send_dg): In case of server errors clear resplen or *resplen2.
55670         [BZ #12454]
55671         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55672         when there are multiple maps.
55673         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55674         (_dl_fini): Remove test here.
55676         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55678 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55680         [BZ #12350]
55681         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55682         bit from old_res_options.
55683         (gaih_inet): Likewise.
55685         [BZ #11099]
55686         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55687         as signed.
55689         * resolv/res_init.c (res_setoptions): Make the code more compact.
55691         [BZ #11558]
55692         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55693         set RES_USEVC.
55695         [BZ #11634]
55696         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55698         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55700         [BZ #11781]
55701         * malloc/malloc.h: Declare malloc hook variables as volatile.
55703         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55704         in last patch.
55706         [BZ #11799]
55707         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55708         raise in the comment.
55709         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55710         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55711         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55713 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55715         [BZ #12811]
55716         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55717         grow the buffers more if it already has to be sufficient.
55718         (build_wcs_upper_buffer): Likewise.
55719         * posix/regexec.c (check_matching): Likewise.
55720         (clean_state_log_if_needed): Likewise.
55721         (extend_buffers): Don't enlarge buffers beyond size of the input
55722         buffer.
55723         Patches mostly by Emil Wojak <emil@wojak.eu>.
55724         * posix/bug-regex32.c: New file.
55725         * posix/Makefile (tests): Add bug-regex32.
55727         * locale/findlocale.c (_nl_find_locale): Return right away if
55728         _nl_explode_name failed.
55729         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55731         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55733         * debug/xtrace.sh: Unify messages.
55734         * malloc/memusage.sh: Likewise.
55736         [BZ #12813]
55737         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55738         time symbol from vDSO.  Substitute with vsyscall if not available.
55739         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55740         __vdso_time.
55742         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55743         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55744         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55745         Add sendmmsg and internal_sendmmsg.
55746         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55748         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55750         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55751         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55752         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55754 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55756         [BZ #12813]
55757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55758         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55759         available.
55760         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55761         __vdso_getcpu.
55763         [BZ #12814]
55764         * iconvdata/Makefile (tests): Add bug-iconv9.
55765         * iconvdata/bug-iconv9.c: New file.
55767 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55769         [BZ #12814]
55770         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55772 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55775         (struct user_regs_struct): Change intcs field back to cs.
55777 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55779         * po/ja.po: Update from translation team.
55781 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55783         [BZ #12795]
55784         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55785         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55787 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55789         * stdlib/longlong.h: Update from GCC.
55791 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55793         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55794         parameter name.
55795         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55796         Add parameter name.
55797         (__sysconf): Pass it down.
55799 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55801         [BZ #12671]
55802         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55803         some situations.
55804         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55805         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55806         add in in __libc_use_alloca calls.  Adjust callers.
55807         (glob): Use malloc in some situations.
55809         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55810         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55811         pltexit.
55813 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55815         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55816         and CLOCK_BOOTTIME_ALARM.
55818         [BZ #12782]
55819         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55820         is returned.
55822         * string/_strerror.c (__strerror_r): Print negative errors as signed
55823         numbers.
55825         [BZ #12777]
55826         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55827         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55828         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55830         * configure.in: Fix typo in redirection and correct removal of test
55831         files in two cases.
55833         [BZ #12788]
55834         * locale/setlocale.c (new_composite_name): Fix test to check for
55835         identical name of all categories.
55837         [BZ #12792]
55838         * libio/filedoalloc.c (local_isatty): New function.
55839         (_IO_file_doallocate): Use local_isatty.
55840         * stdio-common/perror.c (perror): In case a new stream is used
55841         forward the stream error.
55842         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55843         error flag.
55845 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55847         [BZ #11869]
55848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55849         alloca.
55850         * include/alloca.h (extend_alloca_account): Define.
55852         [BZ #11857]
55853         * posix/regex.h: Fix comments with documentation of user-accessible
55854         fields after compilation and describe correct free'ing of pattern
55855         after re_compile_pattern.
55856         Patch by Reuben Thomas <rrt@sc3d.org>.
55858 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55860         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55861         and -mno-altivec to prevent the compiler from using Altivec and/or
55862         VSX instructions when the corresponding registers are not available.
55864 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55866         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55868 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55870         * libio/freopen.c (freopen): Use __dup2, not dup2.
55871         * libio/freopen64.c (freopen64): Likewise.
55873 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55875         [BZ #12775]
55876         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55877         * math/Makefile (tests): Add test-powl.
55878         (CFLAGS-test-powl.c): Define.
55879         * math/test-powl.c: New file.
55881 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55883         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55885 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55887         [BZ #11837]
55888         * iconvdata/gb18030.c: Update to GB18020-2005.
55890 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55892         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55893         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55894         Patch by Aharon Robbins <arnold@skeeve.com>.
55896         [BZ #11892]
55897         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55898         on the stack.
55900         [BZ #11895]
55901         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55902         through underflows.
55904         [BZ #12766]
55905         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55906         point to strings before performing equality test for error_one_per_line
55907         mode.
55909         [BZ #11697]
55910         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55912         [BZ #11820]
55913         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55914         (struct user_fpregs_struct): Avoid __uint*_t types.
55916         [BZ #6420]
55917         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55918         symbol info.  Use it instead of calling _dl_addr locally.
55919         (lock_and_info): New function.
55920         (tr_freehook): Call lock_and_info and pass symbol info as additional
55921         parameter to tr_where.
55922         (tr_mallochook): Likewise.
55923         (tr_reallochook): Likewise.
55924         (tr_memalignhook): Likewise.
55926         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55927         used and couldn't be at all thread-safe.
55929 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55931         * libio/freopen.c (freopen): Don't close old file descriptor
55932         before the new one is opened.  Instead dup the new file descriptor
55933         to the old one after the new stream is created.
55934         * libio/freopen64.c (freopen64): Likewise.
55935         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55936         * libio/fileops.c (_IO_new_file_close_it): Handle new
55937         _IO_FLAGS2_NOCLOSE flag.
55938         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55939         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55940         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55941         _IO_FLAGS2_NOCLOSE flag.
55942         * include/unistd.h: Add hidden_proto for dup3.
55943         Define __have_dup3.
55944         * io/dup3.c: Define hidden symbol.
55945         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55947         [BZ #7101]
55948         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55949         when an incomplete long option is used.
55950         * posix/tst-getopt_long1.c: New file.
55951         * posix/Makefile (tests): Add tst-getopt_long1.
55953         [BZ #10138]
55954         * scripts/config.guess: Update from autoconf-2.68.
55955         * scripts/config.sub: Likewise.
55957         [BZ #10157]
55958         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55959         tests into ...
55960         (has_cpuclock): ...this.  New function.
55961         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55962         macro here based on has_cpuclock code.
55964         [BZ #10149]
55965         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55966         First byte (not low byte) is now always NUL.
55967         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55970         Use non-cancelable interfaces.
55972         [BZ #9809]
55973         * locale/iso-639.def: Add entry for Sorani.
55975         [BZ #11901]
55976         * include/stdlib.h: Move include protection to the right place.
55977         Define abort_msg_s.  Declare __abort_msg with it.
55978         * stdlib/abort.c (__abort_msg): Adjust type.
55979         * assert/assert.c (__assert_fail_base): New function.  Majority
55980         of code from __assert_fail.  Allocate memory for __abort_msg with
55981         mmap.
55982         (__assert_fail): Now call __assert_fail_base.
55983         * assert/assert-perr.c: Remove bulk of implementation.  Use
55984         __assert_fail_base.
55985         * include/assert.hL Declare __assert_fail_base.
55986         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55987         mmap.
55988         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55990 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55992         [BZ #11952]
55993         [BZ #12453]
55994         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55995         until all modules are registered in the DTV.
55996         * elf/Makefile: Add rules to build and run tst-tls19.
55997         * elf/tst-tls19.c: New file.
55998         * elf/tst-tls19mod1.c: New file.
55999         * elf/tst-tls19mod2.c: New file.
56000         * elf/tst-tls19mod3.c: New file.
56001         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56003         [BZ #12083]
56004         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56005         correctly.
56007         [BZ #12601]
56008         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56009         two-byte sequence errors.
56010         * iconvdata/Makefile (tests): Add bug-iconv8.
56011         * iconvdata/bug-iconv8.c: New file.
56013         [BZ #12626]
56014         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56015         buf2 definition.
56017         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56019         [BZ #12432]
56020         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56021         (dummy_getcfa): New function.
56022         (init): Get _Unwind_GetCFA address, use dummy if not found.
56023         (backtrace_helper): In recursion check, also check whether CFA changes.
56024         (__backtrace): Completely initialize arg.
56026         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56027         storing incomplete byte sequence in state object.  Avoid testing for
56028         guaranteed too small input if we know there is enough data available.
56030 2011-05-11  Andreas Schwab  <schwab@redhat.com>
56032         * Makeconfig (+link-pie): Indent.
56033         * Rules (binaries-pie): Define if $(have-fpie) and
56034         $(build-shared).
56035         (binaries-shared): Also filter out $(binaries-pie).
56036         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56037         * nscd/Makefile (others-pie): Add nscd.
56038         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56039         ($(objpfx)nscd): Remove command override.
56040         * login/Makefile (others-pie): Add pt_chown.
56041         ($(objpfx)pt_chown): Remove command override.
56042         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56043         remove command overrides.
56045 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
56047         * libio/tst_putwc.c: Fix error messages.
56049         [BZ #12724]
56050         * libio/fileops.c (_IO_new_file_close_it): Always flush when
56051         currently writing and seek to current position when not.
56052         * libio/Makefile (tests): Add bug-fclose1.
56053         * libio/bug-fclose1.c: New file.
56055 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
56057         [BZ #12511]
56058         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56059         don't set DF_1_NODELETE here.
56060         (do_lookup_x): When entering new entry test for copy relocation
56061         and if necessary set DF_1_NODELETE flag.
56062         * elf/tst-unique4.cc: New file.
56063         * elf/tst-unique4.h: New file.
56064         * elf/tst-unique4lib.cc: New file.
56065         * elf/Makefile: Add rules to build and run tst-unique4.
56066         Patch by Piotr Bury <pbury@goahead.com>.
56068 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
56070         [BZ #12052]
56071         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56073         [BZ #12625]
56074         * misc/mntent_r.c (addmntent): Flush the stream after the output
56076         [BZ #12393]
56077         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56078         (is_trusted_path_normalize): Skip initial colon.  Append slash
56079         to empty buffer.  Duplicate is_trusted_path code but allow
56080         constructed patch to be prefix.
56081         (is_dst): Allow $ORIGIN followed by /.
56082         (_dl_dst_substitute): Correct clearing of check_for_trusted.
56083         Correct testing of result of is_trusted_path_normalize
56084         (decompose_rpath): Fix warning.
56086 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
56088         [BZ #11257]
56089         * grp/initgroups.c (internal_getgrouplist): When we found the service
56090         list through the initgroups entry in nsswitch.conf do not always
56091         continue on a successful lookup.  Don't always use the
56092         __nss_group_database value if it is set.
56093         * nss/nsswitch.conf (initgroups): Change action for successful db
56094         lookup to continue for compatibility.
56096 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
56098         [BZ #11532]
56099         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56100         and CP774 modules.
56101         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56102         and CP774 modules.
56103         * iconvdata/tst-tables.sh: Likewise.
56104         * iconvdata/cp770.c: New file.
56105         * iconvdata/cp771.c: New file.
56106         * iconvdata/cp772.c: New file.
56107         * iconvdata/cp773.c: New file.
56108         * iconvdata/cp774.c: New file.
56109         * iconvdata/testdata/CP770: New file.
56110         * iconvdata/testdata/CP770..UTF8: New file.
56111         * iconvdata/testdata/CP771: New file.
56112         * iconvdata/testdata/CP771..UTF8: New file.
56113         * iconvdata/testdata/CP772: New file.
56114         * iconvdata/testdata/CP772..UTF8: New file.
56115         * iconvdata/testdata/CP773: New file.
56116         * iconvdata/testdata/CP773..UTF8: New file.
56117         * iconvdata/testdata/CP774: New file.
56118         * iconvdata/testdata/CP774..UTF8: New file.
56120         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56121         END CHARMAP line.
56122         * iconvdata/gen-8bit-gap.sh: Likewise.
56123         * iconvdata/gen-8bit.sh: Likewise.
56125         * locale/iso-639.def: Add ary entry.
56127         [BZ #11258]
56128         * locale/C-translit.h.in: Add U20A1 transliteration.
56130         [BZ #12178]
56131         * locale/iso-639.def: Add wae entry.
56132         Patch by Kevin Bortis <bortis@translate-wae.ch>.
56134         [BZ #12545]
56135         * locale/programs/localedef.c (construct_output_path): Use ssize_t
56136         for n.
56138         [BZ #12711]
56139         * locale/C-translit.h.in: Add entry for U20B9.
56140         Patch by pravin.d.s@gmail.com.
56142 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
56144         [BZ #12713]
56145         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56146         ENAMETOOLONG use generic getcwd.
56147         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
56148         in rtld.  Use *stat64.
56149         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56150         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56151         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56152         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56153         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56154         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56155         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56156         __fstatat64 macros.
56157         * include/dirent.h: Add libc_hidden_proto for rewinddir.
56158         * dirent/rewinddir.c: Add libc_hidden_def.
56159         * sysdeps/mach/hurd/rewinddir.c: Likewise.
56160         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
56162         * include/dirent.h (__alloc_dir): Add flags parameter.
56163         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56164         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56165         __alloc_dir.
56166         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
56167         from fdopendir if O_CLOEXEC is already set.
56169 2011-03-15  Alan Modra  <amodra@gmail.com>
56171         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56172         l_tls_firstbyte_offset non-zero.  Save padding offset in
56173         l_tls_firstbyte_offset for later use.
56174         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56175         freeing static tls block.
56177 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
56179         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56180         where #ifdef was intended.  The intent is to prevent ARG_MAX from
56181         being defined by the kernel headers.
56183 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
56185         [BZ #12734]
56186         * resolv/resolv.h: Define RES_NOTLDQUERY.
56187         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56188         no-tld-query and set RES_NOTLDQUERY.
56189         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56190         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56191         modern BIND to search name as TLD unless forbidden.
56193 2011-05-07  Petr Baudis  <pasky@suse.cz>
56194             Ulrich Drepper  <drepper@gmail.com>
56196         [BZ #12393]
56197         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56198         (is_trusted_path): ...to here.
56199         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56200         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56201         using is_trusted_path_normalize() in setuid scripts.
56203 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56205         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56206         __BEGIN/__END_DECLS.
56208 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56210         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56211         NSS_STATUS_NOTFOUND if no record was found.
56213 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56215         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56216         (headers-not-in-tirpc): Remove rpc/netdb.h
56217         * resolv/netdb.h: Revert last change.
56219 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56221         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56222         circular dependency between libgcc.a and libc.a.
56224 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56226         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56227         * nis/Makefile: Don't install rpcsvc/*.
56228         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56229         instead of <rpc/types.h>.
56230         (MAXHOSTNAMELEN): Define.
56232 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56234         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56236 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56238         [BZ #12714]
56239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56240         gethostbyname4_r when IPv6 results are possible.
56242 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56244         [BZ #12723]
56245         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56246         _PC_PIPE_BUF handling.
56248 2011-04-30  Bruno Haible  <bruno@clisp.org>
56250         [BZ #12717]
56251         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56252         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56253         to 'int'.
56254         * inet/getnameinfo.c (getnameinfo): Likewise.
56256 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56258         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56259         to groups setting in database lookup.
56260         * nss/nsswitch.conf: Add initgroups entry.
56262 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56264         [BZ #12685]
56265         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56266         mode string.
56267         Patch by Eric Blake <eblake@redhat.com>.
56269 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56271         * sunrpc/Makefile (need-export-routines): Add svc_run.
56272         (routines): Remove svc_run.
56273         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56274         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56275         * sunrpc/svc_run.c (svc_run): Likewise.
56276         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56278 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56280         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56281         problem in reallocation in last patch.
56283 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56285         * sunrpc/Makefile: Move inclusion of Rules.
56287 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56289         * nss/nss_files/files-initgroups.c: New file.
56290         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56291         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56292         _nss_files_initgroups_dyn.
56294 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56296         * elf/elf.h (R_ARM_IRELATIVE): Define.
56298 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56300         * po/ru.po: Update from translation team.
56302 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56304         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56305         dependencies.
56307 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
56309         [BZ #12653]
56310         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56311         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56316 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
56318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56319         differing bytes.
56320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56321         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56324 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56326         [BZ #12420]
56327         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56328         storing it.
56329         * stdlib/bug-getcontext.c: New file.
56330         * stdlib/Makefile: Add rules to build and run bug-getcontext.
56332 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56334         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56335         instructions into .machine "z9-109".
56336         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56337         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56339 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56341         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56342         between environment variables and auxiliary vector.
56344 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56346         * Makefile: Add rules to build linkobj/libc.so.
56347         * include/libc-symbols.h: Define libc_hidden_nolink.
56348         * include/rpc/auth.h: Mark functions which are to be hidden.
56349         * include/rpc/auth_des.h: Likewise.
56350         * include/rpc/auth_unix.h: Likewise.
56351         * include/rpc/clnt.h: Likewise.
56352         * include/rpc/des_crypt.h: Likewise.
56353         * include/rpc/key_prot.h: Likewise.
56354         * include/rpc/pmap_clnt.h: Likewise.
56355         * include/rpc/pmap_prot.h: Likewise.
56356         * include/rpc/pmap_rmt.h: Likewise.
56357         * include/rpc/rpc_msg.h: Likewise.
56358         * include/rpc/svc.h: Likewise.
56359         * include/rpc/svc_auth.h: Likewise.
56360         * include/rpc/xdr.h: Likewise.
56361         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56362         * nss/Makefile: Likewise.
56363         * sunrpc/Makefile: Don't install headers.  Build library with normal
56364         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56365         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56366         for the compat linking library.  Remove use of INTDEF/INTUSE.
56367         * sunrpc/auth_none.c: Likewise.
56368         * sunrpc/auth_unix.c: Likewise.
56369         * sunrpc/authdes_prot.c: Likewise.
56370         * sunrpc/authuxprot.c: Likewise.
56371         * sunrpc/clnt_gen.c: Likewise.
56372         * sunrpc/clnt_perr.c: Likewise.
56373         * sunrpc/clnt_raw.c: Likewise.
56374         * sunrpc/clnt_simp.c: Likewise.
56375         * sunrpc/clnt_tcp.c: Likewise.
56376         * sunrpc/clnt_udp.c: Likewise.
56377         * sunrpc/clnt_unix.c: Likewise.
56378         * sunrpc/des_crypt.c: Likewise.
56379         * sunrpc/des_soft.c: Likewise.
56380         * sunrpc/get_myaddr.c: Likewise.
56381         * sunrpc/key_call.c: Likewise.
56382         * sunrpc/key_prot.c: Likewise.
56383         * sunrpc/netname.c: Likewise.
56384         * sunrpc/pm_getmaps.c: Likewise.
56385         * sunrpc/pm_getport.c: Likewise.
56386         * sunrpc/pmap_clnt.c: Likewise.
56387         * sunrpc/pmap_prot.c: Likewise.
56388         * sunrpc/pmap_prot2.c: Likewise.
56389         * sunrpc/pmap_rmt.c: Likewise.
56390         * sunrpc/publickey.c: Likewise.
56391         * sunrpc/rpc_cmsg.c: Likewise.
56392         * sunrpc/rpc_common.c: Likewise.
56393         * sunrpc/rpc_dtable.c: Likewise.
56394         * sunrpc/rpc_prot.c: Likewise.
56395         * sunrpc/rpc_thread.c: Likewise.
56396         * sunrpc/rtime.c: Likewise.
56397         * sunrpc/svc.c: Likewise.
56398         * sunrpc/svc_auth.c: Likewise.
56399         * sunrpc/svc_authux.c: Likewise.
56400         * sunrpc/svc_raw.c: Likewise.
56401         * sunrpc/svc_run.c: Likewise.
56402         * sunrpc/svc_simple.c: Likewise.
56403         * sunrpc/svc_tcp.c: Likewise.
56404         * sunrpc/svc_udp.c: Likewise.
56405         * sunrpc/svc_unix.c: Likewise.
56406         * sunrpc/svcauth_des.c: Likewise.
56407         * sunrpc/xcrypt.c: Likewise.
56408         * sunrpc/xdr.c: Likewise.
56409         * sunrpc/xdr_array.c: Likewise.
56410         * sunrpc/xdr_float.c: Likewise.
56411         * sunrpc/xdr_intXX_t.c: Likewise.
56412         * sunrpc/xdr_mem.c: Likewise.
56413         * sunrpc/xdr_rec.c: Likewise.
56414         * sunrpc/xdr_ref.c: Likewise.
56415         * sunrpc/xdr_sizeof.c: Likewise.
56416         * sunrpc/xdr_stdio.c: Likewise.
56418 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56420         [BZ #12650]
56421         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56422         * sysdeps/ia64/dl-tls.h: Likewise.
56423         * sysdeps/powerpc/dl-tls.h: Likewise.
56424         * sysdeps/s390/dl-tls.h: Likewise.
56425         * sysdeps/sh/dl-tls.h: Likewise.
56426         * sysdeps/sparc/dl-tls.h: Likewise.
56427         * sysdeps/x86_64/dl-tls.h: Likewise.
56428         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56430 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56432         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56433         rpath element also skip the following colon.
56434         (expand_dynamic_string_token): Add is_path parameter and pass
56435         down to DL_DST_REQUIRED and _dl_dst_substitute.
56436         (decompose_rpath): Call expand_dynamic_string_token with
56437         non-zero is_path.  Ignore empty rpaths.
56438         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56439         with zero is_path.
56441 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56444         Make cancelable.
56446 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56448         [BZ #12655]
56449         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56450         Patch by Filipe David Manana <fdmanana@apache.org>.
56452 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56454         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56455         Maintain aligned stack.
56456         (CHECK_RSP): Remove unused macro.
56458 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56460         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56461         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56463 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56465         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56467         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56469 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56471         [BZ #12518]
56472         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56473         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56474         * sysdeps/x86_64/memmove.c: New file.
56475         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56476         (memcpy): Renamed to ...
56477         (__new_memcpy): This.
56478         (memcpy): Provide GLIBC_2_14 memcpy.
56479         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56480         (memcpy): Provide GLIBC_2_2_5 memcpy.
56482 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56484         [BZ #12631]
56485         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56487 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56489         * misc/syncfs.c: New file.
56490         * misc/Makefile (routines): Add syncfs.
56491         * posix/unistd.h: Declare syncfs.
56492         * sysdeps/unix/syscalls.list: Add syncfs.
56494 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56496         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56497         open_by_handle_at.
56498         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56500         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56501         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56502         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56503         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56508         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56509         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56510         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56511         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56512         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56513         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56514         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56516         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56517         sync_file_range.c with -fexceptions.
56518         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56519         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56520         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56521         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56522         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56523         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56525         sync_file_range as cancellation point
56526         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56527         now a wrapper around __call_sync_file_range with cancellation handling.
56528         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56529         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56530         function name to __call_sync_file_range.
56531         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56532         Add call_sync_file_range.
56534 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56536         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56537         bits/timex.h.
56539 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56541         * iconv/iconv.h: Fix typo in comment.
56542         * io/fcntl.h: Likewise.
56543         * libio/stdio.h: Likewise.
56544         * posix/spawn.h: Likewise.
56545         * posix/unistd.h: Likewise.
56546         * stdlib/stdlib.h: Likewise.
56547         * time/time.h: Likewise.
56548         * wcsmbs/wchar.h: Likewise.
56550         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56551         open_by_handle): Add.
56552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56553         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56554         Augment a few comments.
56555         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56556         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56560         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56561         open_by_handle.
56563         * io/fcntl.h (AT_EMPTY_PATH): Define.
56565 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56567         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56568         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56569         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56570         to...
56571         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56572         * Versions.def: Add GLIBC_2.14.
56573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56574         Export.
56576 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56578         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56579         round counter.
56580         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56582 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56584         [BZ #12597]
56585         * string/test-strncmp.c (do_page_test): New function.
56586         (check2): Likewise.
56587         (test_main): Call check2.
56588         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56590 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56592         [BZ #12587]
56593         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56594         Handle cache information in CPU leaf 4.
56595         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56597 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56599         [BZ #12583]
56600         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56601         character representation.
56602         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56604 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56606         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56607         END(__isnan) to END(__isnanf) to match function entry point/label
56608         EALIGN(__isnanf,...).
56610 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56612         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56614 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56616         [BZ #12510]
56617         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56618         copy from the symbol referenced in the relocation to initialize the
56619         used variable.
56620         Patch by Piotr Bury <pbury@goahead.com>.
56621         * elf/Makefile: Add rules to build and tst-unique3.
56622         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56623         * elf/tst-unique3.cc: New file.
56624         * elf/tst-unique3.h: New file.
56625         * elf/tst-unique3lib.cc: New file.
56626         * elf/tst-unique3lib2.cc: New file.
56628         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56630 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56632         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56633         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56634         to _start.
56636 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56638         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56639         to-be-loaded object along a path to loader is ld.so.
56641 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56642             Ulrich Drepper  <drepper@gmail.com>
56644         * sysdeps/x86_64/memset.S: After aligning destination, code
56645         branches to different locations depending on the value of
56646         misalignment, when multiarch is enabled. Fix this.
56648 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56650         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56651         Set _x86_64_preferred_memory_instruction for AMD processsors.
56652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56653         Set bit_Prefer_SSE_for_memop for AMD processors.
56655 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56657         * libio/fmemopen.c (fmemopen): Optimize a bit.
56659 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56661         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56663 2011-03-03  Roland McGrath  <roland@redhat.com>
56665         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56667 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56669         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56670         __bzero_ultra1 instead of __memset_ultra1.
56672 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56673             Ulrich Drepper  <drepper@gmail.com>
56675         [BZ #12509]
56676         * include/link.h (struct link_map): Add l_orig_initfini.
56677         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56678         returning unsuccessfully.
56679         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56680         close of a file loaded at startup, restore the original l_initfini
56681         list.
56682         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56683         list, store the pointer.
56684         * elf/Makefile ($(objpfx)noload-mem): New rule.
56685         (noload-ENV): Define.
56686         (tests): Add $(objpfx)noload-mem.
56687         * elf/noload.c: Include <memcheck.h>.
56688         (main): Call mtrace.  Close all opened handles.
56690 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56692         [BZ #12454]
56693         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56694         dependencies are missing.
56696 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56698         Fix __if_freereq crash: Unlike the generic version which uses free,
56699         Hurd needs munmap.
56700         * sysdeps/mach/hurd/ifreq.h: New file.
56702 2011-01-27  Petr Baudis  <pasky@suse.cz>
56703             Ulrich Drepper  <drepper@gmail.com>
56705         [BZ 12445]#
56706         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56707         to extend_alloca().
56708         * stdio-common/bug23.c: New file.
56709         * stdio-common/Makefile (tests): Add bug23.
56711 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56712             Ulrich Drepper  <drepper@gmail.com>
56714         [BZ #12489]
56715         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56716         before performing relro protection.  At old place add assertion
56717         to make sure nothing changed.
56719 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56720             Glauber de Oliveira Costa  <glommer@gmail.com>
56722         * elf/elf.h: Add new ARM TLS relocs.
56724 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56727         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56728         cast from r3.
56729         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56730         'tests' variable.
56731         * sysdeps/wordsize-64/tst-writev.c: New file.
56733 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56735         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56736         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56737         insns in _dl_start to prevent a TOC reference before relocs are
56738         resolved.
56740 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56742         [BZ #12469]
56743         * Makeconfig: Remove RANLIB definition.
56744         * Makerules: Don't use RANLIB.
56745         * aclocal.m4: Remove ranlib test.
56746         * configure.in: No need to check for ranlib.
56747         * elf/rtld-Rules: Don't use RANLIB.
56749 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56751         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56752         protection macro.
56753         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56754         inclusion protection macro.
56756         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56757         SIGRTMIN and SIGRTMAX and print information in that case only when
56758         SIGRTMIN is defined.
56760 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56762         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56763         arginfo fn returning -1.
56765         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56766         and thousands string is zero terminated.
56768 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56770         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56771         sysdeps/unix/sysv/linux/bits/socket.h.
56773 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56775         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56776         (__CPU_COUNT): Remove old macros.
56777         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56778         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56779         (__CPU_ALLOC, __CPU_FREE): Add macros.
56780         (__sched_cpualloc, __sched_cpufree): Add declarations.
56782 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56784         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56785         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56786         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56787         (readdhstai): Return value of addhstaiX call.
56788         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56789         (addgrbyX): Return value returned by cache_addgr.
56790         (readdgrbyname): Return value returned by addgrbyX.
56791         (readdgrbygid): Likewise.
56792         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56793         (addpwbyX): Return value returned by cache_addpw.
56794         (readdpwbyname): Return value returned by addhstbyX.
56795         (readdpwbyuid): Likewise.
56796         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56797         (addservbyX): Return value returned by cache_addserv.
56798         (readdservbyname): Return value returned by addservbyX:
56799         (readdservbyport): Likewise.
56800         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56801         (addhstbyX): Return value returned by cache_addhst.
56802         (readdhstbyname): Return value returned by addhstbyX.
56803         (readdhstbyaddr): Likewise.
56804         (readdhstbynamev6): Likewise.
56805         (readdhstbyaddrv6): Likewise.
56806         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56807         (readdinitgroups): Return value returned by addinitgroupsX.
56808         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56809         (prune_cache): Keep track of timeout value of re-added entries.
56810         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56811         * nscd/nscd.h: Adjust prototypes of readd* functions.
56813 2011-02-04  Roland McGrath  <roland@redhat.com>
56815         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56816         (nis_stats): Likewise.
56817         * nis/nis_modify.c (nis_modify): Likewise.
56818         * nis/nis_remove.c (nis_remove): Likewise.
56819         * nis/nis_add.c (nis_add): Likewise.
56821         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56823         * posix/fnmatch_loop.c: Add some consts.
56825         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56827 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56829         [BZ #12460]
56830         * config.make.in (config-cflags-novzeroupper): Define.
56831         * configure.in: Substitute libc_cv_cc_novzeroupper.
56832         * elf/Makefile (AVX-CFLAGS): Define.
56833         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56834         (CFLAGS-tst-auditmod4a.c): Likewise.
56835         (CFLAGS-tst-auditmod4b.c): Likewise.
56836         (CFLAGS-tst-auditmod6b.c): Likewise.
56837         (CFLAGS-tst-auditmod6c.c): Likewise.
56838         (CFLAGS-tst-auditmod7b.c): Likewise.
56839         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56841 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56843         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56844         function to the callback.
56845         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56847 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56849         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56850         of errno.
56852 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56854         [BZ #11724]
56855         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56856         of constructors.
56857         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56858         of destructors.
56859         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56861         [BZ #11724]
56862         * elf/Makefile: Add rules to build and run new test.
56863         * elf/tst-initorder.c: New file.
56864         * elf/tst-initorder.exp: New file.
56865         * elf/tst-initordera1.c: New file.
56866         * elf/tst-initordera2.c: New file.
56867         * elf/tst-initordera3.c: New file.
56868         * elf/tst-initordera4.c: New file.
56869         * elf/tst-initorderb1.c: New file.
56870         * elf/tst-initorderb2.c: New file.
56871         * elf/tst-order-a1.c: New file.
56872         * elf/tst-order-a2.c: New file.
56873         * elf/tst-order-a3.c: New file.
56874         * elf/tst-order-a4.c: New file.
56875         * elf/tst-order-b1.c: New file.
56876         * elf/tst-order-b2.c: New file.
56877         * elf/tst-order-main.c: New file.
56878         New test case by George Gensure <werkt0@gmail.com>.
56880 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56883         decoding ACE if AI_CANONIDN.
56885 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56887         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56889 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56891         * version.h (RELEASE): Bump for 2.13 release.
56892         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56894         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56896         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56897         MADV_NOHUGEPAGE.
56898         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56900         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56901         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56903         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56905         * posix/getconf.c: Update copyright year.
56906         * catgets/gencat.c: Likewise.
56907         * csu/version.c: Likewise.
56908         * debug/catchsegv.sh: Likewise.
56909         * debug/xtrace.sh: Likewise.
56910         * elf/ldconfig.c: Likewise.
56911         * elf/ldd.bash.in: Likewise.
56912         * elf/sprof.c (print_version): Likewise.
56913         * iconv/iconv_prog.c: Likewise.
56914         * iconv/iconvconfig.c: Likewise.
56915         * locale/programs/locale.c: Likewise.
56916         * locale/programs/localedef.c: Likewise.
56917         * malloc/memusage.sh: Likewise.
56918         * malloc/mtrace.pl: Likewise.
56919         * nscd/nscd.c (print_version): Likewise.
56920         * nss/getent.c: Likewise.
56922         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56923         PF_CAIF, and PF_ALG.
56924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56926 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56928         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56929         (modules-names): Use them.
56930         (ifunc-test-modules, ifunc-pie-tests): Define.
56931         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56932         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56933         (test-extras): Likewise.
56934         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56935         $(compile-command.c).
56936         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56937         (all-built-dso): Define.
56938         (check-textrel.out, check-execstack.out): Depend on it.
56940         * configure.in: Don't override --enable-multi-arch.
56942 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56944         [BZ #6812]
56945         * nscd/hstcache.c (tryagain): Define.
56946         (cache_addhst): Return tryagain not notfound for temporary errors.
56947         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56948         failed.
56950 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56952         [BZ #10563]
56953         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56954         to make the syscall.
56955         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56957         [BZ #12378]
56958         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56959         and fall back to matching as normal character if the string ends before
56960         the matching ']' is found.  This is what POSIX requires.
56961         * posix/testfnm.c: Adjust test result.
56962         * posix/globtest.sh: Adjust test result.  Add new test.
56963         * posix/tst-fnmatch.input: Likewise.
56964         * posix/tst-fnmatch2.c: Add new test.
56966 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56968         * elf/Makefile (check-execstack): Revert last change.  Depend on
56969         check-execstack.h.
56970         (check-execstack.h): New target.
56971         (generated): Add check-execstack.h.
56972         * elf/check-execstack.c: Include "check-execstack.h".
56973         (main): Revert last change.
56974         (handle_file): Return zero if GNU_STACK is absent and
56975         DEFAULT_STACK_PERMS doesn't include PF_X.
56977 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56979         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56980         in child fails because the descriptor is already closed.
56981         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56982         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56983         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56985         [BZ #12397]
56986         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56987         syscall.
56989         [BZ #10484]
56990         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56991         temporary buffer used to handle multi lookups locally.
56992         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56994 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56996         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56997         loader is ld.so.
56999 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
57001         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57002         alignment for SSE2.
57004 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57006         [BZ #12394]
57007         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57008         characters.  When rounding increased number of integer digits recompute
57009         number of groups.
57010         * stdio-common/tst-grouping.c: New file.
57011         * stdio-common/Makefile: Add rules to build and run tst-grouping.
57013 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
57015         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57016         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
57018         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57019         void.
57020         * bits/select.h: Likewise.
57022 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
57024         * po/ja.po: Update from translation team.
57026 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
57028         [BZ #11155]
57029         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57030         implementation just like for lxstat, fxstatat, et al.
57032 2010-12-27  Jim Meyering  <meyering@redhat.com>
57034         [BZ #12348]
57035         * posix/regexec.c (build_trtable): Return failure indication upon
57036         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
57038 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
57040         [BZ #12201]
57041         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57042         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57043         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57044         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57046         [BZ #12207]
57047         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57049         [BZ #12204]
57050         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57051         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57053 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
57055         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57056         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57057         script has SORT_BY_INIT_PRIORITY.
57058         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57059         NO_CTORS_DTORS_SECTIONS is defined.
57060         * elf/soinit.c: Likewise.
57061         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57062         NO_CTORS_DTORS_SECTIONS is defined.
57063         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57064         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57065         * sysdeps/sh/init-first.c: Likewise.
57066         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57068 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
57070         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57071         always use the slow path.
57073 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
57075         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57076         similar rule which adds the sysdep directories to the header search in
57077         order to pick up the correct platform stackinfo.h.
57078         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57079         perform test if it is, otherwise return successfully without testing.
57080         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57081         DEFAULT_STACK_PERMS define in stackinfo.h.
57082         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57083         defined in stackinfo.h.
57084         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57085         DEFAULT_STACK_PERMS defined in stackinfo.h.
57086         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57087         * sysdeps/ia64/stackinfo.h: Likewise.
57088         * sysdeps/s390/stackinfo.h: Likewise.
57089         * sysdeps/sh/stackinfo.h: Likewise.
57090         * sysdeps/sparc/stackinfo.h: Likewise.
57091         * sysdeps/x86_64/stackinfo.h: Likewise.
57092         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57093         PF_X for powerpc64.  Retain PF_X for powerpc32.
57095 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
57097         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57098         accurately.
57099         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57100         GETDENTS_64BIT_ALIGNED.
57102 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
57104         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57106 2010-12-10  Andreas Schwab  <schwab@redhat.com>
57108         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57109         _GNU_SOURCE.
57111         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57112         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57113         Remove __restrict.
57114         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57115         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57117 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
57119         [BZ #11655]
57120         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57121         are initialized.
57123 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
57125         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57127 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
57129         * po/it.po: Update from translation team.
57131 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
57133         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57134         unused codes.
57136 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
57138         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57140 2010-11-24  Andreas Schwab  <schwab@redhat.com>
57142         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57143         specially.
57144         (gaih_getanswer_slice): Likewise.
57146 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
57148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57150 2010-05-31  Petr Baudis  <pasky@suse.cz>
57152         [BZ #11149]
57153         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57154         silently even in the chroot mode.
57156 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
57158         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57159         last patch a bit.  Pretty printing
57161 2010-05-31  Petr Baudis <pasky@suse.cz>
57163         [BZ #10085]
57164         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57165         initialization of skip_initgroups_dyn.
57167 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
57169         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57170         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57172 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
57174         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57176 2010-11-11  Andreas Schwab  <schwab@redhat.com>
57178         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57179         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57180         (tst-fnmatch-ENV): Set MALLOC_TRACE.
57181         ($(objpfx)tst-fnmatch-mem): New rule.
57182         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57183         * posix/tst-fnmatch.c (main): Call mtrace.
57185 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
57187         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57188         Support Intel processor model 6 and model 0x2c.
57190 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
57192         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57193           signed comparison.
57195 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57197         [BZ #12205]
57198         * string/test-strncasecmp.c (check_result): New function.
57199         (do_one_test): Use it.
57200         (check1): New function.
57201         (test_main): Use it.
57202         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57203         Support strcasecmp and strncasecmp.
57205 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57207         [BZ #12194]
57208         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57209         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57211 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57213         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57214         IFUNC support.
57215         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57216         memset-x86-64.
57217         * sysdeps/x86_64/multiarch/bzero.S: New file.
57218         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57219         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57220         * sysdeps/x86_64/multiarch/memset.S: New file.
57221         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57223         Set bit_Prefer_SSE_for_memop for Intel processors.
57224         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57225         Define.
57226         (index_Prefer_SSE_for_memop): Define.
57227         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57229 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57231         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57234 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57236         [BZ #12191]
57237         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57238         (__x86_64_raw_data_cache_size_half): Likewise.
57239         (__x86_64_raw_shared_cache_size): Likewise.
57240         (__x86_64_raw_shared_cache_size_half): Likewise.
57242         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57243         (__x86_64_raw_data_cache_size_half): Likewise.
57244         (__x86_64_raw_shared_cache_size): Likewise.
57245         (__x86_64_raw_shared_cache_size_half): Likewise.
57246         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57247         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57248         and __x86_64_raw_shared_cache_size_half.  Round
57249         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57250         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57251         to multiple of 256 bytes.
57253 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57255         [BZ #12167]
57256         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57257         of inacessible symlinks.  Verify result of symlink before returning it.
57258         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57259         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57261 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57263         * math/math.h (isinf): Fix typo in comment.
57265 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57267         * po/da.po: Update from translation team.
57269 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57271         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57272         is added to the list.
57274 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57275             Ulrich Drepper  <drepper@gmail.com>
57277         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57278         the global list here.  Move code to...
57279         (_dl_add_to_namespace_list): ...here.  New function.
57280         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57281         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57282         * elf/dl-load.c (lose): Don't remove the element from the list.
57283         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57284         (_dl_map_object): Likewise.
57286 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57288         [BZ #12159]
57289         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57290         into all bytes of SSE register.
57291         Patch by Richard Li <richardpku@gmail.com>.
57293 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57295         [BZ #12140]
57296         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57297         perturbing.
57299 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57301         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57302         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57303         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57304         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57306         submachine.
57307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57309 2010-10-22  Andreas Schwab  <schwab@redhat.com>
57311         * include/dlfcn.h (__RTLD_SECURE): Define.
57312         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
57313         mode & __RTLD_SECURE instead.
57314         (open_path): Rename preloaded parameter to secure.
57315         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57316         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57317         * elf/dl-deps.c (openaux): Likewise.
57318         * elf/rtld.c (struct map_args): Remove is_preloaded.
57319         (map_doit): Don't use it.
57320         (dl_main): Likewise.
57321         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57322         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57324 2010-09-09  Andreas Schwab  <schwab@redhat.com>
57326         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57327         (sysd-rules-targets): Remove duplicates.
57328         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57329         rtld-%.$o dependency.
57331 2010-10-18  Andreas Schwab  <schwab@redhat.com>
57333         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57334         _dl_map_object do it.
57336 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
57338         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57339         fast fma builtins, define the macros in the C99 standard.
57340         (FP_FAST_FMAF): Likewise.
57341         (FP_FAST_FMAL): Likewise.
57342         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57344         * bits/mathdef.h: Update copyright year.
57345         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57347 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57349         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57350         builtins, define the macros in the C99 standard.
57351         (FP_FAST_FMAF): Likewise.
57352         (FP_FAST_FMAL): Likewise.
57353         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57354         multiply/add.
57355         (FP_FAST_FMAF): Likewise.
57357 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57359         [BZ #3268]
57360         * math/libm-test.inc (fma_test): Some new testcases.
57361         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57362         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57363         y and infinite z.  Do multiplication by C already in long double.
57364         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57366         y and infinite z.  Do bitwise or of inexact bit into u.d.
57367         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57368         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57369         * sysdeps/i386/fpu/s_fma.S: Removed.
57370         * sysdeps/i386/fpu/s_fmal.S: Removed.
57372 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57374         [BZ #3268]
57375         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57377         computation is not scheduled after fetestexcept.  Fix value
57378         of minimum denormal long double.
57380 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57382         [BZ #3268]
57383         * math/libm-test.inc (fma_test): Add some more tests.
57384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57385         correctly.
57387 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57389         * scripts/data/localplt-s390-linux-gnu.data: New file.
57390         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57392 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57394         [BZ #3268]
57395         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57396         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57397         instead of dbl-64.
57398         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57399         inlines.
57400         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57402         if one of x and y is very large and the other is subnormal.
57403         * sysdeps/s390/fpu/s_fmaf.c: New file.
57404         * sysdeps/s390/fpu/s_fma.c: New file.
57405         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57406         * sysdeps/powerpc/fpu/s_fma.S: New file.
57407         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57408         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57409         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57411 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57413         [BZ #3268]
57414         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57415         fma tests.
57416         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57417         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57418         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57419         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57420         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57421         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57422         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57424 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57426         [BZ #12078]
57427         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57428         * posix/bug-regex31.input: Add test case.
57430 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57432         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57433         * posix/bug-regex31.input: New file.
57435         [BZ #12078]
57436         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57437         (parse_sub_exp): Fix last change, use postorder.
57439         * posix/bug-regex31.c: New file.
57440         * posix/Makefile: Add rules to build and run bug-regex31.
57442         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57444         [BZ #12078]
57445         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57447         [BZ #12108]
57448         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57449         to have entries in sys_siglist.
57451         [BZ #12093]
57452         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57453         be NULL.
57455 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57457         [BZ #3268]
57458         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57459         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57460         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57461         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57462         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57463         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57464         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57465         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57466         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57467         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57468         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57469         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57470         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57471         * math/ftestexcept.c (fetestexcept): Likewise.
57472         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57473         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57474         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57475         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57476         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57477         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57478         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57480 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57482         [BZ #12107]
57483         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57484         newline.
57486 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57488         * string/bug-strstr1.c: New file.
57489         * string/Makefile: Add rules to build and run bug-strstr1.
57491 2010-10-05  Eric Blake  <eblake@redhat.com>
57493         [BZ #12092]
57494         * string/str-two-way.h (two_way_long_needle): Always clear memory
57495         when skipping input due to the shift table.
57497 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57499         [BZ #12005]
57500         * malloc/mcheck.c: Handle large requests.
57502         [BZ #12077]
57503         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57504         for strncmp and strncasecmp.
57505         * string/stratcliff.c: Add tests for strcmp and strncmp.
57506         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57508 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57510         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57511         __set_fpscr.
57513 2010-09-30  Andreas Jaeger  <aj@suse.de>
57515         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57516         (CGROUP_SUPER_MAGIC): Define.
57517         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57518         Handle btrfs and cgroup file systems.
57519         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57520         Likewise.
57522 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57524         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57525         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57527 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57529         [BZ #12067]
57530         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57531         trying to locate the ELF header.
57533 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57535         [BZ #11611]
57536         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57537         Mask out sign-bit copies when constructing f_fsid.
57539 2010-09-24  Petr Baudis <pasky@suse.cz>
57541         * debug/stack_chk_fail_local.c: Add missing licence exception.
57542         * debug/warning-nop.c: Likewise.
57544 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57546         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57547         implementing getdents64 using getdents syscall, set d_type if
57548         __ASSUME_GETDENTS32_D_TYPE.
57550 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57552         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57553         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57555 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57557         [BZ #12037]
57558         * posix/unistd.h: Undo change of feature selection for ftruncate from
57559         2010-01-11.
57561 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57563         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57564         detection.
57566 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57568         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57569         fanotify_mark.
57570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57572 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57574         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57575         variables after CHECK_SP call.
57576         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57578 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57579             Ulrich Drepper  <drepper@redhat.com>
57581         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57582         re-relocationg ld.so.
57583         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57584         _dl_init_paths call.
57585         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57586         here anymore.
57588 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57590         * resolv/res_init.c (__res_vinit): Count the default server we added.
57592 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57593             Ulrich Drepper  <drepper@redhat.com>
57595         [BZ #11968]
57596         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57597         (____longjmp_chk): Use %ebx for saving value across system call.
57598         Add unwind info.
57600 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57602         * manual/Makefile: Don't mix pattern rules with normal rules.
57604 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57606         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57607         operation.
57608         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57609         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57610         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57611         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57613         Likewise.
57615 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57617         [BZ #11979]
57618         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57619         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57621 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57623         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57624         * sysdeps/x86_64/addmul_1.S: Likewise.
57625         * sysdeps/x86_64/lshift.S: Likewise.
57626         * sysdeps/x86_64/mul_1.S: Likewise.
57627         * sysdeps/x86_64/rshift.S: Likewise.
57628         * sysdeps/x86_64/sub_n.S: Likewise.
57629         * sysdeps/x86_64/submul_1.S: Likewise.
57631 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57633         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57634         Define __sched_param instead of SCHED_* and sched_param when
57635         <bits/sched.h> is included with __need_schedparam defined.
57636         * bits/sched.h [__need_schedparam]
57637         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57638         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57639         (__defined_schedparam): Define to 1.
57640         (__sched_param): New structure, identical to sched_param.
57641         (__need_schedparam): Undefine.
57643 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57645         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57646         (epoll_create1): Declare.
57648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57650 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57652         [BZ #7066]
57653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57654         shifting retval into place.
57656 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57658         * nis/rpcsvc/nis.h: Update copyright notice.
57659         * nis/rpcsvc/nis.x: Likewise.
57660         * nis/rpcsvc/nis_callback.h: Likewise.
57661         * nis/rpcsvc/nis_callback.x: Likewise.
57662         * nis/rpcsvc/nis_object.x: Likewise.
57663         * nis/rpcsvc/nis_tags.h: Likewise.
57664         * nis/rpcsvc/yp.h: Likewise.
57665         * nis/rpcsvc/yp.x: Likewise.
57666         * nis/rpcsvc/ypupd.h: Likewise.
57667         * nis/yp_xdr.c: Likewise.
57668         * nis/ypupdate_xdr.c: Likewise.
57670         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57671         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57672         (pmap_getport): Use __libc_rpc_getport.
57673         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57674         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57675         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57677 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57680         fanotify_mark.
57682 2010-08-27  Roland McGrath  <roland@redhat.com>
57684         * sysdeps/i386/i686/multiarch/Makefile
57685         (CFLAGS-varshift.c): New variable.
57687 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57689         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57690         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57694         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57696 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57698         * sysdeps/x86_64/strlen.S: Unroll the loop.
57699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57700         strlen-sse2 strlen-sse2-bsf.
57701         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57702         __strlen_no_bsf if bit_Slow_BSF is set.
57703         (__strlen_sse42): Removed.
57704         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57705         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57707 2010-08-25  Roland McGrath  <roland@redhat.com>
57709         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57710         * sysdeps/x86_64/multiarch/varshift.c: New file.
57711         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57712         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57713         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57714         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57716 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57718         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57719         strlen-sse2 strlen-sse2-bsf.
57720         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57721         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57722         (__strlen_sse2): Removed.
57723         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57724         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57726         bit_Slow_BSF for Atom.
57727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57728         (index_Slow_BSF): Define.
57729         (HAS_SLOW_BSF): Define.
57731 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57733         [BZ #10851]
57734         * resolv/res_init.c (__res_vinit): When no server address at all
57735         is given default to loopback.
57737 2010-08-24  Roland McGrath  <roland@redhat.com>
57739         * configure.in: Remove config-name.h generation.
57740         * configure: Regenerated.
57741         * config-name.in: File removed.
57742         * scripts/config-uname.sh: New file.
57743         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57744         ($(objdir)config-name.h): New target.
57746         * sunrpc/rpc_parse.h: Avoid nested comment.
57748 2010-08-24  Richard Henderson  <rth@redhat.com>
57749             Ulrich Drepper  <drepper@redhat.com>
57750             H.J. Lu  <hongjiu.lu@intel.com>
57752         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57754         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57755         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57756         _mm_alignr_epi8 with _mm_loadu_si128.
57757         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57758         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57759         (__m128i_shift_right): Removed.
57760         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57761         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57762         * sysdeps/x86_64/multiarch/varshift.h: New file.
57763         * sysdeps/x86_64/multiarch/varshift.S: New file.
57765 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57767         * configure.in: Move assembler checks to before sysdep dir checking.
57769 2010-08-20  Petr Baudis  <pasky@suse.cz>
57771         * LICENSES: Sync the sunrpc license.
57773 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57775         * sunrpc/auth_des.c: Update copyright notice once again.
57776         * sunrpc/auth_none.c: Likewise.
57777         * sunrpc/auth_unix.c: Likewise.
57778         * sunrpc/authdes_prot.c: Likewise.
57779         * sunrpc/authuxprot.c: Likewise.
57780         * sunrpc/bindrsvprt.c: Likewise.
57781         * sunrpc/clnt_gen.c: Likewise.
57782         * sunrpc/clnt_perr.c: Likewise.
57783         * sunrpc/clnt_raw.c: Likewise.
57784         * sunrpc/clnt_simp.c: Likewise.
57785         * sunrpc/clnt_tcp.c: Likewise.
57786         * sunrpc/clnt_udp.c: Likewise.
57787         * sunrpc/clnt_unix.c: Likewise.
57788         * sunrpc/des_crypt.c: Likewise.
57789         * sunrpc/des_soft.c: Likewise.
57790         * sunrpc/get_myaddr.c: Likewise.
57791         * sunrpc/getrpcport.c: Likewise.
57792         * sunrpc/key_call.c: Likewise.
57793         * sunrpc/key_prot.c: Likewise.
57794         * sunrpc/openchild.c: Likewise.
57795         * sunrpc/pm_getmaps.c: Likewise.
57796         * sunrpc/pm_getport.c: Likewise.
57797         * sunrpc/pmap_clnt.c: Likewise.
57798         * sunrpc/pmap_prot.c: Likewise.
57799         * sunrpc/pmap_prot2.c: Likewise.
57800         * sunrpc/pmap_rmt.c: Likewise.
57801         * sunrpc/rpc/auth.h: Likewise.
57802         * sunrpc/rpc/auth_unix.h: Likewise.
57803         * sunrpc/rpc/clnt.h: Likewise.
57804         * sunrpc/rpc/des_crypt.h: Likewise.
57805         * sunrpc/rpc/key_prot.h: Likewise.
57806         * sunrpc/rpc/netdb.h: Likewise.
57807         * sunrpc/rpc/pmap_clnt.h: Likewise.
57808         * sunrpc/rpc/pmap_prot.h: Likewise.
57809         * sunrpc/rpc/pmap_rmt.h: Likewise.
57810         * sunrpc/rpc/rpc.h: Likewise.
57811         * sunrpc/rpc/rpc_des.h: Likewise.
57812         * sunrpc/rpc/rpc_msg.h: Likewise.
57813         * sunrpc/rpc/svc.h: Likewise.
57814         * sunrpc/rpc/svc_auth.h: Likewise.
57815         * sunrpc/rpc/types.h: Likewise.
57816         * sunrpc/rpc/xdr.h: Likewise.
57817         * sunrpc/rpc_clntout.c: Likewise.
57818         * sunrpc/rpc_cmsg.c: Likewise.
57819         * sunrpc/rpc_common.c: Likewise.
57820         * sunrpc/rpc_cout.c: Likewise.
57821         * sunrpc/rpc_dtable.c: Likewise.
57822         * sunrpc/rpc_hout.c: Likewise.
57823         * sunrpc/rpc_main.c: Likewise.
57824         * sunrpc/rpc_parse.c: Likewise.
57825         * sunrpc/rpc_parse.h: Likewise.
57826         * sunrpc/rpc_prot.c: Likewise.
57827         * sunrpc/rpc_sample.c: Likewise.
57828         * sunrpc/rpc_scan.c: Likewise.
57829         * sunrpc/rpc_scan.h: Likewise.
57830         * sunrpc/rpc_svcout.c: Likewise.
57831         * sunrpc/rpc_tblout.c: Likewise.
57832         * sunrpc/rpc_util.c: Likewise.
57833         * sunrpc/rpc_util.h: Likewise.
57834         * sunrpc/rpcinfo.c: Likewise.
57835         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57836         * sunrpc/rpcsvc/key_prot.x: Likewise.
57837         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57838         * sunrpc/rpcsvc/mount.x: Likewise.
57839         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57840         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57841         * sunrpc/rpcsvc/rex.x: Likewise.
57842         * sunrpc/rpcsvc/rstat.x: Likewise.
57843         * sunrpc/rpcsvc/rusers.x: Likewise.
57844         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57845         * sunrpc/rpcsvc/spray.x: Likewise.
57846         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57847         * sunrpc/rtime.c: Likewise.
57848         * sunrpc/svc.c: Likewise.
57849         * sunrpc/svc_auth.c: Likewise.
57850         * sunrpc/svc_authux.c: Likewise.
57851         * sunrpc/svc_raw.c: Likewise.
57852         * sunrpc/svc_run.c: Likewise.
57853         * sunrpc/svc_simple.c: Likewise.
57854         * sunrpc/svc_tcp.c: Likewise.
57855         * sunrpc/svc_udp.c: Likewise.
57856         * sunrpc/svc_unix.c: Likewise.
57857         * sunrpc/svcauth_des.c: Likewise.
57858         * sunrpc/xcrypt.c: Likewise.
57859         * sunrpc/xdr.c: Likewise.
57860         * sunrpc/xdr_array.c: Likewise.
57861         * sunrpc/xdr_float.c: Likewise.
57862         * sunrpc/xdr_mem.c: Likewise.
57863         * sunrpc/xdr_rec.c: Likewise.
57864         * sunrpc/xdr_ref.c: Likewise.
57865         * sunrpc/xdr_sizeof.c: Likewise.
57866         * sunrpc/xdr_stdio.c: Likewise.
57868         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57869         handling.
57871 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57873         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57875 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57877         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57878         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57879         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57880         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57881         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57882         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57883         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57884         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57886         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57887         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57888         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57889         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57890         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57892 2010-07-26  Anton Blanchard  <anton@samba.org>
57894         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57895         * malloc/arena.c (heap_trim): Likewise.
57897 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57899         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57900         here.  Not...
57901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57902         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57904 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57906         * sysdeps/i386/elf/Makefile: New file.
57908 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57910         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57911         from fanotify_init.
57912         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57915 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57917         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57918         of strncasecmp_l.
57919         * sysdeps/multiarch/strcmp.S: Likewise.
57921 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57923         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57924         strncase_l-nonascii.
57925         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57926         Add strncase_l-ssse3.
57927         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57928         * sysdeps/x86_64/strcmp.S: Likewise.
57929         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57930         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57931         * sysdeps/x86_64/strncase.S: New file.
57932         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57933         * sysdeps/x86_64/strncase_l.S: New file.
57934         * string/Makefile (strop-tests): Add strncasecmp.
57935         * string/test-strncasecmp.c: New file.
57937         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57938         warning.
57940         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57941         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57943 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57945         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57947 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57949         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57951         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57953 2010-05-01  Alan Modra  <amodra@gmail.com>
57955         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57956         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57957         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57958         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57959         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57960         tidying.  Don't tail-call __sigjmp_save for static lib.
57961         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57962         save location.
57963         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57964         (CALL_MCOUNT): Add eh info, and nop after bl.
57965         (TAIL_CALL_SYSCALL_ERROR): New macro.
57966         (PSEUDO_RET): Use it.
57967         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57968         Correct save location of integer regs and cr.
57969         (_dl_profile_resolve): Correct cr save location.  Delete nops
57970         after bl when SHARED.  Reduce cfi size a little by better
57971         placement of cfi directives.
57972         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57973         make a stack frame.  Instead use parm save area as a temp.
57974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57975         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57977         Don't make a stack frame for parent, use parm save area.
57978         Increase child stack frame to 112 bytes.  Don't save unused reg,
57979         and adjust reg usage.  Set up cfi on error recovery and
57980         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57982         (__makecontext): Add dummy nop after jump to exit.
57983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57984         Use correct parm save area and cr save, reduce stack frame.
57985         Correct cfi for possible PSEUDO_RET frame setup.
57986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57987         Branch to local label emitted by PSEUDO_RET rather than
57988         __syscall_error.
57990 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57992         [BZ #11904]
57993         * locale/programs/locale.c (print_assignment): New function.
57994         (show_locale_vars): Use it.
57996 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57998         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57999         field.
58000         (struct statfs64): Likewise.
58001         (_STATFS_F_FLAGS): Define.
58002         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58004         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58005         (ST_VALID): Define locally.
58006         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58007         __statvfs_getflags, use the provided value.
58008         * sysdeps/unix/sysv/linux/kernel-features.h: Define
58009         __ASSUME_STATFS_F_FLAGS.
58011         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58013         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58014         Add sys/fanotify.h.
58015         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58016         fanotify_mask for GLIBC_2.13.
58017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58018         fanotify_init and fanotify_mark.
58019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58020         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58022         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58023         Add prlimit.
58024         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58025         prlimit64 for GLIBC_2.13.
58026         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58027         prlimit64.
58028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58029         syscall.
58030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58031         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58032         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58033         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
58035         add prlimit alias.
58036         * sysdeps/unix/sysv/linux/prlimit.c: New file.
58038         [BZ #11903]
58039         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58040         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58042         * nss/Makefile: Add rules to build and run tst-nss-test1.
58043         * shlib-versions: Add entry for libnss_test1.
58044         * nss/nss_test1.c: New file.
58045         * nss/tst-nss-test1.c: New file.
58047         * nss/nsswitch.c (__nss_database_custom): Define new variable.
58048         (__nss_configure_lookup): Set appropriate entry in
58049         __nss_configure_lookup to true.
58050         * nss/nsswitch.h: Define enum with indeces of databases in
58051         databases and __nss_database_custom arrays.  Declare
58052         __nss_database_custom.
58053         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58054         to avoid using nscd when custom rules are installed.
58055         * nss/getXXbyYY_r.c: Likewise.
58056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58058         * nss/nss_files/files-parse.c: Whitespace fixes.
58060 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
58062         [BZ #11883]
58063         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58064         * posix/fnmatch_loop.c: Likewise.
58066 2010-07-17  Andi Kleen  <ak@linux.intel.com>
58068         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58069         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58070         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58071         * Versions.def [GLIBC_2.13]: Add.
58073 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
58075         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58076         Also fail if tpwd after pwuid call is NULL.
58078 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58080         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58081         when converting to ms.
58083 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58085         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58086         EOPNOTSUPP errors with ENOTTY.
58087         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58088         EOPNOTSUPP errors with ENOTTY.
58090 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
58092         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58093         Add strcasecmp_l-ssse3.
58094         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58095         strcasecmp.
58096         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58097         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58098         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58100 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
58102         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58104         * string/Makefile (strop-tests): Add strcasecmp.
58105         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58106         strcasecmp_l-nonascii.
58107         (gen-as-const-headers): Add locale-defines.sym.
58108         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58109         * sysdeps/x86_64/strcasecmp.S: New file.
58110         * sysdeps/x86_64/strcasecmp_l.S: New file.
58111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58112         * sysdeps/x86_64/locale-defines.sym: New file.
58113         * string/test-strcasecmp.c: New file.
58115         * string/test-strcasestr.c: Test both ends of the range of characters.
58116         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58118 2010-07-29  Roland McGrath  <roland@redhat.com>
58120         [BZ #11856]
58121         * manual/locale.texi (Yes-or-No Questions): Fix example code.
58123 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
58125         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58126         for ld.so.
58128 2010-07-27  Andreas Schwab  <schwab@redhat.com>
58130         * manual/memory.texi (Malloc Tunable Parameters): Document
58131         M_PERTURB.
58133 2010-07-26  Roland McGrath  <roland@redhat.com>
58135         [BZ #11840]
58136         * configure.in (-fgnu89-inline check): Set and substitute
58137         gnu89_inline, not libc_cv_gnu89_inline.
58138         * configure: Regenerated.
58139         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58141 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
58143         * string/test-strnlen.c: New file.
58144         * string/Makefile (strop-tests): Add strnlen.
58145         * string/tester.c (test_strnlen): Add a few more test cases.
58146         * string/tst-strlen.c: Better error reporting.
58148         * sysdeps/x86_64/strnlen.S: New file.
58150 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
58152         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58153         lower-latency instructions.
58155 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
58157         * string/test-strcasestr.c: New file.
58158         * string/test-strstr.c: New file.
58159         * string/Makefile (strop-tests): Add strstr and strcasestr.
58160         * string/str-two-way.h: Don't undefine MAX.
58161         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58163 2010-07-21  Andreas Schwab  <schwab@redhat.com>
58165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58166         strcasestr-nonascii.
58167         (CFLAGS-strcasestr-nonascii.c): Define.
58168         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58170         Remove unused attribute.
58172 2010-07-20  Roland McGrath  <roland@redhat.com>
58174         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58175         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
58176         ld.so.cache was broken.  With it, there is no way to disable dsocaps
58177         like LD_HWCAP_MASK can disable hwcaps.
58179 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58181         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58183 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
58185         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58186         call in strcasestr.
58187         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58188         __strcasestr_sse42_nonascii.
58189         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58190         strcasestr-nonascii.c.
58191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58193 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
58195         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58197         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58198         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58200 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58203         fcntl.
58205 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58207         [BZ #11577]
58208         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58209         dl_signal_cerror.
58211 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58213         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58214         _PC_PIPE_BUF using F_GETPIPE_SZ.
58216 2010-07-05  Roland McGrath  <roland@redhat.com>
58218         * manual/arith.texi (Rounding Functions): Fix rint description
58219         implicit in round description.
58221 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58223         * elf/Makefile: Fix linking for a few tests to make recent linker
58224         happy.
58226 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58228         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58229         $(common-objpfx)libc_nonshared.a.
58231 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58233         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58234         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58235         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58236         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58237         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58238         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58239         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58240         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58255         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58256         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58257         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58258         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58259         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58260         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58261         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58262         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58263         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58264         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58265         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58266         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58282 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58284         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58285         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58286         * string/memmove.c (memmove): Renamed to ...
58287         (MEMMOVE): ...this.  Default to memmove.
58288         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58289         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58290         (END_CHK): Define.
58291         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58292         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58293         mempcpy-ssse3-back memmove-ssse3-back.
58294         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58295         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58296         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58297         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58298         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58299         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58300         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58301         * sysdeps/x86_64/multiarch/memmove.c: New file.
58302         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58303         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58304         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58305         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58306         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58308         Define.
58309         (index_Fast_Copy_Backward): Define.
58310         (HAS_ARCH_FEATURE): Define.
58311         (HAS_FAST_REP_STRING): Define.
58312         (HAS_FAST_COPY_BACKWARD): Define.
58314 2010-06-21  Andreas Schwab  <schwab@redhat.com>
58316         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58317         Restore proper fallback handling.
58319 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
58321         [BZ #11701]
58322         * posix/group_member.c (__group_member): Correct checking loop.
58324         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58325         OOM in getpwuid_r correctly.  Return error number when the caller
58326         should return, otherwise -1.
58327         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58328         call returning > 0 value.
58329         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58331 2010-06-07  Andreas Schwab  <schwab@redhat.com>
58333         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58334         libc_nonshared.a from targets in modules-names.
58336 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
58338         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58339         requires it.
58341 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58343         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58344         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58348 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58350         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58352 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58354         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58355         and F_GETPIPE_SZ.
58356         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58357         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58358         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58360         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58363 2010-06-14  Roland McGrath  <roland@redhat.com>
58365         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58367 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58369         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58370         __REDIRECT followed by __THROW.
58371         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58372         * posix/getopt.h (getopt): Likewise.
58374 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58376         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58377         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58378         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58379         in AT_FLAGS.
58380         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58381         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58383 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58385         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58387 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58389         [BZ #11640]
58390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58391         Properly check family and model.
58393 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58395         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58397 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58399         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58401 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58403         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58404         symbol reference.
58406 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58408         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58409         symbol reference.
58411 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58414         and internal_recvmmsg.
58415         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58416         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58417         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58418         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58420         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58421         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58422         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58424 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58426         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58428 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58430         POWER7 optimizations.
58431         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58432         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58434 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58436         * version.h: Update for 2.13 development version.
58438 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58440         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58441         exceptions.  Return 0.
58443 2010-05-07  Roland McGrath  <roland@redhat.com>
58445         * elf/ldconfig.c (main): Add a const.
58447 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58449         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58450         (args_options): Add no-idn option.
58451         (ahosts_keys_int): Add idn_flags to ai_flags.
58452         (parse_option): Handle 'i' option to clear idn_flags.
58454         * malloc/malloc.c (_int_free): Possible race in the most recently
58455         added check.  Only act on the data if no current modification
58456         happened.
58458 See ChangeLog.17 for earlier changes.