1 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3 * math/auto-libm-test-in: Add more tests of erf and erfc.
4 * math/auto-libm-test-out: Regenerated.
5 * sysdeps/i386/fpu/libm-test-ulps: Update.
6 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
10 * config.h.in (HAVE_AARCH64_BE): Add.
12 2015-04-30 Joseph Myers <joseph@codesourcery.com>
14 * math/auto-libm-test-in: Add more tests of csqrt.
15 * math/auto-libm-test-out: Regenerated.
16 * sysdeps/i386/fpu/libm-test-ulps: Update.
17 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19 * math/auto-libm-test-in: Add more tests of cosh and sinh.
20 * math/auto-libm-test-out: Regenerated.
21 * sysdeps/i386/fpu/libm-test-ulps: Update.
22 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26 2015-04-29 Roland McGrath <roland@hack.frob.com>
28 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
29 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32 (euidaccess, eaccess): Define as weak aliases.
34 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
36 but __suseconds_t is often 'long int' so some sources assume that
37 type is being used (e.g. they use %ld to print tv_usec).
39 2015-04-29 Florian Weimer <fweimer@redhat.com>
42 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
44 * nss/tst-nss-getpwent.c: New file.
45 * nss/Makefile (tests): Add new test.
47 2015-04-28 Joseph Myers <joseph@codesourcery.com>
50 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
51 exponents less than 48 as cases where high part of mantissa needs
52 examining to determine whether argument is integral.
53 * math/libm-test.inc (round_test_data): Add more tests.
55 2015-04-28 Mark Wielaard <mjw@redhat.com>
57 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
59 2015-04-27 David S. Miller <davem@davemloft.net>
61 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
63 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
65 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
68 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
70 2015-04-27 Florian Weimer <fweimer@redhat.com>
73 * time/tzset.c (parse_tzname): Return error on memory allocation
75 * test-skeleton.c (struct temp_name_list): Change type of name
77 (add_temp_file): Create a copy of the file name.
78 (delete_temp_files): Deallocate memory.
79 (create_temp_file): Add comment.
81 2015-04-24 Florian Weimer <fweimer@redhat.com>
83 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
84 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
86 2015-04-24 Roland McGrath <roland@hack.frob.com>
88 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
89 * sysdeps/arm/configure: Regenerated.
91 2015-04-24 Florian Weimer <fweimer@redhat.com>
94 * time/tzfile.c (__tzfile_read): Check for large values of
95 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
96 * time/tzset.c (__tzstring_len): New function, based on the old
98 (__tzstring): Call __tzstring_len.
99 (parse_tzname): New helper function extracted from
100 __tzset_parse_tz. Call __tzstring_len, without making a copy of
102 (parse_offset): New helper function extracted from
103 __tzset_parse_tz. Replace switch with fallthrough with
104 initialization before sscanf.
105 (parse_rule): Likewise.
106 (__tzset_parse_tz): Rewrite using the new helper functions. Use
107 new-style function definition.
108 * timezone/Makefile (tests): Add tst-tzset.
109 (tst-tzset.out): Dependencies on time zone files.
110 (tst-tzset-ENV): Set TZDIR.
111 (testdata/XT%): Copy crafted time zone files.
112 * timezone/README: Mention crafted time zone files.
113 * timezone/testdata/XT1, timezone/testdata/XT2,
114 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
116 * timezone/tst-tzset.c: New test.
118 2015-04-24 Florian Weimer <fweimer@redhat.com>
120 * Makeconfig (+gccwarn): Remove -Winline.
122 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
124 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
126 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
128 * NEWS: Mention sysconf() cache information support for s390.
129 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
131 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
133 * math/k_casinh.c (__kernel_casinh): Use __copysign.
134 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
135 (__nearbyint): Likewise.
136 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
137 (copysignl): Likewise.
139 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
142 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
143 based on padding. (CVE-2015-1781)
145 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
147 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
149 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
150 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
151 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
152 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
153 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
154 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
156 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
160 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
161 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
162 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
163 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
164 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
165 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
167 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
168 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
169 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
170 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
171 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
173 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
175 * stdlib/setenv.c (__add_to_environ):
176 Dump core quickly if setenv (..., NULL, ...) is called.
177 This time, do it the right way, and pacify GCC with a pragma.
179 2015-04-17 Roland McGrath <roland@hack.frob.com>
181 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
182 IMAP->l_prev cannot be null, and #if out the code for the contrary
183 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
184 believe that NS (&_dl_ns[NSID]) could point outside the array.
186 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
187 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
188 before using NSID as an index.
190 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
193 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
194 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
195 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
197 2015-04-17 Roland McGrath <roland@hack.frob.com>
199 Add preliminary port to Google Native Client on ARM.
200 * abi-tags (.*-.*-nacl.*): New entry.
201 * sysdeps/arm/nacl: New directory.
202 * sysdeps/nacl: New directory.
204 2015-04-16 David S. Miller <davem@davemloft.net>
206 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
209 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
211 * sysdeps/tile/configure.ac: New file.
212 * sysdeps/tile/configure: Regenerated.
214 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
216 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
217 conditionals for weak_alias and libc_hidden_weak.
218 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
219 libc_hidden_weak and weak_alias.
220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
221 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
222 and weak_alias for static one.
224 2015-04-15 David S. Miller <davem@davemloft.net>
226 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
228 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
231 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
232 Use signed comparision instead of substraction to avoid
234 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
235 Take the sign of ret.
236 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
237 Do not expect precise return values. Only the sign matters.
238 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
239 * wcsmbs/test-wcsncmp.c: New File.
240 * string/test-strncmp.c: Add wcsncmp support.
242 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
245 * math/w_log1p.c: New file.
246 * math/w_log1pf.c: Likewise.
247 * math/w_log1pl.c: Likewise.
248 * math/Makefile (libm-calls): Add w_log1p.
249 * math/s_log1pl.c (log1pl): Remove weak_alias.
250 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
251 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
252 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
253 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
254 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
255 [NO_LONG_DOUBLE] (log1pl): Likewise.
256 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
258 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
259 (log1p): Remove long_double_symbol.
260 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
261 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
262 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
263 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
264 remove weak_alias for corresponding log1p function.
265 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
266 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
267 * sysdeps/ia64/fpu/w_log1p.c: New file.
268 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
269 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
270 * math/libm-test.inc (log1p_test_data): Add errno expectations.
272 2015-04-10 Joseph Myers <joseph@codesourcery.com>
275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
276 decimal exponent by 1.
277 * stdlib/tst-strtod-round-data: Add more tests.
278 * stdlib/tst-strtod-round.c (tests): Regenerated.
280 2015-04-09 Joseph Myers <joseph@codesourcery.com>
282 * math/auto-libm-test-in: Add more tests of clog and clog10.
283 * math/auto-libm-test-out: Regenerated.
284 * sysdeps/i386/fpu/libm-test-ulps: Update.
285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287 2015-04-09 Roland McGrath <roland@hack.frob.com>
289 * Makeconfig (module-cppflags): Exclude all .v.i files.
290 (skip-module-cppflags): Variable removed.
292 * configure.ac (libc_config_ok): Initialize before reading
293 preconfigure scripts, not after.
294 * configure: Regenerated.
296 * test-skeleton.c (TIMEOUT): Move #define to top level.
297 (main): Grok environment variable TEST_DIRECT. If set, print
298 test expectation details into that file and then behave as if
301 2015-04-09 Florian Weimer <fweimer@redhat.com>
303 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
306 2015-04-08 David S. Miller <davem@davemloft.net>
308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
310 2015-04-08 Joseph Myers <joseph@codesourcery.com>
312 * math/auto-libm-test-in: Add more tests of atanh.
313 * math/auto-libm-test-out: Regenerated.
314 * sysdeps/i386/fpu/libm-test-ulps: Update.
315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
317 * math/auto-libm-test-in: Add more tests of atan.
318 * math/auto-libm-test-out: Regenerated.
319 * sysdeps/i386/fpu/libm-test-ulps: Update.
320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322 2015-04-08 Florian Weimer <fweimer@redhat.com>
324 * elf/pldd.c (main): Rewrite to use struct
325 scratch_buffer instead of extend_alloca.
326 * elf/pldd-xx.c (find_maps): Likewise.
327 * grp/initgroups.c: Include <scratch_buffer.h> instead of
329 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
330 scratch_buffer instead of extend_alloca.
331 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
332 grp/compat-initgroups.c.
333 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
334 Rewrite to use struct scratch_buffer instead of extend_alloca.
335 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
336 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
338 2015-04-08 Joseph Myers <joseph@codesourcery.com>
340 * math/auto-libm-test-in: Add more tests of cbrt.
341 * math/auto-libm-test-out: Regenerated.
342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
344 * math/auto-libm-test-in: Add more tests of cabs.
345 * math/auto-libm-test-out: Regenerated.
346 * sysdeps/i386/fpu/libm-test-ulps: Update.
347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
351 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
352 (__ieee754_atan2): Set FE_TONEAREST mode for internal
354 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
356 * math/auto-libm-test-out: Regenerated.
357 * sysdeps/i386/fpu/libm-test-ulps: Update.
358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
361 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
362 (atan): Set FE_TONEAREST mode for internal computations.
363 * math/auto-libm-test-in: Add more tests of atan.
364 * math/auto-libm-test-out: Regenerated.
366 2015-04-07 James Cowgill <james410@cowgill.org.uk>
369 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
371 2015-04-07 Florian Weimer <fweimer@redhat.com>
373 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
375 2015-04-07 Florian Weimer <fweimer@redhat.com>
377 * include/scratch_buffer.h: New file.
378 * malloc/scratch_buffer_grow.c: Likewise.
379 * malloc/scratch_buffer_grow_preserve.c: Likewise.
380 * malloc/scratch_buffer_set_array_size.c: Likewise.
381 * malloc/tst-scratch_buffer.c: Likewise.
382 * malloc/Makefile (routines): Add scratch_buffer_grow.
383 (tests): Add test case.
384 * malloc/Versions (GLIBC_PRIVATE): Export
385 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
386 __libc_scratch_buffer_set_array_size.
388 2015-04-06 Richard Henderson <rth@redhat.com>
390 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
391 * sysdeps/alpha/fpu/libm-test-ulps: Update.
393 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
394 unsigned int before printing.
396 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
399 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
400 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
402 2015-04-02 Florian Weimer <fweimer@redhat.com>
404 * include/libc-internal.h (libc_max_align_t): Define.
406 2015-04-02 Andreas Schwab <schwab@suse.de>
409 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
411 2015-04-02 Mel Gorman <mgorman@suse.de>
414 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
415 as well as the main arena.
417 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
420 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
421 sharing L2 cache to 2 for Silvermont/Knights Landing.
423 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
426 * config.make.in (have-protected-data): New.
427 * configure.ac: Check linker support for protected data symbol.
428 * configure: Regenerated.
429 * elf/Makefile (modules-names): Add tst-protected1moda and
430 tst-protected1modb if $(have-protected-data) is yes.
431 (tests): Add tst-protected1a and tst-protected1b if
432 $(have-protected-data) is yes.
433 ($(objpfx)tst-protected1a): New.
434 ($(objpfx)tst-protected1b): Likewise.
435 (tst-protected1modb.so-no-z-defs): Likewise.
436 * elf/tst-protected1a.c: New file.
437 * elf/tst-protected1b.c: Likewise.
438 * elf/tst-protected1mod.h: Likewise.
439 * elf/tst-protected1moda.c: Likewise.
440 * elf/tst-protected1modb.c: Likewise.
442 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
445 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
446 indicates it is called from do_lookup_x on relocation against
447 protected data, skip the data definion in the executable from
449 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
450 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
451 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
452 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
453 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
455 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
456 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
457 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
458 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
459 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
460 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
462 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
464 * sysdeps/nptl/pthread.h: Remove duplicate definition of
465 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
467 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
469 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
471 * sysdeps/x86_64/nptl/tls.h: Ditto.
473 2015-03-27 Roland McGrath <roland@hack.frob.com>
475 * dlfcn/tststatic.c (main): Converted to ...
477 (TEST_FUNCTION): New macro.
478 Include test-skeleton.c.
480 2015-03-26 Alan Modra <amodra@gmail.com>
482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
483 Don't segfault if ifunc resolver returns a NULL. Do set plt to
484 zero for undefined weak.
485 (elf_machine_plt_conflict): Similarly.
487 2015-03-25 Joseph Myers <joseph@codesourcery.com>
489 * math/auto-libm-test-in: Add more tests of acosh, asinh and
491 * math/auto-libm-test-out: Regenerated.
492 * sysdeps/i386/fpu/libm-test-ulps: Update.
493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
495 * math/auto-libm-test-in: Add another test of asin.
496 * math/auto-libm-test-out: Regenerated.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
500 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
502 (LLL_EBX_REG): Likewise.
503 (LLL_ENTER_KERNEL): Likewise.
505 * math/auto-libm-test-in: Add more tests of asin.
506 * math/auto-libm-test-out: Regenerated.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
511 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
512 libc_do_syscall_args): New structure.
513 (INTERNAL_SYSCALL_MAIN_0): New macro.
514 (INTERNAL_SYSCALL_MAIN_1): Likewise.
515 (INTERNAL_SYSCALL_MAIN_2): Likewise.
516 (INTERNAL_SYSCALL_MAIN_3): Likewise.
517 (INTERNAL_SYSCALL_MAIN_4): Likewise.
518 (INTERNAL_SYSCALL_MAIN_5): Likewise.
519 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
520 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
521 Replace conditional definitions by conditional definitions of ....
522 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
523 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
524 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
525 (libpthread-sysdep_routines): Add libc-do-syscall.
526 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
528 to __NR_futex not 240.
530 2015-03-25 Alan Modra <amodra@gmail.com>
532 * NEWS: Advertise TLS optimization.
533 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
534 (DT_PPC_NUM): Increment.
535 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
536 (CHECK_STATIC_TLS): Use here.
537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
540 * sysdeps/powerpc/dl-tls.c: New file.
541 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
542 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
543 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
544 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
549 2015-03-25 Alan Modra <amodra@gmail.com>
551 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
552 for overlapping .opd entries" to "support...".
553 * sysdeps/powerpc/powerpc64/configure: Regenerate
555 2015-03-25 Joseph Myers <joseph@codesourcery.com>
557 * math/auto-libm-test-in: Add more tests of acos.
558 * math/auto-libm-test-out: Regenerated.
559 * sysdeps/i386/fpu/libm-test-ulps: Update.
560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
562 * math/auto-libm-test-in: Add more tests of expm1.
563 * math/auto-libm-test-out: Regenerated.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
567 2015-03-24 Joseph Myers <joseph@codesourcery.com>
569 * math/auto-libm-test-in: Add more tests of cosh and sinh.
570 * math/auto-libm-test-out: Regenerated.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
577 * math/auto-libm-test-in: Add more tests of log2.
578 * math/auto-libm-test-out: Regenerated.
579 * sysdeps/i386/fpu/libm-test-ulps: Update.
580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
582 2015-03-23 Roland McGrath <roland@hack.frob.com>
584 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
585 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
586 _IO_IS_APPENDING bit in READ_WRITE instead.
588 2015-03-23 Florian Weimer <fweimer@redhat.com>
590 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
591 (__determine_cpumask_size): Replace extend_alloca with a
592 variable-length array. Do not treat res == 0 as an error.
594 2015-03-23 Florian Weimer <fweimer@redhat.com>
597 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
598 and integer overflow.
599 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
600 (main): Add integer overflow tests.
601 * manual/pattern.texi (Calling Wordexp): Document additional use
604 2015-03-23 Alan Modra <amodra@gmail.com>
606 * config.h.in: Remove HAVE_ASM_PPC_REL16.
607 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
608 and false branch of conditional.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
612 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
614 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
616 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
617 unused declaration of _hurd_intr_rpc_msg_in_trap.
618 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
619 defined instead of whether it is non-zero.
620 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
621 input constraint instead of both input and output constraint. Use ecx
622 clobber instead of %ecx.
623 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
624 mutex_unlock): Use a statement expression instead of an expression list.
625 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
626 type to vm_size_t instead of vm_address_t.
627 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
628 defined instead of whether it is non-zero.
629 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
630 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
631 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
632 comparisons with mapaddr.
633 * nscd/nscd-client.h: Include <time.h>.
634 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
635 9th parameter to __vm_region instead of int.
636 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
637 * scripts/check-local-headers.sh (exclude): Add device/,
638 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
641 2015-03-19 Roland McGrath <roland@hack.frob.com>
643 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
644 to account for alignment padding.
645 * sysdeps/arm/memmove.S: Likewise.
647 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
649 * sysdeps/unix/sysv/linux/generic/README: New file.
651 2015-03-18 Joseph Myers <joseph@codesourcery.com>
654 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
655 (futex_abstimed_wait)
656 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
657 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
658 of lll_futex_timed_wait.
660 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
663 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
665 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
672 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
673 entries with Static TLS too. Skip entries past the end of the
674 allocated DTV, from Alan Modra.
675 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
676 Static TLS DTV entry set up from...
677 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
678 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
679 * nptl/allocatestack.c (init_one_static_tls): ... and here...
680 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
682 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
683 that the slot we find is associated with the given map before
684 using its generation count.
685 * nptl_db/db_info.c: Include ldsodefs.h.
686 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
687 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
688 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
689 (link_map::l_tls_offset): New struct field.
690 (dtv_t::counter): Likewise.
691 (rtld_global): New struct.
692 (_rtld_global): New rtld variable.
693 (dl_tls_dtv_slotinfo_list): New rtld global field.
694 (dtv_slotinfo_list): New struct.
695 (dtv_slotinfo): Likewise.
696 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
697 (td_lookup): Rename to...
698 (td_mod_lookup): ... this. Use new mod parameter instead of
700 * nptl_db/td_thr_tlsbase.c: Include link.h.
701 (dtv_slotinfo_list, dtv_slotinfo): New functions.
702 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
703 addresses even if the DTV is out of date or missing them.
704 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
705 index zero-length arrays.
706 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
707 (td_lookup): Make it a macro implemented in terms of...
708 (td_mod_lookup): ... this declaration.
709 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
710 (DB_MAIN_VARIABLE): Likewise.
712 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
715 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
717 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
719 * stdlib/setenv.c (__add_to_environ): Revert previous change.
721 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
724 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
725 (atomic_add, atomic_increment_and_test)
726 (atomic_decrement_and_test): Fix 64-bit arithmetic.
728 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
730 * stdlib/setenv.c (__add_to_environ):
731 Dump core quickly if setenv (..., NULL, ...) is called.
733 2015-03-13 Roland McGrath <roland@hack.frob.com>
735 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
736 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
737 all the necessary asm magic in one place.
738 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
741 2015-03-13 Carlos O'Donell <carlos@redhat.com>
744 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
745 traced file mtime. Use consistent log message.
746 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
747 (register_traced_file): Call install_watches. Always set mtime.
748 (invalidate_cache): Iterate over all trace files. Call install_watches.
749 (inotify_check_files): Don't inline. Handle watching parent
750 directories and configuration file movement in and out.
751 (handle_inotify_events): New function.
752 (main_loop_poll): Call handle_inotify_events.
753 (main_loop_epoll): Likewise.
754 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
755 (struct traced_file): Use array of inotify fds. Add parent directory,
757 (struct database_dyn): Remove unused file_mtime.
758 (init_traced_file): New inline function.
759 (define_traced_file): New macro.
760 * nss/nss_db/db-init.c: Use define_traced_file.
761 (_nss_db_init): Use init_traced_file.
762 * nss/nss_files/files-init.c: Use define_traced_file.
763 (_nss_files_init): Use init_traced_file.
765 2015-03-12 Joseph Myers <joseph@codesourcery.com>
767 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
768 [_LIBC]: Do not include <stdlib.h>.
769 [!_LIBC] (abort): Remove declaration.
770 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
771 _FP_STATIC_ASSERT instead of conditionally calling abort.
772 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
773 (_FP_EXTEND_CNAN): Likewise.
774 (FP_TRUNC): Likewise.
775 (__FP_CLZ): Likewise.
776 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
778 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
780 * manual/string.texi (XPG basename): Fix prototype.
782 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
785 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
786 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
787 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
788 (__setcontext): Likewise.
789 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
790 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
791 Call rt_sigprocmask syscall one time to set new signal mask
792 and retrieve the current signal mask instead of two calls.
793 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
794 (__swapcontext): Likewise.
795 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
796 * stdlib/tst-setcontext2.c: New file.
798 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
800 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
802 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
805 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
808 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
811 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
813 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
815 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
816 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
818 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
819 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
820 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
821 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
822 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
823 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
825 * nptl_db/td_symbol_list.c (td_lookup): Remove
826 HAVE_ASM_GLOBAL_DOT_NAME code.
827 * sysdeps/powerpc/powerpc64/configure.ac: Remove
828 HAVE_ASM_GLOBAL_DOT_NAME check.
829 * sysdeps/powerpc/powerpc64/configure: Regenerate.
830 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
831 (DOT_LABEL): Remove define.
832 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
833 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
834 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
835 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
836 (__TLS_GET_ADDR): Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
838 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
840 2015-03-11 Carlos O'Donell <carlos@redhat.com>
843 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
844 (_FPU_SETCW): Initialize cw from fpsr before storing.
845 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
846 (fesetexceptflag): Rewrite using fpu_control.h.
847 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
849 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
852 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
854 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
856 2015-03-11 Joseph Myers <joseph@codesourcery.com>
858 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
859 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
864 2015-03-10 Roland McGrath <roland@hack.frob.com>
866 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
868 * Makefile (summarize-tests): New canned sequence, factored out of
869 commands for targets tests and xtests. Display summary lines that
870 don't start with PASS: or XFAIL: rather than ones that do start with
871 ERROR: or FAIL:. Make the commands fail if any summary lines fail
872 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
873 do start with ERROR: or FAIL:.
874 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
875 (except for [$(build-shared) = yes]).
876 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
877 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
878 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
879 * nptl/Makefile: Revert 2015-03-04 changes.
880 [$(CXX) empty] (tests-unsupported): New variable.
881 * debug/Makefile: Likewise.
883 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
884 gnulib file. Replace __attribute with __attribute__ throughout.
886 2015-03-10 Carlos O'Donell <carlos@redhat.com>
888 * sysdeps/hppa/fpu/libm-test-ulps: Update.
890 2015-03-10 Joseph Myers <joseph@codesourcery.com>
893 * math/auto-libm-test-in: Add another test of pow.
894 * math/auto-libm-test-out: Regenerated.
896 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
899 $(config-cflags-nofma).
901 2015-03-10 Joseph Myers <joseph@codesourcery.com>
903 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
904 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
905 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
906 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
907 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
908 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
909 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
910 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
911 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
912 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
913 Add comment on closing #endif.
915 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
917 * posix/wordexp.c (CHAR_IN_SET): New macro.
918 (parse_param): Use it.
920 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922 * sysdeps/powerpc/fpu/libm-test-ulps: update.
924 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
927 * posix/wordexp.c (parse_param): Fix buffer overflow.
928 * posix/wordexp-test.c (test_case): Add test case.
930 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
933 * posix/wordexp.c (parse_backtick): Fix off-by-one.
934 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
936 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
939 * posix/wordexp-test.c (test_case): Add test for BZ #18043
940 (do_bz18043): Delete.
942 (testit): Refactor to have words at the edge of unreadable page.
944 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
947 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
948 Cleanup read-only streams as well.
949 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
951 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
953 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
956 2015-03-07 Joseph Myers <joseph@codesourcery.com>
958 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
960 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
961 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
962 * soft-fp/op-common.h (_FP_DECL): Likewise.
964 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
966 * elf/ifuncdep2.c (global): Replace
967 __attribute__((visibility("protected"))) with
968 asm (".protected global").
969 * elf/ifuncmod1.c (global): Likewise.
970 * elf/ifuncmod5.c (global): Likewise.
972 2015-03-06 Joseph Myers <joseph@codesourcery.com>
974 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
975 <asm/sfp-machine.h> instead of <sfp-machine.h>.
977 2015-03-06 Roland McGrath <roland@hack.frob.com>
979 * manual/install.texi (Configuring and compiling):
980 Document test-wrapper-env-only.
981 * INSTALL: Regenerated.
983 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
986 * posix/wordexp.c (parse_param): Fix buffer overflow.
987 * posix/wordexp-test.c (do_bz18043): Add test case.
989 2015-03-06 Vincent Bernat <vincent@bernat.im>
991 * time/tst-strptime2.c (do_test): Ensure failing tests are
993 * time/tst-strptime3.c (do_test): Likewise.
995 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
997 Fix aio_error thread-safety.
998 * sysdeps/pthread/aio_error.c: New file
999 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1002 2015-03-06 Florian Weimer <fweimer@redhat.com>
1004 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1005 (group_number, vfprintf): Use it.
1006 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1007 (JUMP, REF): Use it.
1008 (WORK_BUFFER_SIZE): New enum constant.
1009 (process_arg, vfprintf): Use it.
1011 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1013 * manual/errno.texi (Error Messages): Complete example function
1014 by adding missing #define.
1015 (program_invocation_name): Add statement indicating GNU
1016 extension and reference which header file declares the variable.
1017 (program_invocation_short_name): Likewise.
1019 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1021 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1024 2015-03-05 Roland McGrath <roland@hack.frob.com>
1026 * Makeconfig (test-wrapper-env-only): New variable.
1027 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1028 then use that with $(test-wrapper-env-only) rather than using
1029 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1031 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1034 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1035 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1036 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1037 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1038 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1039 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1040 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1041 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1043 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1052 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1053 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1057 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1058 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1060 2015-03-04 Roland McGrath <roland@hack.frob.com>
1062 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1063 (ETH_ALEN): New macro.
1064 (struct ether_addr): Use it for length of ether_addr_octet.
1066 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1067 (setdb): Don't call __nss_configure_lookup for "rpc".
1068 (do_test): Don't call test_rpc.
1069 (output_rpcent, test_rpc): Functions moved ...
1070 * sunrpc/test-rpcent.c: ... to this new file.
1071 * sunrpc/Makefile (tests): Add it.
1073 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1075 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1076 * nptl/tst-signal6.c: Likewise.
1077 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1078 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1080 * configure.ac (libc_cv_cxx_link_ok): New check.
1081 Reset CXX to empty if it fails to link.
1082 * configure: Regenerated.
1083 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1084 bug-atexit3-lib only if $(CXX) is nonempty.
1085 * nptl/Makefile (tests): Likewise for tst-cancel24.
1086 (tests, tests-static): Likewise for tst-cancel24-static.
1087 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1088 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1089 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1090 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1092 2015-03-04 Andreas Schwab <schwab@suse.de>
1095 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1096 for non-GCC compilers.
1097 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1100 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1103 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1104 integer before bitwise and assembly operations.
1105 (feclearexcept): Likewise.
1106 * math/test-fenvinline.c: New file.
1107 * math/Makefile: Add test-fenvinline test.
1109 2015-03-03 Alan Modra <amodra@gmail.com>
1112 * scripts/localplt.awk: Strip off symbol version.
1113 * NEWS: Mention bug fix.
1115 2015-03-02 Roland McGrath <roland@hack.frob.com>
1117 * sysdeps/pthread/timer_routines.c
1118 (timer_free_list, thread_free_list, thread_active_list): Make static.
1120 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1123 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1124 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1127 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1129 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1130 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1133 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1136 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1137 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1139 2015-03-02 Andreas Schwab <schwab@suse.de>
1141 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1144 2015-03-02 Florian Weimer <fweimer@redhat.com>
1146 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1147 Return error status.
1149 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1152 * locale/findlocale.c (_nl_find_locale): Introduce const
1153 version of loc_name and drop unsafe type casts.
1155 2015-02-27 Roland McGrath <roland@hack.frob.com>
1157 * dlfcn/tststatic2.c (main): Converted to ...
1158 (do_test): ... this.
1159 (TEST_FUNCTION): New macro.
1160 Include test-skeleton.c.
1162 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1165 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1166 (tests-pie): Add vismain.
1167 (CFLAGS-vismain.c): New.
1168 * elf/vismain.c: Add comments for PIE requirement.
1170 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1175 0x1p-56L as threshold for just returning the argument.
1176 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1177 0x1p-32L as threshold for just returning the argument.
1178 * math/auto-libm-test-in: Add more tests of atanh.
1179 * math/auto-libm-test-out: Regenerated.
1180 * sysdeps/i386/fpu/libm-test-ulps: Update.
1181 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1183 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1185 * string/bcopy.c (bcopy): Call memmove for performance.
1187 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1189 * string/bzero.c (__bzero): Call memset for performance.
1191 2015-02-27 John David Anglin <dave.anglin@bell.net>
1194 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1197 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1199 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1201 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1203 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1204 (__kernel_standard): Use CSTR macro when setting exc.name.
1205 * sysdeps/ieee754/Makefile [$(subdir) = math]
1206 (CFLAGS-k_standard.c): Remove variable.
1208 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1209 setting p and q from "else if" to "else".
1211 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1213 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1215 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1217 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1219 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1224 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1225 return pi/2 for arguments below 0x1p-113L.
1226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1227 return pi/2 for arguments below 0x1p-106L.
1228 * math/auto-libm-test-in: Add more tests of acos.
1229 * math/auto-libm-test-out: Regenerated.
1232 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1234 (__ieee754_asin): Force underflow exception for results with small
1236 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1238 (__ieee754_asinf): Force underflow exception for results with
1239 small absolute value.
1240 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1241 (__ieee754_asin): Force underflow exception for results with small
1243 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1244 (__ieee754_asinf): Force underflow exception for results with
1245 small absolute value.
1246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1247 (__ieee754_asinl): Force underflow exception for results with
1248 small absolute value.
1249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1250 (__ieee754_asinl): Force underflow exception for results with
1251 small absolute value.
1252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1253 (__ieee754_asinl): Force underflow exception for results with
1254 small absolute value.
1255 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1257 * math/auto-libm-test-in: Do not mark underflow exceptions as
1258 possibly missing for bug 16351.
1259 * math/auto-libm-test-out: Regenerated.
1262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1263 of power of 2 down when low part has opposite sign.
1264 * math/libm-test.inc (logb_test_data): Add more tests.
1266 2015-02-26 Andreas Schwab <schwab@suse.de>
1269 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1270 over collating symbol inside a bracket expression. Minor cleanup.
1271 * posix/tst-fnmatch3.c (do_test): Add test case.
1273 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1276 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1277 Adjust exponent of power of 2 down when low part has opposite
1279 * math/libm-test.inc (ilogb_test_data): Add more tests.
1281 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1284 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1285 the previous change.
1288 * locale/findlocale.c (_nl_find_locale): Retry archive search
1289 after alias expansion.
1291 2015-02-25 Roland McGrath <roland@hack.frob.com>
1293 * iconv/tst-iconv3.c (main): Converted to ...
1294 (do_test): ... this.
1295 (TEST_FUNCTION): New macro.
1296 Include test-skeleton.c.
1298 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1299 (convert): Make function static.
1300 (test_unalign): Likewise. Add const to argument pointee types.
1301 (main): Replace with static function do_test.
1302 Print "Succeeded." only if RET is zero.
1303 (TEST_FUNCTION): New macro.
1304 Include test-skeleton.c.
1306 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1307 returns a null pointer.
1309 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1312 to __memcpy_ppc only for static builds.
1314 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1317 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1318 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1319 * math/auto-libm-test-in: Add more tests of asinh.
1320 * math/auto-libm-test-out: Regenerated.
1321 * sysdeps/i386/fpu/libm-test-ulps: Update.
1322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1324 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1327 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1328 and ip6_mtuinfo definitions here.
1329 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1330 in this define too. Update comment.
1332 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1334 * elf/sprof.c (load_shobj): Tweak error message to match others.
1336 2015-02-24 Kevin Easton <kevin@guarana.org>
1338 [BZ #16145] (partial fix)
1339 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1340 to reduce lock contention.
1342 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1344 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1345 (struct timex): Update time comment.
1346 (ADJ_SETOFFSET): Define.
1348 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1351 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1352 2**56 not 2**28 as threshold for log (2x) formula.
1353 * math/auto-libm-test-in: Add more tests of acosh.
1354 * math/auto-libm-test-out: Regenerated.
1355 * sysdeps/i386/fpu/libm-test-ulps: Update.
1356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1358 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1360 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1361 parenthesis around the buf assignment.
1362 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1364 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1367 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1368 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1369 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1370 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1371 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1372 * math/libm-test.inc (scalb_test_data): Add more tests.
1374 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1377 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1378 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1380 2015-02-24 Eric Rannaud <e@nanocritical.com>
1383 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1384 * io/bits/fcntl2.h (open): Use it.
1386 * io/open.c (__libc_open): Likewise.
1387 * io/open64.c (__libc_open64): Likewise.
1388 * io/open64_2.c (__open64_2): Likewise.
1389 * io/open_2.c (__open_2): Likewise.
1390 * io/openat.c (__openat): Likewise.
1391 * io/openat64.c (__openat64): Likewise.
1392 * io/openat64_2.c (__openat64_2): Likewise.
1393 * io/openat_2.c (__openat_2): Likewise.
1394 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1395 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1396 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1397 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1398 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1399 (__open_nocancel): Likewise.
1400 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1401 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1402 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1404 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * resolv/gethnamaddr.c (getanswer): Skip logging if
1408 RES_USE_DNSSEC is set.
1409 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1411 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1413 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1415 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1417 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1418 201304L, for Unicode 7.
1420 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1423 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1424 shared library. Add gmon-start.os otherwise.
1425 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1426 $(objpfx)gmon-start.os if builing shared library.
1427 ($(objpfx)g$(static-start-installed-name)): Likewise.
1429 2015-02-23 Andreas Schwab <schwab@suse.de>
1431 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1433 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1436 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1437 (enlarge_userbuf): Likewise.
1439 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1441 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1442 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1443 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1444 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1446 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1448 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1449 expression inside statement expression.
1451 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1453 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1454 <sysdeps/nptl/lowlevellock.h> and remove macros and
1455 functions that are now defined there.
1456 (SYS_futex): Remove.
1457 (lll_compare_and_swap): Remove.
1458 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1460 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1463 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1464 instead of scandirat.
1465 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1466 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1467 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1469 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1470 (__scandirat): Declare. Use libc_hidden_proto.
1471 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1473 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1475 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1480 (__ieee754_atan2): For results with small absolute value, force
1481 underflow exception and remove excess range and precision from
1483 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1485 (__ieee754_atan2f): For results with small absolute value, force
1486 underflow exception and remove excess range and precision from
1488 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1490 (__atan): For results with small absolute value, force underflow
1491 exception and remove excess range and precision from return value.
1492 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1494 (__atanf): For results with small absolute value, force underflow
1495 exception and remove excess range and precision from return value.
1496 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1498 (__ieee754_atan2): Force underflow exception for results with
1499 small absolute value.
1500 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1502 (atan): Force underflow exception for results with small absolute
1504 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1505 (__atanf): Force underflow exception for results with small
1507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1509 (__atanl): Force underflow exception for results with small
1511 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1512 (__atanl): Force underflow exception for results with small
1514 * sysdeps/x86/fpu/bits/mathinline.h
1515 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1516 (__ieee754_atan2): Only define inline for long double.
1517 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1518 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1519 * math/auto-libm-test-in: Do not mark underflow exceptions as
1520 possibly missing for bug 15319. Add more tests of atan2.
1521 * math/auto-libm-test-out: Regenerated.
1522 * math/libm-test.inc (casin_test_data): Do not mark underflow
1523 exceptions as possibly missing for bug 15319.
1524 (casinh_test_data): Likewise.
1525 * sysdeps/i386/fpu/libm-test-ulps: Update.
1527 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1529 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1530 * sysdeps/mips/bits/endian.h: Fix comments.
1532 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1535 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1536 (hdestroy_r): Likewise.
1537 (hsearch_r): Likewise.
1538 (__hcreate_r): Declare and use libc_hidden_proto.
1539 (__hdestroy_r): Likewise.
1540 (__hsearch_r): Likewise.
1541 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1542 (hcreate): Call __hcreate_r instead of hcreate_r.
1543 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1544 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1545 as weak alias of __hcreate_r.
1546 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1548 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1550 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1552 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1553 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1554 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1555 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1557 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1559 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1560 arena_lock into a single arena_get.
1562 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1564 * dl-reloc.c: Inlucde libc-internal.h.
1565 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1566 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1567 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1568 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1569 (grow_heap): Likewise.
1570 * malloc/malloc.c: Include libc-internal.h.
1571 (do_check_malloc): Call powerof2.
1572 (sysmalloc): Use pagesize. Call ALIGN_UP.
1573 (systrim): Use pagesize.
1574 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1575 (__libc_valloc): Use pagesize.
1576 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1578 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1581 * include/sys/resource.h (__getrlimit64): Declare. Use
1583 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1584 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1585 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1587 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1589 [!getrlimit64] (getrlimit64): Define as weak alias of
1590 __getrlimit64. Use libc_hidden_weak.
1591 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1592 using __getrlimit64 not __new_getrlimit64.
1593 (__GI_getrlimit64): Likewise.
1594 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1596 (__GI_getrlimit64): Likewise.
1597 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1599 (getrlimit): Add __getrlimit64 alias.
1600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1602 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1604 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1605 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1607 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1609 * libio/fileops.c: Add missing sys/mman.h
1610 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1612 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1614 * manual/math.texi (Errors in Math Functions): Clarify goals
1615 regarding inexact and underflow exceptions.
1617 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1619 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1620 * sysdeps/mips/memset.S: Ditto.
1622 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1624 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1626 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1628 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1629 (__v1longjmp): Remove versioned symbol.
1630 (__v1siglongjmp): Remove alias and versioned symbol.
1631 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1632 (__v2siglongjmp): Likewise.
1634 2015-02-16 Torvald Riegel <triegel@redhat.com>
1636 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1638 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1640 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1642 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1645 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1646 zero result does not depend on the sign resulting from
1648 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1650 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1653 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1654 * math/libm-test.inc (remquo_test_data): Add more tests.
1656 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1658 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1659 Problem reported by J William Piggott.
1661 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1664 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1665 products 4 * y and 2 * y where those would overflow.
1666 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1668 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1672 * math/libm-test.inc (remquo_test_data): Add more tests.
1674 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1676 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1677 [defined _COMPILING_NEWLIB].
1678 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1679 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1681 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1682 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1684 2015-02-16 Torvald Riegel <triegel@redhat.com>
1686 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1689 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1692 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1693 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1694 HOST_STACK_END_ADDR): Likewise.
1696 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1698 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1699 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1700 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1702 2015-02-13 Roland McGrath <roland@hack.frob.com>
1704 * sysdeps/generic/c++-types.data: New file.
1705 * sysdeps/generic/ld.abilist: New file.
1706 * sysdeps/generic/libBrokenLocale.abilist: New file.
1707 * sysdeps/generic/libanl.abilist: New file.
1708 * sysdeps/generic/libc.abilist: New file.
1709 * sysdeps/generic/libcrypt.abilist: New file.
1710 * sysdeps/generic/libdl.abilist: New file.
1711 * sysdeps/generic/libm.abilist: New file.
1712 * sysdeps/generic/libpthread.abilist: New file.
1713 * sysdeps/generic/libresolv.abilist: New file.
1714 * sysdeps/generic/librt.abilist: New file.
1716 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1720 Compute absolute value of x as modified by fmod, not original
1722 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1723 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1724 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1725 RUN_TEST_ffI_f1_mod8.
1726 (remquo_test_data): Add more tests.
1728 2015-02-13 Roland McGrath <roland@hack.frob.com>
1730 * sysdeps/init_array/pt-crti.S: New file.
1732 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1735 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1736 __builtin_fmaf instead of relying on contraction of a * b + c.
1738 2015-02-12 J William Piggott <elseifthen@gmx.com>
1741 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1744 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1748 __builtin_fma instead of relying on contraction of a * b + c.
1750 2015-02-12 Roland McGrath <roland@hack.frob.com>
1752 * Makeconfig (ASFLAGS): Add -Werror=undef.
1753 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1754 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1755 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1757 * Makeconfig (after-link): New variable.
1758 (+link-pie, +link-pie-tests): Use it.
1759 (+link-static, +link-static-tests): Likewise.
1760 (+link, +link-tests): Likewise.
1761 * Makerules (build-module, build-module-asneeded): Likewise.
1762 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1764 * elf/Makefile ($(objpfx)ld.so): Likewise.
1766 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1769 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1770 both struct timeval and struct timespec.
1772 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1775 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1777 (__ieee754_exp2l): Do not multiply small fractional parts by
1779 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1781 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1782 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1783 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1784 * math/auto-libm-test-in: Add more tests of exp2.
1785 * math/auto-libm-test-out: Regenerated.
1787 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1789 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1792 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1797 2015-02-12 Andreas Schwab <schwab@suse.de>
1800 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1801 Filter out elision flags from value returned in kind.
1802 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1803 * nptl/tst-pthread-mutexattr.c: New file.
1805 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1807 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1808 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1809 into gnu-gnu, and update comment to refer to abi-tags.
1811 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1815 (__sincos): Set errno to EDOM for infinite argument.
1816 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1817 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1818 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1819 (__sincosl): Set errno to EDOM for infinite argument.
1820 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1821 (__sincosl): Set errno to EDOM for infinite argument.
1822 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1823 (__sincosl): Set errno to EDOM for infinite argument.
1824 * math/libm-test.inc (sincos_test_data): Test errno setting.
1826 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1828 * string/strxfrm_l.c: Remove #define STRCMP.
1829 * string/strcoll_l.c: Remove #define STRLEN.
1830 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1831 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1833 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1835 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1836 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1837 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1838 * sysdeps/mips/mips64/Makefile: ... here.
1839 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1840 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1841 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1842 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1843 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1844 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1845 * sysdeps/mips/mips64/n64/Implies: Likewise.
1847 2015-02-10 Roland McGrath <roland@hack.frob.com>
1849 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1850 <sys/time.h>, <string.h>, and <errno.h>.
1851 (dest_offset, dest_address, value, zero): Remove unused variables.
1852 (ldouble): Remove typedef.
1853 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1854 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1856 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1857 (check): Function removed.
1859 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1860 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1861 Don't call set_sigaction_FP and remove_sigaction_FP here.
1862 (ldouble_test): Just use 'long double' as macro argument, no need for
1863 the 'ldouble' typedef.
1864 (do_test): Set up SIGFPE handler at start, using plain signal rather
1865 than sigaction. Fix code style.
1867 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1870 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1873 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1875 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1876 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1878 * sysdeps/powerpc/configure.ac: Remove file.
1879 * sysdeps/powerpc/configure: Likewise.
1881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1882 [sysdep_routines]: Remove wordcopy-power6 object.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1884 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1886 (__memmove_ppc32): Likewise.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1890 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1891 Remove preprocessor.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1894 [sysdep_routines]: Remove wide chars objects.
1895 [wcsmbs]: New rule for wide char objects.
1897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1898 Remove wordcopy-power6 obejct.
1899 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1900 Use local call for wordcopy and memcpy symbols.
1901 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1902 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1903 implementation for loader.
1904 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1906 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1907 Remove wordcopy-power7 object.
1908 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1909 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1910 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1911 (_wordcopy_fwd_dest_aligned): Likewise.
1912 (_wordcopy_bwd_aligned): Likewise.
1913 (_wordcopy_bwd_dest_aligned): Likewise.
1915 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1916 Rewrite to call __memmove_ppc instead of include default
1919 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1920 Remove wide chars objects.
1921 [wcsmbs]: New rule for wide char objects.
1923 2015-02-09 Andreas Schwab <schwab@suse.de>
1926 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1927 in terms of __O_DIRECTORY.
1929 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1931 * time/getdate.c: Include <stdbool.h>.
1932 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1934 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1937 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1939 Add ersatz _Static_assert on older C hosts
1940 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1941 pre-C11 C platform that is not known to support _Static_assert.
1943 2015-02-07 Richard Braun <rbraun@sceen.net>
1945 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1947 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1949 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1951 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1952 priority against unexistent AIO_PRIO_DELTA_MAX.
1953 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1955 * misc/fchflags.c (fchflags): Likewise.
1956 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1957 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1958 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1959 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1960 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1962 [__USE_MISC] (chflags, fchflags): Declare functions.
1963 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1964 EINVAL when nfds is greater than FD_SETSIZE.
1965 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1966 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1968 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1969 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1970 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1972 * hurd/hurd/signal.h (_hurd_self_sigstate,
1973 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1974 Explicit casts from void *.
1975 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1976 * abi-tags: Rename gnu-gnu os into gnu.
1979 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1980 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1981 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1982 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1983 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1984 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1987 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1988 duplicates ADDR->sun_path with sockaddr LEN limitation.
1989 * sysdeps/mach/hurd/connect.c: Include <string.h>
1990 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1991 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1992 * sysdeps/mach/hurd/sendto.c: Likewise.
1993 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1994 implementing it by hand.
1996 2015-02-06 Roland McGrath <roland@hack.frob.com>
1998 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1999 Use sfi_breg on ldr.
2000 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2003 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2005 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2006 Test SIGSETXID only if it's defined.
2008 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2010 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2011 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2013 * nptl/tst-align2.c: Moved ...
2014 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2015 * nptl/Makefile (tests): Remove tst-align2.
2016 * sysdeps/unix/sysv/linux/Makefile
2017 [$(subdir) = nptl] (tests): Add tst-align-clone.
2018 * nptl/tst-getpid1.c: Moved ...
2019 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2020 * nptl/tst-getpid2.c: Moved ...
2021 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2022 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2023 * sysdeps/unix/sysv/linux/Makefile
2024 [$(subdir) = nptl] (tests): ... here.
2025 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2026 * sysdeps/unix/sysv/linux/Makefile
2027 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2029 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2030 Drop trailing \n from perror argument. Use return rather than exit.
2032 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2034 * nptl/tst-cancel21.c (do_test): Likewise.
2035 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2036 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2037 [!SA_SIGINFO]: Make it a stub test.
2039 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2040 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2042 * posix/tst-getlogin.c: Move to ...
2043 * login/tst-getlogin.c: ... here.
2044 * posix/Makefile (tests): Move tst-getlogin to ...
2045 * login/Makefile (tests): ... here.
2047 * libio/tst-atime.c (do_test): Move local variables SV and E
2048 inside [ST_NOATIME] conditional.
2050 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2052 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2054 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2055 (wait_code): New function replaces macro.
2056 Call nanosleep rather than syscall.
2058 * nptl/pt-system.c: Rewritten. Put everything under
2059 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2060 Use IFUNC to redirect when possible.
2062 * nptl/pt-longjmp.c: Rewritten. Put everything under
2063 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2064 Use IFUNC to redirect when possible.
2066 * nptl/pt-fork.c: Rewritten. Put everything under
2067 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2068 Use IFUNC to redirect when possible.
2069 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2071 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2072 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2073 unconditionally nowadays. This included the only reference to
2074 __vdso_clock_gettime that appears outside libc proper.
2075 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2076 Remove version set (containing only __vdso_clock_gettime).
2077 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2078 Add attribute_hidden.
2079 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2080 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2081 libc_hidden_data_def.
2082 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2083 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2085 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2086 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2087 setrpcent, and getrpcport to ...
2088 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2089 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2090 getrpcbynumber_r, and getrpcent_r to ...
2091 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2092 * inet/getrpcbyname.c: Moved ...
2093 * sunrpc/getrpcbyname.c: ... here.
2094 * inet/getrpcbyname_r.c: Moved ...
2095 * sunrpc/getrpcbyname_r.c: ... here.
2096 * inet/getrpcbynumber.c: Moved ...
2097 * sunrpc/getrpcbynumber.c: ... here.
2098 * inet/getrpcbynumber_r.c: Moved ...
2099 * sunrpc/getrpcbynumber_r.c: ... here.
2100 * inet/getrpcent.c: Moved ...
2101 * sunrpc/getrpcent.c: ... here.
2102 * inet/getrpcent_r.c: Moved ...
2103 * sunrpc/getrpcent_r.c: ... here.
2104 * inet/Makefile (routines): Move those to ...
2105 * sunrpc/Makefile (routines): ... here.
2106 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2107 the $(subdirs) list.
2108 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2109 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2110 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2111 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2113 * elf/Makefile (routines): Include $(all-dl-routines), not just
2115 (rtld-routines): Likewise. Use = rather than :=.
2116 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2117 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2118 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2119 * sysdeps/arm/Makefile: Likewise.
2120 * sysdeps/i386/Makefile: Likewise.
2121 * sysdeps/x86_64/Makefile: Likewise.
2122 * sysdeps/hppa/Makefile [$(subdir) = elf]
2123 (sysdep_routines, sysdep-rtld-routines): Don't add
2124 $(sysdep-dl-routines) to these.
2125 * sysdeps/ia64/Makefile: Likewise.
2126 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2127 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2128 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2129 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2130 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2131 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2133 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2134 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2135 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2136 these; sysdep-dl-routines alone is enough.
2138 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2141 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2142 where multiplication results in zero and third argument is finite
2144 * math/auto-libm-test-in: Add more tests of fma.
2145 * math/auto-libm-test-out: Regenerated.
2147 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2148 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2149 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2150 (_FP_CMP_EQ): Likewise.
2151 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2153 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2154 extra argument CHECK_NAN. Redefine as wrapper around
2157 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2159 * version.h (RELEASE): Set to "stable".
2160 (VERSION): Set to "2.21"
2161 * include/features.h (__GLIBC_MINOR__): Set to 21.
2163 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2165 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2166 Paul Eggert <eggert@cs.ucla.edu>
2169 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2171 size in bytes. Store needed elements in wpmax. Use needed size
2172 in bytes for extend_alloca.
2174 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2176 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2177 binutls 2.25, and texinfo 5.2.
2178 * INSTALL: Regenerate.
2179 * sysdeps/nios2/configure: Regenerate.
2180 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2181 * manual/contrib.texi: Update.
2205 * po/pt_BR.po: Update.
2214 * po/zh_CN.po: Update.
2215 * po/zh_TW.po: Update.
2217 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2218 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2219 * sysdeps/hppa/dl-irel.h: Remove #warning.
2220 * sysdeps/hppa/entry.h: Provide prototype for
2221 __canonicalize_funcptr_for_compare and cast argument.
2222 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2223 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2224 * sysdeps/hppa/sotruss-lib.c: New file.
2225 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2226 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2227 (atomic_compare_and_exchange_bool_acq): Likewise.
2228 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2229 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2231 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2232 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2233 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2235 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2237 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2238 called function in non-PIC case.
2240 2015-01-31 David S. Miller <davem@davemloft.net>
2242 * sysdeps/sparc/sparc32/bits/atomic.h
2243 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2244 unlock not after it.
2245 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2246 volatile register usage warnings from the compiler.
2248 * sysdeps/sparc/nptl/sem_init.c: Delete.
2249 * sysdeps/sparc/nptl/sem_post.c: Delete.
2250 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2251 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2252 * sysdeps/sparc/sparc32/sem_init.c: New file.
2253 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2254 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2255 padding explicitly initialized.
2256 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2257 padding for in-semaphore spinlock.
2258 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2259 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2260 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2261 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2262 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2263 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2264 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2265 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2267 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2268 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2270 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2274 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2275 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2277 (index_AVX_Fast_Unaligned_Load): Likewise.
2278 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2279 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2280 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2281 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2283 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2284 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2285 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2286 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2288 2015-01-29 Andreas Schwab <schwab@suse.de>
2290 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2292 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2295 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2297 2015-01-28 Martin Sebor <msebor@redhat.com>
2299 * math/README.libm-test: Clarify. Add "How to read the test output."
2301 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2303 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2306 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2308 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2309 (__HAVE_64B_ATOMICS): Define to 0.
2311 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2314 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2315 value to set as new flag.
2318 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2319 and use _ARCH_PPCSQ instead.
2320 (__ieee754_sqrt): Likewise.
2321 (__ieee754_sqrtf): Likewise.
2322 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2323 _ARCH_PPCSQ is defined.
2324 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2326 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2327 _ARCH_PPCSQ is defined.
2328 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2330 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2332 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2334 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2335 bug (GCC BZ #64739).
2337 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2339 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2340 Mark _retval as used.
2341 (lll_futex_wake_unlock): Likewise.
2342 (lll_futex_timed_wait_requeue_pi): Likewise.
2344 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2345 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2348 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2351 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2352 (__bswap_64): Mark as __always_inline.
2354 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2357 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2358 when none of the search directories exist.
2360 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2363 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2364 power8 in .machine directive.
2367 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2368 set dependency from opd value.
2370 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2373 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2376 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2379 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2381 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2383 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2384 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2385 Replace 1UL with (uint64_t) 1.
2386 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2389 2015-01-23 Roland McGrath <roland@hack.frob.com>
2391 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2392 (if_freenameindex): Likewise.
2394 * resource/getrlimit64.c: Add missing libc_hidden_def.
2396 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2398 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2400 (_FP_FMA): Likewise.
2401 (_FP_TO_INT_ROUND): Likewise.
2402 (_FP_FROM_INT): Likewise.
2404 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2408 Make code racy and cancel safe.
2410 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2412 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2413 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2416 * pwd/tst-getpw.c: Rewrite.
2419 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2420 (modules-names): Add moddummy1 and moddummy2.
2421 ($(objpfx)tst-rec-dlopen): Define.
2422 * dlfcn/moddummy1.c: New file.
2423 * dlfcn/moddummy2.c: New file.
2424 * dlfcn/tst-rec-dlopen.c: New file.
2425 * elf/dl-cache.c (_dl_load_cache_lookup):
2426 Return char*. Copy result with alloca/strcpy/strdup.
2427 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2428 returns char*. Free cached. If not saving realname
2430 * elf/dl-open.c (dl_open_worker): Do not assert that
2431 _r_debug->r_state is RT_CONSISTENT.
2432 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2435 2015-01-21 Torvald Riegel <triegel@redhat.com>
2436 Carlos O'Donell <carlos@redhat.com>
2439 * nptl/sem_waitcommon.c: New file.
2440 * nptl/sem_wait.c: Include sem_waitcommon.c.
2441 (__sem_wait_cleanup, do_futex_wait): Remove.
2442 (__new_sem_wait): Adapt.
2443 (__new_sem_trywait): New function.
2444 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2445 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2446 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2447 (sem_timedwait): Adapt.
2448 * nptl/sem_post.c (__new_sem_post): Adapt.
2449 (futex_wake): New function.
2450 (__old_sem_post): Add release MO fence.
2451 * nptl/sem_open.c (sem_open): Adapt.
2452 * nptl/sem_init.c (__new_sem_init): Adapt.
2453 (futex_private_if_supported): New function.
2454 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2455 (__old_sem_getvalue): Add using previous code.
2456 * sysdeps/nptl/internaltypes.h: Adapt.
2457 * nptl/tst-sem13.c (do_test): Adapt.
2458 * nptl/tst-sem11.c (main): Adapt.
2459 * nptl/sem_trywait.c: Remove.
2460 * nptl/DESIGN-sem.txt: Remove.
2461 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2462 (gen-as-const-headers): Remove structsem.sym.
2463 * nptl/structsem.sym: Remove.
2464 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2465 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2466 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2467 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2468 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2469 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2470 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2471 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2472 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2473 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2474 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2475 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2476 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2477 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2478 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2479 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2480 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2481 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2482 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2483 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2484 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2485 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2487 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2489 * INSTALL: Regenerated.
2491 * po/libc.pot: Regenerated.
2493 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2494 Sandra Loosemore <sandra@codesourcery.com>
2495 Andrew Jenner <andrew@codesourcery.com>
2496 Joseph Myers <joseph@codesourcery.com>
2497 Nathan Sidwell <nathan@codesourcery.com>
2499 * NEWS: Mention new Nios II port.
2500 * sysdeps/nios2/Implies: New file.
2501 * sysdeps/nios2/Makefile: New file.
2502 * sysdeps/nios2/Subdirs: New file.
2503 * sysdeps/nios2/Versions: New file.
2504 * sysdeps/nios2/__longjmp.S: New file.
2505 * sysdeps/nios2/abort-instr.h: New file.
2506 * sysdeps/nios2/backtrace.c: New file.
2507 * sysdeps/nios2/bits/endian.h: New file.
2508 * sysdeps/nios2/bits/fenv.h: New file.
2509 * sysdeps/nios2/bits/link.h: New file.
2510 * sysdeps/nios2/bits/setjmp.h: New file.
2511 * sysdeps/nios2/bsd-_setjmp.S: New file.
2512 * sysdeps/nios2/bsd-setjmp.S: New file.
2513 * sysdeps/nios2/configure: New generated file.
2514 * sysdeps/nios2/configure.ac: New file.
2515 * sysdeps/nios2/crti.S: New file.
2516 * sysdeps/nios2/crtn.S: New file.
2517 * sysdeps/nios2/dl-init.c: New file.
2518 * sysdeps/nios2/dl-machine.h: New file.
2519 * sysdeps/nios2/dl-sysdep.h: New file.
2520 * sysdeps/nios2/dl-tls.h: New file.
2521 * sysdeps/nios2/dl-trampoline.S: New file.
2522 * sysdeps/nios2/gccframe.h: New file.
2523 * sysdeps/nios2/gmp-mparam.h: New file.
2524 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2525 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2526 * sysdeps/nios2/ldsodefs.h: New file.
2527 * sysdeps/nios2/libc-tls.c: New file.
2528 * sysdeps/nios2/libm-test-ulps: New file.
2529 * sysdeps/nios2/machine-gmon.h: New file.
2530 * sysdeps/nios2/math-tests.h: New file.
2531 * sysdeps/nios2/math_private.h: New file.
2532 * sysdeps/nios2/memusage.h: New file.
2533 * sysdeps/nios2/nptl/Makefile: New file.
2534 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2535 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2536 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2537 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2538 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2539 * sysdeps/nios2/nptl/tls.h: New file.
2540 * sysdeps/nios2/preconfigure: New file.
2541 * sysdeps/nios2/s_fma.c: New file.
2542 * sysdeps/nios2/s_fmaf.c: New file.
2543 * sysdeps/nios2/setjmp.S: New file.
2544 * sysdeps/nios2/sfp-machine.h: New file.
2545 * sysdeps/nios2/sotruss-lib.c: New file.
2546 * sysdeps/nios2/stackguard-macros.h: New file.
2547 * sysdeps/nios2/stackinfo.h: New file.
2548 * sysdeps/nios2/start.S: New file.
2549 * sysdeps/nios2/sysdep.h: New file.
2550 * sysdeps/nios2/tls-macros.h: New file.
2551 * sysdeps/nios2/tst-audit.h: New file.
2552 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2553 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2554 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2555 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2556 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2557 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2558 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2559 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2560 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2561 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2562 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2563 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2564 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2565 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2566 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2567 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2568 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2569 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2570 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2571 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2572 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2573 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2574 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2575 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2576 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2577 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2578 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2579 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2580 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2581 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2582 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2583 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2584 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2585 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2586 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2587 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2588 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2589 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2590 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2591 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2592 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2593 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2594 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2595 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2597 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2600 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2601 (getutent): Use weak_alias in non SHARED case
2602 and default_symbol_version in SHARED case.
2603 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2604 (getutent_r, pututline): Likewise.
2605 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2606 (getutid): Likewise.
2607 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2608 (getutid_r): Likewise.
2609 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2610 (getutline): Likewise.
2611 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2612 (getutline_r): Likewise.
2613 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2614 (updwtmp): Likewise.
2616 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2619 * sysdeps/s390/s390-32/memcmp.S
2620 (memcmp_g5): Rename to __memcmp_g5.
2621 * sysdeps/s390/s390-32/memcpy.S
2622 (memcpy_g5): Rename to __memcpy_g5.
2623 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2624 (memcpy_mvcle) Rename to __memcpy_mvcle.
2625 * sysdeps/s390/s390-32/memset.S
2626 (memset_g5): Rename to __memset_g5.
2627 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2628 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2629 and use prefixed functions.
2630 * sysdeps/s390/s390-32/multiarch/memcmp.S
2631 (memcmp_z196): Rename to __memcmp_z196.
2632 (memcmp_z10): Rename to __memcmp_z10.
2633 (memcmp): Set alias to __memcmp_g5.
2634 (bcmp): Set alias to __memcmp_g5.
2635 * sysdeps/s390/s390-32/multiarch/memcpy.S
2636 (memcpy_z196): Rename to __memcpy_z196.
2637 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2638 (memcpy_z10): Rename to __memcpy_z10.
2639 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2640 (memcpy): Set alias to __memcpy_g5.
2641 * sysdeps/s390/s390-32/multiarch/memset.S
2642 (memset_z196): Rename to __memset_z196.
2643 Jump to __memset_mvcle instead of memset_mvcle.
2644 (memset_z10): Rename to __memset_z10.
2645 Jump to __memset_mvcle instead of memset_mvcle.
2646 (memset_mvcle) Rename to __memset_mvcle.
2647 (memset): Set alias to __memset_g5.
2648 * sysdeps/s390/s390-64/memcmp.S
2649 (memcmp_z900): Rename to __memcmp_z900.
2650 * sysdeps/s390/s390-64/memcpy.S
2651 (memcpy_z900): Rename to __memcpy_z900.
2652 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2653 (memcpy_mvcle) Rename to __memcpy_mvcle.
2654 * sysdeps/s390/s390-64/memset.S
2655 (memset_z900): Rename to __memset_z900.
2656 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2657 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2658 and use prefixed functions.
2659 * sysdeps/s390/s390-64/multiarch/memcmp.S
2660 (memcmp_z196): Rename to __memcmp_z196.
2661 (memcmp_z10): Rename to __memcmp_z10.
2662 (memcmp): Set alias to __memcmp_z900.
2663 (bcmp): Set alias to __memcmp_z900.
2664 * sysdeps/s390/s390-64/multiarch/memcpy.S
2665 (memcpy_z196): Rename to __memcpy_z196.
2666 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2667 (memcpy_z10): Rename to __memcpy_z10.
2668 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2669 (memcpy): Set alias to __memcpy_z900.
2670 * sysdeps/s390/s390-64/multiarch/memset.S
2671 (memset_z196): Rename to __memset_z196.
2672 Jump to __memset_mvcle instead of memset_mvcle.
2673 (memset_z10): Rename to __memset_z10.
2674 Jump to __memset_mvcle instead of memset_mvcle.
2675 (memset_mvcle) Rename to __memset_mvcle.
2676 (memset): Set alias to __memset_z900.
2678 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2681 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2682 __fesetenv instead of fesetenv.
2684 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2686 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2689 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2694 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2695 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2696 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2697 strncmp-power8 object.
2698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2699 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2700 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2703 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2704 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2706 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2707 trailing byte check.
2709 2015-01-13 David S. Miller <davem@davemloft.net>
2711 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2713 2015-01-13 Roland McGrath <roland@hack.frob.com>
2715 * login/logout.c (logout): Use memset rather than bzero.
2716 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2717 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2718 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2719 (_gethtbyaddr): Likewise.
2720 * locale/programs/simple-hash.c (bcopy): Macro removed.
2722 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2724 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2725 Add strcmp-power8 object.
2726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2727 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2728 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2729 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2730 __strcmp_power8 implementation.
2731 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2734 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2735 Add strncpy-power8 and stpncpy-power8 objects.
2736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2737 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2739 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2740 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2741 __stpncpy_power8 implementation.
2742 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2743 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2744 __strncpy_power8 implementation.
2745 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2746 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2749 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2750 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2751 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2754 strncat-power8 object.
2755 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2756 __strcat_power8 implementation.
2757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2758 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2759 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2760 optimized strcat for power8.
2762 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2763 strcpy-power8 and stpcpy-power8 objects.
2764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2765 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2767 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2768 multiarch stpcpy implementation for POWER8.
2769 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2770 multiarch strcpy implementation for POWER8.
2771 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2772 __strcpy_power8 function.
2773 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2775 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2779 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2782 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2783 weights and rules. Use do_xfrm_cached if data fits in cache,
2784 do_xfrm otherwise. Moved former main loop to...
2785 * (do_xfrm_cached): New function.
2786 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2787 find_idx, find_position and stack_push.
2788 * (find_idx): New function.
2789 * (find_position): Likewise.
2790 * localedata/sort-test.sh: Added test run for do_xfrm.
2791 * localedata/xfrm-test.c (main): Added command line option
2792 -nocache to run the test with strings that are too large for
2795 2015-01-13 Torvald Riegel <triegel@redhat.com>
2797 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2798 variable to lll_futex_wake call, not the value itself.
2800 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2804 twom64. Adjust value to 0x1p-64L.
2805 (__scalblnl): Only return standard underflowing result for K <=
2806 -64 not K <= -63; adjust exponent for underflowing result by 64
2808 * math/libm-test.inc (scalbn_test_data): Add more tests.
2809 (scalbln_test_data): Likewise.
2812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2814 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2816 * math/libm-test.inc (scalbn_test_data): Add more tests.
2817 (scalbln_test_data): Likewise.
2819 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820 Stefani Seibold <stefani@seibold.net>
2822 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2823 (sysdep_routines): Add dl-vdso here, ...
2824 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2825 (sysdep_routines): ... not here.
2826 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2827 fallback when vDSO is not presented.
2828 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2829 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2830 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2831 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2832 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2833 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2834 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2835 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2836 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2838 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2839 fallback configurable symbol when vDSO is not available.
2840 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2841 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2842 be able to redefine fallback symbol when vDSO is not available.
2843 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2844 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2846 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2849 (TLS_INIT_TP): Add tm_capable initialization.
2850 (TLS_DEFINE_INIT_TP): Likewise.
2851 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2853 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2854 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2856 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2857 transactoion is lock elision is built and TCB tm_capable is set.
2858 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2860 (INTERNAL_SYSCALL_NCS): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2862 (INTERNAL_SYSCALL_NCS): Likewise.
2863 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2865 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2867 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2868 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2869 and remove it for 32 bits case.
2870 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2873 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2874 Disable lock elision with rdlocks if elision is not available.
2876 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2877 (sysdep_routines): Add lock elision objects.
2878 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2879 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2880 [pthread_mutex_t] (__elision): Add field.
2881 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2882 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2883 elision definitions for powerpc.
2884 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2885 implementation of lock elision for powerpc.
2886 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2887 implementation of timed lock elision for powerpc.
2888 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2889 implementation of trylock with lock elision for powerpc.
2890 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2891 implementaion of unlock for lock elision for powerpc.
2892 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2893 automatic enable lock elision for mutexes.
2894 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2895 transaction execution definitions for powerpc.
2896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2898 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2899 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2904 2015-01-09 Roland McGrath <roland@hack.frob.com>
2906 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2907 for #include of <shm-directory.h>.
2909 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2912 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2914 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2917 * NEWS: Mention bug fix.
2918 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2919 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2920 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2922 2015-01-09 Torvald Riegel <triegel@redhat.com>
2924 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2926 2015-01-09 Torvald Riegel <triegel@redhat.com>
2928 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2930 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2932 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2933 pointer and cast to uintptr_t.
2935 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2937 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2939 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2941 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2943 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2946 2015-01-08 Roland McGrath <roland@hack.frob.com>
2948 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2949 <nptl/pthreadP.h> instead.
2950 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2952 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2954 [__SIGRTMIN] (init): Function removed.
2955 [__SIGRTMIN] (initialized): Variable removed.
2956 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2957 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2958 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2959 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2960 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2961 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2962 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2963 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2964 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2965 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2966 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2967 * sysdeps/nptl/allocrtsig.c: New file.
2968 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2969 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2970 * sysdeps/generic/testrtsig.h: File removed.
2972 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2973 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2975 * nptl/nptl-init.c (pthread_functions): Conditionalize
2976 .ptr__nptl_setxid initialization on [SIGSETXID].
2978 * sysdeps/nptl/sys/procfs.h: New file.
2979 * nptl_db/Makefile (headers): Add it.
2980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2982 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2983 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2984 * nptl/pthread_attr_setaffinity.c: Include it.
2985 * nptl/pthread_setattr_default_np.c: Likewise.
2986 * nptl/check-cpuset.h: New file.
2988 2015-01-08 Richard Henderson <rth@redhat.com>
2990 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2991 (CFLAGS-tst-execstack-prog.c): Likewise.
2992 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2994 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2995 Sandra Loosemore <sandra@codesourcery.com>
2996 Andrew Jenner <andrew@codesourcery.com>
2997 Joseph Myers <joseph@codesourcery.com>
2998 Nathan Sidwell <nathan@codesourcery.com>
3000 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3001 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3002 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3003 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3004 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3005 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3006 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3007 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3008 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3009 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3010 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3011 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3012 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3013 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3014 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3015 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3016 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3018 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3021 timespec struct member in syscall macro.
3022 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3023 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3024 first timeval struct member in syscall macro.
3025 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3027 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3030 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3031 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3032 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3033 __feupdateenv and define as weak alias of __feupdateenv. Use
3035 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3037 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3038 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3039 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3042 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3043 __feupdateenv and define as weak alias of __feupdateenv. Use
3045 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3047 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3048 __feupdateenv and define as weak alias of __feupdateenv. Use
3050 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3052 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3053 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3054 (__feupdateenv): Likewise.
3055 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3056 __feupdateenv and define as weak alias of __feupdateenv. Use
3058 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3059 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3061 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3063 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3065 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3066 __feupdateenv instead of feupdateenv.
3067 (default_libc_feupdateenv_test): Likewise.
3068 (libc_feresetround_ctx): Likewise.
3070 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3072 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3075 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3077 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3078 COLL_SYM in a couple of places to avoid uninitialized variable
3079 wanings on tilegx gcc 4.8.2.
3081 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3083 * sysdeps/aarch64/strcpy.S: New file.
3084 * sysdeps/aarch64/stpcpy.S: New file.
3087 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3089 * sysdeps/aarch64/strrchr.S: New file.
3092 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3095 * stdlib/setenv.c: Fix memory leak when setting large,
3098 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3101 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3102 and tabs from buffer before parsing fstab entry.
3103 * misc/tst-mntent.c (main): Add test for mount entry with
3104 trailing spaces and tabs.
3106 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3109 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3110 * math/fesetround.c (fesetround): Rename to __fesetround and
3111 define as weak alias of __fesetround. Use libm_hidden_weak.
3112 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3113 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3114 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3115 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3116 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3117 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3118 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3119 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3120 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3121 __fesetround_inline.
3122 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3123 __fesetround_inline instead of __fesetround.
3124 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3125 __fesetround and define as weak alias of __fesetround. Use
3126 libm_hidden_weak. Call __fesetround_inline instead of
3128 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3129 __fesetround and define as weak alias of __fesetround. Use
3131 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3133 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3134 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3135 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3136 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3137 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3138 __fesetround and define as weak alias of __fesetround. Use
3140 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3141 __fesetround instead of fesetround.
3142 (default_libc_feholdexcept_setround): Likewise.
3143 (libc_feholdsetround_ctx): Likewise.
3144 (libc_feholdsetround_noex_ctx): Likewise.
3147 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3148 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3149 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3150 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3151 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3152 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3153 define as weak alias of __fesetenv. Use libm_hidden_weak.
3154 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3155 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3156 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3157 define as weak alias of __fesetenv. Use libm_hidden_weak.
3158 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3159 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3160 define as weak alias of __fesetenv. Use libm_hidden_weak.
3161 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3163 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3164 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3166 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3167 define as weak alias of __fesetenv. Use libm_hidden_weak.
3168 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3169 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3170 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3171 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3172 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3173 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3174 __fesetenv instead of fesetenv.
3175 (libc_feresetround_noex_ctx): Likewise.
3176 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3177 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3178 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3179 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3180 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3181 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3182 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3183 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3184 (__feupdateenv): Likewise.
3185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3186 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3187 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3188 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3190 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3193 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3194 addresses have been freed.
3196 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3198 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3201 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3203 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3204 Clean up check_pf allocation pattern. addresses
3206 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3208 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3209 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3210 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3211 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3212 * nptl/pthread_join.c (pthread_join): Likewise.
3213 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3214 * sysdeps/posix/waitid.c (__waitid): Likewise.
3215 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3216 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3217 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3218 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3219 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3222 (__libc_pread64): Likewise.
3223 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3224 (__libc_pwrite): Likewise.
3225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3226 (__libc_pwrite64): Likewsie.
3227 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3228 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3229 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3230 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3231 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3232 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3233 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3237 (__libc_pread64): Likewise.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3241 (__libc_pwrite64): Likewise.
3242 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3243 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3244 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3245 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3246 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3247 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3248 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3249 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3250 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3251 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3252 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3253 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3254 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3255 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3256 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3257 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3260 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3262 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3263 (CFLAGS-test-double.c): Likewise.
3264 (CFLAGS-test-ldouble.c): Likewise.
3265 (CPPFLAGS-test-ifloat.c): Likewise.
3266 (CPPFLAGS-test-idouble.c): Likewise.
3267 (CPPFLAGS-test-ildoubl.c): Likewise.
3268 (CFLAGS-test-test-fenv.c): Remove variable.
3269 (CFLAGS-test-misc.c): Likewise.
3271 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3274 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3275 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3276 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3277 CLOCKS_PER_SEC == 1000000.
3278 * time/clocktest.c (main): Replace %ld with %jd and cast to
3281 2015-01-05 Roland McGrath <roland@hack.frob.com>
3283 * sysdeps/generic/unwind-resume.h: New file.
3284 * sysdeps/gnu/unwind-resume.c: Include it.
3285 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3286 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3288 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3289 global rather than static.
3290 (_Unwind_Resume): Update user.
3291 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3292 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3293 rather than static. Add __attribute__ ((cold)).
3294 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3295 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3296 * sysdeps/arm/arm-unwind-resume.S: New file.
3297 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3298 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3299 * sysdeps/arm/Makefile [$(subdir) = csu]
3300 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3301 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3302 Add rt-arm-unwind-resume.
3304 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3305 Add pt-arm-unwind-resume.
3306 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3307 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3309 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3312 * include/fenv.h (__feholdexcept): Declare. Use
3314 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3315 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3316 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3317 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3318 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3319 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3320 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3321 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3322 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3323 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3324 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3325 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3326 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3327 (feholdexcept): Likewise.
3328 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3330 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3331 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3332 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3333 __feholdexcept instead of feholdexcept.
3334 (default_libc_feholdexcept_setround): Likewise.
3336 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3338 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3339 to avoid using stl/str to align destination.
3341 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3343 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3345 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3348 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3349 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3350 Define as weak alias not strong alias.
3352 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3354 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3355 bltzal with addiupc.
3356 (RTLD_START): Ditto.
3358 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3360 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3361 for __vdso_* functions in declarations.
3362 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3364 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3365 INTERNAL_VSYSCALL): Use struct return types to check for error.
3367 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3368 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3369 function with cast from llround().
3370 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3371 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3374 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3377 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3378 Define as weak alias not strong alias.
3381 * ctype/ctype-c99.c: New file. isblank implementation moved from
3383 * ctype/ctype-extn.c: ... here.
3384 (__isblank_l): Move to ...
3385 * ctype/ctype-c99_l.c: ... here. New file.
3386 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3387 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3389 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3390 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3391 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3392 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3393 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3396 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3397 (posix_fadvise64): Define as weak alias not strong alias.
3398 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3399 (posix_fallocate64): Likewise.
3400 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3402 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3403 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3404 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3405 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3406 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3408 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3411 * NEWS: Mention bug fix.
3412 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3413 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3414 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3415 (HOST_STACK_END_ADDR): Likewise.
3417 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3420 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3421 * math/fegetround.c (fegetround): Rename to __fegetround and
3422 define as weak alias of __fegetround. Use libm_hidden_weak.
3423 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3424 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3425 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3426 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3427 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3428 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3429 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3430 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3431 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3432 Undefine after rather than before function definition; use
3433 parentheses around function name in definition.
3434 (__fegetround): Also undefine macro after function definition.
3435 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3436 __fegetround and define as weak alias of __fegetround. Use
3437 libm_hidden_weak. Do not undefine as macro.
3438 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3440 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3441 __fegetround and define as weak alias of __fegetround. Use
3443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3444 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3445 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3446 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3447 __fegetround and define as weak alias of __fegetround. Use
3449 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3450 __fegetround instead of fegetround.
3453 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3454 Condition macro definition on [__USE_MISC].
3457 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3458 (struct sigaction): Change type of sa_flags field to int.
3461 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3462 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3465 * nptl/version.c (banner): Use single year in copyright notice.
3467 * NEWS: Update copyright dates.
3468 * catgets/gencat.c (print_version): Likewise.
3469 * csu/version.c (banner): Likewise.
3470 * debug/catchsegv.sh: Likewise.
3471 * debug/pcprofiledump.c (print_version): Likewise.
3472 * debug/xtrace.sh (do_version): Likewise.
3473 * elf/ldconfig.c (print_version): Likewise.
3474 * elf/ldd.bash.in: Likewise.
3475 * elf/pldd.c (print_version): Likewise.
3476 * elf/sotruss.sh: Likewise.
3477 * elf/sprof.c (print_version): Likewise.
3478 * iconv/iconv_prog.c (print_version): Likewise.
3479 * iconv/iconvconfig.c (print_version): Likewise.
3480 * locale/programs/locale.c (print_version): Likewise.
3481 * locale/programs/localedef.c (print_version): Likewise.
3482 * login/programs/pt_chown.c (print_version): Likewise.
3483 * malloc/memusage.sh (do_version): Likewise.
3484 * malloc/memusagestat.c (print_version): Likewise.
3485 * malloc/mtrace.pl: Likewise.
3486 * manual/libc.texinfo: Likewise.
3487 * nptl/version.c (banner): Likewise.
3488 * nscd/nscd.c (print_version): Likewise.
3489 * nss/getent.c (print_version): Likewise.
3490 * nss/makedb.c (print_version): Likewise.
3491 * posix/getconf.c (main): Likewise.
3492 * scripts/test-installation.pl: Likewise.
3493 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3495 2015-01-02 Will Newton <will.newton@linaro.org>
3497 * sysdeps/arm/armv7/configure: Removed.
3498 * sysdeps/arm/armv7/configure.ac: Likewise.
3500 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3502 * All files with FSF copyright notices: Update copyright dates
3503 using scripts/update-copyrights.
3504 * intl/plural.c: Regenerated.
3505 * locale/programs/charmap-kw.h: Likewise.
3506 * locale/programs/locfile-kw.h: Likewise.
3508 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3510 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3512 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3515 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3516 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3517 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3518 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3519 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3520 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3521 define as weak alias of __fegetenv. Use libm_hidden_weak.
3522 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3523 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3524 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3525 define as weak alias of __fegetenv. Use libm_hidden_weak.
3526 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3527 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3528 define as weak alias of __fegetenv. Use libm_hidden_weak.
3529 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3531 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3532 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3534 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3535 define as weak alias of __fegetenv. Use libm_hidden_weak.
3536 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3537 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3538 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3539 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3540 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3541 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3542 __fegetenv instead of fegetenv.
3543 (libc_feholdsetround_noex_ctx): Likewise.
3545 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3547 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3548 (Elf_MIPS_ABIFlags_v0): New structure.
3549 (EF_MIPS_FP64): Define.
3550 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3551 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3552 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3553 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3554 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3555 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3556 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3557 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3558 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3559 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3560 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3561 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3562 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3563 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3564 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3565 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3566 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3567 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3568 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3569 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3570 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3571 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3573 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3575 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3576 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3577 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3578 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3579 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3580 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3581 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3582 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3583 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3584 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3585 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3586 record the current FP ABI extension.
3587 (mips-mode-switch): Define to show if kernel headers support mode
3589 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3590 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3591 supported SYSV ABI version to 3.
3592 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3595 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3596 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3598 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3600 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3602 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3604 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3605 __fegetround and redefine to call __fegetround. Remove condition
3606 on [!__NO_MATH_INLINES].
3607 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3609 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3612 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3613 instead of <fenv_libc.h>.
3614 (__llrintl): Call fegetround instead of __fegetround.
3615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3616 instead of <fenv_libc.h>.
3617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3618 (__lrintl): Call fegetround instead of __fegetround.
3619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3620 instead of <fenv_libc.h>.
3621 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3622 (__rintl): Call fegetround instead of __fegetround.
3624 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3629 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3632 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3633 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3634 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3636 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3638 * sysdeps/i386/tls-macros.h: Include <features.h>.
3639 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3643 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3644 define for GCC >= 5.0.
3646 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3648 * math/test-fenv.c (test_single_exception, set_single_exc,
3649 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3650 feexcp_mask_test, feenable_test, fe_single_test): Add
3651 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3652 case where they are not used.
3653 * math/libm-test.inc: Likewise.
3654 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3655 unused in the absence of FP rounding/exception support.
3656 * stdio-common/tst-printf-round.c: Likewise.
3657 * stdlib/tst-strtod-round.c: Likewise.
3658 * stdlib/tst-strtod-underflow.c: Likewise.
3660 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3663 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3664 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3665 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3666 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3668 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3669 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3670 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3672 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3673 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3675 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3677 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3678 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3679 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3681 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3683 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3684 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3685 (__feraiseexcept): Likewise.
3686 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3687 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3690 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3692 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3693 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3694 Use libm_hidden_def.
3695 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3697 (feraiseexcept): Define as weak not strong alias. Use
3699 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3700 New inline function. Factored out of ...
3701 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3702 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3703 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3705 * math/w_acos.c (__acos): Likewise.
3706 * math/w_asin.c (__asin): Likewise.
3707 * math/w_ilogb.c (__ilogb): Likewise.
3708 * math/w_j0.c (y0): Likewise.
3709 * math/w_j1.c (y1): Likewise.
3710 * math/w_jn.c (yn): Likewise.
3711 * math/w_log.c (__log): Likewise.
3712 * math/w_log10.c (__log10): Likewise.
3713 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3714 * sysdeps/aarch64/fpu/math_private.h
3715 (libc_feupdateenv_test_aarch64): Likewise.
3716 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3717 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3718 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3719 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3720 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3721 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3722 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3723 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3724 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3725 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3727 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3730 * io/test-utime.c (main): Replace %ld with %jd and cast to
3732 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3733 * nptl/tst-mutex5.c: Include <stdint.h>.
3734 (do_test): Replace %ld with %jd and cast to intmax_t.
3735 * posix/tst-regex.c (run_test): Likewise.
3736 (run_test_backwards): Likewise.
3737 * rt/tst-clock.c: Include <stdint.h>.
3738 (clock_test): Replace %ld with %jd and cast to intmax_t.
3739 * rt/tst-cpuclock1.c: Include <stdint.h>.
3740 (do_test): Replace %lu with %ju and cast to uintmax_t.
3741 * rt/tst-cpuclock2.c: Include <stdint.h>.
3742 (do_test): Replace %lu with %ju and cast to uintmax_t.
3743 * rt/tst-mqueue1.c: Include <stdint.h>.
3744 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3745 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3747 * rt/tst-mqueue4.c (do_test): Likewise.
3748 * rt/tst-timer4.c: Include <stdint.h>.
3749 (check_ts): Replace %ld with %jd and cast to intmax_t.
3750 (do_test): Likewise.
3751 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3752 and cast to intmax_t.
3753 * sysdeps/pthread/tst-timer.c (main): Likewise.
3754 * time/clocktest.c (main): Likewise.
3755 * time/tst-posixtz.c (do_test): Likewise.
3756 * timezone/tst-timezone.c (main): Likewise.
3758 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3759 H.J. Lu <hongjiu.lu@intel.com>
3761 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3762 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3763 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3764 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3765 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3766 version if bit_Fast_Unaligned_Load is set.
3767 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3772 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3774 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3775 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3776 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3778 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3779 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3780 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3781 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3783 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3785 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3786 instead of #if to avoid a Wundef warning.
3787 * stdlib/tst-limits.c (do_test): Likewise.
3789 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3790 parallel other exception macros.
3791 (fegetenv): Convert from macro to extern inline so that it applies
3792 retroactively to inline functions already seen by the compiler.
3793 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3795 * posix/Makefile (before-compile): Use $(objpfx) for
3796 posix-conf-vars-def.h.
3798 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3800 * posix/getconf.c (main): Use size_t for type of I.
3801 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3804 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3805 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3806 * posix/posix-envs.def: Likewise.
3807 * sysdeps/posix/sysconf.c: Likewise.
3808 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3809 (specs): Remove array.
3810 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3813 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3814 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3815 (__sysconf): Use CONF_IS_* macros.
3817 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3818 ($(objpfx)posix-conf-vars-def.h): New target.
3819 * posix/posix-conf-vars.list: New file.
3820 * posix/posix-conf-vars.h: New file.
3821 * posix/confstr.c: Include posix-conf-vars.h.
3822 (confstr): Use CONF_IS_* macros.
3823 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3825 * scripts/gen-posix-conf-vars.awk: New file.
3827 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3829 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3830 fegetround): Add no-op macros to avoid linknamespace issues.
3832 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3833 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3835 * sysdeps/unix/sysv/linux/tile/sysdep.h
3836 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3837 assembly-specific section to avoid a redefinition warning.
3839 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3840 long before casting to pointer to avoid a cast warning.
3842 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3844 * sysdeps/tile/tilegx/Implies: New file.
3846 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3848 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3850 2014-12-23 Florian Weimer <fweimer@redhat.com>
3852 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3854 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3856 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3858 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3859 <kernel-features.h>.
3860 (__utimes) [__NR_utimes]: Make code unconditional.
3861 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3862 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3863 (__ASSUME_UTIMES): Do not undefine.
3864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3865 (__ASSUME_UTIMES): Likewise.
3866 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3867 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3868 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3869 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3871 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3873 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3875 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3878 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3879 alias to weak alias for j0l, y0l.
3880 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3881 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3884 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3887 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3889 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3890 to zero if not already defined.
3892 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3895 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3896 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3897 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3898 (char *) casts added.
3899 * sysdeps/ieee754/k_standardf.c: New file.
3900 * sysdeps/ieee754/k_standardl.c: Likewise.
3901 * math/Makefile (libm-support): Remove k_standard.
3902 (libm-calls): Add k_standard.
3904 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3906 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3907 Optimize to avoid an unnecessary FPCR read.
3909 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3911 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3912 Optimize to reduce FPCR/FPSR accesses.
3914 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3916 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3917 Call libc_fetestexcept_aarch64.
3919 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3921 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3922 Call libc_fesetround_aarch64.
3924 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3927 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3928 (__bind): Do not define as weak alias.
3929 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3931 (__getsockname): Do not define as weak alias.
3933 2014-12-22 Will Newton <will.newton@linaro.org>
3935 * manual/install.texi: Document that we require bison 2.7
3937 * INSTALL: Regenerate.
3938 * configure.ac: Use AC_CHECK_PROG_VER instead of
3939 AC_PATH_PROG when checking for bison and check for
3940 version 2.7 or above.
3941 * configure: Regenerate.
3943 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3946 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3947 * sysdeps/tile/ffsll.c (ffsll): To here.
3949 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3951 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3953 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3955 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3957 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3958 hidden ___tls_get_addr.
3959 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3960 hidden __tls_get_addr.
3961 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3962 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3965 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3967 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3970 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3972 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3973 from "call _dl_init@PLT".
3974 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3976 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3978 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3981 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3983 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3985 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3988 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3991 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3993 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3995 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3996 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3997 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3998 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3999 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4001 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4003 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4004 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4005 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4006 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4007 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4009 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4011 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4013 * string/strncat.c (STRNCAT): Simplify implementation.
4015 2014-12-19 David S. Miller <davem@davemloft.net>
4017 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4018 access the quad as both a long double and as a series of 4 words.
4020 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4021 link_map->l_info array access.
4023 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4025 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4027 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4028 * math/atest-exp2.c (TIMEOUT): Likewise.
4029 * math/atest-sincos.c (TIMEOUT): Likewise.
4031 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4033 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4034 -Wno-error with -fno-builtin-lround.
4036 2014-12-19 Torvald Riegel <triegel@redhat.com>
4038 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4039 Contains futex constants and functions moved over from ...
4040 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4041 <lowlevellock-futex.h>.
4042 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4043 (lll_timedwait_tid): Add comments and parentheses around macro
4046 2014-12-19 Torvald Riegel <triegel@redhat.com>
4048 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4049 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4050 (__lll_private_flag): Remove.
4051 (lll_futex_wait): Likewise.
4052 (lll_futex_timed_wait): Likewise.
4053 (lll_futex_wake): Likewise.
4054 (lll_futex_requeue): Likewise.
4055 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4056 (__lll_timedwait_tid): Spell out argument names.
4057 (lll_timedwait_tid): Add comments and parentheses around macro
4059 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4060 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4062 2014-12-19 Torvald Riegel <triegel@redhat.com>
4064 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4065 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4067 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4068 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4069 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4070 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4071 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4072 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4073 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4074 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4075 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4076 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4077 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4078 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4079 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4080 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4081 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4082 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4084 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4086 * sysdeps/x86_64/x32/Makefile: New file.
4088 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4090 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4091 1L with (mp_limb_t) 1.
4093 2014-12-17 Roland McGrath <roland@hack.frob.com>
4095 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4096 * nptl/libc_pthread_init.c: ... here.
4097 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4098 * nptl/register-atfork.c: ... here.
4100 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4101 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4102 Use assert_perror to check its return value.
4103 (__gai_create_helper_thread): Likewise.
4105 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4107 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4109 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4112 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4114 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4116 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4118 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4120 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4121 (profil_counter): Likewise.
4122 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4123 (profil_counter): Likewise.
4124 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4126 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4128 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4129 (profil_counter): Likewise.
4130 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4132 [!__profil_counter] (profil_counter): Define as weak alias of
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4135 (profil_counter): Rename to __profil_counter.
4136 [!__profil_counter] (profil_counter): Define as weak alias of
4138 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4139 (profil_counter): Rename to __profil_counter.
4140 [!__profil_counter] (profil_counter): Define as weak alias of
4142 * sysdeps/posix/profil.c: Update comment referring to
4144 (__profil): Use __profil_counter instead of profil_counter.
4145 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4146 __profil_counter. Use __profil_counter_ushort and
4147 __profil_counter_uint in definitions.
4148 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4149 instead of profil_counter_uint and profil_counter_ushort.
4152 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4153 define as weak alias of __inet_makeaddr.
4154 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4155 as weak alias of __inet_addr.
4156 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4157 as weak alias of __inet_pton. Use libc_hidden_weak.
4158 * include/arpa/inet.h (__inet_pton): Declare. Use
4160 (inet_makeaddr): Don't use libc_hidden_proto.
4161 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4162 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4163 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4164 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4166 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4167 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4169 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4171 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4173 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4175 * stdio-common/bug-vfprintf-nargs.c (do_test):
4176 Cast value to intptr_t to avoid format warning
4177 for usage with PRIdPTR printing macro.
4179 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4181 * libio/tst-widetext.c (do_test):
4182 Use format type %td instead of %Zd for ptrdiff_t
4183 in order to avoid format warning.
4185 2014-12-17 Andreas Schwab <schwab@suse.de>
4187 * nscd/mem.c (gc): Add size_t cast to match printf format.
4189 2014-12-16 Roland McGrath <roland@hack.frob.com>
4191 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4192 (init): Apply PTR_MANGLE to pointers before storing them.
4193 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4196 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4199 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4200 define as weak alias of __memrchr.
4201 (__memrchr): Do not define as strong alias of memrchr.
4202 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4204 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4205 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4206 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4209 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4210 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4211 (if_indextoname): Rename to __if_indextoname and define as weak
4212 alias of __if_indextoname. Use libc_hidden_weak.
4213 (if_freenameindex): Rename to __if_freenameindex and define as
4214 weak alias of __if_freenameindex.
4215 (if_nameindex): Rename to __if_nameindex and define as weak alias
4217 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4218 __if_nametoindex and define as weak alias of __if_nametoindex.
4219 Use libc_hidden_weak.
4220 (if_freenameindex): Rename to __if_freenameindex and define as
4221 weak alias of __if_freenameindex.
4222 (if_nameindex): Rename to __if_nameindex and define as weak alias
4224 (if_indextoname): Rename to __if_indextoname and define as weak
4225 alias of __if_indextoname. Use libc_hidden_weak.
4226 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4227 __if_nametoindex and define as weak alias of __if_nametoindex.
4228 Use libc_hidden_weak.
4229 (if_freenameindex): Rename to __if_freenameindex and define as
4230 weak alias of __if_freenameindex. Use libc_hidden_weak.
4231 (if_nameindex_netlink): Use __if_freenameindex instead of
4233 (if_nameindex): Rename to __if_nameindex and define as weak alias
4234 of __if_nameindex. Use libc_hidden_weak.
4235 (if_indextoname): Rename to __if_indextoname and define as weak
4236 alias of __if_indextoname. Use libc_hidden_weak.
4237 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4239 [!_ISOMAC] (__if_freenameindex): Likewise.
4240 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4242 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4244 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4245 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4246 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4247 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4248 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4249 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4250 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4252 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4254 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4255 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4257 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4259 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4260 subscript above bounds'
4262 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4265 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4267 * libio/tst-fopenloc.c: Use test-skeleton.c.
4269 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4270 (entry): Rename to ITEM.
4271 (do_test, comp): Adjust.
4273 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4275 2014-12-16 Torvald Riegel <triegel@redhat.com>
4277 * string/tester.c: Include <libc-internal.h>.
4278 (test_memset): Ignore -Wmemset-transposed-args.
4280 2014-12-16 Torvald Riegel <triegel@redhat.com>
4282 * misc/tst-mntent2.c (do_test): Fix warning.
4284 2014-12-16 Torvald Riegel <triegel@redhat.com>
4286 * elf/tst-unique4lib.cc(a): Mark as used.
4288 2014-12-16 Florian Weimer <fweimer@redhat.com>
4291 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4294 2014-12-16 Allan McRae <allan@archlinux.org>
4296 * stdio-common/Makefile (tests): Re-add bug26.
4298 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4301 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4304 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4306 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4307 (__lll_lock_wait): Likewise.
4308 (__lll_timedlock_wait): Likewise.
4309 (__lll_timedwait_tid): Likewise.
4310 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4311 (__lll_robust_timedlock_wait): Likewise.
4312 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4313 (lll_cond_trylock): Likewise.
4314 (__lll_lock): Likewise.
4315 (__lll_robust_lock): Likewise.
4316 (__lll_cond_lock): Likewise.
4317 (lll_robust_cond_lock): Likewise.
4318 (__lll_timedlock): Likewise.
4319 (__lll_robust_timedlock): Likewise.
4320 (__lll_unlock): Likewise.
4321 (__lll_robust_unlock): Likewise.
4322 (lll_wait_tid): Likewise.
4323 (lll_timedwait_tid): Likewise.
4325 2014-12-15 Torvald Riegel <triegel@redhat.com>
4327 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4329 2014-12-15 Torvald Riegel <triegel@redhat.com>
4331 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4333 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4335 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4336 * stdio-common/tst-sprintf.c: Likewise.
4338 2014-12-15 Torvald Riegel <triegel@redhat.com>
4340 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4342 2014-12-15 Jeff Law <law@redhat.com>
4345 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4346 on the heap. (CVE-2012-3406)
4347 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4348 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4349 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4351 2014-12-15 Will Newton <will.newton@linaro.org>
4353 * manual/install.texi: Bump required version of texinfo
4355 * INSTALL: Regenerated.
4356 * configure.ac: Check for makeinfo version 4.7 and above.
4357 * configure: Regenerated.
4359 2014-12-12 Roland McGrath <roland@hack.frob.com>
4361 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4362 PREFIX, string constant to insert between directory and name.
4363 * sysdeps/posix/shm_open.c: Update caller.
4364 * sysdeps/posix/shm_unlink.c: Likewise.
4365 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4366 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4367 (SEM_SHM_PREFIX): New macro.
4368 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4369 [$(have-thread-library) = no].
4370 * nptl/Makefile (libpthread-routines): Add shm-directory.
4371 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4372 * sysdeps/nptl/shm-directory.h: New file.
4373 * sysdeps/posix/shm-directory.c
4374 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4375 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4376 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4378 (__where_is_shmfs): Function removed.
4379 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4381 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4383 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4385 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4386 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4387 unconditional for use inside libpthread.
4388 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4390 2014-12-12 Roland McGrath <roland@hack.frob.com>
4392 * nptl/pthread_getaffinity.c: New file.
4393 * nptl/pthread_setaffinity.c: New file.
4394 * nptl/pthread_getname.c: New file.
4395 * nptl/pthread_setname.c: New file.
4397 * nptl/pthread_create.c (START_THREAD_DEFN)
4398 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4400 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4401 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4403 * resolv/res_send.c (send_vc): Disable warning resplen may
4404 be used uninitialized.
4406 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4409 (ATTR_NULL): New define checks ATTR against NULL.
4410 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4411 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4413 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4417 (mem2mem_check): Revert my previous change.
4418 (malloc_check_get_size): Revert my previous change.
4419 (mem2chunk_check): Revert my previous change.
4421 2014-12-11 Roland McGrath <roland@hack.frob.com>
4423 * sysdeps/posix/shm-directory.c: New file.
4424 * sysdeps/posix/shm-directory.h: New file.
4425 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4426 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4427 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4428 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4429 Transmute EPERM to EACCES.
4430 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4432 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4433 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4435 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4437 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4438 pointer and cast to uintptr_t.
4439 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4440 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4441 Add cast to avoid warning.
4442 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4444 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4446 * nptl/semaphore.h: Move to ...
4447 * sysdeps/pthread/semaphore.h: ... here.
4448 * Makefile (installed-headers): Change nptl/semaphore.h to
4449 sysdeps/pthread/semaphore.h.
4451 2014-12-11 Roland McGrath <roland@hack.frob.com>
4453 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4454 generated error format strings.
4456 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4457 -Wformat-extra-args warnings for scanf formats.
4458 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4459 test of zero-length format (duh).
4460 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4461 corner-case scanf format test.
4462 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4463 generated fprintf format string.
4464 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4465 corner-case sprintf format tests.
4466 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4467 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4468 -Wformat-extra-args warnings throughout.
4469 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4470 (CFLAGS-scanf4.c): Likewise.
4471 (CFLAGS-scanf7.c): Likewise.
4472 (CFLAGS-tst-sprintf.c): Likewise.
4473 (CFLAGS-tst-printf.c): Likewise.
4474 (CFLAGS-tst-printfsz.c): Likewise.
4476 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4478 * include/cpio.h: New file.
4479 * include/fmtmsg.h: Likewise.
4481 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4482 corresponding format argument to size_t.
4483 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4485 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4486 corresponding format argument to size_t.
4487 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4489 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4490 corresponding format argument to size_t.
4491 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4492 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4493 (CFLAGS-tst-mbswcs2.c): Likewise.
4494 (CFLAGS-tst-mbswcs3.c): Likewise.
4495 (CFLAGS-tst-mbswcs4.c): Likewise.
4496 (CFLAGS-tst-mbswcs5.c): Likewise.
4497 (CFLAGS-tst-trans.c): Likewise
4499 2014-12-11 Roland McGrath <roland@hack.frob.com>
4501 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4502 rather than assuming they won't contain any '%'s.
4504 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4506 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4507 inhibit_loop_to_libcall to avoid recursive calls.
4508 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4509 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4511 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4513 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4516 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4518 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4519 integer value instead of boolean.
4521 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4523 * malloc/malloc.c: Fix powerof2 check.
4525 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4527 * locale/programs/locfile.h (maybe_swap_uint32):
4528 Remove inline and add unused attribute.
4530 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4533 Truncating assembler expression to a .long expression.
4535 2014-12-11 Andreas Schwab <schwab@suse.de>
4537 * elf/rtld.c (struct map_args): Constify str member.
4538 (do_preload): Constify fname argument.
4540 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4542 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4543 constants definition.
4545 2014-12-11 Andreas Schwab <schwab@suse.de>
4548 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4549 FORCE_ELISION instead of DO_ELISION.
4550 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4552 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4555 * iconvdata/gconv-modules: Remove duplicate entry.
4557 2014-12-11 Will Newton <will.newton@linaro.org>
4559 Merge gettext 0.19.3 into intl/.
4561 This involves a number of cosmetic changes to comments
4562 and ANSI function definitions and prototypes throughout
4563 all the files. The gettext copyright header is used but
4564 with the date ranges taken from the glibc copy.
4566 * NEWS: Add gettext merge to 2.21.
4567 * intl/bindtextdom.c: Switch to gettext copyright.
4568 Use ANSI definitions and prototypes.
4569 Use gl_* locking primitives rather than __libc_* ones.
4570 Use __builtin_expect rather than __glibc_likely/unlikely.
4571 * intl/dcgettext.c: Switch to gettext copyright.
4572 Use ANSI definitions and prototypes.
4573 * intl/dcigettext.c: Switch to gettext copyright.
4574 Use ANSI definitions and prototypes.
4575 (INTDIV0_RAISES_SIGFPE): New define.
4576 Use gl_* locking primitives rather than __libc_* ones.
4577 Include eval-plural.h instead of plural-eval.c.
4578 Use __builtin_expect rather than __glibc_likely/unlikely.
4579 * intl/dcngettext.c: Switch to gettext copyright.
4580 Use ANSI definitions and prototypes.
4581 * intl/dgettext.c: Likewise.
4582 * intl/dngettext.c: Likewise.
4583 * intl/plural-eval.c: Renamed to...
4584 * intl/eval-plural.h: ...this.
4585 * intl/explodename.c: Switch to gettext copyright.
4586 Use ANSI definitions and prototypes.
4587 (_nl_explode_name): Use strchr instead of __rawmemchr.
4588 * intl/finddomain.c: Switch to gettext copyright.
4589 Use ANSI definitions and prototypes.
4590 Use gl_* locking primitives rather than __libc_* ones.
4591 (_nl_find_domain): Use malloc rather than alloca for
4592 allocation of temporary locale name.
4593 * intl/gettext.c: Switch to gettext copyright.
4594 Use ANSI definitions and prototypes.
4595 * intl/gettextP.h: Switch to gettext copyright.
4596 Use ANSI definitions and prototypes.
4597 Use gl_* locking primitives rather than __libc_* ones.
4598 * intl/gmo.h: Switch to gettext copyright.
4599 (struct sysdep_string): Move struct segment_pair outside of
4601 * intl/hash-string.c: Use ANSI definitions and prototypes.
4602 * intl/hash-string.h: Switch to gettext copyright.
4603 Use ANSI definitions and prototypes.
4604 * intl/l10nflist.c: Switch to gettext copyright.
4605 Use ANSI definitions and prototypes.
4606 (_nl_normalize_codeset): Avoid integer overflow.
4607 * intl/loadinfo.h: Switch to gettext copyright.
4608 Use ANSI definitions and prototypes.
4609 (LIBINTL_DLL_EXPORTED): New define.
4610 (PATH_SEPARATOR): New define.
4611 * intl/loadmsgcat.c: Switch to gettext copyright.
4612 * intl/localealias.c: Switch to gettext copyright.
4613 Use ANSI definitions and prototypes.
4614 (_nl_expand_alias): Use PATH_SEPARATOR.
4615 * intl/ngettext.c: Switch to gettext copyright.
4616 Use ANSI definitions and prototypes.
4617 * intl/plural-exp.c: Likewise.
4618 * intl/plural-exp.h: Switch to gettext copyright.
4619 Use ANSI definitions and prototypes.
4620 (struct expression): Move definition of enum operator outside
4621 of struct definition.
4622 * intl/plural.c: Regenerate.
4623 * intl/plural.y: Switch to gettext copyright.
4624 Use ANSI definitions and prototypes.
4626 * intl/textdomain.c: Switch to gettext copyright.
4627 Use ANSI definitions and prototypes.
4628 Use gl_* locking primitives rather than __libc_* ones.
4630 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4632 * debug/warning-nop.c: Add used atrribute.
4634 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4636 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4638 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4639 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4640 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4642 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4643 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4646 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4647 Undefine after defining function. Define as weak alias of
4648 __wcschr. Use libc_hidden_weak.
4649 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4650 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4651 (libc_hidden_def): Also define __GI___wcschr alias.
4652 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4653 __wcschr and define as weak alias of __wcschr.
4654 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4656 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4657 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4658 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4659 libc_hidden_weak. Do not use libc_hidden_def.
4660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4661 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4662 __GI___wcschr alias.
4663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4664 [IS_IN (libc)] (wcschr): Define as macro expanding to
4666 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4667 [IS_IN (libc)] (__wcschr_power6): Likewise.
4668 [IS_IN (libc)] (__wcschr_power7): Likewise.
4669 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4671 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4673 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4674 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4675 __wcschr and define as weak alias of __wcschr. Use
4676 libc_hidden_builtin_def.
4677 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4678 as weak alias of __wcschr. Use libc_hidden_weak.
4679 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4681 * time/era.c (_nl_init_era_entries): Likewise.
4682 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4684 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4685 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4687 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4689 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4690 format for long int variable.
4692 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4695 * manual/search.texi: (Array Sort Function): Remove claim how to make
4698 2014-12-10 Andreas Schwab <schwab@suse.de>
4701 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4702 user-controlled locks.
4704 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4706 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4709 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4711 * configure.ac (--disable-werror): New configure option.
4712 (enable_werror): New AC_SUBST.
4713 * configure: Regenerated.
4714 * config.make.in (enable-werror): New variable.
4715 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4717 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4718 * manual/install.texi (Configuring and compiling): Document
4720 * INSTALL: Regenerated.
4721 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4722 (CFLAGS-tst-chk2.c): Likewise.
4723 (CFLAGS-tst-chk3.c): Likewise.
4724 (CFLAGS-tst-chk4.cc): Likewise.
4725 (CFLAGS-tst-chk5.cc): Likewise.
4726 (CFLAGS-tst-chk6.cc): Likewise.
4727 (CFLAGS-tst-lfschk1.c): Likewise.
4728 (CFLAGS-tst-lfschk2.c): Likewise.
4729 (CFLAGS-tst-lfschk3.c): Likewise.
4730 (CFLAGS-tst-lfschk4.cc): Likewise.
4731 (CFLAGS-tst-lfschk5.cc): Likewise.
4732 (CFLAGS-tst-lfschk6.cc): Likewise.
4734 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4735 (main): Disable -Wdeprecated-declarations around calls to
4736 register_printf_function.
4738 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4739 (do_test): Disable -Wdiv-by-zero around some calls to
4740 fwrite_unlocked and fread_unlocked.
4742 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4743 (DIAG_POP_NEEDS_COMMENT): Likewise.
4744 (_DIAG_STR1): Likewise.
4745 (_DIAG_STR): Likewise.
4746 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4747 * stdio-common/bug21.c: Include <libc-internal.h>.
4748 (do_test): Disable -Wformat around call to sscanf.
4749 * stdio-common/scanf14.c: Include <libc-internal.h>.
4750 (main): Disable -Wformat around some calls to scanf functions.
4752 2014-12-09 Torvald Riegel <triegel@redhat.com>
4754 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4756 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4758 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4759 stack variable alignment.
4761 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4764 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4765 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4766 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4767 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4768 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4769 __getrlimit instead of getrlimit.
4770 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4771 __gettimeofday instead of gettimeofday.
4772 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4774 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4776 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4777 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4779 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4780 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4782 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4785 for wide-character tests.
4787 2014-12-04 Roland McGrath <roland@hack.frob.com>
4789 * io/openat64.c: #include <libc-internal.h>
4790 (__openat64): Prototypify. Use ignore_value on MODE.
4791 * io/openat.c: Likewise.
4792 * misc/reboot.c: #include <libc-internal.h>
4793 (reboot): Prototypify. Use ignore_value on HOWTO.
4794 * misc/ptrace.c: #include <libc-internal.h>
4795 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4797 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4799 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4800 XPG4, UNIX98 and XOPEN2K.
4801 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4803 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4805 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4807 * libio/fileops.c: Use ISO C style for function definitions.
4808 * libio/iofopen.c: Likewise.
4809 * libio/wfileops.c: Likewise.
4812 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4814 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4815 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4816 (fgets_func): Function pointer to fgets and fgetws.
4817 (do_ftell_test): Add test to verify ftell value after read
4819 (do_test): Set fgets_func.
4821 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4822 O_TRUNC flag for w and w+ modes.
4823 (do_rewind_test): Likewise.
4824 (do_ftell_test): Likewise.
4825 (do_write_test): Likewise.
4828 * libio/fileops.c (do_ftell): Seek only when there are
4830 * libio/wfileops.c (do_ftell_wide): Likewise.
4831 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4833 (do_one_test): Call it.
4835 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4837 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4838 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4839 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4841 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4842 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4843 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4845 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4847 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4849 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4852 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4853 as weak alias of __getifaddrs. Use libc_hidden_weak.
4854 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4855 __freeifaddrs. Use libc_hidden_weak.
4856 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4857 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4858 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4859 __freeifaddrs. Use libc_hidden_weak.
4860 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4861 __getifaddrs and define as weak alias of __getifaddrs. Use
4863 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4864 __freeifaddrs. Use libc_hidden_weak.
4865 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4867 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4868 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4870 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4873 * sysdeps/mips/start.S (__start): Use indirect jump to call
4876 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4878 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4880 * nptl/tst-mutex1.c: Include <stdbool.h>.
4881 [!ATTR] (ATTR_NULL): New macro.
4882 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4883 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4884 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4886 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4890 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4891 Change conditional to [__USE_MISC].
4894 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4896 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4898 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4900 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4902 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4903 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4904 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4905 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4906 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4907 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4908 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4909 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4910 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4912 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4914 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4916 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4917 Remove strpbrk objects.
4918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4919 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4920 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4921 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4922 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4923 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4926 Remove strcspn objects.
4927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4928 (__libc_ifunc_impl_list): Remove strcspn implementation.
4929 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4930 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4931 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4932 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4934 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4935 Remove strspn objetcs.
4936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4937 (__libc_ifunc_impl_list): Remove strspn implementation.
4938 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4939 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4940 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4941 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4943 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4947 (mem2mem_check): Add a terminator to the chain of checking blocks.
4948 (malloc_check_get_size): Use it here.
4949 (mem2chunk_check): Ditto.
4951 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4953 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4954 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4956 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4958 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4960 * nptl/nptl-init.c: Include libc-internal.h.
4961 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4963 * elf/ldconfig.c (search_dir): Expand comment.
4965 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4967 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4969 (linknamespace-symlist-stdlibs-tests): Likewise.
4970 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4971 instead of $(objpfx)symlist-stdlibs.
4972 (linknamespace-libs-isoc): New variable.
4973 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4974 (linknamespace-libs-ISO): New variable.
4975 (linknamespace-libs-ISO99): Likewise.
4976 (linknamespace-libs-ISO11): Likewise.
4977 (linknamespace-libs-XPG3): Likewise.
4978 (linknamespace-libs-XPG4): Likewise.
4979 (linknamespace-libs-POSIX): Likewise.
4980 (linknamespace-libs-UNIX98): Likewise.
4981 (linknamespace-libs-XOPEN2K): Likewise.
4982 (linknamespace-libs-POSIX2008): Likewise.
4983 (linknamespace-libs-XOPEN2K8): Likewise.
4984 ($(objpfx)symlist-stdlibs): Replace by
4985 $(linknamespace-symlist-stdlibs-tests). Use
4986 $(linknamespace-libs-$*) as set of libraries.
4987 ($(linknamespace-header-tests)): Update dependencies. Use
4988 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4989 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4990 * conform/linknamespace.pl: Remove comment about considering
4991 definitions of symbols from irrelevant libraries.
4993 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4996 * elf/dl-tls.c: Include <atomic.h>.
4997 (oom): Remove #ifdef SHARED/#endif.
4998 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4999 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5000 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5002 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5003 * nptl/Makefile (tests): Add tst-stack4.
5004 (modules-names): Add tst-stack4mod.
5005 ($(objpfx)tst-stack4): New.
5006 (tst-stack4mod.sos): Likewise.
5007 ($(objpfx)tst-stack4.out): Likewise.
5008 ($(tst-stack4mod.sos)): Likewise.
5010 * nptl/tst-stack4.c: New file.
5011 * nptl/tst-stack4mod.c: Likewise.
5013 2014-11-27 J. Brown <jb999@gmx.de>
5015 * sysdeps/x86/bits/string.h: Add recent CPUs.
5017 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5019 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5022 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5025 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5028 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5030 * nscd/connections.c: Include libc-internal.h because of macro
5033 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * string/bits/string3.h (__warn_memset_zero_len): Don't
5036 declare for gcc newer than 5.0.
5037 (memset): Don't test for zero-length __LEN for gcc newer than
5040 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5042 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5043 size_t for %zu format.
5045 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5046 difference, not %ju.
5048 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5050 * include/libc-internal.h (ignore_value): New macro.
5051 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5054 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5057 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5058 pthread_cleanup_push to void *.
5060 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5065 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5066 instead of 1L << 52.
5068 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5069 * libio/bug-rewind2.c (do_test): Likewise.
5071 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5072 * debug/test-strcpy_chk-ifunc.c: Likewise.
5073 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5074 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5075 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5076 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5077 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5078 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5079 * Rules [$(multi-arch) = no] (tests): Do not filter out
5081 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5082 * debug/Makefile (tests-ifunc): Remove variable.
5083 (tests): Do not add $(tests-ifunc).
5084 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5085 (tests): Do not add $(tests-ifunc).
5086 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5087 [TEST_IFUNC]: Remove conditionals.
5088 * string/test-string.h (TEST_IFUNC): Remove macro.
5089 [TEST_IFUNC]: Remove conditionals.
5091 * string/test-strchr.c [!WIDE] (L): New macro.
5092 [WIDE] (L): Likewise.
5093 (check1): Use CHAR instead of char. Use L on string and character
5096 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5098 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5100 * sysdeps/powerpc/bits/atomic.h
5101 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5102 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5103 (atomic_exchange_and_add_acq): Likewise.
5104 (atomic_exchange_and_add_rel): Likewise.
5105 * sysdeps/powerpc/powerpc32/bits/atomic.h
5106 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5107 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5108 * sysdeps/powerpc/powerpc64/bits/atomic.h
5109 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5110 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5112 2014-11-26 Torvald Riegel <triegel@redhat.com>
5114 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5115 Change synchronization of __sched_fifo_min_prio and
5116 __sched_fifo_max_prio.
5117 * nptl/pthread_mutexattr_getprioceiling.c
5118 (pthread_mutexattr_getprioceiling): Likewise.
5119 * nptl/pthread_mutexattr_setprioceiling.c
5120 (pthread_mutexattr_setprioceiling): Likewise.
5121 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5122 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5125 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5127 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5130 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5132 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5133 third argument const.
5135 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5137 fnmatch: work around GCC compiler warning bug with uninit var
5138 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5139 This works around a bug with x86-64 GCC 4.9.2 and earlier
5140 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5141 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5142 used uninitialized in this function [-Wmaybe-uninitialized]".
5144 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5146 * posix/bug-regex31.c (main): Return RES not 0.
5148 2014-11-25 Anton Blanchard <anton@samba.org>
5150 * sysdeps/powerpc/bits/atomic.h
5151 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5153 2014-11-24 Sterling Augustine <saugustine@google.com>
5155 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5157 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5160 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5162 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5165 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5166 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5168 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5169 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5171 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5173 * string/strncpy.c (strncpy): Improve performance by using memset.
5175 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5177 * string/strcpy.c (strcpy):
5178 Improve performance by using strlen and memcpy.
5180 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5182 * string/strcoll_l.c (get_next_seq): __always_inline.
5183 * string/strcoll_l.c (do_compare): __always_inline.
5185 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5187 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5189 * include/mqueue.h: Likewise.
5190 * include/stdlib.h: Likewise.
5192 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5193 (get_null_defines): Adjust.
5194 * sunrpc/Makefile: Adjust comment.
5195 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5196 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5197 (CFLAGS-interp.c): Likewise.
5198 (CFLAGS-ldconfig.c): Likewise.
5199 (CPPFLAGS-.os): Likewise.
5200 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5201 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5202 * extra-modules.mk (extra-modules.mk): Likewise.
5203 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5204 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5205 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5206 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5207 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5208 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5209 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5210 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5211 * iconvdata/Makefile (CPPFLAGS): Likewise.
5212 (cpp-srcs-left): Add libof for all iconvdata routines.
5213 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5214 * include/assert.h: Likewise.
5215 * include/ctype.h: Likewise.
5216 * include/errno.h: Likewise.
5217 * include/libc-symbols.h: Likewise.
5218 * include/math.h: Likewise.
5219 * include/netdb.h: Likewise.
5220 * include/resolv.h: Likewise.
5221 * include/stdio.h: Likewise.
5222 * include/stdlib.h: Likewise.
5223 * include/string.h: Likewise.
5224 * include/sys/stat.h: Likewise.
5225 * include/wctype.h: Likewise.
5226 * intl/l10nflist.c: Likewise.
5227 * libidn/idn-stub.c: Likewise.
5228 * libio/libioP.h: Likewise.
5229 * nptl/libc_multiple_threads.c: Likewise.
5230 * nptl/pthreadP.h: Likewise.
5231 * posix/regex_internal.h: Likewise.
5232 * resolv/res_hconf.c: Likewise.
5233 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5234 * sysdeps/arm/memmove.S: Likewise.
5235 * sysdeps/arm/sysdep.h: Likewise.
5236 * sysdeps/generic/_itoa.h: Likewise.
5237 * sysdeps/generic/symbol-hacks.h: Likewise.
5238 * sysdeps/gnu/errlist.awk: Likewise.
5239 * sysdeps/gnu/errlist.c: Likewise.
5240 * sysdeps/i386/i586/memcpy.S: Likewise.
5241 * sysdeps/i386/i586/memset.S: Likewise.
5242 * sysdeps/i386/i686/memcpy.S: Likewise.
5243 * sysdeps/i386/i686/memmove.S: Likewise.
5244 * sysdeps/i386/i686/mempcpy.S: Likewise.
5245 * sysdeps/i386/i686/memset.S: Likewise.
5246 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5248 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5250 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5251 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5252 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5262 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5263 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5264 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5265 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5266 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5267 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5268 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5269 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5270 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5271 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5272 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5273 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5274 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5275 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5276 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5279 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5280 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5281 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5282 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5283 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5286 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5287 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5290 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5291 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5293 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5294 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5295 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5296 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5297 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5298 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5300 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5301 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5302 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5303 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5304 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5305 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5307 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5308 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5309 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5310 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5311 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5312 * sysdeps/posix/closedir.c: Likewise.
5313 * sysdeps/posix/opendir.c: Likewise.
5314 * sysdeps/posix/readdir.c: Likewise.
5315 * sysdeps/posix/rewinddir.c: Likewise.
5316 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5317 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5318 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5319 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5321 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5323 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5328 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5329 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5330 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5331 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5332 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5333 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5335 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5336 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5337 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5338 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5339 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5341 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5344 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5345 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5346 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5351 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5352 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5353 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5356 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5357 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5358 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5360 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5361 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5362 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5363 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5364 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5365 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5366 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5367 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5368 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5369 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5370 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5372 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5373 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5374 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5375 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5376 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5377 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5378 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5379 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5380 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5381 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5383 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5384 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5385 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5387 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5388 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5389 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5390 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5391 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5392 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5393 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5394 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5395 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5396 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5397 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5398 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5399 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5400 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5402 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5403 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5404 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5405 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5406 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5407 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5408 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5409 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5410 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5412 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5414 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5415 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5417 * sysdeps/unix/alpha/sysdep.S: Likewise.
5418 * sysdeps/unix/alpha/sysdep.h: Likewise.
5419 * sysdeps/unix/make-syscalls.sh: Likewise.
5420 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5422 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5423 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5424 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5425 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5426 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5427 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5428 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5429 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5430 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5431 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5433 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5434 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5435 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5436 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5437 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5438 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5439 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5440 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5441 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5442 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5443 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5444 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5445 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5446 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5449 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5450 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5454 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5458 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5459 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5460 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5462 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5463 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5470 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5471 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5472 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5473 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5474 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5476 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5478 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5479 * sysdeps/x86_64/memcpy.S: Likewise.
5480 * sysdeps/x86_64/memmove.c: Likewise.
5481 * sysdeps/x86_64/memset.S: Likewise.
5482 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5483 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5484 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5485 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5486 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5489 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5490 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5491 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5492 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5493 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5494 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5495 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5496 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5497 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5499 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5500 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5501 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5502 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5503 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5504 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5505 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5506 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5507 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5508 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5509 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5510 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5511 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5512 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5513 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5514 * sysdeps/x86_64/strcmp.S: Likewise.
5516 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5518 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5519 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5520 * elf/rtld-Rules: Likewise.
5521 * elf/setup-vdso.h: Likewise.
5522 * include/assert.h: Likewise.
5523 * include/bits/stdlib-float.h: Likewise.
5524 * include/errno.h: Likewise.
5525 * include/sys/stat.h: Likewise.
5526 * include/unistd.h: Likewise.
5527 * sysdeps/aarch64/setjmp.S: Likewise.
5528 * sysdeps/alpha/setjmp.S: Likewise.
5529 * sysdeps/arm/__longjmp.S: Likewise.
5530 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5531 * sysdeps/arm/setjmp.S: Likewise.
5532 * sysdeps/arm/sysdep.h: Likewise.
5533 * sysdeps/generic/_itoa.h: Likewise.
5534 * sysdeps/generic/dl-sysdep.h: Likewise.
5535 * sysdeps/generic/ldsodefs.h: Likewise.
5536 * sysdeps/i386/dl-tls.h: Likewise.
5537 * sysdeps/i386/setjmp.S: Likewise.
5538 * sysdeps/m68k/setjmp.c: Likewise.
5539 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5540 * sysdeps/mach/hurd/opendir.c: Likewise.
5541 * sysdeps/posix/getcwd.c: Likewise.
5542 * sysdeps/posix/opendir.c: Likewise.
5543 * sysdeps/posix/profil.c: Likewise.
5544 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5545 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5547 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5548 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5549 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5550 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5551 * sysdeps/s390/dl-tls.h: Likewise.
5552 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5553 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5554 * sysdeps/sh/sh3/setjmp.S: Likewise.
5555 * sysdeps/sh/sh4/setjmp.S: Likewise.
5556 * sysdeps/unix/alpha/sysdep.h: Likewise.
5557 * sysdeps/unix/arm/sysdep.S: Likewise.
5558 * sysdeps/unix/i386/sysdep.S: Likewise.
5559 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5560 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5561 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5562 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5564 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5565 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5566 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5567 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5568 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5569 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5570 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5574 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5578 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5579 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5582 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5583 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5584 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5586 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5587 * sysdeps/x86_64/setjmp.S: Likewise.
5589 * include/math.h: Use IS_IN instead of IS_IN_libm.
5590 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5602 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5608 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5610 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5611 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5612 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5613 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5614 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5615 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5617 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5618 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5619 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5620 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5621 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5622 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5633 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5634 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5635 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5636 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5637 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5638 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5644 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5645 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5646 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5647 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5649 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5650 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5651 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5652 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5653 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5654 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5655 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5656 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5657 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5659 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5661 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5662 * nptl/pthreadP.h: Likewise.
5663 * nptl_db/structs.def: Likewise.
5664 * sysdeps/arm/sysdep.h: Likewise.
5665 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5666 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5667 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5668 * sysdeps/unix/alpha/sysdep.h: Likewise.
5669 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5670 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5671 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5672 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5673 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5674 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5675 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5676 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5677 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5678 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5679 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5680 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5681 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5682 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5689 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5690 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5691 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5692 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5693 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5694 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5696 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5697 * nptl/pthreadP.h: Likewise.
5698 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5699 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5700 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5701 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5702 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5704 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5705 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5706 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5708 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5709 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5714 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5716 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5719 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5720 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5721 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5723 * dlfcn/dladdr.c: Use IS_IN.
5724 * dlfcn/dladdr1.c: Likewise.
5725 * dlfcn/dlclose.c: Likewise.
5726 * dlfcn/dlerror.c: Likewise.
5727 * dlfcn/dlinfo.c: Likewise.
5728 * dlfcn/dlmopen.c: Likewise.
5729 * dlfcn/dlopen.c: Likewise.
5730 * dlfcn/dlsym.c: Likewise.
5731 * dlfcn/dlvsym.c: Likewise.
5733 * include/ifaddrs.h: Use IS_IN.
5734 * inet/check_pf.c: Likewise.
5735 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5736 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5738 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5740 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5741 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5743 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5744 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5747 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5749 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5750 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5751 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5752 * include/libc-symbols.h (IS_IN_LIB): New macro.
5753 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5754 * include/netdb.h: Likewise.
5755 * include/stap-probe.h: Remove all uses of IN_LIB.
5757 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5758 instead of IN_MODULE.
5759 * include/libc-symbols.h (IN_MODULE): Define using
5761 (PASTE_NAME, PASTE_NAME1): New macros.
5762 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5764 (STAP_PROBE_ASM): Likewise.
5766 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5768 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5769 __mach_init in dlopened libc.
5771 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5773 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5774 * sysdeps/arm/preconfigure: Regenerate.
5776 2014-11-21 Roland McGrath <roland@hack.frob.com>
5778 * nptl/pthread_create.c (__pthread_create_2_1): Set
5779 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5780 when copying values from IATTR into PD.
5782 2014-11-21 Will Newton <will.newton@linaro.org>
5783 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5785 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5786 Refactor inline-asm. Also add comment.
5788 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5789 ElfW macro instead of hardcoded Elf64 types.
5790 (la_aarch64_gnu_pltenter): Likewise.
5791 * sysdeps/aarch64/dl-machine.h
5792 (elf_machine_runtime_setup): Use ElfW(Addr).
5794 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5795 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5796 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5797 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5798 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5799 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5800 (R_AARCH64_TLS_DTPMOD): This.
5801 (R_AARCH64_TLS_DTPREL64): Rename to ...
5802 (R_AARCH64_TLS_DTPREL): This.
5803 (R_AARCH64_TLS_TPREL64): Rename to ...
5804 (R_AARCH64_TLS_TPREL): This.
5805 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5806 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5807 R_AARCH64_TLS_TPREL64.
5808 (elf_machine_rela): Likewise.
5810 2014-11-21 Torvald Riegel <triegel@redhat.com>
5812 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5813 by setting it to 0. 64b atomics are not supported currently.
5815 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5818 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5819 search domain names.
5821 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5825 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5827 * posix/tst-getaddrinfo5.c: New.
5828 * posix/Makefile (tests): Add it.
5830 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5834 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5835 after parsing line but before break_if_match.
5836 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5837 if there is a protocol mismatch.
5839 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5841 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5842 because the potential race is on the user-supplied stream.
5844 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5846 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5847 string literal if not passed a buffer.
5848 * manual/job.texi (ctermid): Update reasoning, note deviation
5849 from posix, suggest mtasurace when not passed a buffer, for
5850 future non-preliminary safety notes.
5852 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5854 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5855 of not passing it a buffer.
5856 Reported by Peng Haitao.
5858 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5860 * manual/Makefile ($(objpfx)stamp-summary): Require
5861 check-safety.sh to pass.
5862 * manual/check-safety.sh: Wish for verification that every
5863 @deftypefn and @deftypefun is followed by a @safety remark.
5865 2014-11-20 Roland McGrath <roland@hack.frob.com>
5867 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5869 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5870 PTHREAD_CANCEL_ASYNCHRONOUS.
5871 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5874 * nptl/default-sched.h: New file.
5875 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5876 * nptl/pthread_create.c: Include it.
5877 (__pthread_create_2_1): Use collect_default_sched instead of making
5878 Linux syscalls here directly.
5880 2014-11-20 Torvald Riegel <triegel@redhat.com>
5882 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5883 __pthread_once): Use C11 atomics.
5885 2014-11-20 Torvald Riegel <triegel@redhat.com>
5887 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5889 2014-11-20 Torvald Riegel <triegel@redhat.com>
5891 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5892 atomic_thread_fence_acquire, atomic_thread_fence_release,
5893 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5894 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5895 atomic_compare_exchange_weak_relaxed,
5896 atomic_compare_exchange_weak_acquire,
5897 atomic_compare_exchange_weak_release,
5898 atomic_exchange_acquire, atomic_exchange_release,
5899 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5900 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5901 atomic_fetch_and_acquire,
5902 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5904 2014-11-20 Torvald Riegel <triegel@redhat.com>
5906 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5907 USE_ATOMIC_COMPILER_BUILTINS): Define.
5908 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5909 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5910 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5911 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5912 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5913 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5914 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5915 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5916 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5917 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5918 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5919 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5920 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5921 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5922 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5923 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5924 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5925 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5926 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5927 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5928 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5929 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5930 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5931 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5932 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5933 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5934 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5935 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5936 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5937 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5938 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5939 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5940 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5941 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5942 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5943 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5944 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5945 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5946 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5947 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5949 2014-11-19 Roland McGrath <roland@hack.frob.com>
5951 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5952 the sched_priority value here. It was already checked when the user
5953 called pthread_attr_setschedparam.
5955 * nptl/tst-bad-schedattr.c: New file.
5956 * nptl/Makefile (tests): Add it.
5958 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5959 Florian Weimer <fweimer@redhat.com>
5960 Joseph Myers <joseph@codesourcery.com>
5961 Adam Conrad <adconrad@0c3.net>
5962 Andreas Schwab <schwab@suse.de>
5963 Brooks <bmoses@google.com>
5966 * wordexp-test.c (__dso_handle): Add prototype.
5967 (__register_atfork): Likewise.
5968 (__app_register_atfork): New function.
5969 (registered_forks): New global.
5970 (register_fork): New function.
5971 (test_case): Add 3 new tests for WRDE_CMDSUB.
5972 (main): Call __app_register_atfork.
5973 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5974 fork count is non-zero fail the test.
5975 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5977 (parse_dollars): Remove check for WRDE_NOCMD.
5978 (parse_dquote): Likewise.
5980 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5982 * Makeconfig (built-modules): List non-library modules to be
5984 (module-cppflags): Include libc-modules.h for
5985 everything except shlib-versions.v.i.
5987 (before-compile): Add libc-modules.h.
5988 ($(common-objpfx)libc-modules.h,
5989 $(common-objpfx)libc-modules.stmp): New targets.
5990 (common-generated): Add libc-modules.h and libc-modules.stmp.
5991 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5992 * include/libc-symbols.h: Don't include libc-modules.h.
5993 * include/libc-modules.h: Remove file.
5994 * scripts/gen-libc-modules.awk: New script to generate
5996 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5997 Depend on libc-modules.stmp.
5999 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6001 * Makeconfig (in-module): Get value of libof set for the
6003 (CPPFLAGS): Use $(in-module).
6004 * Makerules: Don't suffix routine names for nonlib.
6005 * include/libc-modules.h: New file.
6006 * include/libc-symbols.h: Include libc-modules.h
6007 (IS_IN): New macro to replace IS_IN_* macros.
6008 * elf/Makefile: Set libof-* for each routine.
6009 * elf/rtld-Rules: Likewise.
6010 * extra-modules.mk: Likewise.
6011 * iconv/Makefile: Likewise.
6012 * iconvdata/Makefile: Likewise.
6013 * locale/Makefile: Likewise.
6014 * malloc/Makefile: Likewise.
6015 * nss/Makefile: Likewise.
6016 * sysdeps/gnu/Makefile: Likewise.
6017 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6018 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6019 * sysdeps/s390/s390-64/Makefile: Likewise.
6020 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6021 CPPFLAGS for nscd instead of nonlib.
6023 2014-11-18 Roland McGrath <roland@hack.frob.com>
6025 * nptl/createthread.c: New file.
6027 * nptl/createthread.c: Moved ...
6028 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6030 * nptl/createthread.c: Add proper top-line comment.
6031 (do_clone): Folded into ...
6032 (create_thread): ... here. Take new arguments STOPPED_START and
6033 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6034 increment __nptl_threads, do event-reporting logic, do
6035 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6036 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6037 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6038 just send SIGCANCEL.
6039 * nptl/pthread_create.c: Forward-declare create_thread before
6040 including createthread.c.
6041 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6042 declaration, and new macro START_THREAD_SELF to replace argument.
6043 Remove return statement.
6044 (report_thread_creation): New function.
6045 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6046 synchronization logic, and __nptl_nthreads increment here, around
6047 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6048 PD->parent_cancelhandling here, before create_thread. When
6049 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6050 __deallocate_stack, and ENOMEM translation here.
6052 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6055 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6056 (mptwo): Rename to __mptwo.
6057 (__inv): Use __mptwo instead of mptwo.
6058 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6059 (mptwo): Rename to __mptwo.
6060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6061 of mpone and __mptwo instead of mptwo.
6062 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6065 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6066 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6067 of mpone and __mptwo instead of mptwo.
6068 (__mpranred): Use __mpone instead of mpone.
6069 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6071 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6072 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6073 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6074 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6075 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6076 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6077 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6078 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6079 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6080 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6081 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6082 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6083 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6084 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6085 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6086 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6087 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6088 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6089 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6091 2014-11-18 Tom de Vries <tom@codesoucery.com>
6093 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6094 replace BSD Handler xref with BSD Signal Handling.
6096 2014-11-17 Richard Henderson <rth@redhat.com>
6098 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6099 (_FP_PACK_RAW_2): Remove.
6100 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6101 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6102 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6103 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6104 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6105 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6106 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6107 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6108 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6109 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6110 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6111 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6112 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6113 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6114 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6115 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6117 2014-11-14 Roland McGrath <roland@hack.frob.com>
6119 * signal/signal.h [__USE_MISC]
6120 (struct sigvec): Remove type.
6121 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6122 (sigvec): Remove declaration.
6123 * sysdeps/posix/sigvec.c: Moved ...
6124 * signal/sigvec.c: ... here, replacing old file.
6125 (struct sigvec): New type, copied from old signal.h definition.
6126 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6127 (__sigvec): Convert definition to prototype.
6128 (sigvec): Replace weak_alias with compat_symbol.
6129 * signal/Versions (libc: GLIBC_2.21): New version set.
6130 * include/signal.h: Remove __sigvec declaration.
6131 * sysdeps/unix/bsd/sigvec.c: Remove file.
6132 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6133 * manual/signal.texi (BSD Handler): Remove subsection.
6134 Move siginterrupt up to ...
6135 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6136 (Blocking in BSD): Fold subsection into its parent.
6137 * NEWS: Mention sigvec removal.
6139 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6141 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6142 (DLA_FMS): Make definition conditional only on [__FMA4__].
6143 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6146 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6147 Make definition conditional only on [PROF].
6148 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6150 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6151 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6153 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6155 * include/signal.h (__sigpause): Move declaration above call to
6157 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6159 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6160 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6162 2014-11-14 David S. Miller <davem@davemloft.net>
6164 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6165 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6167 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6169 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6170 * configure: Regenerated.
6171 * manual/install.texi (Tools for Compilation): Document a
6172 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6173 compiler verified to work.
6174 * INSTALL: Regenerated.
6176 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6177 redeclare with asm name.
6178 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6179 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6180 including <string.h>.
6181 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6182 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6183 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6184 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6185 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6186 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6187 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6189 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6191 * stdlib/strtol.c (__strtol): Use prototype definition.
6194 * stdlib/strtol.c (SYM__): New macro.
6196 (__strtol): Likewise.
6197 (strtol): Rename to __strtol and define as weak alias of
6198 __strtol. Use libc_hidden_weak.
6200 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6202 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6203 Use numbered labels in inline assembly.
6205 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6207 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6208 Add setjmp LIBC_PROBE.
6209 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6211 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6212 Add longjmp, longjmp_target LIBC_PROBE.
6213 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6216 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6218 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6219 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6220 to get rid of unused variable warning.
6222 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6224 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6225 Check for unwind_backtrace == NULL only in SHARED case.
6226 (__backchain_backtrace): Compile only in SHARED case.
6227 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6229 (__backchain_backtrace): Declare as static.
6231 2014-11-12 Roland McGrath <roland@hack.frob.com>
6233 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6234 (__libc_multiple_threads_ptr): Variable moved ...
6235 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6237 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6239 * conform/GlibcConform.pm: New file.
6240 * conform/conformtest.pl: Use GlibcConform module.
6241 * conform/linknamespace.pl: New file.
6242 * conform/list-header-symbols.pl: Likewise.
6243 * conform/Makefile (linknamespace-symlists-base): New variable.
6244 (linknamespace-symlists-tests): Likewise.
6245 (linknamespace-header-base): Likewise.
6246 (linknamespace-header-tests): Likewise.
6247 (tests-special): Add new tests.
6248 ($(linknamespace-symlists-tests)): New rule.
6249 (linknamespace-libs): New variable.
6250 ($(objpfx)symlist-stdlibs): New rule.
6251 ($(linknamespace-header-tests)): Likewise.
6252 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6253 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6254 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6255 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6256 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6257 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6258 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6259 (test-xfail-ISO/math.h/linknamespace): Likewise.
6260 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6261 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6262 (test-xfail-ISO/time.h/linknamespace): Likewise.
6263 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6264 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6265 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6266 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6267 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6268 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6269 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6270 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6271 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6272 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6273 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6274 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6275 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6276 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6277 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6278 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6279 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6280 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6281 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6282 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6283 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6284 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6285 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6286 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6287 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6288 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6289 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6290 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6291 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6292 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6293 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6294 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6295 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6296 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6297 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6298 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6299 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6300 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6301 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6302 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6303 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6304 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6305 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6306 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6307 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6308 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6309 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6310 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6311 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6312 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6313 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6314 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6315 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6316 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6317 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6318 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6319 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6320 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6321 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6322 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6323 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6324 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6325 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6326 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6327 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6328 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6329 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6330 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6331 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6332 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6333 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6334 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6335 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6336 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6337 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6338 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6339 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6340 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6341 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6342 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6343 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6344 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6345 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6346 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6347 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6348 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6349 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6350 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6351 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6352 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6353 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6354 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6355 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6356 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6357 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6358 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6359 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6360 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6361 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6362 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6363 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6364 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6365 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6366 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6367 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6368 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6369 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6370 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6371 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6372 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6373 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6374 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6375 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6376 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6377 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6378 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6379 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6380 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6381 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6382 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6383 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6384 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6385 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6386 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6387 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6388 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6389 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6390 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6391 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6392 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6393 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6394 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6395 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6396 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6397 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6398 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6399 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6400 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6401 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6402 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6403 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6404 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6405 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6406 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6407 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6408 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6409 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6410 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6411 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6412 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6415 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6419 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6420 (memmem): Rename to __memmem and define as weak alias of
6421 __memmem. Use libc_hidden_weak.
6422 (__memmem): Use libc_hidden_def.
6423 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6424 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6428 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6429 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6430 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6431 and define as weak alias of __fgets_unlocked. Use
6433 (__fgets_unlocked): Use libc_hidden_def.
6434 * include/stdio.h (__fgets_unlocked): Declare. Use
6436 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6437 __fgets_unlocked instead of fgets_unlocked.
6438 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6439 (GET_NPROCS_CONF_PARSER): Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6441 (GET_NPROCS_CONF_PARSER): Likewise.
6444 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6445 weak alias of __wmemset. Use libc_hidden_weak.
6446 (__wmemset): Use libc_hidden_def.
6447 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6448 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6452 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6453 with asm name __mempcpy.
6454 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6457 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6458 and define as weak alias of __rawmemchr.
6459 (__rawmemchr): Do not define as strong alias of rawmemchr.
6462 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6464 (qsort): Call __qsort_r instead of qsort_r.
6465 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6466 (__qsort_r): Declare. Call libc_hidden_proto.
6467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6469 * nscd/gai.c (__qsort_r): Define to qsort_r.
6470 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6471 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6472 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6475 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6476 define as weak alias of __malloc_info.
6479 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6480 as weak alias of __rewinddir. Don't use libc_hidden_def.
6481 (__rewinddir): Use libc_hidden_def.
6482 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6483 as weak alias of __rewinddir. Don't use libc_hidden_def.
6484 (__rewinddir): Use libc_hidden_def.
6485 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6486 weak alias of __rewinddir. Don't use libc_hidden_def.
6487 (__rewinddir): Use libc_hidden_def.
6488 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6489 (__rewinddir): Use libc_hidden_proto.
6490 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6492 (__getcwd): Use __rewinddir instead of rewinddir.
6495 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6496 alias of __fileno. Use libc_hidden_weak.
6497 (__fileno): Use libc_hidden_def.
6498 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6499 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6501 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6503 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6504 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6506 (fread_unlocked): Don't use libc_hidden_ver.
6507 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6508 and define as weak alias of __fread_unlocked. Don't use
6510 (__fread_unlocked): Use libc_hidden_def.
6511 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6512 (ftello): Don't use libc_hidden_proto.
6513 (__ftello): Declare. Use libc_hidden_proto.
6514 (fread_unlocked): Don't use libc_hidden_proto.
6515 (__fread_unlocked): Declare. Use libc_hidden_proto.
6516 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6517 and __ftello instead of fileno, fread_unlocked and ftello.
6519 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6521 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6525 (_dl_start_user): Likewise.
6526 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6528 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6529 Siddhesh Poyarekar <siddhesh@redhat.com>
6531 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6532 Move argv and envp down instead of moving argc up.
6533 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6535 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6538 * test-skeleton.c (main): Return successful if one of
6539 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6540 * string/tst-strcoll-overflow.c: Define expected status.
6542 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6545 * locale/iso-639.def: Define Bhili and Tulu language codes.
6547 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6549 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6551 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6554 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6556 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6558 * configure.ac: Updated check of minimal required version to
6560 * manual/install.texi (Tools for Compilation): Updated version
6562 * configure: Regenerated.
6563 * INSTALL: Likewise.
6565 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6567 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6570 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6572 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6573 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6574 (__waitpid): Don't define as alias. Use libc_hidden_def not
6576 (waitpid): Define as alias of __waitpid.
6577 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6579 (__waitpid): Don't define as alias. Use libc_hidden_def not
6581 (waitpid): Define as alias of __waitpid.
6582 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6583 __libc_waitpid alias.
6584 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6585 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6587 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6588 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6589 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6591 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6593 (__waitpid): Don't define as alias. Use libc_hidden_def not
6595 (waitpid): Define as alias of __waitpid.
6597 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6599 * manual/llio.texi: Add comment that write safety has been
6602 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6603 (localplt-build-dso): Add elf/ld.so.
6604 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6605 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6608 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6613 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6614 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6615 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6616 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6617 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6618 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6619 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6620 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6621 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6625 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6628 * include/libc-symbols.h (INTUSE): Remove macro.
6630 (INTVARDEF): Likewise.
6631 (_INTVARDEF): Likewise.
6632 (INTDEF2): Likewise.
6633 (INTVARDEF2): Likewise.
6634 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6635 rtld_hidden_def instead of INTVARDEF.
6636 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6637 (_dl_starting_up_internal): Remove declaration.
6638 (_dl_starting_up): Use rtld_hidden_proto.
6639 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6641 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6642 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6644 * elf/dl-writev.h (_dl_writev): Likewise.
6645 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6646 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6647 _dl_starting_up_internal.
6649 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6654 2014-11-05 Will Newton <will.newton@linaro.org>
6656 * benchtests/Makefile: (bench-malloc): Add malloc thread
6657 scalability benchmark.
6658 * benchtests/bench-malloc-threads.c: New file.
6660 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6662 * sysdeps/aarch64/strchrnul.S: New file.
6664 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6668 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6670 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6672 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6674 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6679 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6681 * catgets/test-gencat.c: Use test-skeleton.c.
6682 * catgets/tst-catgets.c: Likewise.
6683 * csu/tst-empty.c: Likewise.
6684 * elf/tst-audit2.c: Likewise.
6685 * elf/tst-global1.c: Likewise.
6686 * elf/tst-pathopt.c: Likewise.
6687 * elf/tst-piemod1.c: Likewise.
6688 * elf/tst-tls10.c: Likewise.
6689 * elf/tst-tls11.c: Likewise.
6690 * elf/tst-tls12.c: Likewise.
6691 * gnulib/tst-gcc.c: Likewise.
6692 * iconvdata/tst-e2big.c: Likewise.
6693 * iconvdata/tst-loading.c: Likewise.
6694 * iconv/tst-iconv1.c: Likewise.
6695 * iconv/tst-iconv2.c: Likewise.
6696 * inet/test-inet6_opt.c: Likewise.
6697 * inet/tst-gethnm.c: Likewise.
6698 * inet/tst-network.c: Likewise.
6699 * inet/tst-ntoa.c: Likewise.
6700 * intl/tst-codeset.c: Likewise.
6701 * intl/tst-gettext2.c: Likewise.
6702 * intl/tst-gettext3.c: Likewise.
6703 * intl/tst-ngettext.c: Likewise.
6704 * intl/tst-translit.c: Likewise.
6705 * io/test-stat.c: Likewise.
6706 * libio/test-fmemopen.c: Likewise.
6707 * libio/tst-freopen.c: Likewise.
6708 * libio/tst-sscanf.c: Likewise.
6709 * libio/tst-ungetwc1.c: Likewise.
6710 * libio/tst-ungetwc2.c: Likewise.
6711 * libio/tst-widetext.c: Likewise.
6712 * localedata/tst-ctype.c: Likewise.
6713 * localedata/tst-digits.c: Likewise.
6714 * localedata/tst-leaks.c: Likewise.
6715 * localedata/tst-mbswcs1.c: Likewise.
6716 * localedata/tst-mbswcs2.c: Likewise.
6717 * localedata/tst-mbswcs3.c: Likewise.
6718 * localedata/tst-mbswcs4.c: Likewise.
6719 * localedata/tst-mbswcs5.c: Likewise.
6720 * localedata/tst-setlocale.c: Likewise.
6721 * localedata/tst-trans.c: Likewise.
6722 * localedata/tst-wctype.c: Likewise.
6723 * localedata/tst-xlocale1.c: Likewise.
6724 * login/tst-grantpt.c: Likewise.
6725 * malloc/tst-calloc.c: Likewise.
6726 * malloc/tst-malloc.c: Likewise.
6727 * malloc/tst-mallocstate.c: Likewise.
6728 * malloc/tst-mcheck.c: Likewise.
6729 * malloc/tst-mtrace.c: Likewise.
6730 * malloc/tst-obstack.c: Likewise.
6731 * math/atest-exp2.c: Likewise.
6732 * math/atest-exp.c: Likewise.
6733 * math/atest-sincos.c: Likewise.
6734 * math/test-matherr.c: Likewise.
6735 * math/test-misc.c: Likewise.
6736 * math/test-powl.c: Likewise.
6737 * math/tst-definitions.c: Likewise.
6738 * misc/tst-dirname.c: Likewise.
6739 * misc/tst-efgcvt.c: Likewise.
6740 * misc/tst-fdset.c: Likewise.
6741 * misc/tst-hsearch.c: Likewise.
6742 * misc/tst-mntent2.c: Likewise.
6743 * nptl/tst-sem7.c: Likewise.
6744 * nptl/tst-sem8.c: Likewise.
6745 * nptl/tst-sem9.c: Likewise.
6746 * nss/test-netdb.c: Likewise.
6747 * posix/tst-fnmatch.c: Likewise.
6748 * posix/tst-getlogin.c: Likewise.
6749 * posix/tst-gnuglob.c: Likewise.
6750 * posix/tst-mmap.c: Likewise.
6751 * pwd/tst-getpw.c: Likewise.
6752 * resolv/tst-inet_ntop.c: Likewise.
6753 * rt/tst-timer.c: Likewise.
6754 * stdio-common/test-fseek.c: Likewise.
6755 * stdio-common/test-popen.c: Likewise.
6756 * stdio-common/test-vfprintf.c: Likewise.
6757 * stdio-common/tst-cookie.c: Likewise.
6758 * stdio-common/tst-fileno.c: Likewise.
6759 * stdio-common/tst-gets.c: Likewise.
6760 * stdio-common/tst-obprintf.c: Likewise.
6761 * stdio-common/tst-perror.c: Likewise.
6762 * stdio-common/tst-sprintf2.c: Likewise.
6763 * stdio-common/tst-sprintf3.c: Likewise.
6764 * stdio-common/tst-sprintf.c: Likewise.
6765 * stdio-common/tst-swprintf.c: Likewise.
6766 * stdio-common/tst-tmpnam.c: Likewise.
6767 * stdio-common/tst-unbputc.c: Likewise.
6768 * stdio-common/tst-wc-printf.c: Likewise.
6769 * stdlib/tst-environ.c: Likewise.
6770 * stdlib/tst-fmtmsg.c: Likewise.
6771 * stdlib/tst-limits.c: Likewise.
6772 * stdlib/tst-rand48-2.c: Likewise.
6773 * stdlib/tst-rand48.c: Likewise.
6774 * stdlib/tst-random2.c: Likewise.
6775 * stdlib/tst-random.c: Likewise.
6776 * stdlib/tst-strtol.c: Likewise.
6777 * stdlib/tst-strtoll.c: Likewise.
6778 * stdlib/tst-tls-atexit.c: Likewise.
6779 * stdlib/tst-xpg-basename.c: Likewise.
6780 * string/test-ffs.c: Likewise.
6781 * string/tst-bswap.c: Likewise.
6782 * string/tst-inlcall.c: Likewise.
6783 * string/tst-strtok.c: Likewise.
6784 * string/tst-strxfrm.c: Likewise.
6785 * sysdeps/x86_64/tst-audit10.c: Likewise.
6786 * sysdeps/x86_64/tst-audit3.c: Likewise.
6787 * sysdeps/x86_64/tst-audit4.c: Likewise.
6788 * sysdeps/x86_64/tst-audit5.c: Likewise.
6789 * time/tst-ftime_l.c: Likewise.
6790 * time/tst-getdate.c: Likewise.
6791 * time/tst-mktime3.c: Likewise.
6792 * time/tst-mktime.c: Likewise.
6793 * time/tst-posixtz.c: Likewise.
6794 * time/tst-strptime2.c: Likewise.
6795 * time/tst-strptime3.c: Likewise.
6796 * wcsmbs/tst-btowc.c: Likewise.
6797 * wcsmbs/tst-mbrtowc.c: Likewise.
6798 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6799 * wcsmbs/tst-wchar-h.c: Likewise.
6800 * wcsmbs/tst-wcpncpy.c: Likewise.
6801 * wcsmbs/tst-wcrtomb.c: Likewise.
6802 * wcsmbs/tst-wcsnlen.c: Likewise.
6803 * wcsmbs/tst-wcstof.c: Likewise.
6805 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6808 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6810 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6812 (_dl_mcount): Use rtld_hidden_proto.
6813 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6815 * elf/rtld.c (_rtld_global_ro): Likewise.
6818 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6819 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6820 of _dl_init_internal.
6821 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6822 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6823 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6824 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6825 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6826 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6827 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6828 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6829 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6830 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6831 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6832 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6833 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6834 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6835 * sysdeps/tile/dl-start.S (_start): Likewise.
6836 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6837 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6840 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6841 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6842 (rtld_progname): Make macro definition unconditional.
6843 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6845 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6846 (dl_main): Likewise.
6847 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6848 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6849 instead of _dl_argv_internal.
6850 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6851 __GI__dl_argv instead of INTUSE(_dl_argv).
6852 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6853 __GI__dl_argv instead of _dl_argv_internal.
6855 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6856 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6858 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6859 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6861 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6862 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6864 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6865 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6867 2014-11-04 Andreas Schwab <schwab@suse.de>
6869 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6871 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6873 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6874 mtvsrd instruction in binary form.
6876 2014-11-03 Andreas Schwab <schwab@suse.de>
6879 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6880 for less than MB_LEN_MAX use a local buffer of that size.
6881 * libio/tst-fputws.c: New file.
6882 * libio/Makefile (tests): Add tst-fputws.
6884 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6886 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6887 the size of the fpu_fr.fpu_dregs[] array.
6889 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6891 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6892 (__nanosleep): Do not define as alias.
6893 (nanosleep): Define as alias of __nanosleep.
6894 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6895 __libc_nanosleep name.
6897 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6899 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6900 install.texi in comment.
6902 2014-10-31 Torvald Riegel <triegel@redhat.com>
6904 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6905 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6906 ... add here and use lwsync or sync ...
6907 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6908 ... and add here using lwsync.
6910 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6912 * elf/dl-machine-reject-phdr.h: New file.
6913 * elf/dl-load.c: #include that.
6914 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6915 if that returned true.
6917 2014-10-31 Roland McGrath <roland@hack.frob.com>
6920 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6921 gen-as-const-headers chunk. Add a big scare comment after the last
6922 safe place to touch before-compile.
6924 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6926 * manual/install.texi (Tools for Compilation): Update autoconf
6927 version requirements.
6928 * INSTALL: Regenerated.
6930 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6931 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6932 (__libc_pselect): Likewise.
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6940 2014-10-31 Torvald Riegel <triegel@redhat.com>
6942 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6943 correct barrier instruction.
6944 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6946 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6949 2014-10-30 Roland McGrath <roland@hack.frob.com>
6951 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6952 after defining inlines. Instead, just use parens to defeat macro
6953 expansion of __isctype in its declaration.
6955 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6957 * include/sys/uio.h (__libc_readv): Remove declaration.
6958 (__libc_writev): Likewise.
6959 * misc/readv.c (__libc_readv): Rename to __readv.
6960 (__readv): Do not define as alias.
6961 (readv): Define as alias of __readv.
6962 * misc/writev.c (__libc_writev): Rename to __writev.
6963 (__writev): Do not define as alias.
6964 (writev): Define as alias of __writev.
6965 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6966 (__readv): Do not define as alias.
6967 (readv): Define unconditionally as alias of __readv.
6968 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6969 (__writev): Do not define as alias.
6970 (writev): Define unconditionally as alias of __writev.
6971 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6973 (writev): Do not define __libc_writev name.
6975 2014-10-30 Roland McGrath <roland@hack.frob.com>
6977 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6978 (convert_charseq): New function, broken out of ...
6979 (use_from_charmap): ... here. Call it.
6980 (use_to_charmap): Use convert_charseq and free instead of duplicating
6981 its code with a variable-length stack struct.
6983 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6985 * include/fcntl.h (__libc_creat): Remove declaration.
6986 * io/creat.c (__libc_creat): Rename to creat.
6987 (creat): Do not define as alias.
6988 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6989 of creat instead of __libc_creat.
6990 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6992 (creat): Do not define as alias.
6993 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6995 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7000 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7002 * manual/llio.texi: Add comments discussing why write() may be
7003 considered MT-unsafe on Linux.
7005 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7007 * dl-load.c (local_strdup): Remove.
7008 (expand_dynamic_string_token): Use __strdup.
7009 (decompose_rpath): Likewise.
7010 (_dl_map_object): Likewise.
7012 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7015 * sysdeps/generic/unwind-dw2-fde.c
7016 (__register_frame_info_bases_internal): Do not declare.
7017 (__register_frame_info_table_bases_internal): Likewise.
7018 (__deregister_frame_info_bases_internal): Likewise.
7019 (__register_frame_info_bases): Declare and use hidden_proto before
7020 definition. Use hidden_def instead of INTDEF.
7021 (__register_frame_info_table_bases): Likewise.
7022 (__deregister_frame_info_bases): Likewise.
7023 (__register_frame_info): Do not use INTUSE.
7024 (__register_frame): Likewise.
7025 (__register_frame_info_table): Likewise.
7026 (__register_frame_table): Likewise.
7027 (__deregister_frame_info): Likewise.
7028 (__deregister_frame): Likewise.
7030 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7032 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7033 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7035 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7037 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7040 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7043 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7044 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7045 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7046 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7047 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7048 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7049 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7051 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7052 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7053 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7054 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7055 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7057 (setfsuid): Likewise.
7058 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7059 (setfsuid): Likewise.
7060 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7061 (setfsuid): Likewise.
7062 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7064 (setfsuid): Likewise.
7065 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7066 (setfsuid): Likewise.
7067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7069 (setfsuid): Likewise.
7071 2014-10-27 Andreas Schwab <schwab@suse.de>
7074 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7075 check for Slow_SSE4_2 feature bit.
7076 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7077 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7078 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7079 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7081 2014-10-24 Roland McGrath <roland@hack.frob.com>
7083 * configure.ac: Validate compiler version with a empirical test of
7084 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7086 * configure: Regenerated.
7088 * inet/htons.c (htons): Prototypify.
7089 * inet/htonl.c (htonl): Likewise.
7091 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7093 * string/strncat.c (strncat): Improve performance by using strlen.
7095 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7097 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7099 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7101 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7102 Call libc_fetestexcept_aarch64.
7104 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7106 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7107 Call libc_feholdexcept_aarch64.
7109 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7111 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7112 Call get_rounding_mode.
7114 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7116 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7119 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7121 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7124 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7127 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7128 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7129 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7130 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7131 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7132 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7133 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7134 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7135 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7136 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7137 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7138 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7139 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7140 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7141 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7142 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7143 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7144 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7145 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7146 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7147 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7148 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7149 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7150 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7151 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7155 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7156 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7157 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7158 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7159 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7160 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7161 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7162 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7163 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7167 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7169 (geteuid): Likewise.
7172 (getresgid): Likewise.
7173 (getresuid): Likewise.
7174 (getgroups): Likewise.
7175 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7176 (geteuid): Likewise.
7179 (getresgid): Likewise.
7180 (getresuid): Likewise.
7181 (getgroups): Likewise.
7182 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7183 (geteuid): Likewise.
7186 (getresgid): Likewise.
7187 (getresuid): Likewise.
7188 (getgroups): Likewise.
7189 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7191 (geteuid): Likewise.
7194 (getresgid): Likewise.
7195 (getresuid): Likewise.
7196 (getgroups): Likewise.
7197 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7198 (geteuid): Likewise.
7201 (getresgid): Likewise.
7202 (getresuid): Likewise.
7203 (getgroups): Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7206 (geteuid): Likewise.
7209 (getgroups): Likewise.
7212 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7213 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7214 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7215 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7216 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7217 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7218 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7219 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7220 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7222 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7226 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7229 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7233 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7241 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7243 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7246 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7248 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7251 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7253 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7254 Remove unused include.
7256 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7258 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7259 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7260 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7261 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7263 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7264 Helge Deller <deller@gmx.de>
7267 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7268 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7269 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7271 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7274 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7275 Remove macro definition.
7276 (__ashrdi3_v_glibc20): Likewise.
7277 (__lshrdi3_v_glibc20): Likewise.
7278 (__cmpdi2_v_glibc20): Likewise.
7279 (__ucmpdi2_v_glibc20): Likewise.
7280 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7281 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7282 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7283 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7284 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7285 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7287 2014-10-22 Roland McGrath <roland@hack.frob.com>
7289 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7290 old GNU extension [0] syntax.
7291 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7292 alloca rather than an array member with variable length.
7293 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7294 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7295 (parse_opt): ... here. Likewise use alloca there.
7296 Validate the -i argument before checking for rootness.
7297 (send_shutdown): New function, broken out of ...
7298 (parse_opt): ... here.
7300 2014-10-22 Roland McGrath <roland@hack.frob.com>
7302 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7303 macro to get at the _rt_local_ro field.
7304 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7305 ([PIC] case) or _dl_hwcap ([!PIC] case).
7306 * sysdeps/arm/setjmp.S: Likewise.
7308 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7309 * sysdeps/arm/configure.ac: New check to define it.
7310 * sysdeps/arm/configure: Regenerated.
7311 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7312 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7313 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7314 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7315 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7316 Use move/movt pair instead of a load.
7317 (LDST_GLOBAL): Macro removed.
7318 (LDR_GLOBAL): New macro replaces it.
7319 (LDR_HIDDEN): New macro.
7320 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7321 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7323 * setjmp/tst-setjmp-static.c: New file.
7324 * setjmp/Makefile (tests): Add it.
7325 (tests-static): New variable.
7327 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7330 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7332 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7335 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7337 2014-10-21 Roland McGrath <roland@hack.frob.com>
7339 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7341 2014-10-20 Roland McGrath <roland@hack.frob.com>
7343 * io/fts.c (dirent_not_directory): New function.
7344 (fts_build): Call it.
7346 2014-10-20 Roland McGrath <roland@hack.frob.com>
7348 * nptl/version.c (__nptl_main): Use normal __write rather than
7350 (banner): Update copyright years.
7352 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7354 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7355 * nptl/pthread_cond_timedwait.c: Likewise.
7356 * nptl/pthread_mutex_timedlock.c: Likewise.
7357 * nptl/sem_timedwait.c: Likewise.
7359 * sysdeps/nptl/bits/libc-lock.h
7360 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7361 (__libc_lock_init_recursive): Return void, not 0.
7362 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7363 (__libc_rwlock_init): Likewise.
7364 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7366 2014-10-20 Torvald Riegel <triegel@redhat.com>
7369 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7370 (__pthread_once_slow): ... here.
7371 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7372 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7374 2014-10-20 Torvald Riegel <triegel@redhat.com>
7377 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7378 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7379 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7380 * nptl/pthread_once.c (__pthread_once): Likewise.
7383 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7386 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7388 (writev): Use __libc_writev as strong name.
7389 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7390 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7392 2014-10-17 Roland McGrath <roland@hack.frob.com>
7394 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7396 * sysdeps/i386/nptl/tls.h
7397 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7398 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7400 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7401 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7402 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7403 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7404 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7405 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7407 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7408 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7410 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7412 (__pthread_mutex_init): ... here. Call it.
7413 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7414 Conditionalize PI cases on [__NR_futex].
7415 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7416 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7417 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7419 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7420 conditional on [SIGSETXID].
7421 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7422 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7423 is defined. Likewise for SIGSETXID.
7424 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7425 Conditionalize definitions on [SIGSETXID].
7426 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7427 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7428 unblocking on [SIGCANCEL].
7430 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7431 [__NR_set_robust_list].
7433 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7435 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7436 (do_compare): Likewise.
7438 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7441 * string/strcoll_l.c: Don't include stdio.h.
7442 (coll_seq): Remove members idxarr and rulearr.
7443 (get_next_seq_cached): Remove function.
7444 (get_next_seq): Likewise.
7445 (get_next_seq_nocache): Rename to get_next_seq.
7446 (do_compare): Remove function.
7447 (do_compare_nocache): Rename to do_compare.
7448 (STRCOLL): Remove weight and rules cache.
7450 2014-10-16 Roland McGrath <roland@hack.frob.com>
7452 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7453 * sysdeps/arm/sfp-machine.h: ... to here.
7454 * sysdeps/arm/Implies: Remove arm/soft-fp.
7456 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7458 * conform/data/sys/utsname.h-data (*_t): Allow.
7459 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7460 [POSIX] (WEXITED): Do not expect constant.
7461 [POSIX] (WSTOPPED): Likewise.
7462 [POSIX] (WNOHANG): Likewise.
7463 [POSIX] (WNOWAIT): Likewise.
7464 [POSIX] (siginfo_t): Do not expect type or elements.
7465 [POSIX] (pid_t): Do not expect type.
7466 [POSIX] (signal.h): Do not allow header.
7467 [POSIX] (sys/resource.h): Likewise.
7468 [POSIX] (si_*): Do not allow pattern.
7469 [POSIX] (W*): Likewise.
7470 [POSIX] (P_*): Likewise.
7471 [POSIX] (BUS_*): Likewise.
7472 [POSIX] (CLD_*): Likewise.
7473 [POSIX] (FPE_*): Likewise.
7474 [POSIX] (ILL_*): Likewise.
7475 [POSIX] (POLL_*): Likewise.
7476 [POSIX] (SEGV_*): Likewise.
7477 [POSIX] (SI_*): Likewise.
7478 [POSIX] (TRAP_*): Likewise.
7479 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7482 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7486 infinite loop when __recvmsg returns 0.
7488 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7490 * CANCEL-FCT-WAIVE: Remove file.
7491 * CANCEL-FILE-WAIVE: Likewise.
7494 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7495 instead of INTVARDEF.
7496 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7497 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7498 rtld_hidden_data_def instead of INTVARDEF.
7499 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7500 * elf/dl-deps.c (expand_dst): Likewise.
7501 * elf/dl-load.c (_dl_dst_count): Likewise.
7502 (_dl_dst_substitute): Likewise.
7503 (decompose_rpath): Likewise.
7504 (_dl_init_paths): Likewise.
7505 (open_path): Likewise.
7506 (_dl_map_object): Likewise.
7507 * elf/rtld.c (dl_main): Likewise.
7508 (process_dl_audit): Likewise.
7509 (process_envvars): Likewise.
7510 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7512 (__libc_enable_secure): Use rtld_hidden_proto.
7514 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7517 (add_path): New function broken out of _dl_rtld_di_serinfo.
7518 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7520 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7522 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7523 parentheses around macro arguments.
7524 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7525 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7526 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7527 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7528 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7529 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7530 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7531 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7534 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7535 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7536 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7537 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7538 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7539 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7540 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7541 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7542 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7543 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7544 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7545 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7546 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7547 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7549 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7552 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7553 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7554 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7555 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7556 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7557 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7558 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7559 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7567 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7568 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7571 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7572 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7573 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7576 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7577 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7578 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7579 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7580 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7581 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7582 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7583 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7584 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7585 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7586 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7587 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7588 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7589 (_FP_FRAC_SRS_1): Likewise.
7590 (_FP_FRAC_CLZ_1): Likewise.
7591 (_FP_MUL_MEAT_1_imm): Likewise.
7592 (_FP_MUL_MEAT_1_wide): Likewise.
7593 (_FP_MUL_MEAT_1_hard): Likewise.
7594 (_FP_SQRT_MEAT_1): Likewise.
7595 (_FP_FRAC_ASSEMBLE_1): Likewise.
7596 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7597 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7598 (__FP_CLZ_2): Likewise.
7599 (_FP_MUL_MEAT_2_wide): Likewise.
7600 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7601 (_FP_MUL_MEAT_2_gmp): Likewise.
7602 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7603 (_FP_SQRT_MEAT_2): Likewise.
7604 (_FP_FRAC_ASSEMBLE_2): Likewise.
7605 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7606 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7607 (_FP_FRAC_CLZ_4): Likewise.
7608 (_FP_MUL_MEAT_4_wide): Likewise.
7609 (_FP_MUL_MEAT_4_gmp): Likewise.
7610 (_FP_SQRT_MEAT_4): Likewise.
7611 (_FP_FRAC_ASSEMBLE_4): Likewise.
7612 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7613 * soft-fp/op-common.h (_FP_CMP): Likewise.
7614 (_FP_CMP_EQ): Likewise.
7615 (_FP_CMP_UNORD): Likewise.
7616 (_FP_TO_INT): Likewise.
7617 (_FP_FROM_INT): Likewise.
7618 [!__FP_CLZ] (__FP_CLZ): Likewise.
7619 (_FP_DIV_HELP_imm): Likewise.
7620 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7622 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7623 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7624 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7625 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7626 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7627 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7628 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7629 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7632 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7633 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7634 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7635 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7636 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7637 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7638 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7639 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7640 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7641 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7642 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7643 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7644 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7645 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7646 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7647 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7648 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7649 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7650 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7651 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7652 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7653 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7654 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7655 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7656 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7657 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7658 (FP_UNPACK_RAW_SP): Likewise.
7659 (FP_PACK_RAW_S): Likewise.
7660 (FP_PACK_RAW_SP): Likewise.
7661 (FP_UNPACK_S): Likewise.
7662 (FP_UNPACK_SP): Likewise.
7663 (FP_UNPACK_SEMIRAW_S): Likewise.
7664 (FP_UNPACK_SEMIRAW_SP): Likewise.
7665 (FP_PACK_S): Likewise.
7666 (FP_PACK_SP): Likewise.
7667 (FP_PACK_SEMIRAW_S): Likewise.
7668 (FP_PACK_SEMIRAW_SP): Likewise.
7669 (_FP_SQRT_MEAT_S): Likewise.
7670 (FP_CMP_S): Likewise.
7671 (FP_CMP_EQ_S): Likewise.
7672 (FP_CMP_UNORD_S): Likewise.
7673 (FP_TO_INT_S): Likewise.
7674 (FP_FROM_INT_S): Likewise.
7676 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7678 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7679 (FP_EX_INVALID_IMZ): Likewise.
7680 (FP_EX_INVALID_IMZ_FMA): Likewise.
7681 (FP_EX_INVALID_ISI): Likewise.
7682 (FP_EX_INVALID_ZDZ): Likewise.
7683 (FP_EX_INVALID_IDI): Likewise.
7684 (FP_EX_INVALID_SQRT): Likewise.
7685 (FP_EX_INVALID_CVI): Likewise.
7686 (FP_EX_INVALID_VC): Likewise.
7687 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7688 "invalid" exceptions.
7689 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7690 (_FP_ADD_INTERNAL): Likewise.
7691 (_FP_MUL): Likewise.
7692 (_FP_FMA): Likewise.
7693 (_FP_DIV): Likewise.
7694 (_FP_CMP_CHECK_NAN): Likewise.
7695 (_FP_SQRT): Likewise.
7696 (_FP_TO_INT): Likewise.
7697 (FP_EXTEND): Likewise.
7699 2014-10-09 Allan McRae <allan@archlinux.org>
7701 * po/fr.po: Update French translation from translation project.
7703 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7706 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7708 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7709 (__cxa_atexit): Use libc_hidden_proto.
7710 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7713 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7715 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7716 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7717 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7718 [!_ISOMAC] (__iswctype_internal): Likewise.
7719 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7720 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7722 (fcntl): Remove __fcntl_internal alias.
7723 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7724 __connect_internal alias.
7725 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7728 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7729 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7731 (_FP_CHECK_FLUSH_ZERO): New macro.
7732 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7733 (_FP_CMP): Likewise.
7734 (_FP_CMP_EQ): Likewise.
7735 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7737 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7738 (FP_TRUNC): Likewise.
7740 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7741 treated as invalid conversion, not as normal exponent.
7743 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7744 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7745 (_FP_CMP_EQ): Likewise.
7746 (_FP_CMP_UNORD): Likewise.
7747 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7748 (FP_CMP_EQ_D): Likewise.
7749 (FP_CMP_UNORD_D): Likewise.
7750 * soft-fp/extended.h (FP_CMP_E): Likewise.
7751 (FP_CMP_EQ_E): Likewise.
7752 (FP_CMP_UNORD_E): Likewise.
7753 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7754 (FP_CMP_EQ_Q): Likewise.
7755 (FP_CMP_UNORD_Q): Likewise.
7756 * soft-fp/single.h (FP_CMP_S): Likewise.
7757 (FP_CMP_EQ_S): Likewise.
7758 (FP_CMP_UNORD_S): Likewise.
7759 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7760 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7761 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7762 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7763 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7764 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7765 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7766 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7767 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7768 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7769 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7770 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7771 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7773 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7775 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7776 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7778 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7780 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7781 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7782 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7783 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7785 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7787 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7788 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7790 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7792 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7793 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7794 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7795 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7798 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7799 a subnormal result, set the underflow exception if trapping on
7800 underflow is enabled.
7801 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7802 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7803 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7805 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7806 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7807 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7808 * soft-fp/extendxftf2.c (__extendxftf2): Use
7809 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7811 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7812 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7813 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7814 FP_HANDLE_EXCEPTIONS.
7815 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7816 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7817 FP_HANDLE_EXCEPTIONS.
7818 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7819 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7820 FP_HANDLE_EXCEPTIONS.
7821 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7822 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7823 FP_HANDLE_EXCEPTIONS.
7825 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7828 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7829 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7831 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7832 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7834 (__adjtimex): Define using libc_hidden_ver.
7835 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7837 (ntp_gettime): Call __adjtimex directly.
7838 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7840 (ntp_gettimex): Call __adjtimex directly.
7841 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7842 __adjtimex_internal alias.
7844 2014-10-08 Roland McGrath <roland@hack.frob.com>
7847 * nscd/nscd.c (more_help): Rewrite list of tables collection
7848 using xstrdup and asprintf.
7850 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7852 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7853 Roland McGrath <roland@hack.frob.com>
7855 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7856 (do_lookup_unique): ... local function 'enter' here; update callers.
7858 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7860 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7861 compat_symbol calls on [SHARED].
7862 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7863 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7865 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7866 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7867 (oldsetrlimit): Remove.
7868 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7870 (lchown): New syscall entry.
7871 (oldsetrlimit): Remove.
7872 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7874 (oldsetrlimit): Remove.
7875 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7878 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7879 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7880 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7881 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7882 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7883 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7885 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7890 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7893 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7894 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7895 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7896 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7898 (__old_sem_post): Likewise.
7900 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7902 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7903 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7904 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7905 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7906 Use INLINE_VSYSCALL macro.
7907 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7908 __vdso_clock_gettime.
7909 * sysdeps/unix/sysv/linux/tile/init-first.c
7910 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7911 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7912 __vdso_clock_gettime.
7914 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7915 to set up frame more cleanly.
7917 * sysdeps/tile/memcmp.c: New file.
7919 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7921 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7922 * sysdeps/tile/tilegx/strcasestr.c: New file.
7923 * sysdeps/tile/tilegx/strnlen.c: New file.
7924 * sysdeps/tile/tilegx/strstr.c: New file.
7926 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7928 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7930 * nptl/tst-setuid3.c: Write errors to stdout.
7932 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7935 (preload): New functions broken out of _dl_map_object_deps.
7936 (_dl_map_object_deps): Remove a nested function. Update call sites.
7938 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7941 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7942 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7944 2014-10-01 Steve Ellcey <sellcey@mips.com>
7946 * sysdeps/mips/strcmp.S: New.
7948 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7951 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7953 (mkdirat): Likewise.
7954 (readlinkat): Likewise.
7955 (renameat): Likewise.
7956 (symlinkat): Likewise.
7957 (unlinkat): Likewise.
7958 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7959 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7960 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7961 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7962 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7963 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7964 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7966 2014-09-30 Will Newton <will.newton@linaro.org>
7968 * math/math.h: Define long double math functions if
7969 _LIBC_TEST is defined.
7970 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7972 * localedata/Makefile: Move assignment to tests-special
7973 into an ifdef testing run-built-tests.
7974 * timezone/Makefile: Likewise.
7976 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7978 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7979 with $(BASH) not $(SHELL).
7981 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7982 Matthew LeGendre <legendre1@llnl.gov>
7985 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7988 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7990 * stdio-common/printf_fp.c
7991 (hack_digit): New function, broken out of ...
7992 (__printf_fp): ... local function here. Update call sites.
7993 hack_digit now takes an additional parameter that is a pointer
7994 to a struct of the referenced locals. Those locals moved inside
7995 the struct and references updated.
7997 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7999 * aclocal.m4: Require autoconf 2.69.
8000 * configure: Regenerated.
8001 * sysdeps/aarch64/configure: Likewise.
8002 * sysdeps/alpha/configure: Likewise.
8003 * sysdeps/arm/armv7/configure: Likewise.
8004 * sysdeps/arm/configure: Likewise.
8005 * sysdeps/ia64/configure: Likewise.
8006 * sysdeps/mach/configure: Likewise.
8007 * sysdeps/mips/configure: Likewise.
8008 * sysdeps/s390/configure: Likewise.
8009 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8012 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8014 * sysdeps/ia64/configure.ac: Likewise.
8016 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8019 specify symbol version for ld.so. Do not include entry for
8021 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8022 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8026 * Makeconfig [$(build-shared) = yes]
8027 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8029 [$(build-shared) = yes && $(soversions.mk-done) = t]
8030 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8031 [$(build-shared) = yes && $(soversions.mk-done) = t]
8032 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8034 [$(build-shared) = yes && $(soversions.mk-done) = t]
8035 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8037 [$(build-shared) = yes && $(soversions.mk-done) = t]
8038 (common-generated): Don't append gnu/lib-names.h and
8039 gnu/lib-names.stmp here.
8040 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8041 (lib-names-h-abi): New variable.
8042 [$(build-shared) = yes && $(soversions.mk-done) = t]
8043 (lib-names-stmp-abi): Likewise.
8044 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8045 abi-variants] (before-compile): Append
8046 $(common-objpfx)$(lib-names-h-abi).
8047 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8048 abi-variants] (common-generated): Append gnu/lib-names.h.
8049 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8050 abi-variants] (install-others-nosubdir): Depend on
8051 $(inst_includedir)/$(lib-names-h-abi).
8052 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8053 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8054 [$(build-shared) = yes && $(soversions.mk-done) = t]
8055 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8056 [$(build-shared) = yes && $(soversions.mk-done) = t]
8057 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8058 [$(build-shared) = yes && $(soversions.mk-done) = t]
8059 (common-generated): Append $(lib-names-h-abi) and
8060 $(lib-names-stmp-abi).
8061 * scripts/lib-names.awk: Do not handle multi being set.
8062 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8064 (abi-lp64_be-ld-soname): Likewise.
8065 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8067 (abi-hard-ld-soname): Likewise.
8068 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8069 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8071 (abi-o32_hard-ld-soname): Likewise.
8072 (abi-o32_soft_2008-ld-soname): Likewise.
8073 (abi-o32_hard_2008-ld-soname): Likewise.
8074 (abi-n32_soft-ld-soname): Likewise.
8075 (abi-n32_hard-ld-soname): Likewise.
8076 (abi-n32_soft_2008-ld-soname): Likewise.
8077 (abi-n32_hard_2008-ld-soname): Likewise.
8078 (abi-n64_soft-ld-soname): Likewise.
8079 (abi-n64_hard-ld-soname): Likewise.
8080 (abi-n64_soft_2008-ld-soname): Likewise.
8081 (abi-n64_hard_2008-ld-soname): Likewise.
8082 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8084 (abi-64-v2-ld-soname): Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8087 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8089 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8091 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8093 (abi-64-ld-soname): Likewise.
8094 (abi-x32-ld-soname): Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8097 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8099 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8102 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8103 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8104 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8107 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8108 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8109 syscall entry for GLIBC_2.2 symbol version.
8110 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8113 (setrlimit): Likewise.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8117 2014-09-23 Will Newton <will.newton@linaro.org>
8119 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8120 _LINUX_ARM_SYSDEP_H include guard too.
8121 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8124 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8126 * sysdeps/unix/sysv/linux/eventfd.c:
8127 Make first argument unsigned.
8128 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8129 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8131 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8133 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8134 * socket/sys/socket.h: Likewise
8135 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8137 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8139 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8141 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8143 * time/tst-ftime.c: New test.
8144 * time/Makefile (tests): Add tst-ftime.
8146 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8148 * soft-fp/extended.h: Fix comment formatting.
8149 * soft-fp/op-1.h: Likewise.
8150 * soft-fp/op-2.h: Likewise.
8151 * soft-fp/op-4.h: Likewise.
8152 * soft-fp/op-8.h: Likewise.
8153 * soft-fp/op-common.h: Likewise.
8154 * soft-fp/soft-fp.h: Likewise.
8156 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8158 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8161 * Makeconfig (soversions-default-setname): Remove variable.
8162 ($(common-objpfx)soversions.i): Don't pass default_setname to
8164 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8165 oldest_abi to abi-versions.awk.
8166 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8167 * config.make.in (oldest-abi): Remove variable.
8168 * configure.ac (--enable-oldest-abi): Remove configure option.
8169 * configure: Regenerated.
8170 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8172 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8173 * scripts/soversions.awk: Do not handle default_setname variable.
8174 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8176 * sysdeps/mach/hurd/configure: Regenerated.
8177 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8179 * sysdeps/unix/sysv/linux/configure: Regenerated.
8181 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8183 * elf/Makefile (CFLAGS-interp.c): Remove.
8184 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8186 * elf/interp.c: Include generated runtime-linker.h
8188 * Makerules (lib%.so): Don't include $(+interp) in
8190 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8191 * dlfcn/eval.c: Remove file.
8193 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8197 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8201 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8203 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 Jakub Jelinek <jakub@redhat.com>
8207 * libio/stdio.h: Check definition of __fortify_function
8208 instead of __extern_always_inline to include bits/stdio2.h.
8209 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8210 check if __extern_always_inline is defined.
8211 [__USE_MISC || __USE_XOPEN]: Likewise.
8212 [__USE_ISOC99] Likewise.
8213 * misc/sys/cdefs.h (__fortify_function): Define only if
8214 __extern_always_inline is defined.
8215 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8216 __extern_always_inline and __extern_inline only for g++-4.3
8217 and newer or a compatible gcc.
8219 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8222 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8223 last change to handle zero prefix length.
8225 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8227 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8230 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8233 2014-09-13 Allan McRae <allan@archlinux.org>
8235 * po/ru.po: Update Russian translation from translation project.
8237 2014-09-12 Roland McGrath <roland@hack.frob.com>
8239 * locale/programs/locale.c (show_locale_vars): Inline local function
8240 into its sole call site. Clean up some style nits.
8241 (print_item): New function, broken out of ...
8242 (show_info): ... local function here. Clean up style nits.
8244 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8246 (set_class_defaults): ... local function set_default here.
8247 Define set_default as a macro locally to pass constant parameters.
8248 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8249 rather than a shared local.
8251 * stdlib/rpmatch.c (try): New function, broken out of ...
8252 (rpmatch): ... local function here. Also, prototypify definition.
8254 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8256 * scripts/soversions.awk: Do not handle configuration names.
8257 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8258 vendor and os variables to soversions.awk.
8259 * configure.ac: Do not modify gnu-* host_os.
8260 * configure: Regenerated
8261 * shlib-versions: Remove first column with configuration names.
8262 * nptl/shlib-versions: Likewise.
8263 * nptl_db/shlib-versions: Likewise.
8264 * sysdeps/hppa/shlib-versions: Likewise.
8265 * sysdeps/m68k/shlib-versions: Likewise.
8266 * sysdeps/mach/hurd/shlib-versions: Likewise.
8267 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8268 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8269 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8270 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8271 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8272 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8273 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8274 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8277 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8278 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8279 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8282 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8283 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8284 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8287 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8290 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8292 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8294 * shlib-versions: Remove OS-specific entries. Moved to files in
8296 * sysdeps/mach/hurd/shlib-versions: New file.
8297 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8299 * nptl/shlib-versions: Remove architecture-specific entries.
8300 Moved to files in sysdeps.
8301 * shlib-versions: Likewise.
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8304 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8305 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8309 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8310 (UDP_NO_CHECK6_RX): Likewise.
8312 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8314 * sysdeps/posix/sysconf.c (__sysconf): Spell
8315 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8317 2014-08-12 Florian Weimer <fweimer@redhat.com>
8319 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8321 * iconv/Versions (__gconv_transliterate): Export for use from
8323 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8324 (struct __gconv_trans_data, __gconv_trans_fct,
8325 __gconv_trans_context_fct, __gconv_trans_query_fct,
8326 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8328 (struct __gconv_step_data): Remove __trans member.
8329 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8330 longer hidden. Remove unused trans_data argument.
8331 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8332 (__gconv_translit_find): Remove declaration.
8333 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8335 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8336 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8337 trans_data argument. Add hidden definition.
8338 (__gconv_translit_find): Remove.
8339 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8340 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8341 * iconv/skeleton.c: Remove transliteration initialization.
8342 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8343 __gconv_step_data initialization.
8344 * libio/iofwide.c (__libio_translit_): Remove.
8345 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8346 * wcsmbs/btowc.c (__btowc): Likewise.
8347 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8348 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8349 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8350 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8351 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8352 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8353 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8354 * wcsmbs/wctob.c (wctob): Likewise.
8356 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8359 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8360 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8362 * sysdeps/x86/Makefile: Adjust.
8364 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8365 Roland McGrath <roland@hack.frob.com>
8367 * locale/weight.h: Add include guard.
8368 (findidx): Make static rather than auto; take new parameters
8369 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8370 * locale/weightwc.h: Likewise.
8371 * posix/fnmatch_loop.c
8372 (FCT): Change type of EXTRA from int32_t to wint_t.
8373 Don't include either header inside the function.
8374 Call FINDIDX rather than findidx, and pass new arguments.
8375 #undef FINDIDX at the end of the file.
8376 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8377 FINDIDX before including fnmatch_loop.c for the non-wide version.
8378 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8379 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8380 for the wide version.
8381 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8382 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8383 Pass new arguments to findidx.
8384 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8385 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8386 Don't #include it inside the function. Pass new arguments to findidx.
8387 * posix/regex_internal.h
8388 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8389 (re_string_elem_size_at): Don't #include it inside the function.
8390 Pass new arguments to findidx.
8391 * string/strcoll_l.c: #include WEIGHT_H at top level.
8392 (get_next_seq): Don't #include it inside the function.
8393 Pass new arguments to findidx.
8394 (get_next_seq_nocache): Likewise.
8395 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8396 (STRXFRM): Don't #include it inside the function.
8397 Pass new arguments to findidx.
8399 2014-09-11 Florian Weimer <fweimer@redhat.com>
8402 * malloc/malloc.c (unlink): Turn asserts into a call to
8405 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8408 * libio/wfileops (do_ftell_wide): Free OUT.
8410 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8412 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8414 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8417 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8418 group if the current group is empty.
8420 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8422 * benchtests/bench-memset.c (test_main): Add more test from size
8423 from 32 to 512 bytes.
8424 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8425 Add POWER8 memset object.
8426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8427 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8428 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8430 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8432 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8433 multiarch POWER8 memset optimization.
8434 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8435 POWER8 memset optimization.
8437 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8438 Remove bzero multiarch objects.
8439 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8440 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8441 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8442 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8444 [__bzero]: Redefine to specific name.
8445 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8446 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8447 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8449 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8450 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8452 2014-09-10 Florian Weimer <fweimer@redhat.com>
8454 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8455 warnings into errors.
8457 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8458 __cxa_thread_atexit_impl prototype.
8460 2014-09-09 Steve Ellcey <sellcey@mips.com>
8462 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8463 Fix capitalization of error message.
8465 2014-09-09 Steve Ellcey <sellcey@mips.com>
8467 * sysdeps/mips/preconfigure: Modify ABI tests.
8469 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8471 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8473 2014-09-07 Roland McGrath <roland@hack.frob.com>
8474 Carlos O'Donell <carlos@systemhalted.org>
8476 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8477 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8478 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8479 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8480 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8481 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8482 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8483 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8484 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8485 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8486 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8487 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8488 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8489 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8490 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8491 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8492 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8493 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8494 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8495 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8496 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8497 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8498 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8499 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8500 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8501 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8502 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8503 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8504 Deconditionalize the code that was previously under [RESET_PID].
8505 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8506 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8507 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8508 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8511 2014-09-08 Allan McRae <allan@archlinux.org>
8513 * version.h (RELEASE): Set to "development".
8514 (VERSION): Set to "2.20.90"
8516 2014-09-07 Allan McRae <allan@archlinux.org
8518 * version.h (RELEASE): Set to "stable".
8519 (VERSION): Set to "2.20"
8520 * include/features.h (__GLIBC_MINOR__): Set to 20.
8522 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8525 * po/ko.po: Update Korean translation from translation project.
8527 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8530 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8531 macro for handling signed relocations.
8533 2014-09-03 Florian Weimer <fweimer@redhat.com>
8536 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8537 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8539 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8540 * iconvdata/ibm935.c (BODY): Likewise.
8541 * iconvdata/ibm937.c (BODY): Likewise.
8542 * iconvdata/ibm939.c (BODY): Likewise.
8543 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8545 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8547 * iconvdata/run-iconv-test.sh: New test loop for checking for
8550 2014-09-02 Khem Raj <raj.khem@gmail.com>
8552 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8555 2014-09-01 Allan McRae <allan@archlinux.org>
8557 * po/eo.po: Update Esperanto translation from translation project.
8559 * po/ca.po: Update Catalan translation from translation project.
8561 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8563 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8566 2014-08-27 Mark Wielaard <mjw@redhat.com>
8569 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8570 to call set_thread_area instead of hand written asm.
8571 (__NR_set_thread_area): Removed define.
8572 (TLS_FLAG_WRITABLE): Likewise.
8573 (__ASSUME_SET_THREAD_AREA): Remove check.
8574 (TLS_EBX_ARG): Remove define.
8575 (TLS_LOAD_EBX): Likewise.
8577 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8579 Simplify atomicity of socket creation in bind.
8581 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8582 looking up the name after linking the file.
8584 2014-08-27 Allan McRae <allan@archlinux.org>
8586 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8588 2014-08-26 Florian Weimer <fweimer@redhat.com>
8591 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8592 trans_compare, open_translit, __gconv_translit_find):
8593 Remove module loading code.
8595 2014-08-26 Allan McRae <allan@archlinux.org>
8597 * po/vi.po: Update Vietnamese translation from translation project.
8599 * po/uk.po: Update Ukrainian translation from translation project.
8601 * po/fr.po: Update French translation from translation project.
8603 * po/ru.po: Update Russian translation from translation project.
8605 * po/pl.po: Update Polish translation from translation project.
8607 * po/cs.po: Update Czech translation from translation project.
8609 * po/de.po: Update German translation from translation project.
8611 * po/bg.po: Update Bulgarian translation from translation project.
8613 * po/sv.po: Update Sweedish translation from translation project.
8615 * po/nl.po: Update Dutch translation from translation project.
8617 * po/es.po: Update Spanish translation from translation project.
8619 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8621 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8623 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8624 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8625 (CPPFLAGS-iconvconfig): Likewise.
8626 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8628 * include/libc-symbols.h: Remove unnecessary check for
8630 * nptl/pthreadP.h: Likewise.
8631 * sysdeps/aarch64/setjmp.S: Likewise.
8632 * sysdeps/alpha/setjmp.S: Likewise.
8633 * sysdeps/arm/sysdep.h: Likewise.
8634 * sysdeps/i386/setjmp.S: Likewise.
8635 * sysdeps/m68k/setjmp.c: Likewise.
8636 * sysdeps/posix/getcwd.c: Likewise.
8637 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8638 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8639 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8640 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8641 * sysdeps/sh/sh3/setjmp.S: Likewise.
8642 * sysdeps/sh/sh4/setjmp.S: Likewise.
8643 * sysdeps/unix/alpha/sysdep.h: Likewise.
8644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8646 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8647 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8652 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8655 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8657 * sysdeps/x86_64/setjmp.S: Likewise.
8659 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8664 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8665 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8667 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8669 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8672 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8673 and __x86_64__ when disabling x87 inline functions.
8675 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8679 asm statement with __cpuid_count.
8681 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8683 * configure.ac: Change __ehdr_start code to dereference the struct.
8684 Run readelf on the output to look for relocations.
8685 * configure: Regenerated.
8687 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8690 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8692 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8694 2014-08-12 Roland McGrath <roland@hack.frob.com>
8696 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8698 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8701 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8702 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8704 2014-08-12 Sean Anderson <seanga2@gmail.com>
8706 * malloc/malloc.c: Fix typo in comment.
8708 2014-08-09 Allan McRae <allan@archlinux.org>
8710 * Regenerate libc.po.
8712 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8714 * intl/tst-gettext2.sh: Check every lang file for creation.
8716 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8718 * sysdeps/aarch64/fpu/math_private.h
8719 (libc_feholdsetround_noex_aarch64_ctx): New function.
8721 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8723 * sysdeps/arm/armv6/strcpy.S (strcpy):
8724 Fix performance issue in misaligned cases.
8726 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8728 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8729 Move definition from termios.h.
8730 (struct termio): Likewise.
8731 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8732 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8733 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8734 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8737 Move definition to ioctl-types.h
8738 (struct termio): Likewise.
8739 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8740 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8741 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8742 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8745 2014-08-05 Richard Henderson <rth@redhat.com>
8747 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8749 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8751 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8752 Use __feraiseexcept.
8753 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8754 Protect libm symbols with IS_IN_libm.
8756 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8758 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8760 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8762 2014-08-04 Will Newton <will.newton@linaro.org>
8764 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8767 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8769 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8770 variants for each function.
8772 2014-08-04 Roland McGrath <roland@hack.frob.com>
8774 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8776 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8777 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8779 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8780 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8781 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8782 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8783 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8784 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8785 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8786 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8787 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8788 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8801 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8802 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8809 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8810 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8811 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8812 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8813 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8815 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8816 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8817 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8818 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8819 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8820 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8821 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8822 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8823 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8824 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8825 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8826 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8827 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8828 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8829 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8830 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8831 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8833 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8834 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8836 2014-08-04 Roland McGrath <roland@hack.frob.com>
8838 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8839 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8840 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8841 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8842 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8843 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8845 2014-08-04 Roland McGrath <roland@hack.frob.com>
8847 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8848 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8849 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8850 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8852 2014-08-04 Roland McGrath <roland@hack.frob.com>
8854 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8855 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8856 (__libc_vfork): Define function under this name.
8857 (__vfork): Define as an alias.
8858 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8859 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8861 2014-08-04 Roland McGrath <roland@hack.frob.com>
8863 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8864 that was previously under [RESET_PID].
8865 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8867 2014-08-04 Andreas Schwab <schwab@suse.de>
8869 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8871 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8873 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8876 2014-08-01 Roland McGrath <roland@hack.frob.com>
8878 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8880 2014-08-01 Richard Henderon <rth@redhat.com>
8882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8883 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8884 typo in exact zero test.
8885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8889 2014-08-01 Roland McGrath <roland@hack.frob.com>
8891 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8892 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8893 * sysdeps/arm/sysdep.h: ... here.
8894 [!__ASSEMBLER__]: Include <stdint.h>.
8896 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8898 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8899 (HAVE_WCTYPE_H): Likewise.
8900 (HAVE_ISWCTYPE): Likewise.
8901 (ENABLE_NLS): Likewise.
8902 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8903 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8905 * posix/regex_internal.c: Check if DEBUG is defined and is
8908 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8909 (HAVE_MBSRTOWCS): Likewise.
8910 * posix/fnmatch.c: Include string.h unconditionally.
8912 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8914 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8917 2014-07-31 Roland McGrath <roland@hack.frob.com>
8919 * sysdeps/generic/safe-fatal.h: New file.
8920 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8921 * nptl/forward.c: Include it.
8922 (__pthread_unwind): Use __safe_fatal as default action, rather
8923 than a bogus use of INTERNAL_SYSCALL that could never work.
8925 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8926 * configure.ac (libc_cv_builtin_trap): New test.
8927 * configure: Regenerated.
8928 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8929 (ABORT_INSTRUCTION): Define using __builtin_trap.
8931 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8932 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8933 * sysdeps/nptl/nptl-signals.h: New file.
8934 * nptl/pthreadP.h: Include <nptl-signals.h>.
8936 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8938 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8939 (ONE_DIRECTION): Define.
8940 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8941 (ONE_DIRECTION): Define.
8942 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8943 (ONE_DIRECTION): Define.
8945 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8947 * sysdeps/s390/Makefile: Delete file.
8948 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8949 * sysdeps/s390/__longjmp.c: Delete file.
8950 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8951 Remove fields __flags and __reserved.
8952 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8954 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8955 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8956 * sysdeps/s390/rtld-setjmp.S: Likewise.
8957 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8958 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8959 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8960 * sysdeps/s390/s390-32/setjmp.S: ... here.
8962 (__sigsetjmp): Remove setting __flags field.
8963 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8964 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8965 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8966 * sysdeps/s390/s390-64/setjmp.S: ... here.
8968 (__sigsetjmp): Remove setting __flags field.
8969 * sysdeps/s390/setjmp.S: Delete file.
8970 * sysdeps/s390/sigjmp.c: Likewise.
8971 * sysdeps/s390/v1-longjmp.c: Likewise.
8972 * sysdeps/s390/v1-setjmp.h: Likewise.
8973 * sysdeps/s390/v1-sigjmp.c: Likewise.
8974 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8975 Remove v1-longjmp_chk.
8976 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8977 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8978 Include debug/longjmp_chk.c and add versioning.
8979 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8980 Include nptl/pt-longjmp.c and add versioning.
8981 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8982 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8983 Include __longjmp.c.
8984 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8987 (__getcontext): Remove setting __flags field.
8989 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8990 Don't restore upper high grps.
8991 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8993 (__swapcontext): Remove setting uc_flags field.
8994 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8996 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8997 Include __longjmp.c.
8998 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9000 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9001 (__getcontext): Remove setting __flags field.
9003 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9004 (__swapcontext): Remove setting uc_flags field.
9005 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9006 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9007 Remove fields uc_high_gprs and __reserved.
9008 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9009 New file with reverted content.
9010 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9011 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9013 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9016 2014-07-31 Andreas Schwab <schwab@suse.de>
9018 * config.h.in (HAVE_IFUNC): Define to 0.
9019 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9022 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9025 memmove-avx-unaligned, memcpy-avx-unaligned and
9026 mempcpy-avx-unaligned.
9027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9028 Add tests for AVX memcpy functions.
9029 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9030 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9032 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9033 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9035 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9036 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9038 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9039 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9040 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9042 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9045 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9048 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9051 * manual/llio.texi: Add section about open file description locks.
9052 * manual/examples/ofdlocks.c: Example of open file description
9054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9055 F_OFD_SETLK, and F_OFD_SETLKW.
9057 2014-07-23 Allan McRae <allan@archlinux.org>
9059 * po/es.po: Update Spanish translation from translation project.
9061 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9063 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9065 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9068 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9069 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9070 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9072 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9075 * math/fesetenv.c (__fesetenv)
9076 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9077 * math/feupdateenv.c (__feupdateenv)
9078 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9080 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9081 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9082 (__ASSUME_SOCKETCALL): Do not define.
9084 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9085 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9086 (__ASSUME_SOCKETCALL): Do not define.
9087 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9088 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9089 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9090 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9091 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9092 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9093 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9094 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9096 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9097 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9098 (__ASSUME_SOCKETCALL): Do not define.
9099 (__ASSUME_IPC64): Define unconditionally.
9100 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9101 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9102 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9103 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9104 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9105 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9106 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9109 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9110 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9111 (__ASSUME_SOCKETCALL): Do not define.
9112 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9113 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9114 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9115 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9116 (__ASSUME_REQUEUE_PI): Define unconditionally.
9117 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9118 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9119 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9120 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9121 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9122 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9124 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9125 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9126 (__ASSUME_SOCKETCALL): Do not define.
9127 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9128 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9129 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9130 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9131 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9132 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9134 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9135 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9136 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9137 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9138 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9139 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9140 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9141 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9142 (__ASSUME_GETCPU_SYSCALL): Likewise.
9144 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9145 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9146 cases for individual architectures.
9147 * sysdeps/gnu/configure: Regenerated.
9148 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9149 LIBC_SLIBDIR_RTLDDIR.
9150 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9151 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9152 LIBC_SLIBDIR_RTLDDIR.
9153 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9155 LIBC_SLIBDIR_RTLDDIR.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9158 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9159 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9161 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9164 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9165 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9166 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9167 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9169 * sysdeps/aarch64/shlib-versions: Move to ...
9170 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9171 * sysdeps/alpha/shlib-versions: Move to ...
9172 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9173 * sysdeps/arm/shlib-versions: Move to ...
9174 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9175 * sysdeps/hppa/shlib-versions: Move all contents except for
9176 libgcc_s entry to ...
9177 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9179 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9180 * sysdeps/ia64/shlib-versions: Move to ...
9181 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9183 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9184 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9185 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9186 * sysdeps/microblaze/shlib-versions: Move to ...
9187 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9188 * sysdeps/mips/shlib-versions: Move to ...
9189 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9191 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9192 * sysdeps/tile/shlib-versions: Move to ...
9193 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9194 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9196 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9197 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9199 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9201 2014-07-17 Will Newton <will.newton@linaro.org>
9203 * sysdeps/arm/bits/atomic.h
9204 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9205 (__arch_compare_and_exchange_bool_16_int): Likewise.
9206 (__arch_compare_and_exchange_bool_64_int): Likewise.
9208 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9209 into an #else block.
9211 2014-07-16 Roland McGrath <roland@hack.frob.com>
9213 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9214 just Linux configurations. Test empirically that the compiler sets
9215 __ARM_EABI__, rather than using the tuple to decide.
9216 * sysdeps/arm/preconfigure: Regenerated.
9217 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9218 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9219 contents appended ...
9220 * sysdeps/arm/configure.ac: ... here.
9221 * sysdeps/arm/configure: Regenerated.
9223 2014-07-15 Roland McGrath <roland@hack.frob.com>
9225 * nptl/pthread_kill.c: New file.
9226 * nptl/pthread_sigmask.c: New file.
9227 * nptl/pthread_sigqueue.c: New file.
9229 * sysdeps/nptl/lowlevellock.h: New file.
9230 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9231 * sysdeps/nptl/lowlevellock-futex.h: New file.
9233 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9234 Remove dead declarations.
9236 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9238 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9239 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9241 * sysdeps/x86_64/configure.ac: Likewise.
9242 * sysdeps/i386/configure: Regenerated.
9243 * sysdeps/x86_64/configure: Likewise.
9244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9245 memset-avx2 only if config-cflags-avx2 is yes.
9246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9247 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9249 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9250 only if HAVE_AVX2_SUPPORT is defined.
9251 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9253 2014-07-14 Alan Modra <amodra@gmail.com>
9256 * elf/elf.h (DT_PPC64_NUM): Correct value.
9257 * NEWS: Add to fixed bug list.
9259 2014-07-13 Jim Meyering <meyering@fb.com>
9262 regex: don't deref NULL upon heap allocation failure
9263 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9264 failure in one more place.
9265 To trigger the segfault, configure grep -with-included-regex,
9266 build it, and run these commands:
9267 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9269 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9271 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9273 2014-07-11 Richard Henderson <rth@redhat.com>
9275 * sysdeps/aarch64/libm-test-ulps: Update.
9277 2014-07-10 Florian Weimer <fweimer@redhat.com>
9280 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9281 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9282 (__nptl_setxid): Initialize error member. Call
9283 __nptl_setxid_error.
9284 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9285 * nptl/descr.h (struct xid_command): Add error member.
9286 * nptl/tst-setuid3.c: New file.
9287 * nptl/Makefile (tests): Add it.
9289 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9291 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9293 (__lll_trylock): Use __lll_base_trylock.
9294 (__lll_cond_trylock): Likewise.
9296 2014-07-10 Roland McGrath <roland@hack.frob.com>
9298 * nptl/pthread_create.c (start_thread): Use atomic_or and
9299 lll_futex_wake directly rather than lll_robust_dead.
9300 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9301 (lll_robust_dead): Macro removed.
9302 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9303 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9304 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9305 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9306 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9307 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9308 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9309 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9310 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9311 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9312 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9313 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9314 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9315 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9316 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9318 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9319 Use atomic_compare_and_exchange_val_acq directly rather than
9321 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9322 (__lll_robust_trylock, lll_robust_trylock): Removed.
9323 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9324 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9325 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9326 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9327 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9328 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9329 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9330 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9331 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9332 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9333 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9334 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9335 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9338 2014-07-02 Florian Weimer <fweimer@redhat.com>
9340 * manual/locale.texi (Locale Names): New section documenting
9341 locale name syntax. Adjust menu and node chaining accordingly.
9342 (Choosing Locale): Reference Locale Names, Locale Categories.
9343 Mention setting LC_ALL=C. Reflect that name syntax is now
9345 (Locale Categories): New section title. Reference Locale Names.
9346 LC_ALL is an environment variable, but not a category.
9347 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9348 description, now in Locale Name. Reference that section. Locale
9349 name syntax is now documented.
9351 2014-07-02 Florian Weimer <fweimer@redhat.com>
9354 * locale/findlocale.c (name_present, valid_locale_name): New
9356 (_nl_find_locale): Use the loc_name variable to store name
9357 candidates. Call name_present and valid_locale_name to check and
9358 validate locale names. Return an error if the locale is invalid.
9360 2014-07-02 Florian Weimer <fweimer@redhat.com>
9362 * locale/setlocale.c (setlocale): Use strdup for allocating
9363 composite name copy.
9365 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9367 Sync up with gnulib.
9368 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9369 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9370 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9371 and _GL_ARG_NONNULL.
9372 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9373 [!_LIBC]: Include code for Windows and Cygwin.
9374 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9375 Include prototype for int strerror_r.
9376 [!_LIBC] (is_open): New function.
9377 (flush_stdout): New function.
9378 (print_errno_message): Use it.
9380 (error_at_line): Likewise.
9381 (error_tail) Add function attribute macros. Use
9384 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9386 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9388 * io/ftw.c: Include sys/param.h unconditionally.
9390 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9393 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9395 (freecache): New function to free CACHE on exit.
9397 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9400 2014-07-09 David S. Miller <davem@davemloft.net>
9402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9404 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9405 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9406 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9407 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9408 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9409 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9410 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9411 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9412 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9413 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9414 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9415 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9416 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9418 2014-07-09 Andreas Schwab <schwab@suse.de>
9420 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9422 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9423 (do_test): Likewise.
9425 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9427 2014-07-09 Will Newton <will.newton@linaro.org>
9429 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9430 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9431 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9432 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9433 * sysdeps/hppa/start.S (_start): Likewise.
9435 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9437 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9439 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9442 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9444 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9445 after checking that it is non-NULL.
9447 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9449 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9451 * sysdeps/powerpc/memmove.c: Remove file.
9452 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9453 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9454 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9455 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9457 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9458 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9459 string memmove instead of removed powerpc one.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9462 [weak_alias]: Fix compiler warning due trailing data.
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9464 [weak_alias]: Likewise.
9465 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9466 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9469 (__libc_ifunc_impl_list): Add memmove functions.
9471 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9473 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9475 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9477 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9479 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9481 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9483 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9485 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9487 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9489 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9491 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9493 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9495 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9497 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9499 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9501 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9503 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9505 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9508 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9511 to avoid alignment traps in non-cacheable memory.
9512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9516 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9517 file: multiarch power7 memmove.
9518 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9519 multiarch default memmove.
9520 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9521 multiarch memove for powerpc32/power4.
9523 * string/bcopy.c: Use full path to include memmove.c.
9524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9526 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9527 bcopy for powerpc64.
9528 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9529 bcopy for powerpc64.
9530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9531 and memmove implementations.
9532 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9533 optimized multiarch memmove for POWER7/powerpc64.
9534 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9535 default multiarch memmove for powerpc64.
9536 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9537 multiarch for powerpc64.
9538 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9539 for POWER7/powerpc64.
9540 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9541 memmove for POWER7/powerpc64.
9543 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9546 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9547 __ELF_NATIVE_CLASS equal to 64.
9549 2014-07-07 Roland McGrath <roland@hack.frob.com>
9551 * sysdeps/nptl/lowlevellock.h: File removed.
9553 * NEWS: NPTL is no longer an add-on!
9554 * nptl/internaltypes.h: Moved ...
9555 * sysdeps/nptl/internaltypes.h: ... here.
9556 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9557 * sysdeps/nptl/fork.c: Likewise.
9558 * sysdeps/nptl/gai_misc.h: Likewise.
9559 * sysdeps/nptl/librt-cancellation.c: Likewise.
9560 * sysdeps/nptl/jmp-unwind.c: Likewise.
9561 * sysdeps/nptl/setxid.h: Likewise.
9562 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9563 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9564 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9565 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9566 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9567 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9568 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9569 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9570 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9571 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9572 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9573 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9574 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9575 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9576 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9577 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9578 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9579 * nptl/Makeconfig: Moved ...
9580 * sysdeps/nptl/Makeconfig: ... here.
9581 * nptl/configure: File removed.
9582 * nptl/ANNOUNCE: File removed.
9583 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9584 * sysdeps/unix/sysv/linux/configure: Regenerated.
9586 * nptl/Makefile (routines): Add libc_pthread_init,
9587 libc_multiple_threads, register-atfork and unregister-atfork.
9588 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9589 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9590 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9591 pthread-pi-defines.sym, structsem.sym.
9592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9593 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9594 [$(subdir) = nptl] (tests): Add tst-setgetname.
9595 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9596 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9597 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9598 [!LIBC_SIGACTION]: Remove aliases.
9599 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9600 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9601 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9602 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9603 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9605 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9607 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9608 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9609 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9610 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9611 __libc_allocate_rtsig_private.
9612 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9613 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9614 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9615 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9616 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9617 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9618 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9619 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9620 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9621 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9622 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9623 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9624 * nptl/internaltypes.h: ... here.
9625 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9626 * sysdeps/nptl/jmp-unwind.c: ... here.
9627 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9628 * nptl/libc-lowlevellock.c: ... here.
9629 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9630 * nptl/libc_multiple_threads.c: ... here.
9631 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9632 * nptl/libc_pthread_init.c: ... here.
9633 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9634 * nptl/lowlevelbarrier.sym: ... here.
9635 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9636 * nptl/lowlevelcond.sym: ... here.
9637 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9638 * nptl/lowlevellock.c: ... here.
9639 * nptl/lowlevellock.h: Moved ...
9640 * sysdeps/nptl/lowlevellock.h: ... here.
9641 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9642 * nptl/lowlevelrobustlock.c: ... here.
9643 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9644 * nptl/lowlevelrobustlock.sym: ... here.
9645 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9646 * nptl/lowlevelrwlock.sym: ... here.
9647 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9648 * nptl/pt-fork.c: ... here.
9649 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9650 * nptl/pthread-pi-defines.sym: ... here.
9651 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9652 * nptl/pthread_attr_getaffinity.c: ... here.
9653 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9654 * nptl/pthread_attr_setaffinity.c: ... here.
9655 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9656 * nptl/pthread_mutex_cond_lock.c: ... here.
9657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9659 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9660 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9661 * nptl/pthread_once.c: ... here, replacing old file.
9662 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9663 * nptl/pthread_yield.c: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9665 * nptl/register-atfork.c: ... here.
9666 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9667 * nptl/sem_post.c: ... here.
9668 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9669 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9670 * nptl/sem_timedwait.c: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9672 * nptl/sem_trywait.c: ... here.
9673 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9674 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9675 * nptl/sem_wait.c: ... here.
9676 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9677 * nptl/structsem.sym: ... here.
9678 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9679 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9680 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9681 * nptl/unregister-atfork.c: ... here.
9682 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9683 * nptl/unwindbuf.sym: ... here.
9684 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9685 * sysdeps/nptl/fork.c: ... here.
9686 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9687 * sysdeps/nptl/fork.h: ... here.
9688 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9689 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9690 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9692 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9694 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9696 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9698 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9700 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9702 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9704 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9706 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9708 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9710 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9712 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9714 * sysdeps/unix/sysv/linux/raise.c: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9716 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9717 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9718 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9719 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9720 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9721 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9722 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9723 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9724 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9725 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9726 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9727 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9728 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9729 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9731 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9733 * sysdeps/generic/memcopy.h: Add comment for
9734 MEMCPY_OK_FOR_FWD_MEMMOVE.
9736 2014-07-04 Will Newton <will.newton@linaro.org>
9738 * string/memchr.c: Merge from gnulib.
9739 [_LIBC]: Remove conditionals.
9740 (__ptr_t): Remove define.
9741 (LONG_MAX_32_BITS): Likewise.
9742 (LONG_MAX): Likewise.
9743 (MEMCHR): Use ANSI prototype and optimize algorithm.
9745 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9747 2014-07-03 Roland McGrath <roland@hack.frob.com>
9749 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9750 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9752 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9753 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9754 in a bare environment with no <stdlib.h> installed.
9755 * sysdeps/nptl/configure: Regenerated.
9757 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9759 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9760 AC_EGREP_CPP for kernel header checks, so they only succeed if
9761 including <linux/version.h> actually works right.
9762 * sysdeps/unix/sysv/linux/configure: Regenerated.
9764 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9765 value so it's not diagnosed as unused.
9767 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9768 thing) with "ifeq ($(subdir),rt)".
9770 2014-07-03 Richard Henderson <rth@redhat.com>
9772 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9773 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9774 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9776 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9777 (math_force_eval): New.
9779 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9780 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9782 * sysdeps/alpha/fpu/s_round.c: Remove file.
9783 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9785 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9786 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9787 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9788 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9789 (_dl_start, print_statistics): Likewise.
9790 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9791 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9793 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9794 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9795 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9796 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9797 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9798 (HP_SMALL_TIMING_AVAIL): Define.
9799 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9800 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9801 (HP_SMALL_TIMING_AVAIL): Define.
9802 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9803 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9805 * sysdeps/aarch64/hp-timing.h: New file.
9807 * sysdeps/generic/hp-timing.h: Remove dead comment.
9808 * sysdeps/generic/hp-timing-common.h: New file.
9809 * sysdeps/alpha/hp-timing.h: Include it.
9810 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9811 * sysdeps/i386/i686/hp-timing.h: Likewise.
9812 * sysdeps/ia64/hp-timing.h: Likewise.
9813 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9814 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9816 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9817 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9818 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9821 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9822 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9823 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9824 * elf/rtld.c (_dl_start_final): Likewise.
9825 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9826 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9827 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9828 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9829 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9830 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9831 (HP_TIMING_DIFF_INIT): Remove.
9832 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9833 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9834 (HP_TIMING_DIFF_INIT): Remove.
9835 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9836 * sysdeps/i386/i686/hp-timing.c: Remove file.
9837 * sysdeps/x86_64/hp-timing.c: Remove file.
9838 * sysdeps/ia64/hp-timing.c: Remove file.
9839 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9840 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9841 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9842 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9844 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9845 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9846 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9847 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9848 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9849 (HP_TIMING_ACCUM): Remove.
9850 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9851 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9852 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9854 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9855 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9856 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9857 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9858 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9859 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9860 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9861 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9863 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9865 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9867 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9869 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 Sync up with gettext.
9872 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9873 [_MSC_VER]: Include malloc.h
9874 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9875 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9876 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9877 TEMP_FAILURE_RETRY. Cast return of alloca.
9878 [!_LIBC] Call gl_rwlock_init.
9879 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9881 2014-07-02 Roland McGrath <roland@hack.frob.com>
9883 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9884 before checking its value.
9886 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9888 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9890 * debug/memcpy_chk.c: Don't include pagecopy.h.
9891 * debug/mempcpy_chk.c: Likewise.
9892 * string/memcpy.c: Likewise.
9893 * string/memmove.c: Likewise.
9894 * sysdeps/powerpc/memmove.c: Likewise.
9895 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9896 definition of PAGE_COPY_FWD_MAYBE here...
9897 * sysdeps/generic/pagecopy.h: ... from here.
9898 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9900 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9901 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9907 (__libc_ifunc_impl_list): Likewise.
9908 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9909 multiarch strcat for PPC64.
9910 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9911 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9913 2014-07-02 Roland McGrath <roland@hack.frob.com>
9915 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9917 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * intl/loadmsgcat.c: Remove declaration of
9920 get_sysdep_segment_value.
9921 (get_sysdep_segment_value): Use ISO C style.
9922 (_nl_load_domain): Use ISO C style. Get rid of redundant
9923 semicolon. Fix typo and formatting in comment.
9924 (_nl_unload_domain): Use ISO C style.
9926 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9928 2014-07-02 Will Newton <will.newton@linaro.org>
9930 * malloc/obstack.c: Merge from gnulib master.
9931 [HAVE_CONFIG_H]: Remove conditional code.
9932 [!_LIBC]: Include config.h.
9933 [!ELIDE_CODE]: Don't include inttypes.h, include
9934 stdint.h unconditionally.
9935 (print_and_abort): Mark as _Noreturn.
9936 (_obstack_allocated_p): Mark as __attribute_pure__.
9937 (obstack_free): Rename to __obstack_free.
9938 [!__attribute__]: Remove conditional code.
9939 * malloc/obstack.h: Merge from gnulib master.
9940 [__cplusplus]: Move conditional down.
9941 [!__attribute_pure__]: Define __attribute_pure__ here
9942 if it is not already defined.
9943 (_obstack_memory_used): Mark as __attribute_pure__.
9944 [!__obstack_free]: Define as obstack_free.
9945 [__GNUC__]: Remove check for ancient NeXT gcc.
9947 2014-07-02 Will Newton <will.newton@linaro.org>
9948 Paul Eggert <eggert@cs.ucla.edu>
9950 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9952 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9954 * resolv/gethnamaddr.c: Add comment warning that the file is
9957 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9959 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9962 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9963 entry for aio_cancel and aio_cancel64.
9964 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9965 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9966 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9967 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9968 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9969 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9970 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9971 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9972 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9973 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9974 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9975 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9976 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9978 2014-07-01 Roland McGrath <roland@hack.frob.com>
9980 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9981 * nptl/pthread_mutex_lock.c: Likewise.
9982 * nptl/pthread_mutex_timedlock.c: Likewise.
9983 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9985 2014-07-01 Richard henderson <rth@redhat.com>
9987 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9988 (__isnan, __isnanl): Remove.
9989 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9991 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9993 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9997 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9999 * resolv/nss_dns/dns-host.c (getanswer_r)
10000 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10002 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10004 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10005 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10007 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10008 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10010 2014-07-01 Roland McGrath <roland@hack.frob.com>
10012 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10013 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10015 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10016 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10018 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10019 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10021 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10022 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10024 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10025 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10026 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10027 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10029 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10030 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10031 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10032 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10035 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10037 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10038 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10040 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10042 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10044 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10045 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10046 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10047 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10048 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10049 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10050 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10052 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10058 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10059 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10061 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10062 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10063 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10064 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10065 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10067 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10069 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10070 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10071 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10074 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10078 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10080 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10081 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10083 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10085 * sysdeps/arm/libm-test-ulps: Regenerated.
10087 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10088 Roland McGrath <roland@hack.frob.com>
10090 * test-skeleton.c (signal_handler): Kill the whole process group
10091 before killing the child individually.
10092 (main): Report any failure on `setpgid'.
10094 2014-06-30 Roland McGrath <roland@hack.frob.com>
10096 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10097 from _TLS_H to _ARM_NPTL_TLS_H.
10098 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10099 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10101 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10104 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10105 (__expm1l): Return argument unchanged when small but not
10108 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10109 include macro name.
10110 (_FP_UNPACK_RAW_1_P): Likewise.
10111 (_FP_PACK_RAW_1): Likewise.
10112 (_FP_PACK_RAW_1_P): Likewise.
10113 (_FP_MUL_MEAT_1_wide): Likewise.
10114 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10115 (_FP_MUL_MEAT_1_hard): Likewise.
10116 (_FP_DIV_MEAT_1_imm): Likewise.
10117 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10118 (_FP_DIV_MEAT_1_udiv): Likewise.
10119 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10120 (_FP_UNPACK_RAW_2): Likewise.
10121 (_FP_UNPACK_RAW_2_P): Likewise.
10122 (_FP_PACK_RAW_2): Likewise.
10123 (_FP_PACK_RAW_2_P): Likewise.
10124 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10125 (_FP_MUL_MEAT_2_wide): Likewise.
10126 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10127 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10128 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10129 (_FP_MUL_MEAT_2_gmp): Likewise.
10130 (_FP_DIV_MEAT_2_udiv): Likewise.
10131 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10132 (_FP_FRAC_SRL_4): Likewise.
10133 (_FP_FRAC_SRST_4): Likewise.
10134 (_FP_FRAC_SRS_4): Likewise.
10135 (_FP_UNPACK_RAW_4): Likewise.
10136 (_FP_UNPACK_RAW_4_P): Likewise.
10137 (_FP_PACK_RAW_4): Likewise.
10138 (_FP_PACK_RAW_4_P): Likewise.
10139 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10140 (_FP_MUL_MEAT_4_wide): Likewise.
10141 (_FP_MUL_MEAT_4_gmp): Likewise.
10142 (umul_ppppmnnn): Likewise.
10143 (_FP_DIV_MEAT_4_udiv): Likewise.
10144 (__FP_FRAC_ADD_4): Likewise.
10145 (__FP_FRAC_SUB_3): Likewise.
10146 (__FP_FRAC_SUB_4): Likewise.
10147 (__FP_FRAC_DEC_3): Likewise.
10148 (__FP_FRAC_DEC_4): Likewise.
10149 (__FP_FRAC_ADDI_4): Likewise.
10150 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10151 (_FP_FRAC_SRL_8): Likewise.
10152 (_FP_FRAC_SRS_8): Likewise.
10154 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10155 include macro name.
10156 (FP_UNPACK_RAW_EP): Likewise.
10157 (FP_PACK_RAW_E): Likewise.
10158 (FP_PACK_RAW_EP): Likewise.
10159 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10160 (_FP_ISSIGNAN): Likewise.
10161 (_FP_ADD_INTERNAL): Likewise.
10162 (_FP_FMA): Likewise.
10163 (_FP_CMP): Likewise.
10164 (_FP_SQRT): Likewise.
10165 (_FP_TO_INT): Likewise.
10166 (_FP_FROM_INT): Likewise.
10167 (FP_EXTEND): Likewise.
10168 (_FP_DIV_MEAT_N_loop): Likewise.
10170 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10172 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10175 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10178 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10179 result with correct sign in case of exponents that produce
10180 overflow except for X very close to 1.
10182 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10184 mktime: merge #if/#ifdef usage from glibc
10185 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10186 as that works with both Glibc's and Gnulib's style.
10187 See thread starting at Siddhesh Poyarekar's bug report at:
10188 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10190 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10193 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10194 * sysdeps/tile/tilegx/memmove.c: Remove file.
10196 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10198 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10199 abi-name definition.
10200 * scripts/soversions.awk: Do not handle or generate ABI lines.
10201 * shlib-versions: Remove ABI entries.
10202 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10203 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10205 2014-06-27 Roland McGrath <roland@hack.frob.com>
10207 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10208 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10210 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10212 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10213 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10215 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10218 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10220 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10224 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10228 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10231 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10233 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10235 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10238 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10241 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10243 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10246 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10250 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10252 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10255 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10257 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10258 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10260 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10263 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10265 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10268 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10271 Identical file removed.
10272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10274 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10276 Identical file removed.
10277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10278 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10281 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10283 Identical file removed.
10284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10287 Identical file removed.
10288 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10291 Identical file removed.
10292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10295 Identical file removed.
10296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10298 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10300 Identical file removed.
10301 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10303 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10307 Identical file removed.
10308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10310 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10313 Identical file removed.
10314 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10316 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10318 Identical file removed.
10319 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10321 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10322 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10323 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10328 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10330 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10332 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10333 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10334 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10335 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10336 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10338 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10341 * nscd/nscd.c (monitor_child): Return exit status of child
10342 instead of return value from wait syscall.
10344 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10346 * configure.ac (libc_commonpagesize): Remove variable.
10347 (libc_relro_required): Likewise.
10348 (libc_cv_z_relro): Remove configure test.
10349 * configure: Regenerated.
10350 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10352 (libc_relro_required): Likewise.
10353 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10354 (libc_relro_required): Likewise.
10355 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10356 (libc_relro_required): Likewise.
10357 * sysdeps/arm/preconfigure: Regenerated.
10358 * sysdeps/ia64/preconfigure: Remove file.
10359 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10361 (libc_relro_required): Likewise.
10365 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10366 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10367 recompute overflowing results in original rounding mode.
10368 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10369 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10370 recompute overflowing results in original rounding mode.
10371 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10372 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10373 recompute overflowing results in original rounding mode.
10374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10375 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10376 recompute overflowing results in original rounding mode.
10377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10378 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10379 recompute overflowing results in original rounding mode.
10380 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10381 (libc_feholdsetround_ctx): New macro.
10382 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10383 * sysdeps/i386/fpu/libm-test-ulps: Update.
10384 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10386 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10388 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10389 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10390 corresponding .cpsetup call.
10392 2014-06-26 Roland McGrath <roland@hack.frob.com>
10394 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10395 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10396 * sysdeps/arm/Makefile [$(subdir) = csu]
10397 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10398 (static-only-routines): Add aeabi_read_tp here.
10399 (shared-only-routines): Add libc-aeabi_read_tp here.
10400 (CFLAGS-libc-start.c): Add -fexceptions here.
10401 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10402 (sysdep_routines, static-only-routines, shared-only-routines):
10403 Don't add to these here.
10404 (CFLAGS-libc-start.c): Likewise.
10406 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10407 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10408 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10409 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10410 * sysdeps/arm/Makefile [$(subdir) = rt]
10411 (librt-sysdep_routines, librt-shared-only-routines):
10412 Append rt-aeabi_unwind_cpp_pr1 here.
10413 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10414 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10415 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10416 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10417 Append nptl-aeabi_unwind_cpp_pr1 here.
10418 (tests): Filter out tst-cleanupx4 here.
10419 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10420 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10421 Don't do those here.
10423 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10425 * scripts/list-sources.sh: Do not handle ports specially.
10427 2014-06-26 Roland McGrath <roland@hack.frob.com>
10429 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10430 * sysdeps/arm/feupdateenv.c: Likewise.
10432 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10434 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10436 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10437 trailing whitespace removed.
10438 * scripts/config.guess: Update to version 2014-03-23.
10439 * scripts/config.sub: Update to version 2014-05-01
10440 * scripts/install-sh: Update to version 2013-12-25.23.
10441 * scripts/move-if-change: Update from gnulib.
10443 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10445 * debug/memmove_chk.c: Remove pagecopy.h include.
10447 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10449 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10450 identical to gnulib mktime.
10452 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10454 * configure.ac: Do not test for machine being rs6000. Do not test
10455 for powerpc*-*soft.
10456 * configure: Regenerated.
10459 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10461 * configure: Regenerated.
10462 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10463 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10464 Remove configure test.
10465 * sysdeps/arm/configure: Regenerated.
10466 * sysdeps/nptl/configure.ac: Do not check
10467 libc_cv_asm_cfi_directives.
10468 * sysdeps/nptl/configure: Regenerated.
10469 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10470 * sysdeps/x86_64/nptl/configure: Remove generated file.
10471 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10473 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10475 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10477 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10478 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10479 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10482 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10483 instead of whether it is defined.
10484 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10485 * sysdeps/hppa/dl-machine.h: Likewise.
10486 * sysdeps/ia64/dl-machine.h: Likewise.
10487 * sysdeps/m68k/dl-machine.h: Likewise.
10488 * sysdeps/microblaze/dl-machine.h: Likewise.
10489 * sysdeps/mips/dl-machine.: Likewise.
10490 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10491 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10492 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10493 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10494 * sysdeps/sh/dl-machine.h: Likewise.
10495 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10496 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10497 * sysdeps/tile/dl-machine.h: Likewise.
10498 * sysdeps/x86_64/dl-machine.h: Likewise.
10500 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10502 (verify_persistent_db): Likewise.
10504 2014-06-26 Roland McGrath <roland@hack.frob.com>
10506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10507 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10509 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10512 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10515 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10517 Identical file removed.
10518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10523 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10525 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10527 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10530 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10532 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10534 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10537 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10541 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10543 Identical file removed.
10544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10545 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10550 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10553 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10555 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10557 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10561 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10564 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10567 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10569 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10572 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10574 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10576 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10578 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10579 * sysdeps/unix/sysv/linux/s390/Versions
10580 (libpthread: GLIBC_2.19): New version set.
10581 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10582 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10583 (librt: GLIBC_2.3.3): New version set.
10584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10585 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10586 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10588 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10589 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10590 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10591 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10592 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10593 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10594 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10596 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10597 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10598 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10599 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10600 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10601 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10602 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10604 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10606 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10608 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10609 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10610 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10611 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10612 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10613 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10614 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10616 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10620 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10622 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10624 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10626 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10628 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10631 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10632 (__libc_vfork): Define the function under this name.
10633 [!NOT_IN_libc] (__vfork): Make this an alias.
10634 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10636 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10637 (__libc_vfork): Define the function under this name.
10638 [!NOT_IN_libc] (__vfork): Make this an alias.
10639 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10640 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10641 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10644 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10647 code that was previously under [RESET_PID].
10648 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10649 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10652 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10653 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10654 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10655 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10656 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10657 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10658 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10659 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10660 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10664 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10670 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10671 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10672 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10673 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10688 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10689 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10690 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10691 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10692 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10694 2014-06-25 Roland McGrath <roland@hack.frob.com>
10696 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10697 that was previously under [RESET_PID].
10698 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10700 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10702 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10703 not undefine and redefine.
10704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10705 [O_CLOEXEC]: Make code unconditional.
10706 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10707 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10708 <kernel-features.h>.
10709 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10710 conditional variable definition.
10711 (shm_open) [O_CLOEXEC]: Make code unconditional.
10712 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10715 * configure.ac (USE_REGPARMS): Don't define here.
10716 * configure: Regenerated.
10717 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10718 * sysdeps/i386/configure: Regenerated.
10720 * nptl/createthread.c: Don't include kernel-features.h.
10721 * nptl/pthread_cancel.c: Likewise.
10722 * nptl/pthread_condattr_setclock.c: Likewise.
10723 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10724 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10725 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10726 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10727 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10728 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10729 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10732 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10733 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10734 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10735 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10736 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10737 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10738 * nscd/gai.c: Likewise.
10739 * nss/nss_db/db-open.c: Likewise.
10740 * sysdeps/generic/ldsodefs.h: Likewise.
10741 * sysdeps/sh/nptl/tls.h: Likewise.
10742 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10743 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10744 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10745 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10746 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10747 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10748 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10749 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10751 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10752 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10753 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10754 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10755 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10756 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10757 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10758 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10759 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10760 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10761 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10762 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10763 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10764 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10765 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10766 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10767 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10768 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10769 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10770 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10771 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10772 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10773 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10774 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10775 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10776 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10777 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10778 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10779 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10780 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10781 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10782 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10783 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10784 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10785 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10786 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10787 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10788 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10789 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10790 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10791 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10792 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10793 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10794 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10796 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10797 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10799 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10822 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10823 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10824 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10825 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10826 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10827 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10828 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10829 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10830 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10831 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10832 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10833 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10834 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10835 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10836 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10837 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10838 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10839 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10840 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10841 * sysdeps/unix/sysv/linux/system.c: Likewise.
10842 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10843 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10844 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10845 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10846 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10847 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10848 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10850 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10851 * configure: Regenerated.
10852 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10854 * configure.ac (base_machine): Do not set specially for particular
10856 * configure: Regenerated.
10857 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10858 settings from configure.ac.
10859 * sysdeps/i386/preconfigure: New file.
10860 * sysdeps/s390/preconfigure: Likewise.
10861 * sysdeps/sh/preconfigure: Likewise.
10862 * sysdeps/sparc/preconfigure: Likewise.
10864 2014-06-25 Roland McGrath <roland@hack.frob.com>
10866 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10867 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10868 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10869 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10870 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10871 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10872 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10873 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10874 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10875 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10876 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10877 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10878 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10879 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10880 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10881 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10882 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10883 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10884 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10886 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10887 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10888 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10889 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10890 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10891 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10892 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10893 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10894 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10895 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10896 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10897 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10898 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10899 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10900 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10901 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10902 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10903 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10904 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10905 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10906 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10907 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10909 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10910 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10911 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10913 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10914 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10915 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10917 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10918 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10919 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10921 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10923 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10926 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10928 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10931 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10936 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10939 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10941 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10943 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10948 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10951 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10953 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10956 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10958 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10960 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10962 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10967 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10975 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10979 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10987 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10989 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10996 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10998 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11000 * timezone/checktab.awk: Update from tzcode 2014e.
11001 * timezone/private.h: Likewise.
11002 * timezone/tzfile.h: Likewise.
11003 * timezone/zdump.c: Likewise.
11004 * timezone/zic.c: Likewise.
11006 * sysdeps/unix/sysv/linux/kernel-features.h
11007 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11008 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11009 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11010 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11011 Remove conditional code.
11013 2014-06-25 Will Newton <will.newton@linaro.org>
11015 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11016 (_dl_arm_cap_flags): Add HWCAP2 values.
11017 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11018 (_DL_HWCAP_COUNT): Increase to 37.
11019 (_DL_HWCAP_LAST): New define.
11020 (_DL_HWCAP2_LAST): New define.
11021 (_dl_procinfo): Add support for printing
11023 (_dl_string_hwcap): Use _dl_hwcap_string.
11025 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11029 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11031 * README: Do not mention ports directory.
11033 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11035 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11036 <kernel-features.h>.
11037 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11038 conditional variable definition.
11039 (__futimes): Update comment.
11040 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11041 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11044 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11045 arguments close to 0.
11046 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11048 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11050 * math/auto-libm-test-in: Add more tests of exp10.
11051 * math/auto-libm-test-out: Regenerated.
11052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11054 * sysdeps/unix/sysv/linux/kernel-features.h
11055 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11056 * sysdeps/unix/sysv/linux/readv.c: Do not include
11057 <kernel-features.h>.
11058 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11059 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11060 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11062 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11064 * sysdeps/unix/sysv/linux/writev.c: Do not include
11065 <kernel-features.h>.
11066 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11067 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11068 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11070 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11073 2014-06-25 Will Newton <will.newton@linaro.org>
11075 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11076 comment changes throughout the file. Remove checks
11077 for HAVE_*_H definitions that are not required.
11078 (__gen_tempname): Call abort if an unknown kind value is
11081 2014-06-25 Andreas Schwab <schwab@suse.de>
11084 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11085 scalbln, scalblnf, scalblnl in libc.
11087 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11090 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11091 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11092 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11094 2014-06-24 Roland McGrath <roland@hack.frob.com>
11096 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11097 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11098 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11099 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11101 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11102 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11104 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11105 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11106 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11107 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11108 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11109 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11110 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11111 * sysdeps/x86/bits/semaphore.h: ... here.
11112 * sysdeps/x86/nptl/elide.h: Moved ...
11113 * sysdeps/x86/elide.h: ... here.
11114 * sysdeps/x86_64/nptl/Implies: File removed.
11115 * sysdeps/i386/nptl/Implies: File removed.
11117 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11121 return the argument for normal arguments with exponent below -64.
11122 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11124 * math/auto-libm-test-in: Add another test of expm1.
11125 * math/auto-libm-test-out: Regenerated.
11128 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11129 calling __erfcl for arguments at least 16.
11130 * math/auto-libm-test-in: Add more tests of erf.
11131 * math/auto-libm-test-out: Regenerated.
11133 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11134 individual architectures.
11135 * sysdeps/unix/sysv/linux/configure: Regenerated.
11136 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11137 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11138 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11139 (ldd_rewrite_script): Define variable.
11140 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11145 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11146 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11147 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11148 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11149 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11150 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11151 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11152 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11154 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11158 Rename member __data.d to __data.__elision_data.
11160 2014-06-24 Wilco <wdijkstr@arm.com>
11162 * NEWS: Add 16918 to fixed bug list.
11164 2014-06-24 Wilco <wdijkstr@arm.com>
11166 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11168 2014-06-24 Wilco <wdijkstr@arm.com>
11170 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11171 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11172 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11173 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11174 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11175 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11176 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11179 2014-06-24 Wilco <wdijkstr@arm.com>
11181 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11183 2014-06-24 Wilco <wdijkstr@arm.com>
11185 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11186 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11187 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11188 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11190 2014-06-24 Wilco <wdijkstr@arm.com>
11193 * sysdeps/arm/feupdateenv.c (feupdateenv):
11194 Rewrite to reduce FPSCR accesses and fix return value.
11196 2014-06-24 Wilco <wdijkstr@arm.com>
11198 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11199 Optimize to avoid unnecessary FPSCR writes.
11200 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11201 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11202 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11203 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11205 2014-06-24 Wilco <wdijkstr@arm.com>
11207 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11208 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11209 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11210 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11211 Call libc_fetestexcept_vfp.
11212 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11213 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11214 __SOFTFP__ ifdef so that they can be built for softfp.
11216 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11218 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11219 argument type signed char.
11221 * Makerules (check-abi): Dump diff of symlist if the test
11224 2014-06-23 Roland McGrath <roland@hack.frob.com>
11226 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11229 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11230 Remove unused variable ST.
11232 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11236 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11237 small arguments before calling __expm1.
11238 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11239 small arguments before calling __expm1f.
11240 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11241 small arguments before calling __expm1l.
11242 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11244 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11245 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11246 spurious underflow for some cosh tests.
11247 * math/auto-libm-test-out: Regenerated.
11248 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11252 (__ieee754_y1): Set errno if return value overflows.
11253 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11254 (__ieee754_y1f): Set errno if return value overflows.
11255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11256 (__ieee754_y1l): Set errno if return value overflows.
11257 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11258 (__ieee754_y1l): Set errno if return value overflows.
11259 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11260 * math/auto-libm-test-out: Regenerated.
11262 * math/gen-auto-libm-tests.c: Document use of
11263 ignore-zero-inf-sign.
11264 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11265 (input_flags): Add ignore-zero-inf-sign.
11266 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11267 * math/gen-libm-test.pl (generate_testfile): Handle
11268 ignore-zero-inf-sign.
11269 * math/auto-libm-test-in: Mark some cpow tests with
11270 ignore-zero-inf-sign and some with xfail-rounding.
11271 * math/auto-libm-test-out: Regenerated.
11272 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11273 * sysdeps/i386/fpu/libm-test-ulps: Update.
11274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11277 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11278 overflowing or underflowing operations take place with sign of
11280 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11281 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11282 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11283 (__ieee754_pow): Recompute overflowing and underflowing results in
11284 original rounding mode.
11285 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11286 (__powl_helper): Allow negative argument X and scale negated value
11287 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11288 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11289 overflowing or underflowing operations take place with sign of
11291 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11293 * math/auto-libm-test-in: Add more tests of pow.
11294 * math/auto-libm-test-out: Regenerated.
11295 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11296 (pow_tonearest_test_data): Remove.
11297 (pow_test_tonearest): Likewise.
11298 (pow_towardzero_test_data): Likewise.
11299 (pow_test_towardzero): Likewise.
11300 (pow_downward_test_data): Likewise.
11301 (pow_test_downward): Likewise.
11302 (pow_upward_test_data): Likewise.
11303 (pow_test_upward): Likewise.
11304 (main): Don't call removed functions.
11305 * sysdeps/i386/fpu/libm-test-ulps: Update.
11306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308 2014-06-23 Roland McGrath <roland@hack.frob.com>
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11484 2014-06-23 Will Newton <will.newton@linaro.org>
11485 Wilco <wdijkstr@arm.com>
11487 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11488 implementation. Include get-rounding-mode.h.
11489 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11490 [!libc_feholdsetround_noex_ctx]: Define
11491 libc_feholdsetround_noex_ctx.
11492 [!libc_feholdsetround_noexf_ctx]: Define
11493 libc_feholdsetround_noexf_ctx.
11494 [!libc_feholdsetround_noexl_ctx]: Define
11495 libc_feholdsetround_noexl_ctx.
11496 (libc_feholdsetround_ctx): New function.
11497 (libc_feresetround_ctx): New function.
11498 (libc_feholdsetround_noex_ctx): New function.
11499 (libc_feresetround_noex_ctx): New function.
11501 2014-06-23 Roland McGrath <roland@hack.frob.com>
11503 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11504 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11505 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11506 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11507 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11508 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11510 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11511 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11512 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11513 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11514 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11515 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11516 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11517 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11519 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11520 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11522 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11525 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11526 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11527 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11530 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11532 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11533 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11534 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11536 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11539 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11542 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11544 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11547 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11549 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11550 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11551 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11552 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11553 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11554 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11555 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11556 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11558 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11560 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11561 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11562 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11563 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11564 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11565 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11566 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11567 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11568 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11569 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11570 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11571 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11572 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11574 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11576 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11577 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11578 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11581 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11582 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11583 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11585 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11587 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11588 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11589 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11590 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11591 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11592 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11593 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11594 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11596 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11597 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11598 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11599 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11600 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11601 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11602 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11603 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11604 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11606 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11607 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11608 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11609 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11610 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11616 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11619 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11620 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11621 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11622 (IPV6_PMTUDISC_INTERFACE): Likewise.
11623 (IPV6_PMTUDISC_OMIT): Likewise.
11625 2014-06-23 Andreas Schwab <schwab@suse.de>
11627 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11628 Remove unused errout label.
11630 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11632 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11633 macro: hardware supports Vector Crypto instructions.
11635 2014-06-23 Will Newton <will.newton@linaro.org>
11637 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11638 rather than __builtin_expect.
11640 * elf/dl-lookup.c (undefined_msg): Remove variable.
11641 (_dl_lookup_symbol_x): Replace undefined_msg with string
11644 * elf/dl-lookup.c (do_lookup_unique): New function.
11645 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11646 to a separate function.
11648 2014-06-23 Andreas Schwab <schwab@suse.de>
11651 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11652 before reading the next line.
11654 2014-06-23 Will Newton <will.newton@linaro.org>
11656 * test-skeleton.c (signal_handler): Use printf and %m
11657 rather than perror. Use printf rather than fprintf to
11658 stderr. Use puts rather than fputs to stderr.
11661 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11663 * nscd/nscd.c (thread_info_t): Remove typedef.
11664 (thread_info): Remove variable.
11666 2014-06-21 Allan McRae <allan@archlinux.org>
11668 * NEWS: Mention CVE-2014-4043.
11670 2014-06-20 Roland McGrath <roland@hack.frob.com>
11672 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11673 * nptl/smp.h: ... here.
11675 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11677 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11678 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11679 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11680 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11682 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11683 * nptl/stack-aliasing.h: New file.
11684 * sysdeps/i386/i686/stack-aliasing.h: New file.
11685 * sysdeps/i386/i686/nptl/Makefile: File removed.
11686 * sysdeps/x86_64/stack-aliasing.h: New file.
11687 * sysdeps/x86_64/nptl/Makefile
11688 (CFLAGS-pthread_create.c): Variable removed.
11690 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11691 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11693 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11694 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11697 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11700 (__ASSUME_SIGFRAME_V2): Remove macro.
11701 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11702 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11703 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11704 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11705 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11706 Declare as function. Remove conditional macro definitions.
11707 (__default_rt_sa_restorer): Likewise.
11708 (__default_sa_restorer_v1): Remove declaration.
11709 (__default_sa_restorer_v2): Likewise.
11710 (__default_rt_sa_restorer_v1): Likewise.
11711 (__default_rt_sa_restorer_v2): Likewise.
11712 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11713 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11714 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11716 2014-06-20 Roland McGrath <roland@hack.frob.com>
11718 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11719 (libpthread-routines): Add sysdep.
11720 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11721 * sysdeps/unix/sysv/linux/sparc/Versions
11722 (libpthread: GLIBC_2.3.3): New version set.
11723 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11724 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11725 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11726 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11727 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11728 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11730 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11731 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11732 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11733 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11734 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11735 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11736 * sysdeps/sparc/nptl/sem_init.c: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11738 * sysdeps/sparc/nptl/sem_post.c: ... here.
11739 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11740 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11742 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11744 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11745 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11746 (libpthread-routines): Add cpu_relax.
11747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11749 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11750 (librt: GLIBC_2.3.3): New version set.
11751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11752 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11754 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11757 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11760 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11762 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11764 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11766 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11768 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11771 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11775 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11779 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11783 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11787 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11791 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11794 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11800 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11802 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11805 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11807 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11809 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11811 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11813 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11814 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11815 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11816 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11817 * nscd/nscd.c: Likewise.
11818 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11819 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11820 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11821 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11823 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11824 <kernel-features.h>.
11825 (init_mq_netlink): Remove conditional have_sock_cloexec
11826 definitions. Remove code conditional on have_sock_cloexec < 0.
11827 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11828 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11829 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11830 <kernel-features.h>.
11831 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11832 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11834 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11837 Add tests for memset_chk and memset.
11839 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11842 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11845 * elf/tst-dl-iter-static.c: New file.
11846 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11848 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11851 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11853 * sysdeps/unix/sysv/linux/kernel-features.h
11854 (__ASSUME_F_GETOWN_EX): Remove macro.
11855 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11856 <kernel-features.h>.
11857 (miss_F_GETOWN_EX): Remove variable or macro.
11858 (do_fcntl): Do not check miss_F_GETOWN_EX.
11859 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11864 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11865 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11867 * sysdeps/unix/sysv/linux/kernel-features.h
11868 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11869 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11870 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11871 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11873 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11876 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11877 Fix calculation of the symbol's value.
11878 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11879 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11880 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11881 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11882 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11883 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11884 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11885 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11886 (modules-names): Add `tst-armtlsdescmod',
11887 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11888 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11889 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11890 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11891 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11892 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11893 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11894 ($(objpfx)tst-armtlsdescloc): New dependency.
11895 ($(objpfx)tst-armtlsdescextnow): Likewise.
11896 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11897 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11898 TLS scheme support.
11899 * sysdeps/arm/configure: Regenerate.
11901 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11903 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11904 (__atfct_seterrno_2): Likewise.
11905 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11906 <kernel-features.h>.
11907 (__ASSUME_ATFCTS): Do not undefine and redefine.
11908 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11909 (__have_atfcts): Remove conditional definition.
11910 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11911 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11912 unreachable if [__ASSUME_ATFCTS].
11913 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11914 not undefine and redefine.
11915 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11916 <kernel-features.h>.
11917 (faccessat) [__NR_faccessat]: Make code unconditional.
11918 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11919 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11920 <kernel-features.h>.
11921 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11922 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11923 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11924 <kernel-features.h>.
11925 (fchownat) [__NR_fchownat]: Make code unconditional.
11926 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11927 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11928 <kernel-features.h>.
11929 (futimesat) [__NR_futimesat]: Make code unconditional.
11930 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11931 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11932 <kernel-features.h>.
11933 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11934 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11935 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11936 <kernel-features.h>.
11937 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11938 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11939 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11940 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11941 <kernel-features.h>.
11942 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11943 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11944 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11945 <kernel-features.h>.
11946 (linkat) [__NR_linkat]: Make code unconditional.
11947 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11948 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11949 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11950 <kernel-features.h>.
11951 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11952 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11953 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11954 <kernel-features.h>.
11955 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11956 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11957 * sysdeps/unix/sysv/linux/openat.c: Do not include
11958 <kernel-features.h>.
11959 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11960 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11961 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11962 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11963 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11964 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11965 <kernel-features.h>.
11966 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11967 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11968 result of INLINE_SYSCALL directly, not via int variable.
11969 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11970 <kernel-features.h>.
11971 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11972 (renameat) [__NR_renameat]: Make code unconditional.
11973 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11975 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11976 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11977 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11978 (__ASSUME_ATFCTS): Do not undefine and redefine.
11979 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11980 <kernel-features.h>.
11981 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11982 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11983 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11984 <kernel-features.h>.
11985 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11986 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11987 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11988 (__ASSUME_ATFCTS): Do not undefine and redefine.
11989 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11990 <kernel-features.h>.
11991 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11992 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11993 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11994 <kernel-features.h>.
11995 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11996 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11998 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12000 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12002 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12005 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12006 constructed tree before returning error.
12007 * posix/bug-regexp36.c: Expand test case.
12009 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12012 * math/libm-test.inc (scalbln_test_date):
12013 Add errno expectations.
12014 * math/w_scalblnf.c: New File.
12015 Add wrapper which checks for setting errno to ERANGE.
12016 Add weak_alias for corresponding scalbln function.
12017 * math/w_scalbln.c: Likewise.
12018 * math/w_scalblnl.c: Likewise.
12019 * math/Makefile (libm-calls): Add w_scalbln.
12020 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12021 Remove weak_alias for corresponding scalbln function.
12022 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12024 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12025 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12026 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12027 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12028 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12029 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12030 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12031 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12032 Remove long_double_symbol for scalblnl function in libm, libc.
12033 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12034 Add wrapper which checks for setting errno to ERANGE.
12035 Add long_double_symbol for scalblnl function in libm, libc.
12036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12037 Remove long_double_symbol for scalblnl in libm.
12038 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12039 Add wrapper which checks for setting errno to ERANGE.
12040 Add long_double_symbol for scalblnl function in libm.
12041 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12042 Do not use wrapper because of own implementation.
12044 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12046 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12047 3 bytes for __pad1 for x32.
12048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12050 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12051 H.J. Lu <hongjiu.lu@intel.com>
12053 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12054 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12055 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12056 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12057 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12059 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12062 * posix/regcomp.c (parse_expression): Deallocate partially
12063 constructed tree before returning error.
12064 * posix/Makefile.c (tests): Add bug-regex36.
12065 (generated): Add bug-regex36.mtrace.
12066 (tests-special): Add $(objpfx)bug-regex36-mem.out
12067 (bug-regex36-ENV): New variable.
12068 ($(objpfx)bug-regex36-mem.out): New rule.
12069 * posix/bug-regex36.c: New file.
12071 2014-06-19 Will Newton <will.newton@linaro.org>
12073 * malloc/malloc.c (systrim): If extra is zero then return
12076 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12078 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12080 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12082 * sysdeps/aarch64/strchr.S: New file.
12084 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12087 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12088 from arguments -2 or below.
12089 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12090 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12092 2014-06-18 Andreas Schwab <schwab@suse.de>
12095 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12096 of a bracket expr not to run off the end of the string.
12097 * posix/Makefile (tests): Add tst-fnmatch3.
12098 * posix/tst-fnmatch3.c: New file.
12100 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12102 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12103 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12104 [$(cross-compiling) = no]: Likewise.
12105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12106 [$(cross-compiling) = no]: Likewise.
12108 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12111 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12112 double, adjusted for any remainder from the high double.
12113 * math/libm-test.inc (nearbyint): Add tests.
12116 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12118 * nptl/sysdeps/powerpc/Makefile: Moved ...
12119 * sysdeps/powerpc/nptl/Makefile: ... here.
12120 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12121 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12122 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12123 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12124 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12125 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12126 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12127 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12128 * nptl/sysdeps/powerpc/tls.h: Moved ...
12129 * sysdeps/powerpc/nptl/tls.h: ... here.
12131 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12134 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12135 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12136 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12137 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12138 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12139 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12140 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12141 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12142 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12144 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12146 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12148 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12150 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12153 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12156 2014-06-16 Florian Weimer <fweimer@redhat.com>
12159 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12160 non-executed part of the test.
12162 2014-06-16 Andreas Schwab <schwab@suse.de>
12164 * string/bits/string2.h (strdup, strndup): Update feature guard.
12166 2014-06-14 David S. Miller <davem@davemloft.net>
12168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12170 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12172 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12173 that was previously under [RESET_PID].
12174 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12176 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12177 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12178 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12179 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12180 (__libc_vfork): New strong alias.
12181 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12183 2014-06-14 Andi Kleen <ak@linux.intel.com>
12185 * sysdeps/generic/elide.h: New file.
12187 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12189 * Makefile (installed-headers): Adjust path of pthread.h header.
12191 2014-06-13 Roland McGrath <roland@hack.frob.com>
12193 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12194 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12196 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12198 * nptl/sysdeps/s390/Makefile: Moved ...
12199 * sysdeps/s390/nptl/Makefile: ... here.
12200 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12201 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12202 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12203 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12204 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12205 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12206 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12207 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12208 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12209 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12210 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12211 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12212 * nptl/sysdeps/s390/tls.h: Moved ...
12213 * sysdeps/s390/nptl/tls.h: ... here.
12215 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12216 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12218 2014-06-13 David S. Miller <davem@davemloft.net>
12220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12221 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12223 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12225 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12227 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12228 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12229 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12230 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12231 Remove RESET_PID cpp guards.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12233 Remove RESET_PID cpp guards.
12234 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12236 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12238 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12241 2014-06-13 Andi Kleen <ak@linux.intel.com>
12243 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12244 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12247 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12248 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12251 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12252 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12253 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12254 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12255 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12256 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12257 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12258 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12260 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12261 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12262 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12264 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12265 (pthread_rwlock_rdlock): Add elision.
12266 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12267 (pthread_rwlock_wrlock): Add elision.
12268 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12269 (pthread_rwlock_trywrlock): Add elision.
12270 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12271 (pthread_rwlock_tryrdlock): Add elision.
12272 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12273 (pthread_rwlock_tryrdlock): Add elision unlock.
12274 * nptl/sysdeps/pthread/pthread.h:
12275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12276 (PTHREAD_RWLOCK_INITIALIZER,
12277 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12278 Handle new elision field.
12279 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12280 * sysdeps/arm/nptl/bits/pthreadtypes.h
12281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12282 * sysdeps/sh/nptl/bits/pthreadtypes.h
12283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12284 * sysdeps/tile/nptl/bits/pthreadtypes.h
12285 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12286 * sysdeps/a/nptl/bits/pthreadtypes.h
12287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12288 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12289 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12290 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12291 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12292 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12294 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12295 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12296 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12297 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12298 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12300 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12302 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12303 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12304 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12305 (elision_init): Set try_xbegin to zero when no RTM.
12306 * sysdeps/x86/nptl/bits/pthreadtypes.h
12307 (pthread_rwlock_t): Change __pad1 to __rwelision.
12308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12310 2014-06-13 Andi Kleen <ak@linux.intel.com>
12312 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12313 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12314 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12315 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12317 2014-06-13 Meador Inge <meadori@codesourcery.com>
12320 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12321 that the cached result has been set before returning it.
12323 2014-06-12 Roland McGrath <roland@hack.frob.com>
12325 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12326 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12328 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12330 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12332 * nptl/sysdeps/sparc/Makefile: Moved ...
12333 * sysdeps/sparc/nptl/Makefile: ... here.
12334 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12335 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12336 * nptl/sysdeps/sparc/tls.h: Moved ...
12337 * sysdeps/sparc/nptl/tls.h: ... here.
12338 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12339 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12340 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12341 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12342 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12343 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12344 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12345 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12346 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12347 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12348 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12349 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12350 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12351 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12352 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12353 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12354 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12357 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12358 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12360 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12361 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12363 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12364 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12367 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12369 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12370 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12372 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12373 (struct list_links): Type removed.
12374 (struct thread_node, struct timer_node): Replace struct list_links
12375 with struct list_head.
12376 (list_unlink_ip): Likewise.
12377 * sysdeps/pthread/timer_routines.c
12378 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12379 (list_append, list_insbefore): Likewise.
12380 (list_init): Function removed.
12381 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12382 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12383 * sysdeps/pthread/Makefile: ... here, new file.
12385 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12386 * sysdeps/nptl/Implies: ... here.
12387 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12388 * nptl/sysdeps/pthread/list.h: Moved ...
12389 * include/list.h: ... here.
12390 * nptl/sysdeps/pthread/createthread.c: Moved ...
12391 * nptl/createthread.c: ... here.
12392 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12393 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12394 * nptl/pt-longjmp.c: ... here.
12395 * nptl/sysdeps/pthread/Makefile: Moved ...
12396 * sysdeps/nptl/Makefile: ... here.
12397 * nptl/sysdeps/pthread/Subdirs: Moved ...
12398 * sysdeps/nptl/Subdirs: ... here.
12399 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12400 * sysdeps/nptl/aio_misc.h: ... here.
12401 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12402 * sysdeps/nptl/bits/libc-lock.h: ... here.
12403 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12404 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12405 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12406 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12407 * nptl/sysdeps/pthread/configure: Moved ...
12408 * sysdeps/nptl/configure: ... here.
12409 * nptl/sysdeps/pthread/configure.ac: Moved ...
12410 * sysdeps/nptl/configure.ac: ... here.
12411 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12412 * sysdeps/nptl/gai_misc.h: ... here.
12413 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12414 * sysdeps/nptl/librt-cancellation.c: ... here.
12415 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12416 * sysdeps/nptl/malloc-machine.h: ... here.
12417 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12418 * sysdeps/nptl/pthread-functions.h: ... here.
12419 * nptl/sysdeps/pthread/pthread.h: Moved ...
12420 * sysdeps/nptl/pthread.h: ... here.
12421 * nptl/sysdeps/pthread/setxid.h: Moved ...
12422 * sysdeps/nptl/setxid.h: ... here.
12423 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12424 * sysdeps/nptl/sigfillset.c: ... here.
12425 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12426 * sysdeps/nptl/tcb-offsets.h: ... here.
12427 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12428 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12429 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12430 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12431 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12432 * sysdeps/pthread/allocalim.h: ... here.
12433 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12434 * sysdeps/pthread/bits/sigthread.h: ... here.
12435 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12436 * sysdeps/pthread/flockfile.c: ... here.
12437 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12438 * sysdeps/pthread/ftrylockfile.c: ... here.
12439 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12440 * sysdeps/pthread/funlockfile.c: ... here.
12441 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12442 * sysdeps/pthread/posix-timer.h: ... here.
12443 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12444 * sysdeps/pthread/timer_create.c: ... here.
12445 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12446 * sysdeps/pthread/timer_delete.c: ... here.
12447 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12448 * sysdeps/pthread/timer_getoverr.c: ... here.
12449 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12450 * sysdeps/pthread/timer_gettime.c: ... here.
12451 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12452 * sysdeps/pthread/timer_routines.c: ... here.
12453 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12454 * sysdeps/pthread/timer_settime.c: ... here.
12455 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12456 * sysdeps/pthread/tst-timer.c: ... here.
12457 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12458 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12460 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12461 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12463 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12464 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12465 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12466 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12467 Update #include target.
12468 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12469 * sysdeps/i386/i686/nptl/Makefile: ... here.
12470 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12471 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12472 Update #include target.
12473 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12474 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12475 * nptl/sysdeps/i386/Makefile: Moved ...
12476 * sysdeps/i386/nptl/Makefile: ... here.
12477 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12478 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12479 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12480 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12481 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12482 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12483 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12484 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12485 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12486 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12487 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12488 * nptl/sysdeps/i386/tls.h: Moved ...
12489 * sysdeps/i386/nptl/tls.h: ... here.
12491 * sysdeps/sh/Makefile [$(subdir) = csu]
12492 (gen-as-const-headers): Add tcb-offsets.sym.
12493 * nptl/sysdeps/sh/Makefile: File removed.
12494 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12495 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12496 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12497 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12498 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12499 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12500 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12501 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12502 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12503 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12504 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12505 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12506 * nptl/sysdeps/sh/tls.h: Moved ...
12507 * sysdeps/sh/nptl/tls.h: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12509 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12511 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12512 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12513 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12515 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12517 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12518 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12519 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12521 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12522 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12523 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12524 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12525 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12527 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12529 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12531 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12534 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12537 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12539 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12541 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12542 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12543 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12545 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12547 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12548 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12549 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12551 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12552 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12553 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12555 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12557 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12559 * posix/spawn_faction_addopen.c: Include string.h.
12561 2014-06-11 Roland McGrath <roland@hack.frob.com>
12563 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12564 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12565 * nptl/sysdeps/x86_64/Makefile: Moved ...
12566 * sysdeps/x86_64/nptl/Makefile: ... here.
12567 * nptl/sysdeps/x86_64/configure: Moved ...
12568 * sysdeps/x86_64/nptl/configure: ... here.
12569 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12570 * sysdeps/x86_64/nptl/configure.ac: ... here.
12571 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12572 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12573 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12574 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12575 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12576 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12577 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12578 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12579 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12580 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12581 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12582 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12583 * nptl/sysdeps/x86_64/tls.h: Moved ...
12584 * sysdeps/x86_64/nptl/tls.h: ... here.
12585 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12586 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12587 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12588 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12590 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12592 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12596 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12598 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12600 [POSIX] (off_t): Likewise.
12601 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12602 [POSIX] (S_ISBLK): Require macro.
12603 [POSIX] (S_ISCHR): Likewise.
12604 [POSIX] (S_ISDIR): Likewise.
12605 [POSIX] (S_ISFIFO): Likewise.
12606 [POSIX] (S_ISREG): Likewise.
12607 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12609 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12611 [POSIX] (time_t): Likewise.
12612 [POSIX] (timer_t): Likewise.
12614 2014-06-11 Florian Weimer <fweimer@redhat.com>
12617 * posix/spawn_int.h (struct __spawn_action): Make the path string
12618 non-const to support deallocation.
12619 * posix/spawn_faction_addopen.c
12620 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12621 * posix/spawn_faction_destroy.c
12622 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12623 path in all spawn_do_open actions.
12624 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12625 posix_spawn_file_actions_addopen.
12627 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12629 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12630 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12631 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12632 conditional code always true.
12633 (__libc_vfork): New alias.
12635 2014-06-11 Roland McGrath <roland@hack.frob.com>
12637 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12638 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12640 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12642 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12643 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12645 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12646 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12648 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12649 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12651 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12653 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12654 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12655 multiarch strcmp for PPC64.
12656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12657 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12659 multiarch optimizations.
12660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12661 (__libc_ifunc_impl_list): Likewise.
12663 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12665 * benchtests/scripts/validate_benchout.py: New script.
12666 * benchtests/Makefile (bench-func): Call it.
12667 * benchtests/scripts/benchout.schema.json: New file.
12669 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12671 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12672 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12673 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12674 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12675 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12676 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12677 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12678 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12679 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12680 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12681 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12682 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12683 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12684 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12685 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12686 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12790 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12791 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12793 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12796 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12798 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12799 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12800 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12801 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12802 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12803 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12812 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12815 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12820 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12822 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12823 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12824 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12825 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12826 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12828 2014-06-10 Wilco <wdijkstr@arm.com>
12830 * math/test-fenv-return.c: New file.
12831 * math/Makefile: Add new test test-fenv-return.
12833 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12836 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12837 when x - 1 is zero.
12838 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12839 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12840 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12841 0.0L for an argument of 1.0L.
12842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12844 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12845 value when x - 1 is zero.
12846 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12847 * sysdeps/i386/fpu/libm-test-ulps: Update.
12848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12850 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12853 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12855 2014-06-09 Roland McGrath <roland@hack.frob.com>
12857 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12858 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12860 2014-06-09 Roland McGrath <roland@hack.frob.com>
12862 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12863 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12865 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12866 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12868 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12869 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12871 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12872 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12874 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12875 if not already defined.
12876 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12877 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12878 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12879 (TLS_INIT_TP): Use it.
12880 (TLS_DEFINE_INIT_TP): New macro.
12881 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12883 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12885 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12887 [POSIX] (IXANY): Likewise.
12888 [POSIX] (OLCUC): Likewise.
12889 [POSIX || POSIX2008] (CBAUD): Do not allow.
12890 [POSIX || POSIX2008] (DEFECHO): Likewise.
12891 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12892 [POSIX || POSIX2008] (ECHOKE): Likewise.
12893 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12894 [POSIX || POSIX2008] (EXTA): Likewise.
12895 [POSIX || POSIX2008] (EXTB): Likewise.
12896 [POSIX || POSIX2008] (FLUSHO): Likewise.
12897 [POSIX || POSIX2008] (LOBLK): Likewise.
12898 [POSIX || POSIX2008] (PENDIN): Likewise.
12899 [POSIX || POSIX2008] (SWTCH): Likewise.
12900 [POSIX || POSIX2008] (VDISCARD): Likewise.
12901 [POSIX || POSIX2008] (VDSUSP): Likewise.
12902 [POSIX || POSIX2008] (VLNEXT): Likewise.
12903 [POSIX || POSIX2008] (VREPRINT): Likewise.
12904 [POSIX || POSIX2008] (VSTATUS): Likewise.
12905 [POSIX || POSIX2008] (VWERASE): Likewise.
12906 (B*): Change to B[0123456789]*.
12907 * conform/data/time.h-data [POSIX || UNIX98]
12908 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12909 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12910 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12911 [POSIX] (tm_*): Do not allow.
12913 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12915 * Makefile (install): Don't set LANGUAGE.
12916 * Makefile.in (install): Likewise.
12917 * assert/Makefile (test-assert-ENV): Remove variable.
12918 (test-assert-perr-ENV): Likewise.
12919 * elf/Makefile (neededtest4-ENV): Likewise.
12920 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12921 [$(cross-compiling) = no]: Don't set LANGUAGE.
12922 * io/ftwtest-sh (LANG): Remove variable.
12923 * libio/Makefile (tst-widetext-ENV): Likewise.
12924 * manual/install.texi (Running make install): Don't refer to
12925 environment settings for make install.
12926 * INSTALL: Regenerated.
12927 * nptl/tst-tls6.sh: Don't set LANG.
12928 * posix/globtest.sh (LANG): Remove variable.
12929 * string/Makefile (tester-ENV): Likewise.
12930 (inl-tester-ENV): Likewise.
12931 (noinl-tester-ENV): Likewise.
12932 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12933 [$(cross-compiling) = no]: Don't set LANGUAGE.
12934 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12935 without explicit environment settings.
12937 2014-06-06 Roland McGrath <roland@hack.frob.com>
12939 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12940 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12941 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12942 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12944 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12946 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12947 other files in the crypt directory.
12948 * crypt/crypt.c: Remove duplicate includes.
12949 * crypt/crypt-entry.c: Likewise.
12950 * crypt/crypt_util.c: Likewise.
12952 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12954 * Makeconfig (run-program-env): New variable.
12955 (run-program-prefix-before-env): Likewise.
12956 (run-program-prefix-after-env): Likewise.
12957 (run-program-prefix): Define in terms of new variables.
12958 (built-program-cmd-before-env): New variable.
12959 (built-program-cmd-after-env): Likewise.
12960 (built-program-cmd): Define in terms of new variables.
12961 (test-program-prefix-before-env): New variable.
12962 (test-program-prefix-after-env): Likewise.
12963 (test-program-prefix): Define in terms of new variables.
12964 (test-program-cmd-before-env): New variable.
12965 (test-program-cmd-after-env): Likewise.
12966 (test-program-cmd): Define in terms of new variables.
12967 * Rules (make-test-out): Use $(run-program-env).
12968 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12969 (help): Do not mention environment variables. Mention
12970 --timeoutfactor option.
12971 (timeoutfactor): New variable.
12972 (blacklist_exports): Remove function.
12973 (exports): Remove variable.
12974 (command): Do not include ${exports}.
12975 * manual/install.texi (Configuring and compiling): Do not mention
12976 test wrappers preserving environment variables. Mention that last
12977 assignment to a variable must take precedence.
12978 * INSTALL: Regenerated.
12979 * benchtests/Makefile (run-bench): Use $(run-program-env).
12980 * catgets/Makefile ($(objpfx)test1.cat): Use
12981 $(built-program-cmd-before-env), $(run-program-env) and
12982 $(built-program-cmd-after-env).
12983 ($(objpfx)test2.cat): Do not specify environment variables
12985 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12986 $(run-program-env) and $(built-program-cmd-after-env).
12987 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12988 $(run-program-env) and $(test-program-cmd-after-env).
12989 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12991 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12992 run_program_env and test_program_cmd_after_env arguments.
12993 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12994 * elf/tst-pathopt.sh: Use run_program_env argument.
12995 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12996 $(test-wrapper-env) and $(run-program-env).
12997 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12998 run_program_env arguments.
12999 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13000 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13001 $(test-program-prefix-before-env), $(run-program-env) and
13002 $(test-program-prefix-after-env).
13003 ($(objpfx)tst-gettext2.out): Likewise.
13004 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13005 run_program_env and test_program_prefix_after_env arguments.
13006 * intl/tst-gettext2.sh: Likewise.
13007 * intl/tst-gettext4.sh: Do not set environment variables
13009 * intl/tst-gettext6.sh: Likewise.
13010 * intl/tst-translit.sh: Likewise.
13011 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13012 $(test-program-prefix-before-env), $(run-program-env) and
13013 $(test-program-prefix-after-env).
13014 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13015 run_program_env and test_program_prefix_after_env arguments.
13016 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13017 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13018 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13019 explicitly with each use of ${test_wrapper_env}.
13020 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13021 $(test-program-prefix-before-env), $(run-program-env) and
13022 $(test-program-prefix-after-env).
13023 * posix/tst-getconf.sh: Do not set environment variables
13025 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13026 run_program_env and test_program_prefix_after_env arguments.
13027 * stdio-common/tst-printf.sh: Do not set environment variables
13029 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13030 $(test-program-prefix-before-env), $(run-program-env) and
13031 $(test-program-prefix-after-env).
13032 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13033 run_program_env and test_program_prefix_after_env arguments.
13034 Split $test calls into $test_pre and $test.
13035 * timezone/Makefile (build-testdata): Use
13036 $(built-program-cmd-before-env), $(run-program-env) and
13037 $(built-program-cmd-after-env).
13039 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13041 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13042 strlen for non SHARED builds.
13044 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13046 * nptl/allocatestack.c (check_list): Inlined function...
13047 (__reclaim_stacks): ... here.
13049 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13052 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13055 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13057 * Rules (make-test-out): Include
13058 LOCPATH=$(common-objpfx)localedata in default environment.
13059 * debug/Makefile (tst-chk1-ENV): Remove variable.
13060 (tst-chk2-ENV): Likewise.
13061 (tst-chk3-ENV): Likewise.
13062 (tst-chk4-ENV): Likewise.
13063 (tst-chk5-ENV): Likewise.
13064 (tst-chk6-ENV): Likewise.
13065 (tst-lfschk1-ENV): Likewise.
13066 (tst-lfschk2-ENV): Likewise.
13067 (tst-lfschk3-ENV): Likewise.
13068 (tst-lfschk4-ENV): Likewise.
13069 (tst-lfschk5-ENV): Likewise.
13070 (tst-lfschk6-ENV): Likewise.
13071 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13072 (tst-iconv7-ENV): Likewise.
13073 * intl/Makefile (LOCPATH-ENV): Likewise.
13074 (tst-codeset-ENV): Likewise.
13075 (tst-gettext3-ENV): Likewise.
13076 (tst-gettext5-ENV): Likewise.
13077 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13078 (tst-fopenloc-ENV): Likewise.
13079 (tst-fgetws-ENV): Remove variable.
13080 (tst-ungetwc1-ENV): Likewise.
13081 (tst-ungetwc2-ENV): Likewise.
13082 (bug-ungetwc2-ENV): Likewise.
13083 (tst-swscanf-ENV): Likewise.
13084 (bug-ftell-ENV): Likewise.
13085 (tst-fgetwc-ENV): Likewise.
13086 (tst-fseek-ENV): Likewise.
13087 (tst-ftell-partial-wide-ENV): Likewise.
13088 (tst-ftell-active-handler-ENV): Likewise.
13089 (tst-ftell-append-ENV): Likewise.
13090 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13091 (tst-regexloc-ENV): Likewise.
13092 (bug-regex1-ENV): Likewise.
13093 (tst-regex-ENV): Likewise.
13094 (tst-regex2-ENV): Likewise.
13095 (bug-regex5-ENV): Likewise.
13096 (bug-regex6-ENV): Likewise.
13097 (bug-regex17-ENV): Likewise.
13098 (bug-regex18-ENV): Likewise.
13099 (bug-regex19-ENV): Likewise.
13100 (bug-regex20-ENV): Likewise.
13101 (bug-regex22-ENV): Likewise.
13102 (bug-regex23-ENV): Likewise.
13103 (bug-regex25-ENV): Likewise.
13104 (bug-regex26-ENV): Likewise.
13105 (bug-regex30-ENV): Likewise.
13106 (bug-regex32-ENV): Likewise.
13107 (bug-regex33-ENV): Likewise.
13108 (bug-regex34-ENV): Likewise.
13109 (bug-regex35-ENV): Likewise.
13110 (tst-rxspencer-ENV): Likewise.
13111 (tst-rxspencer-no-utf8-ENV): Likewise.
13112 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13113 (tst-sscanf-ENV): Likewise.
13114 (tst-swprintf-ENV): Likewise.
13115 (tst-swscanf-ENV): Likewise.
13116 (test-vfprintf-ENV): Likewise.
13117 (scanf13-ENV): Likewise.
13118 (bug14-ENV): Likewise.
13119 (tst-grouping-ENV): Likewise.
13120 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13121 (tst-strtod3-ENV): Likewise.
13122 (tst-strtod4-ENV): Likewise.
13123 (tst-strtod5-ENV): Likewise.
13124 (testmb2-ENV): Likewise./
13125 * string/Makefile (tst-strxfrm-ENV): Likewise.
13126 (tst-strxfrm2-ENV): Likewise.
13127 (bug-strcoll1-ENV): Likewise.
13128 (test-strcasecmp-ENV): Likewise.
13129 (test-strncasecmp-ENV): Likewise.
13130 * time/Makefile (tst-strptime-ENV): Likewise.
13131 (tst-ftime_l-ENV): Likewise.
13132 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13133 (tst-mbrtowc-ENV): Likewise.
13134 (tst-wcrtomb-ENV): Likewise.
13135 (tst-mbrtowc2-ENV): Likewise.
13136 (tst-c16c32-1-ENV): Likewise.
13137 (tst-mbsnrtowcs-ENV): Likewise.
13139 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13141 * manual/resource.texi (How to get information about the memory
13142 subsystem?): Fix typo.
13143 Reported by Peon de la Parra Ivan <peon@keba.com>
13145 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13148 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13149 (pthread_spin_lock): Branch out of spin loop to proper location.
13150 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13151 (pthread_spin_lock): Likewise.
13153 * nptl/tst-spin4.c: New test.
13154 * nptl/Makefile (tests): Add tst-spin4.
13156 2014-06-03 Andreas Schwab <schwab@suse.de>
13159 * resolv/res_send.c (send_dg): Reload file descriptor after
13162 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13164 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13166 2014-06-03 Richard Henderson <rth@redhat.com>
13168 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13169 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13170 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13171 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13172 in the SAVE_PID block.
13173 (__libc_vfork): New alias.
13174 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13176 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13177 child in registers, not on the stack. Remove RESET_PID conditionals.
13178 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13180 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13182 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13184 2014-06-03 Wilco <wdijkstr@arm.com>
13186 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13187 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13188 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13189 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13190 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13193 2014-06-03 Wilco <wdijkstr@arm.com>
13195 * sysdeps/aarch64/fpu/math_private.h
13196 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13197 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13198 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13199 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13202 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13204 * crypt/crypt-private.h: Include ufc-crypt.h.
13205 (__b64_from_24bit): Declare extern.
13206 * crypt/crypt_util.c(__b64_from_24bit): New function.
13207 (b64t): New static const variable.
13208 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13209 (b64t): Remove variable.
13210 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13211 * crypt/sha256-crypt.c: Include crypt-private.h.
13212 (b64t): Remove variable.
13213 (__sha256_crypt_r): Remove b64_from_24bit and replace
13214 with __b64_from_24bit.
13215 * crypt/sha512-crypt.c: Likewise.
13217 2014-06-02 Roland McGrath <roland@hack.frob.com>
13219 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13220 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13221 Label the code __libc_vfork rather than __vfork.
13222 [!NOT_IN_libc] (vfork): Define as weak alias.
13223 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13224 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13225 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13227 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13229 * malloc/malloc.c (malloc_info): Fix format specifier for
13232 2014-06-02 Wilco <wdijkstr@arm.com>
13234 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13237 2014-06-02 Wilco <wdijkstr@arm.com>
13240 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13241 Rewrite to reduce FPCR/FPSR accesses.
13243 2014-06-01 David S. Miller <davem@davemloft.net>
13245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13247 2014-05-31 David S. Miller <davem@davemloft.net>
13249 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13250 to occur in round to nearest mode when |x| >= 2.0
13252 2014-05-30 Richard Henderson <rth@twiddle.net>
13254 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13255 (PSEUDO_RET_NOERRNO): Remove.
13256 (ret): Don't redefine.
13257 (ret_NOERRNO): Define in terms of ret.
13258 (ret_ERRVAL): Likewise.
13260 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13261 use of PSEUDO_RET; perform the error check directly.
13263 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13265 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13268 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13270 * malloc/malloc (malloc_info): Fix formatting.
13272 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13273 Roland McGrath <roland@hack.frob.com>
13275 * malloc/malloc (malloc_info): Also print mmapped statistics.
13277 2014-05-30 Roland McGrath <roland@hack.frob.com>
13279 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13280 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13282 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13284 * malloc/malloc.c (malloc_info): Inline mi_arena.
13286 2014-05-29 Richard Henderson <rth@twiddle.net>
13288 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13289 Remove comma before expanding ASM_ARGS_##nr.
13290 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13291 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13293 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13294 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13295 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13296 (ASM_ARGS_1): Add leading comma.
13298 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13299 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13300 to __errno_location.
13301 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13302 Remove the expected plt for __errno_location.
13304 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13305 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13308 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13309 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13310 it and break it down.
13311 (DOCARGS_0, DOCARGS_1): Do nothing.
13312 (DOCARGS_2): Update to store into the new stack frame.
13313 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13314 (UNDOCARGS_1): Update to restore from the new stack frame.
13315 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13316 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13318 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13319 (SINGLE_THREAD_P): New parameter for result regno.
13320 (PSEUDO): Update to match; use cbz instead of beq.
13322 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13323 Use ENTRY to define the _nocancel entry point. Share the syscall
13324 and syscall error check paths with the cancel path.
13327 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13328 whitespace; tabs before and after asm mnemonics.
13330 2014-05-29 Eric Wong <normalperson@yhbt.net>
13333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13334 Call fstat64 or stat64 internally, depending on arguments passed.
13335 Replace stat buffer argument with file descriptor argument.
13336 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13337 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13338 Pass fd to __internal_statvfs instead of calling fstat64.
13339 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13340 Pass fd to __internal_statvfs64 instead of calling fstat64.
13341 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13342 Pass -1 to __internal_statvfs instead of calling stat64.
13343 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13344 Pass -1 to __internal_statvfs64 instead of calling stat64.
13346 2014-05-28 Roland McGrath <roland@hack.frob.com>
13348 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13349 that was previously under [RESET_PID].
13350 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13352 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13353 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13355 2014-05-27 Roland McGrath <roland@hack.frob.com>
13357 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13359 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13360 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13362 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13364 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13366 2014-05-27 Andreas Schwab <schwab@suse.de>
13368 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13370 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13371 * elf/rtld.c (init_tls, dl_main): Likewise.
13372 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13373 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13374 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13375 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13376 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13377 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13378 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13379 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13380 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13381 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13382 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13383 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13384 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13385 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13386 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13387 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13388 * sysdeps/generic/tls.h: Update description.
13390 2014-05-27 Will Newton <will.newton@linaro.org>
13393 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13394 and restore r2 rather than just restoring.
13396 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13399 * libio/tst-ftell-append.c: New test case.
13400 * libio/Makefile (tests): Add test case.
13401 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13403 * libio/wfileops.c (do_ftell_wide): Likewise.
13405 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13409 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13413 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13414 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13415 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13416 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13417 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13418 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13425 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13426 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13428 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13431 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13432 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13434 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13436 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13438 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13439 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13440 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13442 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13443 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13444 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13445 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13468 conditional [RESET_PID].
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13478 (__libc_vfork): New strong alias.
13479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13486 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13487 (__libc_vfork): New strong alias.
13488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13493 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13495 * malloc/malloc.c (mi_arena): New function.
13496 (malloc_info): Remove nested function mi_arena. Call non-nosted
13499 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13501 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13503 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13504 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13505 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13506 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13507 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13508 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13511 2014-05-26 Andreas Schwab <schwab@suse.de>
13514 * locale/programs/repertoire.c (repertoire_read): Add slash
13515 between I18NPATH element and file name.
13516 * locale/programs/locfile.c (locfile_read): Likewise.
13518 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13520 * nptl/pthread_mutexattr_settype.c
13521 (__pthread_mutexattr_settype):
13522 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13524 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13526 * nptl/tst-mutex5 (do_test):
13527 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13529 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13531 * benchtests/README: Document 'init' directive.
13532 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13534 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13535 (parse_file): Recognize 'init' directive.
13537 2014-05-26 Kyle McMartin <kyle@redhat.com>
13540 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13541 alignment of struct pthread.
13543 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13546 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13547 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13548 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13549 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13551 2014-05-25 Richard Henderson <rth@twiddle.net>
13553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13554 (SINGLE_THREAD_P_PIC): Remove.
13555 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13556 (SINGLE_THREAD_P_PIC): Remove.
13558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13559 branch to syscall error ...
13560 (PSEUDO): ... here.
13561 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13562 from __local_syscall_error to .Lsyscall_error.
13563 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13564 (SYSCALL_ERROR): Update label name.
13566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13567 Do not use DOARGS/UNDOARGS.
13568 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13569 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13570 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13571 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13572 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13574 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13577 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13578 define if !NOT_IN_libc.
13579 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13580 define with non-default symbol versions.
13582 2014-05-23 Richard Henderson <rth@twiddle.net>
13584 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13585 (vfork, __vfork): Define via compat_symbol.
13587 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13588 [!HAVE_IFUNC] (vfork_compat): Remove.
13589 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13591 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13594 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13595 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13598 2014-05-23 Richard Henderson <rth@twiddle.net>
13600 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13601 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13602 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13603 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13605 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13606 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13607 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13608 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13609 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13610 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13611 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13612 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13613 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13614 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13615 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13616 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13617 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13622 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13623 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13624 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13625 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13626 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13627 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13628 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13629 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13630 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13631 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13632 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13633 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13634 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13635 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13636 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13637 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13638 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13639 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13640 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13641 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13642 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13643 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13644 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13645 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13646 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13647 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13648 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13649 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13650 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13651 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13652 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13654 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13656 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13658 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13659 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13660 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13662 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13663 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13664 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13665 before exiting on error.
13666 (__libc_vfork): New strong alias.
13667 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13668 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13670 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13671 that was previously under [RESET_PID].
13672 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13674 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13676 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13679 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13680 value when x - 1 is zero.
13681 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13682 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13683 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13684 0.0L for an argument of 1.0L.
13685 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13687 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13688 value when x - 1 is zero.
13689 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13690 * sysdeps/i386/fpu/libm-test-ulps: Update.
13691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13693 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13695 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13696 alphasort and versionsort.
13698 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13700 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13702 [copysignf]: Likewise.
13704 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13706 * crypt/md5-crypt.c: Fix formatting.
13708 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13710 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13711 (b64_from_24bit): New function.
13713 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13716 libc_hidden_builtin_def to ifunc.
13717 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13718 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13720 2014-05-21 Roland McGrath <roland@hack.frob.com>
13722 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13723 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13725 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13727 * nscd/Depend (linuxthreads): Remove.
13729 * resolv/Depend (linuxthreads): Remove.
13730 * rt/Depend (linuxthreads): Remove.
13732 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13733 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13734 $(common-objpfx)elf/.
13735 (link-libc-before-gnulib): Likewise.
13736 (elfobjdir): Remove variable.
13737 * Makefile (install): Use $(elf-objpfx) instead of
13738 $(common-objpfx)elf/.
13739 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13741 (link-libc-deps): Likewise.
13742 ($(common-objpfx)libc.so): Likewise.
13743 ($(common-objpfx)linkobj/libc.so): Likewise.
13744 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13745 instead of $(common-objpfx)elf/.
13746 (symbolic-link-list): Likewise.
13747 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13748 [$(cross-compiling) = no]: Likewise.
13749 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13751 (static-gnulib-arch): Likewise.
13752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13753 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13754 $(common-objpfx)elf/.
13756 2014-05-21 Richard Henderson <rth@redhat.com>
13758 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13759 (SINGLE_THREAD_P): Use the correct width load. Fold
13760 into the ldr offset.
13762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13763 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13765 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13767 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13768 (libgcc_s_resume): Use __attribute_used__.
13769 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13772 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13774 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13775 optimization when used with float constants.
13777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13779 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13782 * locale/nl_langinfo_l.c: Make direct reference to every
13783 _nl_current_CATEGORY symbol.
13784 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13785 (tests-static): Add tst-langinfo-static.
13786 (tests-special): Add tst-langinfo-static.out.
13787 ($(objpfx)tst-langinfo.out): Redirect output.
13788 ($(objpfx)tst-langinfo-static.out): New.
13789 * localedata/tst-langinfo.sh: Send output to stdout.
13790 * localedata/tst-langinfo-static.c: New file.
13793 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13794 when the shift amount is modulo the limb size.
13796 2014-05-20 Richard Henderson <rth@redhat.com>
13799 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13800 Change type of sa_flags from unsigned int to int.
13803 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13805 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13807 2014-05-20 Will Newton <will.newton@linaro.org>
13809 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13810 Test the return value of the system call in the nocancel case.
13812 2014-05-20 Will Newton <will.newton@linaro.org>
13813 Yvan Roux <yvan.roux@linaro.org>
13815 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13816 #include of asm/ptrace.h.
13817 (PTRACE_GET_THREAD_AREA): Remove #undef.
13818 (PTRACE_GETHBPREGS): Likewise.
13819 (PTRACE_SETHBPREGS): Likewise.
13820 (struct user_regs_struct): New structure.
13821 (struct user_fpsimd_struct): New structure.
13822 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13823 #include of asm/ptrace.h and second #include of sys/user.h.
13824 (PTRACE_GET_THREAD_AREA): Remove #undef.
13825 (PTRACE_GETHBPREGS): Likewise.
13826 (PTRACE_SETHBPREGS): Likewise.
13827 (ELF_NGREG): Use new struct user_regs_struct.
13828 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13830 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13833 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13835 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13839 membar to avoid block loads/stores to overlap previous stores.
13841 2014-05-17 Richard Henderson <rth@redhat.com>
13843 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13844 Create the __##syscall_name##_nocancel entry point.
13845 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13846 Remove; let the sysdep-cancel.h code create it.
13848 2014-05-17 David S. Miller <davem@davemloft.net>
13850 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13851 Protect with __USE_GNU.
13852 (TIOCSET_TEMPT): Likewise.
13853 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13854 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13855 these are already provided in bits/ioctl-types.h
13857 2014-05-16 Roland McGrath <roland@hack.frob.com>
13859 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13860 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13862 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13863 Use wait4 regardless of [__NR_waitpid].
13865 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13868 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13869 (_FP_NANSIGN_Q): Set the quiet bit.
13871 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13873 * benchtests/Makefile
13874 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13875 not $(common-objpfx)math/libm.so.
13876 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13877 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13878 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13879 $(common-objpfx)dlfcn/libdl.so.
13880 ($(objpfx)tst-audit8): Depend on $(libm), not
13881 $(common-objpfx)math/libm.so.
13882 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13883 not $(common-objpfx)dlfcn/libdl.so.
13885 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13886 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13887 [$(build-shared) = yes].
13888 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13889 $(common-objpfx)nptl/libpthread.so.
13890 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13891 $(common-objpfx)math/libm.so$(libm.so-version) or
13892 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13893 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13894 $(common-objpfx)dlfcn/libdl.so.
13895 * setjmp/Makefile (link-libm): Remove variable.
13896 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13897 * stdio-common/Makefile (link-libm): Remove variable.
13898 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13899 * stdlib/Makefile (link-libm): Remove variable.
13900 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13901 ($(objpfx)tst-strtod-round): Likewise.
13902 ($(objpfx)tst-tininess): Likewise.
13903 ($(objpfx)tst-strtod-underflow): Likewise.
13904 ($(objpfx)tst-strtod6): Likewise.
13905 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13906 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13907 $(common-objpfx)dlfcn/libdl.so.
13909 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13912 BSD terminal modes definitions.
13914 2014-05-16 Roland McGrath <roland@hack.frob.com>
13916 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13917 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13919 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13920 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13921 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13922 Don't do #include_next.
13923 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13924 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13925 Don't do #include_next.
13926 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13927 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13928 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13929 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13931 2014-05-16 Allan McRae <allan@archlinux.org>
13933 * po/sv.po: Update Swedish translation from translation project.
13935 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13938 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13941 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13942 errno if the TIOCGPTN ioctl fails with an error different than
13944 * login/tst-ptsname.c: New file.
13945 * login/Makefile (tests): Add tst-ptsname.
13948 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13951 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13955 herrno to return EAI_AGAIN.
13957 2014-05-14 Roland McGrath <roland@hack.frob.com>
13959 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13960 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13961 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13962 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13963 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13964 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13965 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13966 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13968 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13969 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13970 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13971 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13972 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13973 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13974 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13975 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13976 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13977 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13978 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13979 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13980 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13981 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13982 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13983 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13984 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13985 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13986 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13987 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13988 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13990 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13992 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13995 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13997 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13999 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14001 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14003 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14005 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14007 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14009 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14011 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14013 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14015 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14017 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14019 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14021 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14024 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14026 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14028 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14030 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14032 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14034 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14036 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14038 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14040 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14042 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14045 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14047 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14049 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14050 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14051 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14052 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14053 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14055 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14057 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14058 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14059 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14060 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14061 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14062 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14063 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14064 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14065 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14066 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14067 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14068 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14069 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14070 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14071 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14072 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14073 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14074 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14075 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14076 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14077 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14078 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14079 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14081 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14082 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14084 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14085 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14086 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14087 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14088 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14089 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14091 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14092 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14094 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14095 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14097 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14098 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14100 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14101 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14102 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14103 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14105 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14106 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14107 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14109 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14111 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14114 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14115 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14117 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14119 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14120 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14121 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14122 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14123 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14125 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14129 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14130 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14131 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14132 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14133 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14134 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14136 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14137 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14139 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14140 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14142 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14143 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14145 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14146 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14147 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14148 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14150 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14151 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14152 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14153 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14154 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14155 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14156 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14157 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14159 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14160 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14162 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14164 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14165 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14166 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14167 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14168 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14170 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14174 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14175 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14176 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14177 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14178 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14179 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14180 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14181 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14182 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14183 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14185 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14188 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14191 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14192 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14194 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14195 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14196 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14197 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14198 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14199 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14201 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14203 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14204 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14205 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14206 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14207 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14208 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14210 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14213 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14215 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14216 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14217 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14218 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14219 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14221 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14225 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14226 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14227 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14228 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14229 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14230 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14231 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14232 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14233 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14234 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14235 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14237 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14238 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14240 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14241 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14243 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14244 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14245 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14246 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14247 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14248 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14249 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14250 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14251 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14252 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14253 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14254 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14255 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14256 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14257 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14259 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14260 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14262 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14263 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14264 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14265 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14267 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14268 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14269 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14270 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14271 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14273 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14274 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14276 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14281 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14283 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14285 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14287 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14288 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14289 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14290 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14291 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14292 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14293 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14294 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14295 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14297 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14298 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14299 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14300 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14301 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14303 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14304 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14305 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14306 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14307 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14308 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14309 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14310 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14311 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14312 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14314 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14317 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14318 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14319 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14320 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14322 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14323 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14324 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14325 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14326 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14327 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14328 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14329 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14330 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14354 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14359 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14360 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14361 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14362 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14363 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14364 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14365 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14367 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14368 that was previously under [RESET_PID].
14369 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14370 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14371 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14373 * sysdeps/i386/nptl/Implies: New file.
14374 * sysdeps/x86_64/nptl/Implies: New file.
14375 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14376 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14377 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14378 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14380 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14381 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14382 (__libc_vfork): New strong alias.
14383 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14384 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14386 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14387 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14388 (__libc_vfork): New strong alias.
14389 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14390 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14392 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14393 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14394 (__libc_vfork): New strong alias.
14395 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14396 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14397 * nptl/pt-vfork.c: New file.
14398 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14399 (libpthread: GLIBC_2.20): New version set (empty).
14401 2014-05-14 Will Newton <will.newton@linaro.org>
14403 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14406 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14409 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14410 arguments with exponent 65 or above.
14411 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14412 arguments 0x1p113L or above.
14413 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14414 to arguments 0x1p107L or above.
14415 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14416 positive arguments with exponent 65 or above.
14417 * math/auto-libm-test-in: Add more tests of log1p.
14418 * math/auto-libm-test-out: Regenerated.
14421 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14422 non-finite arguments is +0.
14423 * math/s_cacosf.c (__cacosf): Likewise.
14424 * math/s_cacosl.c (__cacosl): Likewise.
14425 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14426 * sysdeps/i386/fpu/libm-test-ulps: Update.
14427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14432 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14433 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14434 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14435 for explicit high bit of mantissa when testing for argument equal
14437 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14438 * sysdeps/i386/fpu/libm-test-ulps: Update.
14439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14443 (__erf): Scale by 16 instead of 8 in potentially underflowing
14444 case. Ensure exception if result actually underflows.
14445 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14446 (__erff): Scale by 16 instead of 8 in potentially underflowing
14447 case. Ensure exception if result actually underflows.
14448 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14449 (efx8): Remove variable.
14450 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14451 case. Ensure exception if result actually underflows.
14452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14453 (efx8): Remove variable.
14454 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14455 case. Ensure exception if result actually underflows.
14456 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14457 (efx8): Remove variable.
14458 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14459 case. Ensure exception if result actually underflows.
14460 * math/auto-libm-test-in: Add more tests of erf.
14461 * math/auto-libm-test-out: Regenerated.
14463 2014-05-14 Andreas Schwab <schwab@suse.de>
14465 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14466 Remove code conditionalized on USE___THREAD.
14468 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14469 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14472 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14475 Define unconditionally.
14476 (__ASSUME_O_CLOEXEC): Likewise.
14477 (__ASSUME_SOCK_CLOEXEC): Likewise.
14478 (__ASSUME_IN_NONBLOCK): Likewise.
14479 (__ASSUME_PIPE2): Likewise.
14480 (__ASSUME_EVENTFD2): Likewise.
14481 (__ASSUME_SIGNALFD4): Likewise.
14482 (__ASSUME_DUP3): Likewise.
14483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14484 (__ASSUME_DUP3): Do not define.
14485 (__ASSUME_EVENTFD2): Likewise.
14486 (__ASSUME_IN_NONBLOCK): Likewise.
14487 (__ASSUME_O_CLOEXEC): Likewise.
14488 (__ASSUME_PIPE2): Likewise.
14489 (__ASSUME_SIGNALFD4): Likewise.
14490 (__ASSUME_SOCK_CLOEXEC): Likewise.
14491 (__ASSUME_UTIMES): Undefine.
14492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14493 (__ASSUME_UTIMES): Do not define.
14494 (__ASSUME_O_CLOEXEC): Likewise.
14495 (__ASSUME_SOCK_CLOEXEC): Likewise.
14496 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14497 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14499 (__ASSUME_PIPE2): Likewise.
14500 (__ASSUME_EVENTFD2): Likewise.
14501 (__ASSUME_SIGNALFD4): Likewise.
14502 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14503 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14505 (__ASSUME_EVENTFD2): Likewise.
14506 (__ASSUME_SIGNALFD4): Likewise.
14507 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14508 (__ASSUME_32BITUIDS): Likewise.
14509 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14510 (__ASSUME_IPC64): Likewise.
14511 (__ASSUME_ST_INO_64_BIT): Likewise.
14512 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14513 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14515 (__ASSUME_UTIMES): Do not define.
14516 (__ASSUME_PSELECT): Likewise.
14517 (__ASSUME_PPOLL): Likewise.
14518 (__ASSUME_O_CLOEXEC): Likewise.
14519 (__ASSUME_SOCK_CLOEXEC): Likewise.
14520 (__ASSUME_IN_NONBLOCK): Likewise.
14521 (__ASSUME_PIPE2): Likewise.
14522 (__ASSUME_EVENTFD2): Likewise.
14523 (__ASSUME_SIGNALFD4): Likewise.
14524 (__ASSUME_DUP3): Likewise.
14525 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14526 (__ASSUME_UTIMES): Likewise.
14527 (__ASSUME_O_CLOEXEC): Likewise.
14528 (__ASSUME_SOCK_CLOEXEC): Likewise.
14529 (__ASSUME_IN_NONBLOCK): Likewise.
14530 (__ASSUME_PIPE2): Likewise.
14531 (__ASSUME_EVENTFD2): Likewise.
14532 (__ASSUME_SIGNALFD4): Likewise.
14533 (__ASSUME_DUP3): Likewise.
14534 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14535 (__ASSUME_UTIMES): Likewise.
14536 (__ASSUME_O_CLOEXEC): Likewise.
14537 (__ASSUME_SOCK_CLOEXEC): Likewise.
14538 (__ASSUME_IN_NONBLOCK): Likewise.
14539 (__ASSUME_PIPE2): Likewise.
14540 (__ASSUME_EVENTFD2): Likewise.
14541 (__ASSUME_SIGNALFD4): Likewise.
14542 (__ASSUME_DUP3): Likewise.
14543 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14545 (__ASSUME_UTIMES): Likewise.
14546 (__ASSUME_EVENTFD2): Likewise.
14547 (__ASSUME_SIGNALFD4): Likewise.
14548 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14549 (__ASSUME_O_CLOEXEC): Likewise.
14550 (__ASSUME_SOCK_CLOEXEC): Likewise.
14551 (__ASSUME_IN_NONBLOCK): Likewise.
14552 (__ASSUME_PIPE2): Likewise.
14553 (__ASSUME_EVENTFD2): Likewise.
14554 (__ASSUME_SIGNALFD4): Likewise.
14555 (__ASSUME_DUP3): Likewise.
14556 (__ASSUME_UTIMES): Undefine.
14558 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14559 feclearexcept. Remove symbol versioning code.
14560 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14561 symbol versioning code.
14562 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14563 symbol versioning code.
14564 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14565 feupdateenv. Remove symbol versioning code.
14566 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14567 fegetexceptflag. Remove symbol versioning code.
14568 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14569 fesetexceptflag. Remove symbol versioning code.
14570 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14571 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14572 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14573 (__posix_fadvise64_l32): Remove prototype.
14574 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14577 2014-05-13 Roland McGrath <roland@hack.frob.com>
14579 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14580 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14581 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14582 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14584 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14586 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14587 current working directory
14589 2014-05-13 Roland McGrath <roland@hack.frob.com>
14591 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14592 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14593 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14594 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14595 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14596 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14597 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14598 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14599 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14600 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14601 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14602 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14603 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14604 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14605 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14606 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14607 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14608 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14609 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14610 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14611 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14612 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14613 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14614 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14615 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14616 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14617 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14618 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14619 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14620 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14621 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14622 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14623 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14624 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14625 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14626 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14627 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14628 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14629 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14630 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14631 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14632 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14634 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14635 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14637 * sysdeps/unix/sysv/linux/arm/Makefile
14638 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14639 Add rt-aeabi_unwind_cpp_pr1.
14640 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14641 Add nptl-aeabi_unwind_cpp_pr1.
14642 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14643 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14644 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14645 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14646 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14647 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14649 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14650 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14651 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14652 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14654 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14655 Deconditionalize the code that was previously under [RESET_PID].
14656 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14658 * sysdeps/generic/exit-thread.h: New file.
14659 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14660 * include/unistd.h (__exit_thread): Remove declaration.
14661 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14662 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14663 * csu/libc-start.c: Include <exit-thread.h>.
14664 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14665 * nptl/pthread_create.c: Include <exit-thread.h>.
14666 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14667 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14668 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14669 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14670 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14671 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14672 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14673 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14674 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14675 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14676 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14677 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14678 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14679 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14680 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14681 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14682 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14684 2014-05-13 Andreas Schwab <schwab@suse.de>
14686 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14688 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14690 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14691 (__ASSUME_UTIMES): Do not condition on kernel version.
14692 (__ASSUME_PSELECT): Define unconditionally.
14693 (__ASSUME_PPOLL): Likewise.
14694 (__ASSUME_ATFCTS): Likewise.
14695 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14696 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14697 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14698 (__ASSUME_UTIMENSAT): Define unconditionally.
14699 (__ASSUME_PRIVATE_FUTEX): Likewise.
14700 (__ASSUME_FALLOCATE): Likewise.
14701 (__ASSUME_O_CLOEXEC): Likewise.
14702 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14703 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14704 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14705 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14706 (__ASSUME_IN_NONBLOCK): Likewise.
14707 (__ASSUME_PIPE2): Likewise.
14708 (__ASSUME_EVENTFD2): Likewise.
14709 (__ASSUME_SIGNALFD4): Likewise.
14710 (__ASSUME_DUP3): Likewise.
14711 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14712 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14713 (__ASSUME_AT_RANDOM): Likewise.
14714 (__ASSUME_PREADV): Likewise.
14715 (__ASSUME_PWRITEV): Likewise.
14716 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14717 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14718 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14719 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14720 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14721 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14722 (__ASSUME_O_CLOEXEC): Define unconditionally.
14723 (__ASSUME_PSELECT): Do not undefine conditionally.
14724 (__ASSUME_PPOLL): Likewise.
14725 (__ASSUME_ATFCTS): Likewise.
14726 (__ASSUME_SET_ROBUST_LIST): Likewise.
14727 (__ASSUME_UTIMENSAT): Likewise.
14728 (__ASSUME_FDATASYNC): Define unconditionally.
14729 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14730 (__ASSUME_SIGFRAME_V2): Likewise.
14731 )__ASSUME_EVENTFD2): Likewise.
14732 (__ASSUME_SIGNALFD4): Likewise.
14733 (__ASSUME_PSELECT): Do not undefine conditionally.
14734 (__ASSUME_PPOLL): Likewise.
14735 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14736 (__ASSUME_PSELECT): Define unconditionally.
14737 (__ASSUME_PPOLL): Likewise.
14738 (__ASSUME_O_CLOEXEC): Likewise.
14739 (__ASSUME_SOCK_CLOEXEC): Likewise.
14740 (__ASSUME_IN_NONBLOCK): Likewise.
14741 (__ASSUME_PIPE2): Likewise.
14742 (__ASSUME_EVENTFD2): Likewise.
14743 (__ASSUME_SIGNALFD4): Likewise.
14744 (__ASSUME_DUP3): Likewise.
14745 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14746 (__ASSUME_O_CLOEXEC): Likewise.
14747 (__ASSUME_SOCK_CLOEXEC): Likewise.
14748 (__ASSUME_IN_NONBLOCK): Likewise.
14749 (__ASSUME_PIPE2): Likewise.
14750 (__ASSUME_EVENTFD2): Likewise.
14751 (__ASSUME_SIGNALFD4): Likewise.
14752 (__ASSUME_DUP3): Likewise.
14753 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14754 (__ASSUME_EVENTFD2): Likewise.
14755 (__ASSUME_SIGNALFD4): Likewise.
14756 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14758 2014-05-12 Andreas Schwab <schwab@suse.de>
14761 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14762 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14763 than maximum RPC packet size.
14764 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14765 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14766 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14767 (_nss_nis_getservbyport_r): Likewise.
14769 2014-05-12 Will Newton <will.newton@linaro.org>
14771 * malloc/Makefile (tests): Add tst-mallopt.
14772 * malloc/tst-mallopt.c: New file.
14774 2014-05-09 Roland McGrath <roland@hack.frob.com>
14776 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14777 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14779 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14781 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14782 (tst-tlsmod6.so): Likewise.
14784 2014-05-09 Roland McGrath <roland@hack.frob.com>
14786 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14788 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14791 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14792 and <dl-procinfo.h>.
14793 (__fegetenv): Save SSE state in envp->__eip if supported.
14794 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14795 envp->__eip if supported.
14796 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14797 and <dl-procinfo.h>.
14798 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14799 __data_offset and __data_selector in environment to 0. Set SSE
14800 state if supported.
14801 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14803 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14805 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14807 2014-05-09 Will Newton <will.newton@linaro.org>
14809 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14810 and libc_relro_required for ARM.
14811 * sysdeps/arm/preconfigure: Regenerate.
14813 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14814 Stefan Liebler <stli@linux.vnet.ibm.com>
14816 * config.make.in (enable-lock-elision): New Makefile variable.
14817 * configure.ac: Likewise.
14818 * configure: Regenerate.
14819 * sysdeps/s390/configure.ac:
14820 Add check for gcc transactions support.
14821 * sysdeps/s390/configure: Regenerate.
14822 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14823 Build elision files if enabled.
14824 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14825 Add lock elision support for s390.
14826 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14827 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14828 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14829 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14830 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14831 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14832 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14834 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14836 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14838 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14840 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14841 (__lll_timedlock_elision, __lll_lock_elision)
14842 (__lll_unlock_elision, __lll_trylock_elision)
14843 (lll_timedlock_elision, lll_lock_elision)
14844 (lll_unlock_elision, lll_trylock_elision): Add.
14845 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14846 (pthread_mutex_t): Add lock elision support for s390.
14848 2014-05-14 Wilco <wdijkstr@arm.com>
14850 * sysdeps/arm/fclrexcpt.c: Cleanup.
14851 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14852 * sysdeps/arm/feenablxcpt.c: Cleanup.
14853 * sysdeps/arm/fegetenv.c: Cleanup.
14854 * sysdeps/arm/fegetexcept.c: Cleanup.
14855 * sysdeps/arm/fegetround.c: Cleanup.
14856 * sysdeps/arm/feholdexcpt.c: Cleanup.
14857 * sysdeps/arm/fesetenv.c: Cleanup.
14858 * sysdeps/arm/fesetround.c: Cleanup.
14859 * sysdeps/arm/feupdateenv.c: Cleanup.
14860 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14861 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14862 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14863 * sysdeps/arm/ftestexcept.c: Cleanup.
14864 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14865 * sysdeps/arm/setfpucw.c: Cleanup.
14867 2014-05-09 Will Newton <will.newton@linaro.org>
14869 * sysdeps/arm/armv7/strcmp.S: New file.
14870 * NEWS: Mention addition of ARMv7 optimized strcmp.
14872 2014-05-08 Roland McGrath <roland@hack.frob.com>
14874 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14875 look for %.ac rather than %.in.
14877 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14878 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14879 * sysdeps/mach/hurd/configure: Regenerated.
14880 * sysdeps/unix/sysv/linux/configure: Regenerated.
14882 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14884 2014-05-07 Steve Ellcey <sellcey@mips.com>
14887 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14891 2014-05-07 Andreas Schwab <schwab@suse.de>
14893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14894 when skipping over non-matching result from nscd.
14896 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14899 * nptl/sockperf.c (client): Check socket return value.
14902 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14903 nscd security class.
14905 2014-05-06 Roland McGrath <roland@hack.frob.com>
14907 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14908 * sysdeps/arm/unwind.h: ... here.
14910 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14913 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14916 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14918 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14919 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14920 multiarch strncpy for PPC64.
14921 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14922 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14924 multiarch optimizations.
14925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14926 (__libc_ifunc_impl_list): Likewise.
14927 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14928 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14929 multiarch stpncpy for PPC64.
14930 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14931 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14933 2014-05-06 Andreas Schwab <schwab@suse.de>
14936 * gmon/mcount.c (_MCOUNT_DECL): Use
14937 atomic_compare_and_exchange_bool_acq instead of
14938 catomic_compare_and_exchange_bool_acq.
14940 2014-05-05 Roland McGrath <roland@hack.frob.com>
14942 * elf/Makefile (others, install-bin): Remove pldd.
14943 (pldd-modules): Variable removed.
14944 ($(objpfx)pldd): Target removed.
14945 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14946 (others, install-bin): Append pldd here.
14947 ($(objpfx)pldd): New target.
14949 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14950 to 0, so the first #if test emitted later doesn't see it undefined.
14951 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14952 * sysdeps/gnu/errlist.c: Regenerated.
14954 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14956 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14957 [libc_hidden_builtin_def]: Define to empty value.
14958 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14959 [libc_hidden_builtin_def]: Likewise.
14960 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14961 [libc_hidden_builtin_def]: Likewise.
14962 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14963 [libc_hidden_builtin_def]: Likewise.
14964 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14965 __redirect_memcpy and define ifunc as default hidden symbol.
14966 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14967 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14969 2014-05-04 Adam Conrad <adconrad@0c3.net>
14971 * locale/iso-4217.def: Reintroduce XDR currency.
14973 2014-05-04 Allan McRae <allan@archlinux.org>
14975 * po/eo.po: Update Esperanto translation from translation project.
14977 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14979 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14980 and FEATURE_INDEX_MAX to 1.
14981 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14983 2014-05-01 Steve Ellcey <sellcey@mips.com>
14985 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14986 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14987 * iconvdata/big5.c (ONE_DIRECTION): Define.
14988 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14989 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14990 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14991 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14992 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14993 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14994 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14995 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14996 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14997 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14998 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14999 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15000 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15001 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15002 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15003 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15004 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15005 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15006 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15007 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15008 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15009 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15010 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15011 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15012 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15013 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15014 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15015 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15016 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15017 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15018 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15019 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15020 * iconvdata/johab.c (ONE_DIRECTION): Define.
15021 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15022 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15023 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15024 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15025 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15026 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15027 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15028 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15029 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15030 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15032 2014-05-01 Roland McGrath <roland@hack.frob.com>
15034 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15035 (_IO_JUMPS_OFFSET): Define to 0.
15037 * nptl/sysdeps/pthread/bits/libc-lock.h
15038 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15039 (__libc_lock_define_initialized_recursive): Always define using
15040 initializer. Modern compilers treat uninitialized (implicit zero) and
15041 explicit zero initializers the same (i.e. put the datum in bss).
15043 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15045 * nscd/nscd-client.h: Include <string.h>.
15047 2014-05-01 David S. Miller <davem@davemloft.net>
15050 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15051 multiple zero bytes exist at the end of a string.
15052 Reported by Aurelien Jarno <aurelien@aurel32.net>
15054 * string/test-strcmp.c (check): Add explicit test for situations where
15055 there are multiple zero bytes after the first.
15057 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15060 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15061 when compiling wprintf.
15062 * stdio-common/tstdiomisc.c (t3): New function.
15065 2014-05-01 Steve Ellcey <sellcey@mips.com>
15067 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15068 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15069 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15070 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15072 2014-05-01 Steve Ellcey <sellcey@mips.com>
15074 * stdlib/longlong.h: Updated from GCC.
15076 2014-05-01 Will Newton <will.newton@linaro.org>
15077 Bernard Ogden <bernie.ogden@linaro.org>
15079 * NEWS: Update fixed bug list.
15082 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15084 2014-04-30 David S. Miller <davem@davemloft.net>
15086 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15087 (libc_feholdexcept_setround_sparc_ctx): New function.
15088 (libc_fesetenv_sparc_ctx): Likewise.
15089 (libc_feupdateenv_sparc_ctx): Likewise.
15090 (libc_feholdsetround_sparc_ctx): Likewise.
15091 (libc_feholdexcept_setround_ctx): Define.
15092 (libc_feholdexcept_setroundf_ctx): Likewise.
15093 (libc_feholdexcept_setroundl_ctx): Likewise.
15094 (libc_fesetenv_ctx): Likewise.
15095 (libc_fesetenvf_ctx): Likewise.
15096 (libc_fesetenvl_ctx): Likewise.
15097 (libc_feupdateenv_ctx): Likewise.
15098 (libc_feupdateenvf_ctx): Likewise.
15099 (libc_feupdateenvl_ctx): Likewise.
15100 (libc_feresetround_ctx): Likewise.
15101 (libc_feresetroundf_ctx): Likewise.
15102 (libc_feresetroundl_ctx): Likewise.
15103 (libc_feholdsetround_ctx): Likewise.
15104 (libc_feholdsetroundf_ctx): Likewise.
15105 (libc_feholdsetroundl_ctx): Likewise.
15107 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15108 with __USE_GNU instead of XOPEN cpp guards.
15110 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15113 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15114 with XOPEN cpp guards.
15116 2014-04-30 Julian Brown <julian@codesourcery.com>
15119 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15122 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15125 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15127 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15128 * sysdeps/unix/sysv/linux/configure: Regenerated.
15129 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15130 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15131 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15132 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15133 * README: Update reference to required Linux kernel version.
15134 * manual/install.texi (Linux): Update reference to required Linux
15135 kernel headers version.
15136 * INSTALL: Regenerated.
15138 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15140 [POSIX] (limits.h): Likewise.
15141 [POSIX] (math.h): Likewise.
15142 [POSIX] (sys/wait.h): Likewise.
15143 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15145 [POSIX] (stddef.h): Do not allow header inclusion.
15147 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15151 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15153 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15154 Return immediately after lll_futex_wake.
15156 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15159 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15161 (datahead_init_pos): Call datahead_init_common early.
15162 (datahead_init_neg): Likewise.
15164 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15165 datahead_init_neg): New functions.
15166 * nscd/aicache.c (addhstaiX): Use them.
15167 * nscd/grpcache.c (cache_addgr): Likewise.
15168 * nscd/hstcache.c (cache_addhst): Likewise.
15169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15170 * nscd/netgroupcache.c (do_notfound): Likewise.
15171 (addgetnetgrentX): Likewise.
15172 (addinnetgrX): Likewise.
15173 * nscd/pwdcache.c (cache_addpw): Likewise.
15174 * nscd/servicescache.c (cache_addserv): Likewise.
15176 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15177 Atsushi Onoe <atsushi@onoe.org>
15182 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15183 one response is valid.
15184 * resolv/res_send.c (send_dg): Check for validity of other
15185 response if the current response is a referral.
15187 2014-04-29 Steve Ellcey <sellcey@mips.com>
15189 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15191 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15194 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15195 Always divide by positive zero when computing -Inf result.
15196 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15197 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15199 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15201 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15202 FPSCR if value do not change.
15203 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15204 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15205 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15206 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15207 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15208 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15211 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15213 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15214 * sysdeps/unix/sysv/linux/hppa: Move directory from
15215 ports/systeps/unix/sysv/linux/hppa.
15216 * README: Update listing for hppa-*-linux-gnu.
15218 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15221 * manual/stdio.texi (Hook functions): Fix types of stream hook
15224 * socket/sys/socket.h: Fix typo in comment.
15226 2014-04-28 Wilco <wdijkstr@arm.com>
15228 * sysdeps/arm/fenv_private.h: New file.
15229 * sysdeps/arm/math_private.h: New file.
15230 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15232 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15234 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15236 (La_x86_64_retval): Likewise.
15238 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15240 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15241 fpsr if value didn't change.
15242 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15243 to fpcr if value didn't change.
15244 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15245 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15246 fpsr or fpcr if value didn't change.
15247 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15248 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15249 fpcr if value didn't change.
15250 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15251 to fpsr if value didn't change.
15253 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15255 * nptl/tst-sem3.c: Use test-skeleton.c
15256 (main): Rename to do_test. Use return instead of
15258 * nptl/tst-sem4.c: Use test-skeleton.c
15259 (main): Rename to do_test.
15261 2014-04-22 David S. Miller <davem@davemloft.net>
15263 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15264 (struct sigaction): New struct member __glibc_reserved0, change
15265 type of sa_flags to int.
15267 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15269 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15270 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15272 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15274 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15275 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15277 2014-04-22 Will Newton <will.newton@linaro.org>
15278 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15280 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15281 (__longjmp): Add longjmp and longjmp_target SystemTap
15283 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15284 (__sigsetjmp): Add setjmp SystemTap probe.
15286 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15288 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15289 match manual order.
15291 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15295 * sysdeps/powerpc/fpu/fenv_private.h
15296 (libc_feholdexcept_setroundl_ctx): Define to
15297 libc_feholdexcept_setround_ppc_ctx.
15298 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15299 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15300 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15301 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15303 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15305 * sysdeps/aarch64/math-tests.h: New file.
15307 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15309 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15312 Check and set bit_AVX2_Usable.
15313 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15315 (bit_AVX2): Likewise.
15316 (index_AVX2_Usable): Likewise.
15317 (CPUID_AVX2): Likewise.
15318 (HAS_AVX2): Likewise.
15320 2014-04-17 Will Newton <will.newton@linaro.org>
15322 * manual/setjmp.texi (System V contexts): Add note that
15323 calling setcontext on a context created by a call to a
15324 signal handler is undefined. Update text to note that
15325 setcontext from a signal handler is possible but not
15329 * stdlib/tst-setcontext.c: Include signal.h.
15330 (main): Check that the signal stack before and
15331 after swapcontext is the same.
15333 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15334 Re-implement to restore registers in user code and avoid
15335 rt_sigreturn system call.
15337 2014-04-17 Wilco <wdijkstr@arm.com>
15339 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15340 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15341 * math/test-fenv.c: Skip exception trap tests on targets which only
15342 support non-stop mode.
15344 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15345 Wilco Dijkstra <wilco.dijkstra@arm.com>
15347 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15348 (libc_feholdsetround_aarch64_ctx)
15349 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15350 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15351 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15352 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15353 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15354 (libc_feresetround_noexl_ctx): Define.
15356 2014-04-16 Richard Henderson <rth@redhat.com>
15358 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15360 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15363 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15364 const from the non-libc, non-ldso copy.
15366 * sysdeps/alpha/libm-test-ulps: Regenerate.
15368 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15369 Wilco Dijkstra <wilco.dijkstra@arm.com>
15371 * sysdeps/aarch64/fpu/math_private.h: New file.
15373 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15375 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15377 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15380 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15381 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15383 Intel MPX bound registers before _dl_profile_fixup.
15384 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15385 registers after _dl_profile_fixup. Save and restore bound
15386 registers bnd0/bnd1 when calling _dl_call_pltexit.
15387 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15388 (LR_BND_OFFSET): Likewise.
15389 (LRV_BND0_OFFSET): Likewise.
15390 (LRV_BND1_OFFSET): Likewise.
15392 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15394 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15396 * sysdeps/mach/hurd/i386/tls.h: ... here.
15397 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15398 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15401 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15403 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15405 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15407 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15409 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15412 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15413 * sysdeps/s390/configure: Regenerate.
15416 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15417 Set round-to-nearest internally to reduce error accumulation.
15419 2014-04-16 Alan Modra <amodra@gmail.com>
15423 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15424 * math/libm-test.inc (frexp_test_data): Add tests.
15425 * NEWS: Update fixed bug list.
15427 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15429 * benchtests/Makefile: Depend on libraries in build directory.
15430 (bench-math): Separate out math tests.
15431 (bench-pthread): Separate out pthread tests.
15432 (bench): Include math and pthread tests.
15434 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15437 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15438 _dl_debug_initialize.
15440 * configure.ac: Remove SELinux header check.
15441 * configure: Regenerate.
15442 * nscd/selinux.c (perms): Array of const char* to permission names.
15443 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15444 default policy. Call string_to_security_class and string_to_av_perm to
15445 translate strings. Enforce default policy and call avs_has_perm with
15446 results of translated strings.
15448 2014-04-13 David S. Miller <davem@davemloft.net>
15450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15452 2014-04-12 Allan McRae <allan@archlinux.org>
15455 * manual/string.texi (Collation Functions): Fix qsort argument
15457 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15459 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15461 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15462 Make the test a no-op if there are no exceptions defined.
15464 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15466 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15467 enable-hardcoded-path-in-tests
15469 2014-04-11 Will Newton <will.newton@linaro.org>
15471 * benchtests/Makefile (extra-objs): Add json-lib.o.
15472 (bench-func): Tidy up JSON output.
15473 * benchtests/bench-skeleton.c: Include json-lib.h.
15474 (main): Use JSON library functions to do output of
15476 * benchtests/bench-timing-type.c (main): Output the
15477 timing type simply, leaving formatting to the user.
15478 * benchtests/json-lib.c: New file.
15479 * benchtests/json-lib.h: Likewise.
15481 2014-04-11 Torvald Riegel <triegel@redhat.com>
15484 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15485 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15486 memory barriers. Add comments.
15487 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15488 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15489 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15490 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15491 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15492 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15494 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15496 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15497 * sysdeps/s390/s390-64/configure.ac: ... this ...
15498 * sysdeps/s390/configure.ac: ... to here.
15499 * sysdeps/s390/s390-32/configure: Delete file.
15500 * sysdeps/s390/s390-64/configure: Delete file.
15501 * sysdeps/s390/configure: Regenerate.
15503 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15505 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15507 2014-04-11 Will Newton <will.newton@linaro.org>
15509 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15510 to zero if it is not defined elsewhere. (mtrim): Test
15511 the value of MALLOC_DEBUG with #if rather than #ifdef.
15513 2014-04-10 Torvald Riegel <triegel@redhat.com>
15515 * benchtests/pthread_once-inputs: New file.
15516 * benchtests/pthread_once-source.c: New file.
15517 * benchtests/README: Update documentation.
15519 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15520 H.J. Lu <hongjiu.lu@intel.com>
15523 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15524 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15525 * sysdeps/x86_64/configure: Regenerated.
15526 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15528 (REGISTER_SAVE_RAX): Likewise.
15529 (REGISTER_SAVE_RCX): Likewise.
15530 (REGISTER_SAVE_RDX): Likewise.
15531 (REGISTER_SAVE_RSI): Likewise.
15532 (REGISTER_SAVE_RDI): Likewise.
15533 (REGISTER_SAVE_R8): Likewise.
15534 (REGISTER_SAVE_R9): Likewise.
15535 (REGISTER_SAVE_BND0): Likewise.
15536 (REGISTER_SAVE_BND1): Likewise.
15537 (REGISTER_SAVE_BND2): Likewise.
15538 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15539 bound registers when calling _dl_fixup.
15541 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15543 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15544 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15546 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15547 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15548 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15549 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15550 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15551 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15552 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15554 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15557 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15558 pathconf(_PC_NAME_MAX).
15560 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15562 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15563 Remove macro usage.
15564 (__PTHREAD_SPINS): Move definition to ...
15565 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15566 (__PTHREAD_SPINS): ... here.
15567 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15568 (__PTHREAD_SPIN): Likewise.
15569 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15570 (__PTHREAD_SPIN): Likewise.
15571 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15572 (__PTHREAD_SPIN): Likewise.
15573 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15574 (__PTHREAD_SPIN): Likewise.
15575 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15576 (__PTHREAD_SPIN): Likewise.
15577 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15578 (__PTHREAD_SPIN): Likewise.
15579 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15580 (__PTHREAD_SPIN): Likewise.
15581 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15582 (__PTHREAD_SPIN): Likewise.
15583 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15584 (__PTHREAD_SPIN): Likewise.
15585 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15586 (__PTHREAD_SPIN): Likewise.
15587 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15588 (__PTHREAD_SPIN): Likewise.
15589 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15590 (__PTHREAD_SPIN): Likewise.
15592 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15593 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15594 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15595 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15597 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15598 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15599 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15600 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15601 correct imply path.
15602 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15603 strlen symbol for non multi-arch builds.
15604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15605 missing hidden_def and weak_alias.
15607 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15609 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15611 2014-04-07 Will Newton <will.newton@linaro.org>
15613 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15614 and contents. [!_LIBC] Remove #ifndef and contents.
15615 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15616 * string/memccpy.c (__memccpy): Use ANSI prototype.
15617 * string/memfrob.c (memfrob): Likewise.
15618 * string/strcoll.c (STRCOLL): Likewise.
15619 * string/strlen.c (strlen): Likewise.
15620 * string/strtok.c (STRTOK): Likewise.
15621 * string/strcat.c: Remove unused #include of memcopy.h.
15622 (strcat): Use ANSI prototype.
15623 * string/strchr.c: Remove unused #include of memcopy.h.
15624 (strchr): Use ANSI prototype.
15625 * string/strcmp.c: Remove unused #include of memcopy.h.
15626 (strcmp): Use ANSI prototype.
15627 * string/strcpy.c: Remove unused #include of memcopy.h.
15628 (strcpy): Use ANSI prototype.
15630 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15633 * config.make.in (config-extra-cppflags): Set it from
15634 libc_extra_cppflags.
15635 * configure.ac (libc_extra_cflags): Make it accumulate over
15636 configure fragments.
15637 (libc_extra_cppflags): New flag.
15638 * configure. Regenerate.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15640 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15641 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15646 result for FE_DOWNWARD rounding mode.
15647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15651 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15653 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15654 in function argument name.
15656 2014-04-03 David Svoboda <svoboda@cert.org>
15659 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15662 2014-04-03 Roland McGrath <roland@hack.frob.com>
15664 * elf/dl-unmap-segments.h: New file.
15665 * sysdeps/generic/ldsodefs.h
15666 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15667 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15668 * elf/dl-fptr.c: Likewise.
15669 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15670 * sysdeps/aarch64/tlsdesc.c: Likewise.
15671 * sysdeps/arm/tlsdesc.c: Likewise.
15672 * sysdeps/i386/tlsdesc.c: Likewise.
15673 * sysdeps/tile/dl-runtime.c: Likewise.
15674 * sysdeps/x86_64/tlsdesc.c: Likewise.
15675 * elf/dl-load.h: New file.
15676 * elf/dl-load.c: Include it.
15677 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15678 Macros moved to dl-load.h.
15679 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15680 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15681 Use _dl_unmap_segments in place of __munmap.
15682 Break out segment-mapping loop into ...
15683 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15685 2014-04-03 Will Newton <will.newton@linaro.org>
15687 * elf/dl-lookup.c (do_lookup_x): Remove comment
15688 referring to nested function and move variable
15689 declarations down to before first use.
15691 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15695 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15697 * math/s_catanf.c (__catanf): Likewise.
15698 * math/s_catanh.c (__catanh): Likewise.
15699 * math/s_catanhf.c (__catanhf): Likewise.
15700 * math/s_catanhl.c (__catanhl): Likewise.
15701 * math/s_catanl.c (__catanl): Likewise.
15702 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15703 by positive zero when computing -Inf result.
15704 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15705 (catanh_test): Likewise.
15706 * sysdeps/i386/fpu/libm-test-ulps: Update.
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15710 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15711 instead of using underflowing value in computing result.
15712 * math/s_clog10.c (__clog10): Likewise.
15713 * math/s_clog10f.c (__clog10f): Likewise.
15714 * math/s_clog10l.c (__clog10l): Likewise.
15715 * math/s_clogf.c (__clogf): Likewise.
15716 * math/s_clogl.c (__clogl): Likewise.
15717 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15718 (clog10_test): Likewise.
15719 * sysdeps/i386/fpu/libm-test-ulps: Update.
15720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15722 2014-04-02 Alan Modra <amodra@gmail.com>
15725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15726 output when value is near a power of two. Use int64_t for lx and
15727 remove casts. Use decimal rather than hex exponent constants.
15728 Don't use long double multiplication when double will suffice.
15729 * math/libm-test.inc (nextafter_test_data): Add tests.
15730 * NEWS: Add 16739 and 16786 to bug list.
15732 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15734 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15736 2014-04-01 Will Newton <will.newton@linaro.org>
15738 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15739 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15741 2014-04-01 Florian Weimer <fweimer@redhat.com>
15744 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15745 * nptl/tst-setuid2.c: New file.
15746 * nptl/Makefile (xtests): Add tst-setuid2.
15748 2014-04-01 Alan Modra <amodra@gmail.com>
15751 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15753 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15757 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15758 set errno as appropriate.
15759 * math/w_scalbf.c (__scalbf): Likewise.
15760 * math/w_scalbl.c (__scalbl): Likewise.
15761 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15762 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15763 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15764 Add more NaN tests.
15767 * math/w_atan2.c: Include <errno.h>.
15768 (__atan2): Set errno for result underflowing to zero.
15769 * math/w_atan2f.c: Include <errno.h>.
15770 (__atan2f): Set errno for result underflowing to zero.
15771 * math/w_atan2l.c: Include <errno.h>.
15772 (__atan2l): Set errno for result underflowing to zero.
15773 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15775 * math/auto-libm-test-out: Regenerated.
15777 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15779 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15780 Encode instruction correctly in little endian.
15781 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15785 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15787 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15790 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15793 * sysdeps/unix/sysv/linux/kernel-features.h
15794 [__sparc__ && !__arch64__ && !__sparc_v9__]
15795 (__ASSUME_SET_ROBUST_LIST): Do not define.
15796 [__sparc__ && !__arch64__ && !__sparc_v9__]
15797 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15798 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15800 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15801 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15802 (__ASSUME_REQUEUE_PI): Likewise.
15803 (__ASSUME_SET_ROBUST_LIST): Likewise.
15804 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15805 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15807 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15808 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15810 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15812 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15814 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15815 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15817 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15818 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15824 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15826 2014-03-31 Will Newton <will.newton@linaro.org>
15828 * benchtests/Makefile (bench): Add ffs and ffsll to list
15830 * benchtests/ffs-inputs: New file.
15831 * benchtests/ffsll-inputs: Likewise.
15833 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15836 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15837 too large before casting to int.
15838 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15839 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15840 * math/libm-test.inc (scalb_test_data): Add more tests.
15842 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15844 * benchtests/Makefile (DETAILED_OPT): New make option.
15845 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15847 * benchtests/bench-skeleton.c: Include stdbool.h.
15848 (main): Store and print timings per input.
15849 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15850 member to each argument value.
15851 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15852 (_print_arg_data): Initialize per-input timing to 0.
15854 * benchtests/Makefile (timing-type): New binary.
15855 (bench-clean): Also remove bench-timing-type.
15856 (bench): New target for timing-type.
15857 (bench-func): Print output in JSON format.
15858 * benchtests/bench-skeleton.c (main): Print output in JSON
15860 * benchtests/bench-timing-type.c: New file.
15861 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15862 (TIMING_PRINT_STATS): Remove.
15863 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15866 * benchtests/bench-modf.c: Remove.
15867 * benchtests/modf-inputs: New inputs file.
15869 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15872 * math/s_clog10.c (M_PI_LOG10E): New macro.
15873 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15874 imaginary parts are 0.
15875 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15876 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15877 imaginary parts are 0.
15878 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15879 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15880 imaginary parts are 0.
15881 * math/libm-test.inc (clog10_test_data): Update expected results
15882 for when real and imaginary parts are 0.
15884 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15886 * elf/dl-load.c: Finish conversion of __builtin_expect into
15887 __glibc_{un}likely.
15889 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15892 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15893 1+x for argument with exponent below -67.
15894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15896 * math/auto-libm-test-in: Add more tests of exp.
15897 * math/auto-libm-test-out: Regenerated.
15899 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15902 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15903 (nscd_getnetgrent): Use it.
15906 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15909 2014-03-27 Andi Kleen <ak@linux.intel.com>
15911 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15912 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15913 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15914 (lll_robust_unlock): Remove out of line section. Use cfi
15916 (LLL_STUB_UNWIND_INFO*): Remove.
15917 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15918 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15919 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15920 (lll_robust_unlock): Remove out of line section. Use cfi
15922 (LLL_STUB_UNWIND_INFO*): Remove.
15924 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15927 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15930 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15932 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15934 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15937 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15939 * math/test-fenv-preserve.c: New file.
15940 * math/Makefile (tests): Add test-fenv-preserve.
15942 2014-03-26 Will Newton <will.newton@linaro.org>
15944 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15946 2014-03-25 Roland McGrath <roland@hack.frob.com>
15948 * scripts/versionlist.awk: Partition the version sets and emit all
15949 GLIBC_* (sorted) before all others (sorted).
15951 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15953 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15954 GLIBC_2.2.5 version.
15956 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15958 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15961 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15966 2014-03-25 Andreas Schwab <schwab@suse.de>
15968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15969 label to be used after in6ailist is initialized.
15971 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15973 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15974 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15976 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15980 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15982 (fp_formats): Update initializers.
15983 (init_fp_formats): Initialize new field.
15984 (output_for_one_input_case): Allow underflow for results up to
15986 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15987 * math/auto-libm-test-in: Don't mark some underflows from asin and
15989 * math/auto-libm-test-out: Regenerated.
15990 * sysdeps/i386/fpu/libm-test-ulps: Update.
15991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993 2014-03-25 Andreas Schwab <schwab@suse.de>
15995 * libio/Makefile (tst-ftell-partial-wide-ENV)
15996 (tst-ftell-active-handler-ENV): Define.
15998 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16000 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16002 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16004 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16006 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16008 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16009 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16010 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16012 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16015 * elf/dl-load.c (open_verify): Add mode parameter.
16016 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16017 (open_path): Change from boolean 'secure' to complete flag 'mode'
16018 (_dl_map_object): Adjust.
16019 * elf/Makefile (tests): Add tst-dlopen-aout.
16020 * elf/tst-dlopen-aout.c: New test.
16022 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16025 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16026 (struct stat): Rename member pad0 to __glibc_reserved0.
16029 * sysdeps/s390/s390-32/bits/wordsize.h
16030 (__WORDSIZE32_SIZE_ULONG): New define.
16031 * sysdeps/s390/s390-64/bits/wordsize.h
16032 (__WORDSIZE32_SIZE_ULONG): Likewise.
16033 * sysdeps/generic/stdint.h (SIZE_MAX):
16034 Define as UL if __WORDSIZE32_SIZE_ULONG.
16037 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16038 (__glibc_reserved0): New variable.
16039 (sa_flags): Change type to int.
16041 * posix/Makefile (before-compile): Use += before-compile instead
16044 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16045 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16047 2014-03-20 Andreas Schwab <schwab@suse.de>
16050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16051 non-matching result from nscd.
16053 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16055 * scripts/bench.py: Moved to ...
16056 * benchtests/scripts/bench.py: ... here.
16057 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16059 2014-03-24 Andreas Schwab <schwab@suse.de>
16062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16063 alloca_account and account alloca use for struct in6ailist.
16065 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16068 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16069 rounding mode to recompute results that overflow to infinity or
16071 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16073 * math/auto-libm-test-out: Regenerated.
16074 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16075 (ccosh_test): Likewise.
16076 (csin_test_data): Use plus_oflow.
16077 (csin_test): Use ALL_RM_TEST.
16078 (csinh_test_data): Use plus_oflow.
16079 (csinh_test): Use ALL_RM_TEST.
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16083 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16085 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16086 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16087 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16090 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16091 when x - 1 is zero.
16092 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16093 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16094 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16097 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16098 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16100 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16101 * sysdeps/i386/fpu/libm-test-ulps: Update.
16102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16104 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16106 * scripts/bench.pl: Remove file.
16107 * scripts/bench.py: New benchmark script.
16108 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16109 * benchtests/README: Mention python dependency.
16110 * scripts/pylintrc: New file.
16111 * scripts/pylint: New file.
16113 * bits/mathdef.h: Use #ifdef instead of #if.
16114 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16115 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16116 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16117 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16118 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16119 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16121 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16122 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16124 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16126 and strpbrk-ppc64 objects.
16127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16128 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16129 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16130 multiarch strpbrk for POWER7.
16131 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16132 multiarch strpbrk for PPC64.
16133 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16135 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16136 strpbrk for POWER7.
16138 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16140 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16141 (atan_test): Likewise.
16142 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16143 (atanh_test): Use ALL_RM_TEST.
16144 (atan2_test_data): Likewise.
16145 (cabs_test): Likewise.
16146 (cacosh_test): Likewise.
16147 (carg_test): Likewise.
16148 (casin_test): Likewise.
16149 (casinh_test): Likewise.
16150 (cbrt_test): Likewise.
16151 (csqrt_test): Likewise.
16152 (erf_test): Likewise.
16153 (erfc_test): Likewise.
16154 (pow10_test): Likewise.
16155 (exp2_test): Likewise.
16156 (hypot_test): Likewise.
16157 (j0_test): Likewise.
16158 (j1_test): Likewise.
16159 (lgamma_test): Likewise.
16160 (gamma_test): Likewise.
16161 (sincos_test): Likewise.
16162 (tanh_test): Likewise.
16163 (y0_test): Likewise.
16164 (y1_test): Likewise.
16165 * sysdeps/i386/fpu/libm-test-ulps: Update.
16166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16168 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16170 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16172 and strcspn-ppc64 objects.
16173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16174 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16175 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16176 multiarch strcspn for POWER7.
16177 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16178 multiarch strcspn for PPC64.
16179 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16181 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16182 strcspn for POWER7.
16184 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16186 * math/gen-libm-test.pl (generate_testfile): Expect only function
16187 name as argument to AUTO_TESTS_* and pass results for all rounding
16188 modes to parse_args.
16189 (parse_auto_input): Separate inputs of automatic tests from
16190 outputs before storing in %auto_tests.
16191 * math/libm-test.inc (acos_test_data): Update call to
16193 (acos_test): Use ALL_RM_TEST.
16194 (acos_tonearest_test_data): Remove.
16195 (acos_test_tonearest): Likewise.
16196 (acos_towardzero_test_data): Likewise.
16197 (acos_test_towardzero): Likewise.
16198 (acos_downward_test_data): Likewise.
16199 (acos_test_downward): Likewise.
16200 (acos_upward_test_data): Likewise.
16201 (acos_test_upward): Likewise.
16202 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16203 (asin_test_data): Likewise.
16204 (asin_test): Use ALL_RM_TEST.
16205 (asin_tonearest_test_data): Remove.
16206 (asin_test_tonearest): Likewise.
16207 (asin_towardzero_test_data): Likewise.
16208 (asin_test_towardzero): Likewise.
16209 (asin_downward_test_data): Likewise.
16210 (asin_test_downward): Likewise.
16211 (asin_upward_test_data): Likewise.
16212 (asin_test_upward): Likewise.
16213 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16214 (atan_test_data): Likewise.
16215 (atanh_test_data): Likewise.
16216 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16217 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16218 (carg_test_data): Likewise.
16219 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16220 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16221 (ccosh_test_data): Likewise.
16222 (cexp_test_data): Likewise.
16223 (clog_test_data): Likewise.
16224 (clog10_test_data): Likewise.
16225 (cos_test_data): Update call to AUTO_TESTS_f_f.
16226 (cos_test): Use ALL_RM_TEST.
16227 (cos_tonearest_test_data): Remove.
16228 (cos_test_tonearest): Likewise.
16229 (cos_towardzero_test_data): Likewise.
16230 (cos_test_towardzero): Likewise.
16231 (cos_downward_test_data): Likewise.
16232 (cos_test_downward): Likewise.
16233 (cos_upward_test_data): Likewise.
16234 (cos_test_upward): Likewise.
16235 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16236 (cosh_test): Use ALL_RM_TEST.
16237 (cosh_tonearest_test_data): Remove.
16238 (cosh_test_tonearest): Likewise.
16239 (cosh_towardzero_test_data): Likewise.
16240 (cosh_test_towardzero): Likewise.
16241 (cosh_downward_test_data): Likewise.
16242 (cosh_test_downward): Likewise.
16243 (cosh_upward_test_data): Likewise.
16244 (cosh_test_upward): Likewise.
16245 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16246 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16247 (ctan_test_data): Likewise.
16248 (ctan_test): Use ALL_RM_TEST.
16249 (ctan_tonearest_test_data): Remove.
16250 (ctan_test_tonearest): Likewise.
16251 (ctan_towardzero_test_data): Likewise.
16252 (ctan_test_towardzero): Likewise.
16253 (ctan_downward_test_data): Likewise.
16254 (ctan_test_downward): Likewise.
16255 (ctan_upward_test_data): Likewise.
16256 (ctan_test_upward): Likewise.
16257 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16258 (ctanh_test): Use ALL_RM_TEST.
16259 (ctanh_tonearest_test_data): Remove.
16260 (ctanh_test_tonearest): Likewise.
16261 (ctanh_towardzero_test_data): Likewise.
16262 (ctanh_test_towardzero): Likewise.
16263 (ctanh_downward_test_data): Likewise.
16264 (ctanh_test_downward): Likewise.
16265 (ctanh_upward_test_data): Likewise.
16266 (ctanh_test_upward): Likewise.
16267 (erf_test_data): Update call to AUTO_TESTS_f_f.
16268 (erfc_test_data): Likewise.
16269 (exp_test_data): Likewise.
16270 (exp_test): Use ALL_RM_TEST.
16271 (exp_tonearest_test_data): Remove.
16272 (exp_test_tonearest): Likewise.
16273 (exp_towardzero_test_data): Likewise.
16274 (exp_test_towardzero): Likewise.
16275 (exp_downward_test_data): Likewise.
16276 (exp_test_downward): Likewise.
16277 (exp_upward_test_data): Likewise.
16278 (exp_test_upward): Likewise.
16279 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16280 (exp10_test): Use ALL_RM_TEST.
16281 (exp10_tonearest_test_data): Remove.
16282 (exp10_test_tonearest): Likewise.
16283 (exp10_towardzero_test_data): Likewise.
16284 (exp10_test_towardzero): Likewise.
16285 (exp10_downward_test_data): Likewise.
16286 (exp10_test_downward): Likewise.
16287 (exp10_upward_test_data): Likewise.
16288 (exp10_test_upward): Likewise.
16289 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16290 (expm1_test_data): Likewise.
16291 (expm1_test): Use ALL_RM_TEST.
16292 (expm1_tonearest_test_data): Remove.
16293 (expm1_test_tonearest): Likewise.
16294 (expm1_towardzero_test_data): Likewise.
16295 (expm1_test_towardzero): Likewise.
16296 (expm1_downward_test_data): Likewise.
16297 (expm1_test_downward): Likewise.
16298 (expm1_upward_test_data): Likewise.
16299 (expm1_test_upward): Likewise.
16300 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16301 (fma_test): Use ALL_RM_TEST.
16302 (fma_towardzero_test_data): Remove.
16303 (fma_test_towardzero): Likewise.
16304 (fma_downward_test_data): Likewise.
16305 (fma_test_downward): Likewise.
16306 (fma_upward_test_data): Likewise.
16307 (fma_test_upward): Likewise.
16308 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16309 (j0_test_data): Update call to AUTO_TESTS_f_f.
16310 (j1_test_data): Likewise.
16311 (jn_test_data): Update call to AUTO_TESTS_if_f.
16312 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16313 (log_test_data): Update call to AUTO_TESTS_f_f.
16314 (log10_test_data): Likewise.
16315 (log1p_test_data): Likewise.
16316 (log2_test_data): Likewise.
16317 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16318 (pow_tonearest_test_data): Likewise.
16319 (sin_test_data): Update call to AUTO_TESTS_f_f.
16320 (sin_test): Use ALL_RM_TEST.
16321 (sin_tonearest_test_data): Remove.
16322 (sin_test_tonearest): Likewise.
16323 (sin_towardzero_test_data): Likewise.
16324 (sin_test_towardzero): Likewise.
16325 (sin_downward_test_data): Likewise.
16326 (sin_test_downward): Likewise.
16327 (sin_upward_test_data): Likewise.
16328 (sin_test_upward): Likewise.
16329 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16330 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16331 (sinh_test): Use ALL_RM_TEST.
16332 (sinh_tonearest_test_data): Remove.
16333 (sinh_test_tonearest): Likewise.
16334 (sinh_towardzero_test_data): Likewise.
16335 (sinh_test_towardzero): Likewise.
16336 (sinh_downward_test_data): Likewise.
16337 (sinh_test_downward): Likewise.
16338 (sinh_upward_test_data): Likewise.
16339 (sinh_test_upward): Likewise.
16340 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16341 (sqrt_test): Use ALL_RM_TEST.
16342 (sqrt_tonearest_test_data): Remove.
16343 (sqrt_test_tonearest): Likewise.
16344 (sqrt_towardzero_test_data): Likewise.
16345 (sqrt_test_towardzero): Likewise.
16346 (sqrt_downward_test_data): Likewise.
16347 (sqrt_test_downward): Likewise.
16348 (sqrt_upward_test_data): Likewise.
16349 (sqrt_test_upward): Likewise.
16350 (tan_test_data): Update call to AUTO_TESTS_f_f.
16351 (tan_test): Use ALL_RM_TEST.
16352 (tan_tonearest_test_data): Remove.
16353 (tan_test_tonearest): Likewise.
16354 (tan_towardzero_test_data): Likewise.
16355 (tan_test_towardzero): Likewise.
16356 (tan_downward_test_data): Likewise.
16357 (tan_test_downward): Likewise.
16358 (tan_upward_test_data): Likewise.
16359 (tan_test_upward): Likewise.
16360 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16361 (tgamma_test_data): Likewise.
16362 (y0_test_data): Likewise.
16363 (y1_test_data): Likewise.
16364 (yn_test_data): Update call to AUTO_TESTS_if_f.
16365 (main): Do not call removed functions.
16367 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16369 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16370 (ldexp_test_data): Remove.
16371 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16373 (scalb_test): Use ALL_RM_TEST.
16375 2014-03-19 Andreas Schwab <schwab@suse.de>
16377 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16379 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16382 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16383 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16384 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16385 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16386 (__ASSUME_PREADV): Undefine.
16387 (__ASSUME_PWRITEV): Likewise.
16389 2014-03-18 Roland McGrath <roland@hack.frob.com>
16391 * bits/mman-linux.h: Add comment about non-Linux use.
16392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16393 bits/mman-linux.h resting place.
16395 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16396 * bits/mman-linux.h: ... here.
16398 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16400 * conform/conformtest.pl: Add standard definition when calling C
16401 preprocessor on data files.
16402 (checknamespace): Remove unused variable.
16404 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16406 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16407 minus_oflow, plus_uflow and minus_uflow in expected results.
16408 * math/libm-test.inc (scalbn_test_data): Add more tests of
16409 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16411 (scalbn_test): Use ALL_RM_TEST.
16412 (scalbln_test_data): Add more tests of negative arguments. Use
16413 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16414 (scalbln_test): Use ALL_RM_TEST.
16416 2014-03-18 Roland McGrath <roland@hack.frob.com>
16418 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16420 2014-03-18 Will Newton <will.newton@linaro.org>
16422 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16423 inaccurate comment.
16425 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16427 * Makerules [!subdir] (check-abi): Exit with error status if a
16430 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16432 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16433 for rint. Include results for all rounding modes.
16434 (nearbyint_test): Use ALL_RM_TEST.
16435 (rint_test_data): Include all tests used for nearbyint.
16437 2014-03-17 Will Newton <will.newton@linaro.org>
16439 * nptl/sysdeps/pthread/pthread.h: Revert previous
16442 * sysdeps/generic/ldsodefs.h: Revert previous
16445 * libio/genops.c: Revert previous change.
16446 * libio/libioP.h: Likewise.
16447 * stdio-common/vfprintf.c: Likewise.
16449 * sysdeps/generic/math_private.h: Revert previous
16452 * sysdeps/generic/math_private.h: Check whether
16453 HAVE_RM_CTX is defined with #ifdef rather
16456 * argp/argp-fmtstream.h: Check whether
16457 __STRICT_ANSI__ is defined with #ifdef rather
16459 * argp/argp.h: Likewise.
16461 * libio/genops.c: Check whether
16462 _IO_JUMPS_OFFSET is defined with #ifdef rather
16464 * libio/libioP.h: Likewise.
16465 * stdio-common/vfprintf.c: Likewise.
16467 * sysdeps/generic/ldsodefs.h: Check whether
16468 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16471 * nptl/sysdeps/pthread/pthread.h: Check
16472 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16475 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16477 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16479 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16483 * libio/fileops.c (_IO_file_open): Seek to end of file but
16484 don't cache the offset.
16485 (get_file_offset): Remove function.
16486 (do_ftell): Use cached offset when available.
16487 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16488 don't cache the offset.
16489 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16491 (do_one_test): Call it.
16492 (do_ftell_test): Fix up expected old offset for a+ mode.
16493 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16496 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16497 up test status with function return status.
16498 (do_write_test): Likewise.
16499 (do_append_test): Likewise.
16501 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16502 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16505 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16507 * math/gen-libm-test.pl (parse_args): Handle results specified for
16508 each rounding mode separately.
16509 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16510 tests and results from lrint_tonearest_test_data,
16511 lrint_towardzero_test_data, lrint_downward_test_data and
16512 lrint_upward_test_data.
16513 (lrint_test): Use ALL_RM_TEST.
16514 (lrint_tonearest_test_data): Remove.
16515 (lrint_test_tonearest): Likewise.
16516 (lrint_towardzero_test_data): Likewise.
16517 (lrint_test_towardzero): Likewise.
16518 (lrint_downward_test_data): Likewise.
16519 (lrint_test_downward): Likewise.
16520 (lrint_upward_test_data): Likewise.
16521 (lrint_test_upward): Likewise.
16522 (llrint_test_data): Merge in per-rounding-mode tests and results
16523 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16524 llrint_downward_test_data and llrint_upward_test_data.
16525 (llrint_test): Use ALL_RM_TEST.
16526 (llrint_tonearest_test_data): Remove.
16527 (llrint_test_tonearest): Likewise.
16528 (llrint_towardzero_test_data): Likewise.
16529 (llrint_test_towardzero): Likewise.
16530 (llrint_downward_test_data): Likewise.
16531 (llrint_test_downward): Likewise.
16532 (llrint_upward_test_data): Likewise.
16533 (llrint_test_upward): Likewise.
16534 (rint_test_data): Merge in per-rounding-mode tests and results
16535 from rint_tonearest_test_data, rint_towardzero_test_data,
16536 rint_downward_test_data and rint_upward_test_data. Add
16537 per-rounding-mode results for tests not in those arrays.
16538 (rint_test): Use ALL_RM_TEST.
16539 (rint_tonearest_test_data): Remove.
16540 (rint_test_tonearest): Likewise.
16541 (rint_towardzero_test_data): Likewise.
16542 (rint_test_towardzero): Likewise.
16543 (rint_downward_test_data): Likewise.
16544 (rint_test_downward): Likewise.
16545 (rint_upward_test_data): Likewise.
16546 (rint_test_upward): Likewise.
16547 (main): Don't call removed functions.
16549 2014-03-14 Roland McGrath <roland@hack.frob.com>
16551 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16552 "Compiled on ..." crapola. It is anti-useful.
16554 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16556 * scripts/evaluate-test.sh: Handle fourth argument to determine
16557 whether test run should stop on failure.
16558 * Makeconfig (stop-on-test-failure): New variable.
16559 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16560 $(stop-on-test-failure).
16561 * Makefile (tests): Give a summary of results from testing and
16562 exit with failure status if they include an ERROR or FAIL.
16563 (xtests): Likewise.
16564 * manual/install.texi (Configuring and compiling): Mention
16565 stop-on-test-failure=y.
16566 * INSTALL: Regenerated.
16568 2014-03-14 Roland McGrath <roland@hack.frob.com>
16570 * scripts/versionlist.awk: New file.
16571 * Makerules [$(build-shared) = yes]
16572 (postclean-generated): Add Versions.def, not Versions.def.v and
16574 ($(common-objpfx)Versions.def.v.i): Target removed.
16575 ($(common-objpfx)Versions.def): New target.
16576 ($(common-objpfx)Versions.all): Depend on that rather that
16577 $(common-objpfx)Versions.def.v.
16578 * Versions.def: File removed.
16580 * Makeconfig (+gccwarn): Add -Wundef.
16581 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16582 a dl-sysdep.h breaking its contract.
16583 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16584 * include/stackinfo.h: New file.
16585 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16586 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16587 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16588 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16589 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16590 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16591 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16592 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16593 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16594 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16595 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16596 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16597 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16598 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16599 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16601 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16604 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16606 * math/libm-test.inc (round_test_data): Add more tests.
16609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16611 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16614 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16616 * math/libm-test.inc (ceil_test_data): Add more tests.
16618 * math/libm-test.inc (trunc_test_data): Add more tests related to
16621 2014-03-14 Roland McGrath <roland@hack.frob.com>
16623 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16624 with #if rather than #ifdef.
16625 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16627 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16629 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16630 first. Disable AVX-512 GCC support if assembler doesn't support
16632 * sysdeps/x86_64/configure: Regenerated.
16634 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16636 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16637 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16638 (__old_pthread_attr_setstack): Likewise.
16639 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16640 [!_STACK_GROWS_DOWN]: Likewise.
16642 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16644 * config.make.in (have-bash2): Delete.
16645 * configure.ac (libc_cv_have_bash2): Delete.
16646 * configure: Regenerate.
16647 * elf/Makefile (common-ldd-rewrite): Rename to ...
16648 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16649 (sh-ldd-rewrite): Delete.
16650 (bash-ldd-rewrite): Delete.
16651 (have-bash2): Delete checks.
16652 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16655 * config.make.in (have-ksh): Delete.
16657 * configure.ac (libc_cv_have_ksh): Delete.
16658 * configure: Regenerate.
16660 * elf/Makefile: Delete $(have-ksh) check.
16661 ($(objpfx)sotruss): Change KSH to BASH.
16662 * elf/sotruss.ksh: Rename to ...
16663 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16664 function style to match POSIX. Drop ksh vim mode setting.
16666 * manual/time.texi (Specifying the Time Zone with TZ): Change
16667 Tuesday to Thursday.
16669 * debug/tst-longjmp_chk2.c: Update header comment.
16670 (stackoverflow_handler): Add comment. Call assert on pass value.
16672 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16675 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16676 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16677 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16678 (La_x86_64_vector): Add zmm.
16679 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16680 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16681 ($(objpfx)tst-audit10): New target.
16682 ($(objpfx)tst-audit10.out): Likewise.
16683 (tst-audit10-ENV): New.
16684 (AVX512-CFLAGS): Likewise.
16685 (CFLAGS-tst-audit10.c): Likewise.
16686 (CFLAGS-tst-auditmod10a.c): Likewise.
16687 (CFLAGS-tst-auditmod10b.c): Likewise.
16688 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16689 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16690 * sysdeps/x86_64/configure: Regenerated.
16691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16692 AVX-512 zmm register support.
16693 (_dl_x86_64_save_sse): Likewise.
16694 (_dl_x86_64_restore_sse): Likewise.
16695 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16696 size vector registers.
16697 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16698 (ZMM_SIZE): Likewise.
16699 * sysdeps/x86_64/tst-audit10.c: New file.
16700 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16701 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16703 2014-03-13 Roland McGrath <roland@hack.frob.com>
16705 * configure.ac (HAVE_EHDR_START): New check.
16706 * configure: Regenerated.
16707 * config.h.in (HAVE_EHDR_START): New #undef.
16708 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16709 assuming the lowest-addressed segment maps the start of the file.
16711 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16713 * INSTALL: Regenerated.
16715 2014-03-13 Will Newton <will.newton@linaro.org>
16717 * manual/setjmp.texi (System V contexts): Improve
16718 clarity and grammar of documentation.
16720 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16723 * elf/Makefile (tests): Add tst-pie2.
16724 (tests-pie): Add tst-pie2.
16725 * elf/tst-pie2.c: New file.
16726 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16728 * elf/rtld.c (map_doit): Load executable as lt_executable.
16729 (dl_main): Likewise.
16731 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16734 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16735 (__ASSUME_PSELECT): Undefine.
16737 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16741 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16743 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16744 selector for static builds.
16746 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16749 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16752 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16754 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16755 IFUNC selector for static builds.
16757 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16759 * sysdeps/mips/math_private.h [__mips_hard_float]
16760 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16761 libc_feresetround_mips_ctx.
16762 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16763 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16764 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16767 * math/s_nextafter.c (__nextafter): Do not return value from
16768 overflowing computation.
16769 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16770 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16775 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16776 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16778 2014-03-11 Roland McGrath <roland@hack.frob.com>
16780 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16781 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16782 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16783 the new mov targetting sp.
16785 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16789 Define it for static builds as well.
16790 (NO_BZERO_IMPL): Likewise.
16792 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16794 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16795 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16796 multiarch strspn for PPC64.
16797 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16798 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16800 (__libc_ifunc_impl_list): Likewise.
16801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16802 multiarch optimizations
16803 * string/strspn.c (strspn): Using macro to redefine symbol name.
16805 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16806 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16808 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16809 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16810 multiarch strncat for PPC64.
16811 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16812 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16814 (__libc_ifunc_impl_list): Likewise.
16815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16816 multiarch optimizations
16818 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16821 * nscd/nscd.service: Make service type forking.
16823 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16825 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16826 sign in non default rounding modes.
16827 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16829 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16831 * math/libm-test.inc (ALL_RM_TEST): New macro.
16832 (ceil_test): Use ALL_RM_TEST.
16833 (cimag_test): Likewise.
16834 (conj_test): Likewise.
16835 (copysign_test): Likewise.
16836 (cproj_test): Likewise.
16837 (creal_test): Likewise.
16838 (fabs_test): Likewise.
16839 (floor_test): Likewise.
16840 (fmax_test): Likewise.
16841 (fmin_test): Likewise.
16842 (fmod_test): Likewise.
16843 (fpclassify_test): Likewise.
16844 (frexp_test): Likewise.
16845 (ilogb_test): Likewise.
16846 (isfinite_test): Likewise.
16847 (finite_test): Likewise.
16848 (isgreater_test): Likewise.
16849 (isgreaterequal_test): Likewise.
16850 (isinf_test): Likewise.
16851 (isless_test): Likewise.
16852 (islessequal_test): Likewise.
16853 (islessgreater_test): Likewise.
16854 (isnan_test): Likewise.
16855 (isnormal_test): Likewise.
16856 (issignaling_test): Likewise.
16857 (isunordered_test): Likewise.
16858 (logb_test): Likewise.
16859 (logb_downward_test_data): Remove.
16860 (logb_test_downward): Likewise.
16861 (lround_test): Use ALL_RM_TEST.
16862 (llround_test): Likewise.
16863 (modf_test): Likewise.
16864 (nexttoward_test): Likewise.
16865 (remainder_test): Likewise.
16866 (drem_test): Likewise.
16867 (remainder_tonearest_test_data): Likewise.
16868 (remainder_test_tonearest): Likewise.
16869 (drem_test_tonearest): Likewise.
16870 (remainder_towardzero_test_data): Likewise.
16871 (remainder_test_towardzero): Likewise.
16872 (drem_test_towardzero): Likewise.
16873 (remainder_downward_test_data): Likewise.
16874 (remainder_test_downward): Likewise.
16875 (drem_test_downward): Likewise.
16876 (remainder_upward_test_data): Likewise.
16877 (remainder_test_upward): Likewise.
16878 (drem_test_upward): Likewise.
16879 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16880 (round_test): Use ALL_RM_TEST.
16881 (signbit_test): Likewise.
16882 (trunc_test): Likewise.
16883 (significand_test): Likewise.
16884 (main): Don't call removed functions.
16886 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16889 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16890 || __USE_XOPEN2K8].
16891 (ILL_ILLOPN): Likewise.
16892 (ILL_ILLADR): Likewise.
16893 (ILL_ILLTRP): Likewise.
16894 (ILL_PRVOPC): Likewise.
16895 (ILL_PRVREG): Likewise.
16896 (ILL_COPROC): Likewise.
16897 (ILL_BADSTK): Likewise.
16898 (FPE_INTDIV): Likewise.
16899 (FPE_INTOVF): Likewise.
16900 (FPE_FLTDIV): Likewise.
16901 (FPE_FLTOVF): Likewise.
16902 (FPE_FLTUND): Likewise.
16903 (FPE_FLTRES): Likewise.
16904 (FPE_FLTINV): Likewise.
16905 (FPE_FLTSUB): Likewise.
16906 (SEGV_MAPERR): Likewise.
16907 (SEGV_ACCERR): Likewise.
16908 (BUS_ADRALN): Likewise.
16909 (BUS_ADRERR): Likewise.
16910 (BUS_OBJERR): Likewise.
16911 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16912 (TRAP_TRACE): Likewise.
16913 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16915 (CLD_KILLED): Likewise.
16916 (CLD_DUMPED): Likewise.
16917 (CLD_TRAPPED): Likewise.
16918 (CLD_STOPPED): Likewise.
16919 (CLD_CONTINUED): Likewise.
16920 (POLL_IN): Likewise.
16921 (POLL_OUT): Likewise.
16922 (POLL_MSG): Likewise.
16923 (POLL_ERR): Likewise.
16924 (POLL_PRI): Likewise.
16925 (POLL_HUP): Likewise.
16926 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16928 (ILL_ILLOPN): Likewise.
16929 (ILL_ILLADR): Likewise.
16930 (ILL_ILLTRP): Likewise.
16931 (ILL_PRVOPC): Likewise.
16932 (ILL_PRVREG): Likewise.
16933 (ILL_COPROC): Likewise.
16934 (ILL_BADSTK): Likewise.
16935 (FPE_INTDIV): Likewise.
16936 (FPE_INTOVF): Likewise.
16937 (FPE_FLTDIV): Likewise.
16938 (FPE_FLTOVF): Likewise.
16939 (FPE_FLTUND): Likewise.
16940 (FPE_FLTRES): Likewise.
16941 (FPE_FLTINV): Likewise.
16942 (FPE_FLTSUB): Likewise.
16943 (SEGV_MAPERR): Likewise.
16944 (SEGV_ACCERR): Likewise.
16945 (BUS_ADRALN): Likewise.
16946 (BUS_ADRERR): Likewise.
16947 (BUS_OBJERR): Likewise.
16948 (BUS_MCEERR_AR): Likewise.
16949 (BUS_MCEERR_AO): Likewise.
16950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16951 (TRAP_TRACE): Likewise.
16952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16954 (CLD_KILLED): Likewise.
16955 (CLD_DUMPED): Likewise.
16956 (CLD_TRAPPED): Likewise.
16957 (CLD_STOPPED): Likewise.
16958 (CLD_CONTINUED): Likewise.
16959 (POLL_IN): Likewise.
16960 (POLL_OUT): Likewise.
16961 (POLL_MSG): Likewise.
16962 (POLL_ERR): Likewise.
16963 (POLL_PRI): Likewise.
16964 (POLL_HUP): Likewise.
16965 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16966 (ILL_ILLOPN): Likewise.
16967 (ILL_ILLADR): Likewise.
16968 (ILL_ILLTRP): Likewise.
16969 (ILL_PRVOPC): Likewise.
16970 (ILL_PRVREG): Likewise.
16971 (ILL_COPROC): Likewise.
16972 (ILL_BADSTK): Likewise.
16973 (FPE_INTDIV): Likewise.
16974 (FPE_INTOVF): Likewise.
16975 (FPE_FLTDIV): Likewise.
16976 (FPE_FLTOVF): Likewise.
16977 (FPE_FLTUND): Likewise.
16978 (FPE_FLTRES): Likewise.
16979 (FPE_FLTINV): Likewise.
16980 (FPE_FLTSUB): Likewise.
16981 (SEGV_MAPERR): Likewise.
16982 (SEGV_ACCERR): Likewise.
16983 (BUS_ADRALN): Likewise.
16984 (BUS_ADRERR): Likewise.
16985 (BUS_OBJERR): Likewise.
16986 (BUS_MCEERR_AR): Likewise.
16987 (BUS_MCEERR_AO): Likewise.
16988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16989 (TRAP_TRACE): Likewise.
16990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16992 (CLD_KILLED): Likewise.
16993 (CLD_DUMPED): Likewise.
16994 (CLD_TRAPPED): Likewise.
16995 (CLD_STOPPED): Likewise.
16996 (CLD_CONTINUED): Likewise.
16997 (POLL_IN): Likewise.
16998 (POLL_OUT): Likewise.
16999 (POLL_MSG): Likewise.
17000 (POLL_ERR): Likewise.
17001 (POLL_PRI): Likewise.
17002 (POLL_HUP): Likewise.
17003 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17005 (ILL_ILLOPN): Likewise.
17006 (ILL_ILLADR): Likewise.
17007 (ILL_ILLTRP): Likewise.
17008 (ILL_PRVOPC): Likewise.
17009 (ILL_PRVREG): Likewise.
17010 (ILL_COPROC): Likewise.
17011 (ILL_BADSTK): Likewise.
17012 (ILL_BADIADDR): Likewise.
17013 (ILL_BREAK): Likewise.
17014 (FPE_INTDIV): Likewise.
17015 (FPE_INTOVF): Likewise.
17016 (FPE_FLTDIV): Likewise.
17017 (FPE_FLTOVF): Likewise.
17018 (FPE_FLTUND): Likewise.
17019 (FPE_FLTRES): Likewise.
17020 (FPE_FLTINV): Likewise.
17021 (FPE_FLTSUB): Likewise.
17022 (FPE_DECOVF): Likewise.
17023 (FPE_DECDIV): Likewise.
17024 (FPE_DECERR): Likewise.
17025 (FPE_INVASC): Likewise.
17026 (FPE_INVDEC): Likewise.
17027 (SEGV_MAPERR): Likewise.
17028 (SEGV_ACCERR): Likewise.
17029 (SEGV_PSTKOVF): Likewise.
17030 (BUS_ADRALN): Likewise.
17031 (BUS_ADRERR): Likewise.
17032 (BUS_OBJERR): Likewise.
17033 (BUS_MCEERR_AR): Likewise.
17034 (BUS_MCEERR_AO): Likewise.
17035 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17036 (TRAP_TRACE): Likewise.
17037 (TRAP_BRANCH): Likewise.
17038 (TRAP_HWBKPT): Likewise.
17039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17041 (CLD_KILLED): Likewise.
17042 (CLD_DUMPED): Likewise.
17043 (CLD_TRAPPED): Likewise.
17044 (CLD_STOPPED): Likewise.
17045 (CLD_CONTINUED): Likewise.
17046 (POLL_IN): Likewise.
17047 (POLL_OUT): Likewise.
17048 (POLL_MSG): Likewise.
17049 (POLL_ERR): Likewise.
17050 (POLL_PRI): Likewise.
17051 (POLL_HUP): Likewise.
17052 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17053 (ILL_ILLOPN): Likewise.
17054 (ILL_ILLADR): Likewise.
17055 (ILL_ILLTRP): Likewise.
17056 (ILL_PRVOPC): Likewise.
17057 (ILL_PRVREG): Likewise.
17058 (ILL_COPROC): Likewise.
17059 (ILL_BADSTK): Likewise.
17060 (FPE_INTDIV): Likewise.
17061 (FPE_INTOVF): Likewise.
17062 (FPE_FLTDIV): Likewise.
17063 (FPE_FLTOVF): Likewise.
17064 (FPE_FLTUND): Likewise.
17065 (FPE_FLTRES): Likewise.
17066 (FPE_FLTINV): Likewise.
17067 (FPE_FLTSUB): Likewise.
17068 (SEGV_MAPERR): Likewise.
17069 (SEGV_ACCERR): Likewise.
17070 (BUS_ADRALN): Likewise.
17071 (BUS_ADRERR): Likewise.
17072 (BUS_OBJERR): Likewise.
17073 (BUS_MCEERR_AR): Likewise.
17074 (BUS_MCEERR_AO): Likewise.
17075 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17076 (TRAP_TRACE): Likewise.
17077 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17079 (CLD_KILLED): Likewise.
17080 (CLD_DUMPED): Likewise.
17081 (CLD_TRAPPED): Likewise.
17082 (CLD_STOPPED): Likewise.
17083 (CLD_CONTINUED): Likewise.
17084 (POLL_IN): Likewise.
17085 (POLL_OUT): Likewise.
17086 (POLL_MSG): Likewise.
17087 (POLL_ERR): Likewise.
17088 (POLL_PRI): Likewise.
17089 (POLL_HUP): Likewise.
17090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17091 (ILL_ILLOPN): Likewise.
17092 (ILL_ILLADR): Likewise.
17093 (ILL_ILLTRP): Likewise.
17094 (ILL_PRVOPC): Likewise.
17095 (ILL_PRVREG): Likewise.
17096 (ILL_COPROC): Likewise.
17097 (ILL_BADSTK): Likewise.
17098 (FPE_INTDIV): Likewise.
17099 (FPE_INTOVF): Likewise.
17100 (FPE_FLTDIV): Likewise.
17101 (FPE_FLTOVF): Likewise.
17102 (FPE_FLTUND): Likewise.
17103 (FPE_FLTRES): Likewise.
17104 (FPE_FLTINV): Likewise.
17105 (FPE_FLTSUB): Likewise.
17106 (SEGV_MAPERR): Likewise.
17107 (SEGV_ACCERR): Likewise.
17108 (BUS_ADRALN): Likewise.
17109 (BUS_ADRERR): Likewise.
17110 (BUS_OBJERR): Likewise.
17111 (BUS_MCEERR_AR): Likewise.
17112 (BUS_MCEERR_AO): Likewise.
17113 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17114 (TRAP_TRACE): Likewise.
17115 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17117 (CLD_KILLED): Likewise.
17118 (CLD_DUMPED): Likewise.
17119 (CLD_TRAPPED): Likewise.
17120 (CLD_STOPPED): Likewise.
17121 (CLD_CONTINUED): Likewise.
17122 (POLL_IN): Likewise.
17123 (POLL_OUT): Likewise.
17124 (POLL_MSG): Likewise.
17125 (POLL_ERR): Likewise.
17126 (POLL_PRI): Likewise.
17127 (POLL_HUP): Likewise.
17128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17129 (ILL_ILLOPN): Likewise.
17130 (ILL_ILLADR): Likewise.
17131 (ILL_ILLTRP): Likewise.
17132 (ILL_PRVOPC): Likewise.
17133 (ILL_PRVREG): Likewise.
17134 (ILL_COPROC): Likewise.
17135 (ILL_BADSTK): Likewise.
17136 (FPE_INTDIV): Likewise.
17137 (FPE_INTOVF): Likewise.
17138 (FPE_FLTDIV): Likewise.
17139 (FPE_FLTOVF): Likewise.
17140 (FPE_FLTUND): Likewise.
17141 (FPE_FLTRES): Likewise.
17142 (FPE_FLTINV): Likewise.
17143 (FPE_FLTSUB): Likewise.
17144 (SEGV_MAPERR): Likewise.
17145 (SEGV_ACCERR): Likewise.
17146 (BUS_ADRALN): Likewise.
17147 (BUS_ADRERR): Likewise.
17148 (BUS_OBJERR): Likewise.
17149 (BUS_MCEERR_AR): Likewise.
17150 (BUS_MCEERR_AO): Likewise.
17151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17152 (TRAP_TRACE): Likewise.
17153 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17155 (CLD_KILLED): Likewise.
17156 (CLD_DUMPED): Likewise.
17157 (CLD_TRAPPED): Likewise.
17158 (CLD_STOPPED): Likewise.
17159 (CLD_CONTINUED): Likewise.
17160 (POLL_IN): Likewise.
17161 (POLL_OUT): Likewise.
17162 (POLL_MSG): Likewise.
17163 (POLL_ERR): Likewise.
17164 (POLL_PRI): Likewise.
17165 (POLL_HUP): Likewise.
17166 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17167 (ILL_ILLOPN): Likewise.
17168 (ILL_ILLADR): Likewise.
17169 (ILL_ILLTRP): Likewise.
17170 (ILL_PRVOPC): Likewise.
17171 (ILL_PRVREG): Likewise.
17172 (ILL_COPROC): Likewise.
17173 (ILL_BADSTK): Likewise.
17174 (ILL_DBLFLT): Likewise.
17175 (ILL_HARDWALL): Likewise.
17176 (FPE_INTDIV): Likewise.
17177 (FPE_INTOVF): Likewise.
17178 (FPE_FLTDIV): Likewise.
17179 (FPE_FLTOVF): Likewise.
17180 (FPE_FLTUND): Likewise.
17181 (FPE_FLTRES): Likewise.
17182 (FPE_FLTINV): Likewise.
17183 (FPE_FLTSUB): Likewise.
17184 (SEGV_MAPERR): Likewise.
17185 (SEGV_ACCERR): Likewise.
17186 (BUS_ADRALN): Likewise.
17187 (BUS_ADRERR): Likewise.
17188 (BUS_OBJERR): Likewise.
17189 (BUS_MCEERR_AR): Likewise.
17190 (BUS_MCEERR_AO): Likewise.
17191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17192 (TRAP_TRACE): Likewise.
17193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17195 (CLD_KILLED): Likewise.
17196 (CLD_DUMPED): Likewise.
17197 (CLD_TRAPPED): Likewise.
17198 (CLD_STOPPED): Likewise.
17199 (CLD_CONTINUED): Likewise.
17200 (POLL_IN): Likewise.
17201 (POLL_OUT): Likewise.
17202 (POLL_MSG): Likewise.
17203 (POLL_ERR): Likewise.
17204 (POLL_PRI): Likewise.
17205 (POLL_HUP): Likewise.
17206 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17207 (ILL_ILLOPN): Likewise.
17208 (ILL_ILLADR): Likewise.
17209 (ILL_ILLTRP): Likewise.
17210 (ILL_PRVOPC): Likewise.
17211 (ILL_PRVREG): Likewise.
17212 (ILL_COPROC): Likewise.
17213 (ILL_BADSTK): Likewise.
17214 (FPE_INTDIV): Likewise.
17215 (FPE_INTOVF): Likewise.
17216 (FPE_FLTDIV): Likewise.
17217 (FPE_FLTOVF): Likewise.
17218 (FPE_FLTUND): Likewise.
17219 (FPE_FLTRES): Likewise.
17220 (FPE_FLTINV): Likewise.
17221 (FPE_FLTSUB): Likewise.
17222 (SEGV_MAPERR): Likewise.
17223 (SEGV_ACCERR): Likewise.
17224 (BUS_ADRALN): Likewise.
17225 (BUS_ADRERR): Likewise.
17226 (BUS_OBJERR): Likewise.
17227 (BUS_MCEERR_AR): Likewise.
17228 (BUS_MCEERR_AO): Likewise.
17229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17230 (TRAP_TRACE): Likewise.
17231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17233 (CLD_KILLED): Likewise.
17234 (CLD_DUMPED): Likewise.
17235 (CLD_TRAPPED): Likewise.
17236 (CLD_STOPPED): Likewise.
17237 (CLD_CONTINUED): Likewise.
17238 (POLL_IN): Likewise.
17239 (POLL_OUT): Likewise.
17240 (POLL_MSG): Likewise.
17241 (POLL_ERR): Likewise.
17242 (POLL_PRI): Likewise.
17243 (POLL_HUP): Likewise.
17244 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17245 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17248 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17249 before #include of <time.h>.
17250 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17251 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17252 (test-xfail-UNIX98/sched.h/conform): Likewise.
17254 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17256 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17257 error absence of trapping exception support.
17258 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17260 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17262 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17263 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17264 * timezone/Makefile (testdata): Move definition above include of
17266 (test-zones): New variable.
17267 (tests-special): Add zone files.
17268 (build-testdata): Use $(evaluate-test).
17270 * elf/Makefile (tests-special): Rename tests to end with .out.
17271 ($(objpfx)noload-mem): Likewise.
17272 ($(objpfx)tst-leaks1-mem): Likewise.
17273 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17274 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17275 $(objpfx)test-iconvconfig.out.
17276 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17277 set -e inside subshell and redirect output to file.
17278 * iconvdata/Makefile (generated): Rename tests to end with .out.
17280 (tests-special): Rename tests to end with .out.
17281 ($(objpfx)mtrace-tst-loading): Likewise.
17282 * intl/Makefile (generated): Likewise.
17283 (tests-special): Likewise.
17284 ($(objpfx)mtrace-tst-gettext): Likewise.
17285 * misc/Makefile (generated): Likewise.
17286 (tests-special): Likewise.
17287 ($(objpfx)tst-error1-mem): Likewise.
17288 * nptl/Makefile (tests-special): Likewise.
17289 ($(objpfx)tst-stack3-mem): Likewise.
17290 (generated): Likewise.
17291 * posix/Makefile (generated): Likewise.
17292 (tests-special): Likewise.
17293 (xtests-special): Likewise.
17294 ($(objpfx)tst-fnmatch-mem): Likewise.
17295 ($(objpfx)bug-regex2-mem): Likewise.
17296 ($(objpfx)bug-regex14-mem): Likewise.
17297 ($(objpfx)bug-regex21-mem): Likewise.
17298 ($(objpfx)bug-regex31-mem): Likewise.
17299 ($(objpfx)tst-vfork3-mem): Likewise.
17300 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17301 ($(objpfx)tst-pcre-mem): Likewise.
17302 ($(objpfx)tst-boost-mem): Likewise.
17303 ($(objpfx)bug-ga2-mem): Likewise.
17304 ($(objpfx)bug-glob2-mem): Likewise.
17305 * resolv/Makefile (generate): Likewise.
17306 (tests-special): Likewise.
17307 (xtests-special): Likewise.
17308 (generated): Likewise.
17309 ($(objpfx)mtrace-tst-leaks): Likewise.
17310 ($(objpfx)mtrace-tst-leaks2): Likewise.
17312 * scripts/merge-test-results.sh: New file.
17313 * Makefile (tests-special-notdir): New variable.
17314 (tests): Run merge-test-results.sh.
17315 (xtests): Likewise.
17316 * Rules (tests-special-notdir): New variable.
17317 (xtests-special-notdir): Likewise.
17318 (tests): Run merge-test-results.sh
17319 (xtests): Likewise.
17321 * Makeconfig (test-xfail-name): New variable.
17322 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17323 compute variable name for expected failures.
17324 * conform/Makefile (conformtest-headers-data): New variable.
17325 (conformtest-standards): Likewise.
17326 (conformtest-headers-ISO): Likewise.
17327 (conformtest-headers-ISO99): Likewise.
17328 (conformtest-headers-ISO11): Likewise.
17329 (conformtest-headers-POSIX): Likewise.
17330 (conformtest-headers-XPG3): Likewise.
17331 (conformtest-headers-XPG4): Likewise.
17332 (conformtest-headers-UNIX98): Likewise.
17333 (conformtest-headers-XOPEN2K): Likewise.
17334 (conformtest-headers-POSIX2008): Likewise.
17335 (conformtest-headers-XOPEN2K8): Likewise.
17336 (conformtest-header-list-base): Likewise.
17337 (conformtest-header-list-tests): Likewise.
17338 (conformtest-header-base): Likewise.
17339 (conformtest-header-tests): Likewise.
17340 (tests-special): Add $(conformtest-header-list-tests). If
17341 [$(fast-check) && !$(cross-compiling)], add
17342 $(conformtest-header-tests) instead of
17343 $(objpfx)run-conformtest.out.
17344 (generated): Add $(conformtest-header-list-base). If
17345 [$(fast-check) && !$(cross-compiling)], add
17346 $(conformtest-header-base). Remove previous setting.
17347 ($(conformtest-header-list-tests)): New target.
17348 (test-xfail-run-conformtest): Remove variable.
17349 ($(objpfx)run-conformtest.out): Remove target.
17350 (test-xfail-ISO11/complex.h/conform): New variable.
17351 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17352 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17353 (test-xfail-XPG3/varargs.h/conform): Likewise.
17354 (test-xfail-XPG4/varargs.h/conform): Likewise.
17355 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17356 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17357 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17358 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17359 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17360 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17361 (test-xfail-XPG3/ftw.h/conform): Likewise.
17362 (test-xfail-XPG3/grp.h/conform): Likewise.
17363 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17364 (test-xfail-XPG3/limits.h/conform): Likewise.
17365 (test-xfail-XPG3/pwd.h/conform): Likewise.
17366 (test-xfail-XPG3/search.h/conform): Likewise.
17367 (test-xfail-XPG3/signal.h/conform): Likewise.
17368 (test-xfail-XPG3/stdio.h/conform): Likewise.
17369 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17370 (test-xfail-XPG3/string.h/conform): Likewise.
17371 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17372 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17373 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17374 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17375 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17376 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17377 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17378 (test-xfail-XPG3/termios.h/conform): Likewise.
17379 (test-xfail-XPG3/time.h/conform): Likewise.
17380 (test-xfail-XPG3/unistd.h/conform): Likewise.
17381 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17382 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17383 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17384 (test-xfail-XPG4/netdb.h/conform): Likewise.
17385 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17386 (test-xfail-XPG4/signal.h/conform): Likewise.
17387 (test-xfail-XPG4/stdio.h/conform): Likewise.
17388 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17389 (test-xfail-XPG4/stropts.h/conform): Likewise.
17390 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17391 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17392 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17393 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17394 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17395 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17396 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17397 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17398 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17399 (test-xfail-XPG4/termios.h/conform): Likewise.
17400 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17401 (test-xfail-XPG4/unistd.h/conform): Likewise.
17402 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17403 (test-xfail-POSIX/sched.h/conform): Likewise.
17404 (test-xfail-POSIX/signal.h/conform): Likewise.
17405 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17406 (test-xfail-POSIX/tar.h/conform): Likewise.
17407 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17408 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17409 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17410 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17411 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17412 (test-xfail-UNIX98/sched.h/conform): Likewise.
17413 (test-xfail-UNIX98/signal.h/conform): Likewise.
17414 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17415 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17416 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17417 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17418 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17419 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17420 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17421 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17422 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17423 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17424 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17425 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17426 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17427 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17428 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17429 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17430 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17431 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17432 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17433 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17434 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17435 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17436 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17437 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17438 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17439 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17440 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17441 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17442 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17443 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17444 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17445 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17446 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17447 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17448 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17449 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17450 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17451 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17452 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17453 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17454 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17455 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17456 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17457 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17458 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17459 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17460 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17461 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17462 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17463 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17464 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17465 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17466 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17467 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17468 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17469 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17470 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17471 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17472 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17473 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17474 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17475 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17476 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17477 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17478 (conformtest-cc-flags): Likewise.
17479 ($(conformtest-header-tests): New target.
17480 * conform/check-header-lists.sh: New file.
17481 * conform/run-conformtest.sh: Remove.
17483 * conform/conformtest.pl: Allow ' and \ in values given for
17485 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17487 [POSIX] (sys/types.h): Likewise.
17488 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17490 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17492 * conform/data/signal.h-data (SIGIO): Remove expectation.
17493 [XPG3] (SIGBUS): Do not expect.
17494 [POSIX || XPG3] (SIGPOLL): Likewise.
17495 [POSIX || XPG3] (SIGPROF): Likewise.
17496 [POSIX || XPG3] (SIGSYS): Likewise.
17497 [XPG3] (SIGTRAP): Likewise.
17498 [POSIX || XPG3] (SIGURG): Likewise.
17499 [POSIX || XPG3] (SIGVTALRM): Likewise.
17500 [POSIX || XPG3] (SIGXCPU): Likewise.
17501 [POSIX || XPG3] (SIGXFSZ): Likewise.
17502 [POSIX] (SA_SIGINFO): Expect.
17503 [XPG3] (siginfo_t): Do not expect type or contents.
17504 [POSIX] (si_pid): Do not expect element.
17505 [POSIX] (si_uid): Likewise.
17506 [POSIX] (si_addr): Likewise.
17507 [POSIX] (si_status): Likewise.
17508 [POSIX] (si_band): Likewise.
17509 [XPG4] (si_value): Likewise.
17510 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17511 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17512 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17513 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17514 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17515 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17516 [POSIX || XPG3] (ILL_COPROC): Likewise.
17517 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17518 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17519 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17520 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17521 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17522 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17523 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17524 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17525 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17526 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17527 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17528 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17529 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17530 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17531 [POSIX || XPG3] (CLD_EXITED): Likewise.
17532 [POSIX || XPG3] (CLD_KILLED): Likewise.
17533 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17534 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17535 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17536 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17537 [POSIX || XPG3] (POLL_IN): Likewise.
17538 [POSIX || XPG3] (POLL_OUT): Likewise.
17539 [POSIX || XPG3] (POLL_MSG): Likewise.
17540 [POSIX || XPG3] (POLL_ERR): Likewise.
17541 [POSIX || XPG3] (POLL_PRI): Likewise.
17542 [POSIX || XPG3] (POLL_HUP): Likewise.
17543 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17544 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17545 (SIG*): Do not allow.
17546 [XPG3] (si_*): Likewise.
17547 [XPG3] (SI_*): Likewise.
17548 [XPG3 || XPG4] (sigev_*): Likewise.
17549 [XPG3 || XPG4] (SIGEV_*): Likewise.
17550 [XPG3 || XPG4] (sival_*): Likewise.
17551 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17552 [POSIX || XPG3] (BUS_*): Likewise.
17553 [POSIX || XPG3] (CLD_*): Likewise.
17554 [POSIX || XPG3] (FPE_*): Likewise.
17555 [POSIX || XPG3] (ILL_*): Likewise.
17556 [POSIX || XPG3] (POLL_*): Likewise.
17557 [POSIX || XPG3] (SEGV_*): Likewise.
17558 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17559 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17560 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17561 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17562 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17563 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17564 Specify type and value.
17565 (TVERSLEN): Likewise.
17566 (REGTYPE): Likewise.
17567 (AREGTYPE): Likewise.
17568 (LNKTYPE): Likewise.
17569 (SYMTYPE): Likewise.
17570 (CHRTYPE): Likewise.
17571 (BLKTYPE): Likewise.
17572 (DIRTYPE): Likewise.
17573 (FIFOTYPE): Likewise.
17574 (CONTTYPE): Likewise.
17578 (TUREAD): Likewise.
17579 (TUWRITE): Likewise.
17580 (TUEXEC): Likewise.
17581 (TGREAD): Likewise.
17582 (TGWRITE): Likewise.
17583 (TGEXEC): Likewise.
17584 (TOREAD): Likewise.
17585 (TOWRITE): Likewise.
17586 (TOEXEC): Likewise.
17587 [POSIX] (TSVTX): Expect constant.
17589 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17591 * Makefile (tests): Change dependencies to ....
17592 (tests-special): ... additions to this variable.
17593 (tests): Depend on $(tests-special).
17594 * Makerules (check-abi-list): New variable.
17595 (check-abi): Depend on $(check-abi-list).
17596 [$(subdir) = elf] (tests-special): Add
17597 $(objpfx)check-abi-libc.out.
17598 [$(build-shared) = yes && subdir] (tests-special): Add
17600 [$(build-shared) = yes && subdir] (tests): Do not depend on
17602 * Rules (tests): Depend on $(tests-special).
17603 (xtests): Depend on $(xtests-special).
17604 * catgets/Makefile (tests): Change dependencies to ....
17605 (tests-special): ... additions to this variable.
17606 * conform/Makefile (tests): Change dependencies to ....
17607 (tests-special): ... additions to this variable.
17608 * elf/Makefile (tests): Change dependencies to ....
17609 (tests-special): ... additions to this variable.
17610 * grp/Makefile (tests): Change dependencies to ....
17611 (tests-special): ... additions to this variable.
17612 * iconv/Makefile (xtests): Change dependencies to ....
17613 (xtests-special): ... additions to this variable.
17614 * iconvdata/Makefile (tests): Change dependencies to ....
17615 (tests-special): ... additions to this variable.
17616 * intl/Makefile (tests): Change dependencies to ....
17617 (tests-special): ... additions to this variable. Also add
17618 $(objpfx)tst-gettext.out.
17619 * io/Makefile (tests): Change dependencies to ....
17620 (tests-special): ... additions to this variable.
17621 * libio/Makefile (tests): Change dependencies to ....
17622 (tests-special): ... additions to this variable.
17623 * malloc/Makefile (tests): Change dependencies to ....
17624 (tests-special): ... additions to this variable.
17625 * misc/Makefile (tests): Change dependencies to ....
17626 (tests-special): ... additions to this variable.
17627 * nptl/Makefile (tests): Change dependencies to ....
17628 (tests-special): ... additions to this variable.
17629 * nptl_db/Makefile (tests): Change dependencies to ....
17630 (tests-special): ... additions to this variable.
17631 * posix/Makefile (tests): Change dependencies to ....
17632 (tests-special): ... additions to this variable.
17633 (xtests): Change dependencies to ....
17634 (xtests-special): ... additions to this variable.
17635 * resolv/Makefile (tests): Change dependencies to ....
17636 (tests-special): ... additions to this variable.
17637 (xtests): Change dependencies to ....
17638 (xtests-special): ... additions to this variable.
17639 * stdio-common/Makefile (tests): Change dependencies to ....
17640 (tests-special): ... additions to this variable.
17641 (do-tst-unbputc): Remove target.
17642 (do-tst-printf): Likewise.
17643 * stdlib/Makefile (tests): Change dependencies to ....
17644 (tests-special): ... additions to this variable.
17645 * string/Makefile (tests): Change dependencies to ....
17646 (tests-special): ... additions to this variable.
17647 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17648 (tests-special): ... additions to this variable.
17650 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17652 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17654 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17655 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17657 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17658 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17659 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17660 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17661 * conform/data/libgen.h-data [XPG3]: Likewise.
17662 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17663 * conform/data/ndbm.h-data [XPG3]: Likewise.
17664 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17665 * conform/data/netdb.h-data [XPG3]: Likewise.
17666 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17667 * conform/data/poll.h-data [XPG3]: Likewise.
17668 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17669 * conform/data/strings.h-data [XPG3]: Likewise.
17670 * conform/data/stropts.h-data [XPG3]: Likewise.
17671 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17672 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17673 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17675 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17676 * conform/data/sys/time.h-data [XPG3]: Likewise.
17677 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17678 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17679 * conform/data/sys/un.h-data [XPG3]: Likewise.
17680 * conform/data/syslog.h-data [XPG3]: Likewise.
17681 * conform/data/ucontext.h-data [XPG3]: Likewise.
17682 * conform/data/utmpx.h-data [XPG3]: Likewise.
17683 * conform/data/varargs.h-data [UNIX98]: Enable file.
17685 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17687 * math/libm-test.inc (struct test_f_f_data): Move expected results
17688 into structure for each rounding mode.
17689 (struct test_ff_f_data): Likewise.
17690 (struct test_ff_f_data_nexttoward): Likewise.
17691 (struct test_fi_f_data): Likewise.
17692 (struct test_fl_f_data): Likewise.
17693 (struct test_if_f_data): Likewise.
17694 (struct test_fff_f_data): Likewise.
17695 (struct test_c_f_data): Likewise.
17696 (struct test_f_f1_data): Likewise.
17697 (struct test_fF_f1_data): Likewise.
17698 (struct test_ffI_f1_data): Likewise.
17699 (struct test_c_c_data): Likewise.
17700 (struct test_cc_c_data): Likewise.
17701 (struct test_f_i_data): Likewise.
17702 (struct test_ff_i_data): Likewise.
17703 (struct test_f_l_data): Likewise.
17704 (struct test_f_L_data): Likewise.
17705 (struct test_fFF_11_data): Likewise.
17707 (RM_FE_DOWNWARD): Likewise.
17708 (RM_FE_TONEAREST): Likewise.
17709 (RM_FE_TOWARDZERO): Likewise.
17710 (RM_FE_UPWARD): Likewise.
17711 (RUN_TEST_LOOP_f_f): Update references to expected results.
17712 (RUN_TEST_LOOP_2_f): Likewise.
17713 (RUN_TEST_LOOP_fff_f): Likewise.
17714 (RUN_TEST_LOOP_c_f): Likewise.
17715 (RUN_TEST_LOOP_f_f1): Likewise.
17716 (RUN_TEST_LOOP_fF_f1): Likewise.
17717 (RUN_TEST_LOOP_fI_f1): Likewise.
17718 (RUN_TEST_LOOP_ffI_f1): Likewise.
17719 (RUN_TEST_LOOP_c_c): Likewise.
17720 (RUN_TEST_LOOP_cc_c): Likewise.
17721 (RUN_TEST_LOOP_f_i): Likewise.
17722 (RUN_TEST_LOOP_f_i_tg): Likewise.
17723 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17724 (RUN_TEST_LOOP_f_b): Likewise.
17725 (RUN_TEST_LOOP_f_b_tg): Likewise.
17726 (RUN_TEST_LOOP_f_l): Likewise.
17727 (RUN_TEST_LOOP_f_L): Likewise.
17728 (RUN_TEST_LOOP_fFF_11): Likewise.
17729 * math/gen-libm-test.pl (parse_args): Output four copies of
17730 expected results for each test.
17732 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17733 (__ASSUME_UTIMES): Remove.
17734 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17735 (__ASSUME_UTIMES): Likewise.
17737 * math/gen-auto-libm-tests.c: Update comment on output format.
17738 (output_for_one_input_case): Generate before-rounding and
17739 after-rounding information as conditions on output flags not
17740 floating-point format.
17741 * math/auto-libm-test-out: Regenerated.
17742 * math/gen-libm-test.pl (cond_value): New function.
17743 (or_cond_value): Use cond_value.
17744 (generate_testfile): Handle conditional exceptions.
17746 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17748 * math/libm-test.inc (max_valid_error): New variable.
17749 (init_max_error): Take new argument specifying whether function
17750 results are exactly determined. Set max_valid_error and bound
17751 other variables for errors based on this argument.
17752 (set_max_error): Do not record results above max_valid_error.
17753 (check_float_internal): Only accept errors of up to 0.5ulps if
17754 also at most max_valid_error.
17755 (START): Take new argument EXACT and pass it to init_max_error.
17756 (acos_test): Update call to START.
17757 (acos_test_tonearest): Likewise.
17758 (acos_test_towardzero): Likewise.
17759 (acos_test_downward): Likewise.
17760 (acos_test_upward): Likewise.
17761 (acosh_test): Likewise.
17762 (asin_test): Likewise.
17763 (asin_test_tonearest): Likewise.
17764 (asin_test_towardzero): Likewise.
17765 (asin_test_downward): Likewise.
17766 (asin_test_upward): Likewise.
17767 (asinh_test): Likewise.
17768 (atan_test): Likewise.
17769 (atanh_test): Likewise.
17770 (atan2_test): Likewise.
17771 (cabs_test): Likewise.
17772 (cacos_test): Likewise.
17773 (cacosh_test): Likewise.
17774 (carg_test): Likewise.
17775 (casin_test): Likewise.
17776 (casinh_test): Likewise.
17777 (catan_test): Likewise.
17778 (catanh_test): Likewise.
17779 (cbrt_test): Likewise.
17780 (ccos_test): Likewise.
17781 (ccosh_test): Likewise.
17782 (ceil_test): Likewise.
17783 (cexp_test): Likewise.
17784 (cimag_test): Likewise.
17785 (clog_test): Likewise.
17786 (clog10_test): Likewise.
17787 (conj_test): Likewise.
17788 (copysign_test): Likewise.
17789 (cos_test): Likewise.
17790 (cos_test_tonearest): Likewise.
17791 (cos_test_towardzero): Likewise.
17792 (cos_test_downward): Likewise.
17793 (cos_test_upward): Likewise.
17794 (cosh_test): Likewise.
17795 (cosh_test_tonearest): Likewise.
17796 (cosh_test_towardzero): Likewise.
17797 (cosh_test_downward): Likewise.
17798 (cosh_test_upward): Likewise.
17799 (cpow_test): Likewise.
17800 (cproj_test): Likewise.
17801 (creal_test): Likewise.
17802 (csin_test): Likewise.
17803 (csinh_test): Likewise.
17804 (csqrt_test): Likewise.
17805 (ctan_test): Likewise.
17806 (ctan_test_tonearest): Likewise.
17807 (ctan_test_towardzero): Likewise.
17808 (ctan_test_downward): Likewise.
17809 (ctan_test_upward): Likewise.
17810 (ctanh_test): Likewise.
17811 (ctanh_test_tonearest): Likewise.
17812 (ctanh_test_towardzero): Likewise.
17813 (ctanh_test_downward): Likewise.
17814 (ctanh_test_upward): Likewise.
17815 (erf_test): Likewise.
17816 (erfc_test): Likewise.
17817 (exp_test): Likewise.
17818 (exp_test_tonearest): Likewise.
17819 (exp_test_towardzero): Likewise.
17820 (exp_test_downward): Likewise.
17821 (exp_test_upward): Likewise.
17822 (exp10_test): Likewise.
17823 (exp10_test_tonearest): Likewise.
17824 (exp10_test_towardzero): Likewise.
17825 (exp10_test_downward): Likewise.
17826 (exp10_test_upward): Likewise.
17827 (pow10_test): Likewise.
17828 (exp2_test): Likewise.
17829 (expm1_test): Likewise.
17830 (expm1_test_tonearest): Likewise.
17831 (expm1_test_towardzero): Likewise.
17832 (expm1_test_downward): Likewise.
17833 (expm1_test_upward): Likewise.
17834 (fabs_test): Likewise.
17835 (fdim_test): Likewise.
17836 (floor_test): Likewise.
17837 (fma_test): Likewise.
17838 (fma_test_towardzero): Likewise.
17839 (fma_test_downward): Likewise.
17840 (fma_test_upward): Likewise.
17841 (fmax_test): Likewise.
17842 (fmin_test): Likewise.
17843 (fmod_test): Likewise.
17844 (fpclassify_test): Likewise.
17845 (frexp_test): Likewise.
17846 (hypot_test): Likewise.
17847 (ilogb_test): Likewise.
17848 (isfinite_test): Likewise.
17849 (finite_test): Likewise.
17850 (isgreater_test): Likewise.
17851 (isgreaterequal_test): Likewise.
17852 (isinf_test): Likewise.
17853 (isless_test): Likewise.
17854 (islessequal_test): Likewise.
17855 (islessgreater_test): Likewise.
17856 (isnan_test): Likewise.
17857 (isnormal_test): Likewise.
17858 (issignaling_test): Likewise.
17859 (isunordered_test): Likewise.
17860 (j0_test): Likewise.
17861 (j1_test): Likewise.
17862 (jn_test): Likewise.
17863 (ldexp_test): Likewise.
17864 (lgamma_test): Likewise.
17865 (gamma_test): Likewise.
17866 (lrint_test): Likewise.
17867 (lrint_test_tonearest): Likewise.
17868 (lrint_test_towardzero): Likewise.
17869 (lrint_test_downward): Likewise.
17870 (lrint_test_upward): Likewise.
17871 (llrint_test): Likewise.
17872 (llrint_test_tonearest): Likewise.
17873 (llrint_test_towardzero): Likewise.
17874 (llrint_test_downward): Likewise.
17875 (llrint_test_upward): Likewise.
17876 (log_test): Likewise.
17877 (log10_test): Likewise.
17878 (log1p_test): Likewise.
17879 (log2_test): Likewise.
17880 (logb_test): Likewise.
17881 (logb_test_downward): Likewise.
17882 (lround_test): Likewise.
17883 (llround_test): Likewise.
17884 (modf_test): Likewise.
17885 (nearbyint_test): Likewise.
17886 (nextafter_test): Likewise.
17887 (nexttoward_test): Likewise.
17888 (pow_test): Likewise.
17889 (pow_test_tonearest): Likewise.
17890 (pow_test_towardzero): Likewise.
17891 (pow_test_downward): Likewise.
17892 (pow_test_upward): Likewise.
17893 (remainder_test): Likewise.
17894 (drem_test): Likewise.
17895 (remainder_test_tonearest): Likewise.
17896 (drem_test_tonearest): Likewise.
17897 (remainder_test_towardzero): Likewise.
17898 (drem_test_towardzero): Likewise.
17899 (remainder_test_downward): Likewise.
17900 (drem_test_downward): Likewise.
17901 (remainder_test_upward): Likewise.
17902 (drem_test_upward): Likewise.
17903 (remquo_test): Likewise.
17904 (rint_test): Likewise.
17905 (rint_test_tonearest): Likewise.
17906 (rint_test_towardzero): Likewise.
17907 (rint_test_downward): Likewise.
17908 (rint_test_upward): Likewise.
17909 (round_test): Likewise.
17910 (scalb_test): Likewise.
17911 (scalbn_test): Likewise.
17912 (scalbln_test): Likewise.
17913 (signbit_test): Likewise.
17914 (sin_test): Likewise.
17915 (sin_test_tonearest): Likewise.
17916 (sin_test_towardzero): Likewise.
17917 (sin_test_downward): Likewise.
17918 (sin_test_upward): Likewise.
17919 (sincos_test): Likewise.
17920 (sinh_test): Likewise.
17921 (sinh_test_tonearest): Likewise.
17922 (sinh_test_towardzero): Likewise.
17923 (sinh_test_downward): Likewise.
17924 (sinh_test_upward): Likewise.
17925 (sqrt_test): Likewise.
17926 (sqrt_test_tonearest): Likewise.
17927 (sqrt_test_towardzero): Likewise.
17928 (sqrt_test_downward): Likewise.
17929 (sqrt_test_upward): Likewise.
17930 (tan_test): Likewise.
17931 (tan_test_tonearest): Likewise.
17932 (tan_test_towardzero): Likewise.
17933 (tan_test_downward): Likewise.
17934 (tan_test_upward): Likewise.
17935 (tanh_test): Likewise.
17936 (tgamma_test): Likewise.
17937 (trunc_test): Likewise.
17938 (y0_test): Likewise.
17939 (y1_test): Likewise.
17940 (yn_test): Likewise.
17941 (significand_test): Likewise.
17943 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17944 individual tests in comment.
17945 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17946 (prev_max_error): New variable.
17947 (prev_real_max_error): Likewise.
17948 (prev_imag_max_error): Likewise.
17949 (compare_ulp_data): Don't refer to test names in comment.
17950 (find_test_ulps): Remove function.
17951 (find_function_ulps): Likewise.
17952 (find_complex_function_ulps): Likewise.
17953 (init_max_error): Take function name as argument. Look up ulps
17955 (print_ulps): Remove function.
17956 (print_max_error): Use prev_max_error instead of calling
17957 find_function_ulps.
17958 (print_complex_max_error): Use prev_real_max_error and
17959 prev_imag_max_error instead of calling find_complex_function_ulps.
17960 (check_float_internal): Take max_ulp parameter instead of calling
17961 find_test_ulps. Don't call print_ulps.
17962 (check_float): Update call to check_float_internal.
17963 (check_complex): Update calls to check_float_internal.
17964 (START): Pass argument to init_max_error.
17965 * math/gen-libm-test.pl (%results): Don't include "kind"
17967 (parse_ulps): Don't handle ulps of individual tests.
17968 (print_ulps_file): Likewise.
17969 (output_ulps): Likewise.
17970 * math/README.libm-test: Update.
17971 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17973 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17974 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17975 * sysdeps/arm/libm-test-ulps: Likewise.
17976 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17977 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17978 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17979 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17980 * sysdeps/microblaze/libm-test-ulps: Likewise.
17981 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17982 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17984 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17985 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17986 * sysdeps/sh/libm-test-ulps: Likewise.
17987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17988 * sysdeps/tile/libm-test-ulps: Likewise.
17989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17991 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17993 * math/libm-test.inc (print_complex_max_error): Check separately
17994 whether real and imaginary errors are within allowed range and
17995 pass 0 to print_complex_function_ulps instead of value within
17998 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18000 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18002 (get_handles_fopen): Likewise.
18003 (do_write_test): Likewise.
18005 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18007 * libio/fileops.c (do_ftell): Use cached offset when
18009 * libio/iofwide.c (do_ftell_wide): Likewise.
18010 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18012 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18015 * libio/libioP.h (get_file_offset): New function.
18016 * libio/fileops.c (get_file_offset): Likewise.
18017 (do_ftell): Likewise.
18018 (_IO_new_file_seekoff): Split out ftell logic.
18019 * libio/wfileops.c (do_ftell_wide): Likewise.
18020 (_IO_wfile_seekoff): Split out ftell logic.
18021 * libio/tst-ftell-active-handler.c: New test case.
18022 * libio/Makefile (tests): Add it.
18024 2014-03-03 Roland McGrath <roland@hack.frob.com>
18026 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18027 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18029 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18032 * nscd/connections.c (nscd_init): Call do_exit.
18033 (start_threads): Call do_exit and notify_parent.
18034 (begin_drop_privileges): Call do_exit.
18035 (finish_drop_privileges): Likewise.
18036 * nscd/selinux.c (preserve_capabilities): Likewise.
18037 (install_real_capabilities): Likewise.
18038 (nscd_selinux_enabled): Likewise.
18039 (avc_create_thread): Likewise.
18040 (avc_alloc_lock): Likewise.
18041 (nscd_avc_init): Likewise.
18042 * nscd/nscd.c (parent_fd): New static variable.
18043 (main): Create a pipe between parent and child processes.
18044 Skip closing parent_fd.
18045 (monitor_child): New function.
18046 (do_exit): Likewise.
18047 (notify_parent): Likewise.
18048 * nscd/nscd.h (notify_parent): Likewise.
18049 (do_exit): Likewise.
18051 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18053 * malloc/malloc.c (__libc_calloc): Revert last change.
18055 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18059 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18061 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18065 (__libc_ifunc_impl_list): Likewise.
18066 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18067 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18068 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18069 * string/strrchr.c: Define STRRCHR.
18071 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18073 * benchtest/bench-strtok.c (simple_strtok): Delete.
18074 (strtok_string): Use as benchmark.
18075 * string/strtok (STRTOK): New macro.
18077 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18079 * manual/threads.texi: Add header and standard comments to all
18082 * elf/dl-lookup.c (check_match): New function.
18083 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18084 (do_lookup_x): Remove nested function check_match. Use non-nested
18085 function check_match.
18087 2014-02-28 Roland McGrath <roland@hack.frob.com>
18089 * csu/Makefile (generated, before-compile): Use += rather than =.
18090 * catgets/Makefile (generated, generated-dirs): Likewise.
18091 * debug/Makefile (generated): Likewise.
18092 * dlfcn/Makefile (generated): Likewise.
18093 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18094 * iconvdata/Makefile (before-compile, generated): Likewise.
18095 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18096 * libio/Makefile (generated): Likewise.
18097 * malloc/Makefile (generated): Likewise.
18098 * manual/Makefile (generated, generated-dirs): Likewise.
18099 * misc/Makefile (generated): Likewise.
18100 * posix/Makefile (generated): Likewise.
18101 * resolv/Makefile (generated): Likewise.
18102 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18103 * timezone/Makefile (generated, generated-dirs): Likewise.
18105 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18107 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18110 power8 implementation.
18111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18112 file: POWER8 llround ifunc implementation.
18113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18114 (__lllround): Add POWER8 implementation.
18115 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18116 POWER8 llround implementation.
18118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18119 power8 implementation.
18120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18121 file: POWER8 llrint ifunc implementation.
18122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18123 Add POWER8 implementation.
18124 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18125 POWER8 llrint implementation.
18127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18128 power8 implementation.
18129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18130 file: POWER8 finite ifunc implementation.
18131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18132 Add POWER8 implementation.
18133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18135 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18136 POWER8 finite implementation.
18137 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18140 power8 implementation.
18141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18142 file: POWER8 isinf ifunc implementation.
18143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18144 POWER8 implementation.
18145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18147 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18148 isinf implementation.
18149 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18151 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18152 (INIT_ARCH): Add hwcap2 initialization.
18153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18154 power8 implementation.
18155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18156 file: POWER8 isnan ifunc implementation.
18157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18158 POWER8 implementation.
18159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18161 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18162 isnan implementation.
18163 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18165 2014-02-27 Joey Ye <joey.ye@arm.com>
18167 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18168 (_FP_NANFRAC_Q): Set to zero.
18170 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18173 * math/auto-libm-test-in: New test inputs.
18174 * math/auto-libm-test-out: Regenerate.
18175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18178 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18180 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18182 * scripts/evaluate-test.sh: Take new argument indicating whether
18183 failure is expected.
18184 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18185 indicating whether failure is expected.
18186 * conform/Makefile (test-xfail-run-conformtest): New variable.
18187 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18189 * posix/Makefile (test-xfail-annexc): New variable.
18190 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18192 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18194 * argp/Makefile: Include Makeconfig immediately after defining
18196 * assert/Makefile: Likewise.
18197 * benchtests/Makefile: Likewise.
18198 * catgets/Makefile: Likewise.
18199 * conform/Makefile: Likewise.
18200 * crypt/Makefile: Likewise.
18201 * csu/Makefile: Likewise.
18202 (all): Remove target.
18203 * ctype/Makefile: Include Makeconfig immediately after defining
18205 * debug/Makefile: Likewise.
18206 * dirent/Makefile: Likewise.
18207 * dlfcn/Makefile: Likewise.
18208 * gmon/Makefile: Likewise.
18209 * gnulib/Makefile: Likewise.
18210 * grp/Makefile: Likewise.
18211 * gshadow/Makefile: Likewise.
18212 * hesiod/Makefile: Likewise.
18213 * hurd/Makefile: Likewise.
18214 (all): Remove target.
18215 * iconvdata/Makefile: Include Makeconfig immediately after
18217 * inet/Makefile: Likewise.
18218 * intl/Makefile: Likewise.
18219 * io/Makefile: Likewise.
18220 * libio/Makefile: Likewise.
18221 (all): Remove target.
18222 * locale/Makefile: Include Makeconfig immediately after defining
18224 * login/Makefile: Likewise.
18225 * mach/Makefile: Likewise.
18226 (all): Remove target.
18227 * malloc/Makefile: Include Makeconfig immediately after defining
18229 (all): Remove target.
18230 * manual/Makefile: Include Makeconfig immediately after defining
18232 * math/Makefile: Likewise.
18233 * misc/Makefile: Likewise.
18234 * nis/Makefile: Likewise.
18235 * nss/Makefile: Likewise.
18236 * po/Makefile: Likewise.
18237 (all): Remove target.
18238 * posix/Makefile: Include Makeconfig immediately after defining
18240 * pwd/Makefile: Likewise.
18241 * resolv/Makefile: Likewise.
18242 * resource/Makefile: Likewise.
18243 * rt/Makefile: Likewise.
18244 * setjmp/Makefile: Likewise.
18245 * shadow/Makefile: Likewise.
18246 * signal/Makefile: Likewise.
18247 * socket/Makefile: Likewise.
18248 * soft-fp/Makefile: Likewise.
18249 * stdio-common/Makefile: Likewise.
18250 * stdlib/Makefile: Likewise.
18251 * streams/Makefile: Likewise.
18252 * string/Makefile: Likewise.
18253 * sunrpc/Makefile: Likewise.
18254 (all): Remove target.
18255 * sysvipc/Makefile: Include Makeconfig immediately after defining
18257 * termios/Makefile: Likewise.
18258 * time/Makefile: Likewise.
18259 * timezone/Makefile: Likewise.
18260 (all): Remove target.
18261 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18263 * wctype/Makefile: Likewise.
18265 2014-02-26 Steve Ellcey <sellcey@mips.com>
18267 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18268 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18269 (libc_feholdexcept_setround_mips): Ditto.
18270 (libc_feholdsetround): New.
18271 (libc_feholdsetroundf): New.
18272 (libc_feholdsetroundl): New.
18273 (libc_feupdateenv_test_mips): New.
18274 (libc_feupdateenv_test): New.
18275 (libc_feupdateenv_testf): New.
18276 (libc_feupdateenv_testl): New.
18277 (libc_feresetround): New.
18278 (libc_feresetroundf): New.
18279 (libc_feresetroundl): New.
18280 (libc_fetestexcept_mips): New.
18281 (libc_fetestexcept): New.
18282 (libc_fetestexceptf): New.
18283 (libc_fetestexceptl): New.
18284 (HAVE_RM_CTX): New.
18285 (libc_feholdexcept_setround_mips_ctx): New.
18286 (libc_feholdexcept_setround_ctx): New.
18287 (libc_feholdexcept_setroundf_ctx): New.
18288 (libc_feholdexcept_setroundl_ctx): New.
18289 (libc_fesetenv_mips_ctx): New.
18290 (libc_fesetenv_ctx): New.
18291 (libc_fesetenv_ctxf): New.
18292 (libc_fesetenv_ctxl): New.
18293 (libc_feupdateenv_mips_ctx): New.
18294 (libc_feupdateenv_ctx): New.
18295 (libc_feupdateenvf_ctx): New.
18296 (libc_feupdateenvl_ctx): New.
18297 (libc_feholdsetround_mips_ctx): New.
18298 (libc_feholdsetround_ctx): New.
18299 (libc_feholdsetroundf_ctx): New.
18300 (libc_feholdsetroundl_ctx): New.
18301 (libc_feresetround_mips_ctx): New.
18302 (libc_feresetround_ctx): New.
18303 (libc_feresetroundf_ctx): New.
18304 (libc_feresetroundl_ctx): New.
18306 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18308 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18310 * manual/ipc.texi: New file.
18311 * manual/Makefile (chapters): Add ipc.
18312 * manual/job.texi: Add "Inter-Process Communication" to next.
18313 * manual/process.texi: Add "Inter-Process Communication" to prev.
18315 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18319 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18321 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18323 * manual/arith.texi: Fix spaces after sentences.
18324 * manual/charset.texi: Likewise.
18325 * manual/errno.texi: Likewise.
18326 * manual/install.texi: Likewise.
18327 * manual/llio.texi: Likewise.
18328 * manual/locale.texi: Likewise.
18329 * manual/maint.texi: Likewise.
18330 * manual/math.texi: Likewise.
18331 * manual/memory.texi: Likewise.
18332 * manual/message.texi: Likewise.
18333 * manual/probes.texi: Likewise.
18334 * manual/resource.texi: Likewise.
18335 * manual/signal.texi: Likewise.
18336 * manual/socket.texi: Likewise.
18337 * manual/stdio.texi: Likewise.
18338 * manual/string.texi: Likewise.
18339 * manual/time.texi: Likewise.
18340 * manual/users.texi: Likewise.
18342 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18345 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18346 _DEFAULT_SOURCE is defined.
18348 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18349 Carlos O'Donell <carlos@redhat.com>
18352 * elf/dl-tls.c (_dl_count_modids): New function.
18353 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18354 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18355 audit library and increment generation counter.
18356 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18357 * elf/tst-audit9.c: New file.
18358 * elf/tst-auditmod9a.c: New file.
18359 * elf/tst-auditmod9b.c: New file.
18360 * elf/Makefile: Add rules to build and run tst-audit9.
18362 2014-02-25 Florian Weimer <fweimer@redhat.com>
18365 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18367 2014-02-25 Will Newton <will.newton@linaro.org>
18369 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18370 (__longjmp): Restore sp and lr before restoring callee
18371 saved registers. Add longjmp and longjmp_target
18372 SystemTap probe point.
18373 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18374 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18375 Define to zero to match jmpbuf layout.
18376 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18377 (__sigsetjmp): Save sp and lr before saving callee
18378 saved registers. Add setjmp SystemTap probe point.
18380 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18382 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18384 2014-02-24 Andreas Schwab <schwab@suse.de>
18387 * elf/pldd.c (wait_for_ptrace_stop): New function.
18388 (main): Call it after attaching.
18390 2014-02-22 Roland McGrath <roland@hack.frob.com>
18392 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18393 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18394 Versions files is now verboten.
18395 * hurd/Versions (libc: GLIBC_2.0):
18396 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18397 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18398 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18399 * mach/Versions: Likewise.
18401 * csu/Versions: Remove unused %include.
18402 * resolv/Versions: Likewise.
18404 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18406 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18407 ($(objpfx)check-local-headers.out): Likewise.
18408 ($(objpfx)begin-end-check.out): Likewise.
18409 * Makerules (check-abi-%.out): Likewise.
18410 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18411 ($(objpfx)test2.cat): Likewise.
18412 ($(objpfx)de/libc.cat): Likewise.
18413 ($(objpfx)test-gencat.out): Likewise.
18414 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18415 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18416 ($(objpfx)noload-mem): Likewise.
18417 ($(objpfx)tst-pathopt.out): Likewise.
18418 ($(objpfx)tst-rtld-load-self.out): Likewise.
18419 ($(objpfx)tst-array1-cmp.out): Likewise.
18420 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18421 ($(objpfx)tst-array2-cmp.out): Likewise.
18422 ($(objpfx)tst-array3-cmp.out): Likewise.
18423 ($(objpfx)tst-array4-cmp.out): Likewise.
18424 ($(objpfx)tst-array5-cmp.out): Likewise.
18425 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18426 ($(objpfx)check-textrel.out): Likewise.
18427 ($(objpfx)check-execstack.out): Likewise.
18428 ($(objpfx)check-localplt.out): Likewise.
18429 ($(objpfx)order2-cmp.out): Likewise.
18430 ($(objpfx)tst-leaks1-mem): Likewise.
18431 ($(objpfx)tst-leaks1-static-mem): Likewise.
18432 ($(objpfx)tst-initorder-cmp.out): Likewise.
18433 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18434 ($(objpfx)tst-unused-dep.out): Likewise.
18435 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18436 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18437 * iconv/Makefile (test-iconvconfig): Likewise.
18438 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18439 ($(objpfx)iconv-test.out): Likewise.
18440 ($(objpfx)tst-tables.out): Likewise.
18441 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18442 ($(objpfx)tst-gettext.out): Likewise.
18443 ($(objpfx)tst-translit.out): Likewise.
18444 ($(objpfx)tst-gettext2.out): Likewise.
18445 ($(objpfx)tst-gettext4.out): Likewise.
18446 ($(objpfx)tst-gettext6.out): Likewise.
18447 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18448 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18449 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18450 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18451 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18452 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18453 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18454 ($(objpfx)wordexp-tst.out): Likewise.
18455 ($(objpfx)annexc.out): Likewise.
18456 ($(objpfx)tst-fnmatch-mem): Likewise.
18457 ($(objpfx)bug-regex2-mem): Likewise.
18458 ($(objpfx)bug-regex14-mem): Likewise.
18459 ($(objpfx)bug-regex21-mem): Likewise.
18460 ($(objpfx)bug-regex31-mem): Likewise.
18461 ($(objpfx)tst-vfork3-mem): Likewise.
18462 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18463 ($(objpfx)tst-pcre-mem): Likewise.
18464 ($(objpfx)tst-boost-mem): Likewise.
18465 ($(objpfx)tst-getconf.out): Likewise.
18466 ($(objpfx)bug-ga2-mem): Likewise.
18467 ($(objpfx)bug-glob2-mem): Likewise.
18468 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18469 ($(objpfx)mtrace-tst-leaks2): Likewise.
18470 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18471 ($(objpfx)tst-printf.out): Likewise.
18472 ($(objpfx)tst-setvbuf1.out): Likewise.
18473 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18474 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18475 ($(objpfx)tst-fmtmsg.out): Likewise.
18476 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18477 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18479 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18480 * bits/sigaction.h [__USE_MISC]: Likewise.
18481 * bits/waitstatus.h: Update #endif comments.
18482 * ctype/ctype.h: Likewise.
18483 * dirent/dirent.h: Likewise.
18484 [__USE_MISC]: Remove redundant conditionals.
18485 * grp/grp.h: Update #endif comments.
18486 [__USE_GNU]: Remove redundant conditionals.
18487 [__USE_MISC]: Likewise.
18488 * inet/netinet/in.h [__USE_GNU]: Likewise.
18489 * io/sys/stat.h [__USE_MISC]: Likewise.
18490 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18491 * libio/bits/stdio.h: Update #endif comments.
18492 [__USE_MISC]: Remove redundant conditionals.
18493 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18494 * libio/stdio.h: Update #endif comments.
18495 [__USE_MISC]: Remove redundant conditionals.
18496 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18497 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18498 * math/math.h: Update #else and #endif comments.
18499 [__USE_MISC]: Remove redundant conditionals.
18500 * misc/sys/uio.h: Update #endif comments.
18501 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18502 * posix/glob.h [__USE_MISC]: Likewise.
18503 * posix/sys/types.h: Update #endif comments.
18504 [__USE_MISC]: Remove redundant conditionals.
18505 * posix/sys/wait.h: Update #endif comments.
18506 [__USE_MISC]: Remove redundant conditionals.
18507 * posix/unistd.h: Update #endif comments.
18508 [__USE_MISC]: Remove redundant conditionals.
18509 * pwd/pwd.h [__USE_GNU]: Likewise.
18510 [__USE_MISC]: Likewise.
18511 * resolv/netdb.h [__USE_GNU]: Likewise.
18512 * signal/signal.h: Update #endif comments.
18513 [__USE_MISC]: Remove redundant conditionals.
18514 * stdlib/stdlib.h: Update #else and #endif comments.
18515 [__USE_MISC]: Remove redundant conditionals.
18516 [__USE_GNU]: Likewise.
18517 * string/bits/string2.h [__USE_MISC]: Likewise.
18518 * string/string.h: Update #endif comments.
18519 [__USE_MISC]: Remove redundant conditionals.
18520 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18522 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18523 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18524 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18526 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18530 [__USE_MISC]: Remove redundant conditionals.
18531 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18532 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18533 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18534 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18535 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18537 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18538 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18540 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18541 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18543 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18545 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18546 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18548 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18550 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18551 * sysdeps/x86/bits/string.h: Update #endif comments.
18552 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18554 * time/sys/time.h: Update #endif comments.
18555 * time/time.h: Likewise.
18556 [__USE_MISC]: Remove redundant conditionals.
18558 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18561 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18563 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18565 * Versions.def (librt): Add GLIBC_2.17.
18567 2014-02-21 Adam Conrad <adconrad@0c3.net>
18569 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18570 synonym for _SYS_AUXV_H to allow direct inclusion.
18571 * sysdeps/sparc/bits/hwcap.h: Likewise.
18572 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18573 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18574 * sysdeps/sparc/sysdep.h: Likewise.
18576 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18578 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18580 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18582 * benchtests/bench-strrchr.c: Print length instead of position.
18584 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18587 * sysdeps/unix/sysv/linux/kernel-features.h
18588 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18589 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18590 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18591 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18593 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18594 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18595 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18596 (__ASSUME_SENDMMSG): Define instead of using previous
18597 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18598 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18599 (__ASSUME_SENDMMSG_SYSCALL): Define.
18600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18601 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18603 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18604 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18606 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18607 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18610 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18611 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18612 [__ASSUME_SENDMMSG]: Change conditionals to
18613 [__ASSUME_SENDMMSG_SOCKETCALL].
18614 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18615 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18617 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18618 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18620 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18621 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18622 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18623 [!__ASSUME_SENDMMSG]: Change conditional to
18624 [!__ASSUME_SENDMMSG_SOCKETCALL].
18625 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18626 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18630 * sysdeps/unix/sysv/linux/kernel-features.h
18631 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18632 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18633 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18634 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18635 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18636 [__i386__ || __sparc__]
18637 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18638 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18639 (__ASSUME_RECVMMSG): Define instead of using previous
18640 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18642 (__ASSUME_RECVMMSG_SYSCALL): Define.
18643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18646 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18647 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18652 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18653 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18654 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18655 [__ASSUME_RECVMMSG]: Change condition to
18656 [__ASSUME_RECVMMSG_SOCKETCALL].
18657 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18658 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18660 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18661 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18662 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18664 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18665 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18666 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18667 [!__ASSUME_RECVMMSG]: Change condition to
18668 [!__ASSUME_RECVMMSG_SOCKETCALL].
18669 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18670 (__ASSUME_RECVMMSG_SYSCALL): Define.
18673 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18674 __powerpc__ || __s390__ || __sh__ || __sparc__]
18675 (__ASSUME_SOCKETCALL): Define.
18676 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18677 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18678 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18679 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18680 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18681 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18682 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18683 (__ASSUME_ACCEPT4): Define instead of using previous
18684 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18685 __powerpc__ || __sparc__ || __s390__)] condition.
18686 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18687 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18688 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18689 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18690 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18691 [!__ASSUME_ACCEPT4]: Change condition to
18692 [!__ASSUME_ACCEPT4_SOCKETCALL].
18693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18694 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18695 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18696 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18697 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18698 __ASSUME_ACCEPT4_SYSCALL.
18699 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18700 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18701 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18702 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18703 __ASSUME_ACCEPT4_SYSCALL.
18704 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18705 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18706 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18707 [__ASSUME_ACCEPT4]: Change condition to
18708 [__ASSUME_ACCEPT4_SOCKETCALL].
18709 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18710 (__ASSUME_SOCKETCALL): Define.
18711 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18712 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18713 (__ASSUME_SOCKETCALL): Define.
18714 (__ASSUME_ACCEPT4): Remove.
18715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18717 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18718 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18720 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18721 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18723 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18725 (HWCAP_ARM_LPAE): Likewise.
18726 (HWCAP_ARM_EVTSTRM): Likewise.
18727 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18728 Add vpfd32, lpae and evtstrm.
18729 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18732 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18734 * math/auto-libm-test-in: Add tests of clog10.
18735 * math/auto-libm-test-out: Regenerated.
18736 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18737 * sysdeps/i386/fpu/libm-test-ulps: Update.
18738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18740 2014-02-18 Andreas Schwab <schwab@suse.de>
18743 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18744 Store non-zero if the second buffer was newly allocated.
18745 (send_dg): Likewise.
18746 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18747 to send_vc and send_dg.
18748 (res_nsend): Pass NULL for ansp2_malloced.
18749 * resolv/res_query.c (__libc_res_nquery): Add parameter
18750 answerp2_malloced and pass it down to __libc_res_nsend.
18751 (res_nquery): Pass additional NULL to __libc_res_nquery.
18752 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18753 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18754 second answer buffer if answerp2_malloced was set.
18755 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18756 (__libc_res_nquerydomain): Add parameter
18757 answerp2_malloced and pass it down to __libc_res_nquery.
18758 (res_nquerydomain): Pass additional NULL to
18759 __libc_res_nquerydomain.
18760 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18761 additional NULL to __libc_res_nsend and __libc_res_nquery.
18762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18763 additional NULL to __libc_res_nsearch.
18764 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18765 parameter of __libc_res_nsearch to check for separately allocated
18767 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18769 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18770 additional NULL to __libc_res_nquery.
18771 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18772 __libc_res_nsearch.
18773 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18774 * include/resolv.h: Update prototypes of __libc_res_nquery,
18775 __libc_res_nsearch, __libc_res_nsend.
18777 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18779 * math/auto-libm-test-in: Add tests of fma.
18780 * math/auto-libm-test-out: Regenerated.
18781 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18782 (fma_towardzero_test_data): Likewise.
18783 (fma_downward_test_data): Likewise.
18784 (fma_upward_test_data): Likewise.
18785 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18787 (rounding_modes): Add values for new field.
18788 (func_calc_method): Add value mpfr_fff_f.
18789 (func_calc_desc): Add mpfr_fff_f union field.
18790 (test_function): Add field exact_args.
18791 (FUNC): Add macro argument EXACT_ARGS.
18792 (FUNC_mpfr_f_f): Update call to FUNC.
18793 (FUNC_mpfr_f_f): Likewise.
18794 (FUNC_mpfr_ff_f): Likewise.
18795 (FUNC_mpfr_if_f): Likewise.
18796 (FUNC_mpc_c_f): Likewise.
18797 (FUNC_mpc_c_c): Likewise.
18798 (test_functions): Add fma. Update calls to FUNC.
18799 (handle_input_arg): Add argument exact_args.
18800 (add_test): Update call to handle_input_arg.
18801 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18802 (output_for_one_input_case): Update call to calc_generic_results.
18803 Recalculate exact zero results in each rounding mode.
18805 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18806 non-negative before setting low bit.
18807 * math/auto-libm-test-in: Mark one asin test possibly having
18808 spurious underflow.
18809 * math/auto-libm-test-out: Regenerated.
18810 * sysdeps/i386/fpu/libm-test-ulps: Update.
18811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18813 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18815 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18816 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18817 ports/sysdeps/unix/sysv/linux/microblaze.
18818 * README: Add missing listing for microblaze*-*-linux-gnu.
18820 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18822 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18825 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18827 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18828 * sysdeps/unix/sysv/linux/ia64: Move directory from
18829 ports/sysdeps/unix/sysv/linux/ia64.
18830 * README: Update listing for ia64-*-linux-gnu.
18832 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18833 Joseph Myers <joseph@codesourcery.com>
18835 * Makeconfig (test-name): New variable.
18836 (evaluate-test): Likewise.
18837 * Makerules (do-test-clean): Remove .test-result files.
18838 (common-mostlyclean): Likewise.
18839 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18840 * scripts/evaluate-test.sh: New file.
18842 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18844 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18845 separate $(objpfx)tst-fopenloc-cmp.out and
18846 $(objpfx)tst-fopenloc-mem.out targets.
18847 (tests): Update dependencies.
18848 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18849 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18850 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18851 (tst-rxspencer-no-utf8-ARGS): New variable.
18852 (tst-rxspencer-no-utf8-ENV): Likewise.
18853 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18854 instead of $(objpfx)tst-rxspencer-mem.
18855 ($(objpfx)tst-rxspencer-mem): Change target to
18856 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18857 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18858 * posix/tst-rxspencer-no-utf8.c: New file.
18860 * elf/Makefile ($(objpfx)order.out): Remove rule.
18861 [$(run-built-tests) = yes] (tests): Depend on
18862 $(objpfx)order-cmp.out.
18863 ($(objpfx)order-cmp.out): New rule.
18864 [$(run-built-tests) = yes] (tests): Depend on
18865 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18866 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18867 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18868 $(objpfx)tst-array5-static-cmp.out.
18869 ($(objpfx)tst-array1.out): Remove rule.
18870 ($(objpfx)tst-array1-cmp.out): New rule.
18871 ($(objpfx)tst-array1-static.out): Remove rule.
18872 ($(objpfx)tst-array1-static-cmp.out): New rule.
18873 ($(objpfx)tst-array2.out): Remove rule.
18874 ($(objpfx)tst-array2-cmp.out): New rule.
18875 ($(objpfx)tst-array3.out): Remove rule.
18876 ($(objpfx)tst-array3-cmp.out): New rule.
18877 ($(objpfx)tst-array4.out): Remove rule.
18878 ($(objpfx)tst-array4-cmp.out): New rule.
18879 ($(objpfx)tst-array5.out): Remove rule.
18880 ($(objpfx)tst-array5-cmp.out): New rule.
18881 ($(objpfx)tst-array5-static.out): Remove rule.
18882 ($(objpfx)tst-array5-static-cmp.out): New rule.
18883 [$(run-built-tests) = yes] (tests): Depend on
18884 $(objpfx)order2-cmp.out.
18885 ($(objpfx)order2.out): Remove rule.
18886 ($(objpfx)order2-cmp.out): New rule.
18887 ($(objpfx)tst-initorder.out): Remove rule.
18888 [$(run-built-tests) = yes] (tests): Depend on
18889 $(objpfx)tst-initorder-cmp.out.
18890 ($(objpfx)tst-initorder-cmp.out): New rule.
18891 ($(objpfx)tst-initorder2.out): Remove rule.
18892 [$(run-built-tests) = yes] (tests): Depend on
18893 $(objpfx)tst-initorder2-cmp.out.
18894 ($(objpfx)tst-initorder2-cmp.out): New rule.
18895 [$(run-built-tests) = yes] (tests): Depend on
18896 $(objpfx)tst-unused-dep-cmp.out.
18897 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18898 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18899 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18900 on $(objpfx)tst-setvbuf1-cmp.out.
18901 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18902 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18903 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18904 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18905 ($(objpfx)tst-svc.out): Remove rule.
18906 ($(objpfx)tst-svc-cmp.out): New rule.
18908 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18910 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18911 * ctype/ctype.h [__USE_MISC]: Likewise.
18912 * dirent/dirent.h [__USE_MISC]: Likewise.
18913 * grp/grp.h [__USE_MISC]: Likewise.
18914 * io/fcntl.h [__USE_MISC]: Likewise.
18915 * io/sys/stat.h [__USE_MISC]: Likewise.
18916 * libio/stdio.h [__USE_MISC]: Likewise.
18917 * posix/unistd.h [__USE_MISC]: Likewise.
18918 * pwd/pwd.h [__USE_MISC]: Likewise.
18919 * stdlib.h [__USE_MISC]: Likewise.
18920 * string/bits/string2.h [__USE_MISC]: Likewise.
18921 * string/string.h [__USE_MISC]: Likewise.
18922 * time/time.h [__USE_MISC]: Likewise.
18924 2014-02-13 Andreas Schwab <schwab@suse.de>
18927 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18928 second answer buffer if it was separately allocated.
18930 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18932 * sysdeps/mips/math-tests.h: Include <features.h>.
18933 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18934 (ROUNDING_TESTS_long_double): Do not define.
18935 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18936 (EXCEPTION_TESTS_long_double): Likewise.
18937 * sysdeps/mips/mips64/libm-test-ulps: Update.
18939 * include/features.h (__USE_BSD): Remove macro definitions.
18940 (__USE_SVID): Likewise.
18941 (_BSD_SOURCE): Likewise.
18942 (_SVID_SOURCE): Likewise.
18943 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18944 from definition of _DEFAULT_SOURCE.
18945 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18947 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18948 * bits/mman.h [__USE_BSD]: Likewise.
18949 * bits/termios.h [__USE_BSD]: Likewise.
18950 * bits/waitstatus.h [__USE_BSD]: Likewise.
18951 * ctype/ctype.h [__USE_SVID]: Likewise.
18952 * dirent/dirent.h [__USE_BSD]: Likewise.
18953 * grp/grp.h [__USE_SVID]: Likewise.
18954 [__USE_BSD]: Likewise.
18955 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18956 * io/fcntl.h [__USE_BSD]: Likewise.
18957 * io/ftw.h [__USE_BSD]: Likewise.
18958 * io/sys/stat.h [__USE_BSD]: Likewise.
18959 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18960 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18961 * libio/stdio.h [__USE_SVID]: Likewise.
18962 [__USE_BSD]: Likewise.
18963 * math/math.h [__USE_SVID]: Likewise.
18964 [__USE_BSD]: Likewise.
18965 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18966 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18967 * misc/search.h [__USE_SVID]: Likewise.
18968 * misc/sys/mman.h [__USE_BSD]: Likewise.
18969 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18970 * misc/sys/uio.h [__USE_BSD]: Likewise.
18971 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18972 * posix/glob.h [__USE_BSD]: Likewise.
18973 * posix/regex.h [__USE_BSD]: Likewise.
18974 * posix/sys/types.h [__USE_BSD]: Likewise.
18975 [__USE_SVID]: Likewise.
18976 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18977 * posix/sys/wait.h [__USE_BSD]: Likewise.
18978 [__USE_SVID]: Likewise.
18979 * posix/unistd.h [__USE_BSD]: Likewise.
18980 [__USE_SVID]: Likewise.
18981 * pwd/pwd.h [__USE_SVID]: Likewise.
18982 * resolv/netdb.h [__USE_BSD]: Likewise.
18983 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18984 * signal/signal.h [__USE_BSD]: Likewise.
18985 [__USE_SVID]: Likewise.
18986 * socket/sys/socket.h [__USE_BSD]: Likewise.
18987 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18988 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18989 [__USE_SVID]: Likewise.
18990 * string/bits/string2.h [__USE_BSD]: Likewise.
18991 [__USE_SVID]: Likewise.
18992 * string/bits/string3.h [__USE_BSD]: Likewise.
18993 * string/endian.h [__USE_BSD]: Likewise.
18994 * string/string.h [__USE_SVID]: Likewise.
18995 [__USE_BSD]: Likewise.
18996 * string/strings.h [__USE_BSD]: Likewise.
18997 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18998 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18999 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19000 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19001 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19002 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19006 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19007 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19009 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19010 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19012 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19014 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19015 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19016 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19018 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19020 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19021 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19022 * termios/termios.h [__USE_BSD]: Likewise.
19023 * time/sys/time.h [__USE_BSD]: Likewise.
19024 * time/time.h [__USE_BSD]: Likewise.
19025 [__USE_SVID]: Likewise.
19027 * Makefile (subdir_targets): Remove subdir_lint.out.
19029 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19030 (do-tst-printf): Likewise.
19031 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19032 $(objpfx)tst-printf.out.
19034 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19036 * Makerules (check-abi-%): Change target to
19037 $(objpfx)check-abi-%.out.
19038 (check-abi target): Update dependencies.
19039 (check-abi-pattern variable): Redirect output of diff to $@.
19040 (check-abi variable): Likewise.
19041 * elf/Makefile (check-abi): Update dependencies.
19043 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19045 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19046 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19048 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19049 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19050 value has largest subnormal exponent.
19051 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19052 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19053 * sysdeps/aarch64/soft-fp/sfp-machine.h
19054 (_FP_TININESS_AFTER_ROUNDING): New macro.
19055 * sysdeps/alpha/soft-fp/sfp-machine.h
19056 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19057 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19059 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19060 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19061 * sysdeps/mips/soft-fp/sfp-machine.h
19062 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19063 * sysdeps/powerpc/soft-fp/sfp-machine.h
19064 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19065 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19068 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19070 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19071 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19074 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19077 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19080 2014-02-12 Richard Henderson <rth@redhat.com>
19082 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19083 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19084 * sysdeps/unix/sysv/linux/alpha: Move directory from
19085 ports/sysdeps/unix/sysv/linux/alpha.
19086 * README: Update listing for alpha-*-linux-gnu.
19088 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19090 * include/features.h: Update comment documenting feature test
19092 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19094 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19095 (_SVID_SOURCE): Likewise.
19096 (_DEFAULT_SOURCE): Update description of default features.
19097 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19099 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19100 (S_ISVTX): Likewise.
19101 * manual/math.texi (Mathematical Constants): Likewise.
19102 * manual/signal.texi (Interrupted Primitives): Likewise.
19103 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19104 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19105 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19106 Don't refer to _SVID_SOURCE in warning text.
19108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19110 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19112 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19113 * sysdeps/mips/dl-lookup.c: Remove.
19114 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19116 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19119 * math/auto-libm-test-in: Add testcase for expl.
19120 * math/auto-libm-test-out: Regenerate.
19121 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19122 calculation of unsafe.
19123 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19125 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19127 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19128 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19129 ports/sysdeps/unix/sysv/linux/aarch64.
19130 * README: Update listing for aarch64*-*-linux-gnu.
19132 2014-02-11 Will Newton <will.newton@linaro.org>
19134 * manual/probes.texi (Mathematical Function Probes): Use
19135 "triggered" instead of "hit".
19137 * manual/probes.texi (Internal Probes): Add documentation
19138 of setjmp, longjmp and longjmp_target probes.
19140 * include/stap-probe.h: Add comment about probe argument
19143 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19144 definition. (tr_where, tr_freehook, tr_mallochook,
19145 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19147 2014-02-11 David S. Miller <davem@davemloft.net>
19149 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19150 processing int_tests.
19152 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19154 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19155 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19156 * sysdeps/unix/sysv/linux/mips: Move directory from
19157 ports/sysdeps/unix/sysv/linux/mips.
19158 * README: Update listing for mips-*-linux-gnu and
19159 mips64-*-linux-gnu.
19161 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19163 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19164 * sysdeps/unix/sysv/linux/m68k: Move directory from
19165 ports/sysdeps/unix/sysv/linux/m68k.
19166 * README: Update listing for m68k-*-linux-gnu.
19168 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19170 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19171 * sysdeps/unix/sysv/linux/generic: Move directory from
19172 ports/sysdeps/unix/sysv/linux/generic.
19173 * sysdeps/unix/sysv/linux/tile: Move directory from
19174 ports/sysdeps/unix/sysv/linux/tile.
19175 * README: Update listing for tile*-*-linux-gnu.
19177 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19179 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19181 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19182 * catgets/open_catalog.c (__open_catalog): Likewise.
19183 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19184 * debug/confstr_chk.c: Likewise.
19185 * debug/fread_chk.c (__fread_chk): Likewise.
19186 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19187 * debug/getgroups_chk.c: Likewise.
19188 * debug/mbsnrtowcs_chk.c: Likewise.
19189 * debug/mbsrtowcs_chk.c: Likewise.
19190 * debug/mbstowcs_chk.c: Likewise.
19191 * debug/memcpy_chk.c: Likewise.
19192 * debug/memmove_chk.c: Likewise.
19193 * debug/mempcpy_chk.c: Likewise.
19194 * debug/memset_chk.c: Likewise.
19195 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19196 * debug/strcat_chk.c (__strcat_chk): Likewise.
19197 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19198 * debug/strncat_chk.c (__strncat_chk): Likewise.
19199 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19200 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19201 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19202 * debug/wcpncpy_chk.c: Likewise.
19203 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19204 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19205 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19206 * debug/wcsncpy_chk.c: Likewise.
19207 * debug/wcsnrtombs_chk.c: Likewise.
19208 * debug/wcsrtombs_chk.c: Likewise.
19209 * debug/wcstombs_chk.c: Likewise.
19210 * debug/wmemcpy_chk.c: Likewise.
19211 * debug/wmemmove_chk.c: Likewise.
19212 * debug/wmempcpy_chk.c: Likewise.
19213 * debug/wmemset_chk.c: Likewise.
19214 * dirent/scandirat.c (SCANDIRAT): Likewise.
19215 * dlfcn/dladdr1.c (dladdr1): Likewise.
19216 * dlfcn/dladdr.c (dladdr): Likewise.
19217 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19218 * dlfcn/dlerror.c (__dlerror): Likewise.
19219 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19220 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19221 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19222 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19223 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19224 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19225 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19226 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19228 * elf/dl-conflict.c: Likewise.
19229 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19230 * elf/dl-dst.h: Likewise.
19231 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19232 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19233 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19234 * elf/dl-init.c (call_init, _dl_init): Likewise.
19235 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19236 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19237 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19239 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19241 * elf/dl-minimal.c (__libc_memalign): Likewise.
19242 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19243 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19244 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19245 * elf/dl-sym.c (do_sym): Likewise.
19246 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19247 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19248 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19249 * elf/dl-writev.h (_dl_writev): Likewise.
19250 * elf/ldconfig.c (search_dir): Likewise.
19251 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19252 (dl_main): Likewise.
19253 * elf/setup-vdso.h (setup_vdso): Likewise.
19254 * grp/compat-initgroups.c (compat_call): Likewise.
19255 * grp/fgetgrent.c (fgetgrent): Likewise.
19256 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19257 * grp/putgrent.c (putgrent): Likewise.
19258 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19260 * hurd/hurdinit.c: Likewise.
19261 * iconvdata/8bit-gap.c (struct): Likewise.
19262 * iconvdata/ansi_x3.110.c : Likewise.
19263 * iconvdata/big5.c : Likewise.
19264 * iconvdata/big5hkscs.c : Likewise.
19265 * iconvdata/cp1255.c: Likewise.
19266 * iconvdata/cp1258.c : Likewise.
19267 * iconvdata/cp932.c : Likewise.
19268 * iconvdata/euc-cn.c: Likewise.
19269 * iconvdata/euc-jisx0213.c : Likewise.
19270 * iconvdata/euc-jp.c: Likewise.
19271 * iconvdata/euc-jp-ms.c : Likewise.
19272 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19273 * iconvdata/gb18030.c : Likewise.
19274 * iconvdata/gbbig5.c (const): Likewise.
19275 * iconvdata/gbgbk.c: Likewise.
19276 * iconvdata/gbk.c : Likewise.
19277 * iconvdata/ibm1364.c : Likewise.
19278 * iconvdata/ibm930.c : Likewise.
19279 * iconvdata/ibm932.c: Likewise.
19280 * iconvdata/ibm933.c : Likewise.
19281 * iconvdata/ibm935.c : Likewise.
19282 * iconvdata/ibm937.c : Likewise.
19283 * iconvdata/ibm939.c : Likewise.
19284 * iconvdata/ibm943.c: Likewise.
19285 * iconvdata/iso_11548-1.c: Likewise.
19286 * iconvdata/iso-2022-cn.c : Likewise.
19287 * iconvdata/iso-2022-cn-ext.c : Likewise.
19288 * iconvdata/iso-2022-jp-3.c: Likewise.
19289 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19290 * iconvdata/iso-2022-kr.c : Likewise.
19291 * iconvdata/iso646.c (gconv_end): Likewise.
19292 * iconvdata/iso_6937-2.c : Likewise.
19293 * iconvdata/iso_6937.c : Likewise.
19294 * iconvdata/iso8859-1.c: Likewise.
19295 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19296 * iconvdata/shift_jisx0213.c : Likewise.
19297 * iconvdata/sjis.c : Likewise.
19298 * iconvdata/t.61.c : Likewise.
19299 * iconvdata/tcvn5712-1.c : Likewise.
19300 * iconvdata/tscii.c: Likewise.
19301 * iconvdata/uhc.c : Likewise.
19302 * iconvdata/unicode.c (gconv_end): Likewise.
19303 * iconvdata/utf-16.c (gconv_end): Likewise.
19304 * iconvdata/utf-32.c (gconv_end): Likewise.
19305 * iconvdata/utf-7.c (base64): Likewise.
19306 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19307 * iconv/gconv_close.c (__gconv_close): Likewise.
19308 * iconv/gconv_open.c (__gconv_open): Likewise.
19309 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19310 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19311 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19312 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19313 (ucs4le_internal_loop_single): Likewise.
19314 * iconv/iconv.c (iconv): Likewise.
19315 * iconv/iconv_close.c: Likewise.
19316 * iconv/loop.c (SINGLE): Likewise.
19317 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19318 * include/atomic.h: Likewise.
19319 * inet/inet6_option.c (option_alloc): Likewise.
19320 * intl/bindtextdom.c (set_binding_values): Likewise.
19321 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19322 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19323 * intl/localealias.c (read_alias_file): Likewise.
19324 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19325 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19326 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19327 * libio/fmemopen.c (fmemopen): Likewise.
19328 * libio/iofgets.c (_IO_fgets): Likewise.
19329 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19330 * libio/iofgetws.c (fgetws): Likewise.
19331 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19332 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19333 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19334 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19335 * locale/findlocale.c (_nl_find_locale): Likewise.
19336 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19337 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19339 * locale/setlocale.c (setlocale): Likewise.
19340 * login/programs/pt_chown.c (main): Likewise.
19341 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19342 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19343 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19344 (mmap, mmap64, mremap, munmap): Likewise.
19345 * math/e_exp2l.c: Likewise.
19346 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19347 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19348 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19349 * math/s_catan.c (__catan): Likewise.
19350 * math/s_catanf.c (__catanf): Likewise.
19351 * math/s_catanh.c (__catanh): Likewise.
19352 * math/s_catanhf.c (__catanhf): Likewise.
19353 * math/s_catanhl.c (__catanhl): Likewise.
19354 * math/s_catanl.c (__catanl): Likewise.
19355 * math/s_ccosh.c (__ccosh): Likewise.
19356 * math/s_ccoshf.c (__ccoshf): Likewise.
19357 * math/s_ccoshl.c (__ccoshl): Likewise.
19358 * math/s_cexp.c (__cexp): Likewise.
19359 * math/s_cexpf.c (__cexpf): Likewise.
19360 * math/s_cexpl.c (__cexpl): Likewise.
19361 * math/s_clog10.c (__clog10): Likewise.
19362 * math/s_clog10f.c (__clog10f): Likewise.
19363 * math/s_clog10l.c (__clog10l): Likewise.
19364 * math/s_clog.c (__clog): Likewise.
19365 * math/s_clogf.c (__clogf): Likewise.
19366 * math/s_clogl.c (__clogl): Likewise.
19367 * math/s_csin.c (__csin): Likewise.
19368 * math/s_csinf.c (__csinf): Likewise.
19369 * math/s_csinh.c (__csinh): Likewise.
19370 * math/s_csinhf.c (__csinhf): Likewise.
19371 * math/s_csinhl.c (__csinhl): Likewise.
19372 * math/s_csinl.c (__csinl): Likewise.
19373 * math/s_csqrt.c (__csqrt): Likewise.
19374 * math/s_csqrtf.c (__csqrtf): Likewise.
19375 * math/s_csqrtl.c (__csqrtl): Likewise.
19376 * math/s_ctan.c (__ctan): Likewise.
19377 * math/s_ctanf.c (__ctanf): Likewise.
19378 * math/s_ctanh.c (__ctanh): Likewise.
19379 * math/s_ctanhf.c (__ctanhf): Likewise.
19380 * math/s_ctanhl.c (__ctanhl): Likewise.
19381 * math/s_ctanl.c (__ctanl): Likewise.
19382 * math/w_pow.c: Likewise.
19383 * math/w_powf.c: Likewise.
19384 * math/w_powl.c: Likewise.
19385 * math/w_scalb.c (sysv_scalb): Likewise.
19386 * math/w_scalbf.c (sysv_scalbf): Likewise.
19387 * math/w_scalbl.c (sysv_scalbl): Likewise.
19388 * misc/error.c (error_tail): Likewise.
19389 * misc/pselect.c (__pselect): Likewise.
19390 * nis/nis_callback.c (__nis_create_callback): Likewise.
19391 * nis/nis_call.c (__nisfind_server): Likewise.
19392 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19393 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19394 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19395 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19396 * nis/nis_lookup.c (nis_lookup): Likewise.
19397 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19398 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19399 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19400 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19401 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19402 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19403 * nis/nss_compat/compat-initgroups.c (add_group)
19404 (internal_getgrent_r): Likewise.
19405 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19406 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19407 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19408 (internal_getspnam_r): Likewise.
19409 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19410 (_nss_nis_getaliasbyname_r): Likewise.
19411 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19412 (_nss_nis_getntohost_r): Likewise.
19413 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19414 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19415 (_nss_nis_getgrgid_r): Likewise.
19416 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19417 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19418 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19419 (_nss_nis_gethostbyname4_r): Likewise.
19420 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19421 (initgroups_netid): Likewise.
19422 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19423 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19424 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19425 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19426 (_nss_nis_getprotobynumber_r): Likewise.
19427 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19428 (_nss_nis_getsecretkey): Likewise.
19429 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19430 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19431 (_nss_nis_getpwuid_r): Likewise.
19432 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19433 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19434 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19435 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19436 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19437 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19438 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19440 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19441 (_nss_nisplus_getntohost_r): Likewise.
19442 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19443 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19444 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19445 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19447 * nis/nss_nisplus/nisplus-initgroups.c
19448 (_nss_nisplus_initgroups_dyn): Likewise.
19449 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19450 (_nss_nisplus_getnetbyaddr_r): Likewise.
19451 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19452 (_nss_nisplus_getprotobynumber_r): Likewise.
19453 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19454 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19455 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19457 * nis/nss_nisplus/nisplus-service.c
19458 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19459 (_nss_nisplus_getservbyport_r): Likewise.
19460 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19461 (_nss_nisplus_getspnam_r): Likewise.
19462 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19464 * nscd/aicache.c (addhstaiX): Likewise.
19465 * nscd/cache.c (cache_search, prune_cache): Likewise.
19466 * nscd/connections.c (register_traced_file, send_ro_fd)
19467 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19468 (main_loop_epoll): Likewise.
19469 * nscd/grpcache.c (addgrbyX): Likewise.
19470 * nscd/hstcache.c (addhstbyX): Likewise.
19471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19472 * nscd/mem.c (gc, mempool_alloc): Likewise.
19473 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19474 (addinnetgrX): Likewise.
19475 * nscd/nscd-client.h (__nscd_acquire_maplock)
19476 (__nscd_drop_map_ref): Likewise.
19477 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19478 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19479 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19481 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19483 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19484 (__nscd_get_map_ref): Likewise.
19485 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19486 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19488 * nscd/pwdcache.c (addpwbyX): Likewise.
19489 * nscd/selinux.c (preserve_capabilities): Likewise.
19490 * nscd/servicescache.c (addservbyX): Likewise.
19491 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19492 * posix/fnmatch.c (fnmatch): Likewise.
19493 * posix/getopt.c (_getopt_internal_r): Likewise.
19494 * posix/glob.c (glob, glob_in_dir): Likewise.
19495 * posix/wordexp.c (exec_comm_child): Likewise.
19496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19497 (getanswer_r, gaih_getanswer_slice): Likewise.
19498 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19499 * resolv/res_init.c: Likewise.
19500 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19501 * resolv/res_query.c (__libc_res_nquery): Likewise.
19502 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19504 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19505 * stdio-common/perror.c (perror): Likewise.
19506 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19507 * stdio-common/tmpnam.c (tmpnam): Likewise.
19508 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19509 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19510 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19512 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19513 * stdlib/putenv.c (putenv): Likewise.
19514 * stdlib/setenv.c (__add_to_environ): Likewise.
19515 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19516 * stdlib/strtol_l.c (INTERNAL): Likewise.
19517 * string/memmem.c (memmem): Likewise.
19518 * string/strerror.c (strerror): Likewise.
19519 * string/strnlen.c (__strnlen): Likewise.
19520 * string/test-memmem.c (simple_memmem): Likewise.
19521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19522 * sunrpc/pm_getport.c (__get_socket): Likewise.
19523 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19524 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19525 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19526 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19528 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19529 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19530 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19531 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19532 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19533 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19535 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19537 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19538 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19539 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19540 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19541 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19543 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19544 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19545 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19546 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19547 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19548 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19554 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19556 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19557 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19558 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19559 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19560 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19569 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19571 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19573 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19575 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19579 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19581 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19582 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19583 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19584 * sysdeps/posix/sleep.c: Likewise.
19585 * sysdeps/posix/tempname.c: Likewise.
19586 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19587 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19589 * sysdeps/powerpc/powerpc32/dl-machine.h
19590 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19591 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19593 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19594 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19596 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19597 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19598 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19600 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19601 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19602 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19603 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19604 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19605 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19607 (elf_machine_lazy_rel): Likewise.
19608 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19609 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19610 (elf_machine_lazy_rel): Likewise.
19611 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19612 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19613 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19614 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19615 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19616 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19617 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19618 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19620 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19621 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19622 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19623 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19624 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19625 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19626 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19627 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19629 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19630 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19632 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19633 (__posix_fallocate64_l64): Likewise.
19634 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19635 (posix_fallocate): Likewise.
19636 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19638 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19639 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19640 (getifaddrs_internal): Likewise.
19641 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19642 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19643 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19644 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19645 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19646 (__posix_fallocate64_l64): Likewise.
19647 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19649 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19650 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19651 (__get_clockfreq): Likewise.
19652 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19653 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19654 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19655 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19657 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19658 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19659 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19661 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19662 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19663 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19664 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19665 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19666 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19667 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19669 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19670 (posix_fallocate): Likewise.
19671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19672 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19673 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19674 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19675 (elf_machine_rela, elf_machine_rela_relative)
19676 (elf_machine_lazy_rel): Likewise.
19677 * time/asctime.c (asctime_internal): Likewise.
19678 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19679 * time/tzset.c (__tzset_parse_tz): Likewise.
19680 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19681 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19682 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19683 * wcsmbs/wcsmbsload.h: Likewise.
19686 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19688 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19689 (arena_get2): Remove THREAD_STATS conditionals.
19690 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19691 (__malloc_stats, int): Likewise.
19693 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19695 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19696 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19698 * manual/setjmp.texi: Fix typos/grammar errors.
19700 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19701 Only return early when n is <= 0. Delete unused return statement.
19703 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19704 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19705 * debug/tst-longjmp_chk3.c: New file.
19707 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19708 (test_main): Replace code with set_fortify_handler call.
19709 * debug/test-strcpy_chk.c: Likewise.
19710 * debug/tst-chk1.c: Likewise.
19711 * debug/tst-longjmp_chk.c: Likewise.
19712 * test-skeleton.c: Include fcntl.h & paths.h
19713 (set_fortify_handler): Define.
19715 * debug/tst-longjmp_chk.c: Add header comment and include
19716 ../test-skeleton.c.
19717 (do_test): Mark static.
19718 (TEST_FUNCTION): Define.
19720 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19721 (IP_PMTUDISC_INTERFACE): Likewise.
19722 (IP_MULTICAST_IF): Likewise.
19723 (IP_MULTICAST_TTL): Likewise.
19724 (IP_MULTICAST_LOOP): Likewise.
19725 (IP_ADD_MEMBERSHIP): Likewise.
19726 (IP_DROP_MEMBERSHIP): Likewise.
19727 (IP_UNBLOCK_SOURCE): Likewise.
19728 (IP_BLOCK_SOURCE): Likewise.
19729 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19730 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19731 (IP_MSFILTER): Likewise.
19732 (MCAST_JOIN_GROUP): Likewise.
19733 (MCAST_BLOCK_SOURCE): Likewise.
19734 (MCAST_UNBLOCK_SOURCE): Likewise.
19735 (MCAST_LEAVE_GROUP): Likewise.
19736 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19737 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19738 (MCAST_MSFILTER): Likewise.
19739 (IP_MULTICAST_ALL): Likewise.
19740 (IP_UNICAST_IF): Likewise.
19742 * timezone/Makefile: Delete $(have-ksh) check.
19743 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19744 * timezone/tzselect.ksh: Add +x mode bits.
19746 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19747 (ANON_INODE_FS_MAGIC): Likewise.
19748 (BDEVFS_MAGIC): Likewise.
19749 (BINFMTFS_MAGIC): Likewise.
19750 (BTRFS_TEST_MAGIC): Likewise.
19751 (CRAMFS_MAGIC_WEND): Likewise.
19752 (DEBUGFS_MAGIC): Likewise.
19753 (ECRYPTFS_SUPER_MAGIC): Likewise.
19754 (EXT3_SUPER_MAGIC): Likewise.
19755 (EXT4_SUPER_MAGIC): Likewise.
19756 (FUTEXFS_SUPER_MAGIC): Likewise.
19757 (HOSTFS_SUPER_MAGIC): Likewise.
19758 (HUGETLBFS_MAGIC): Likewise.
19759 (MINIX3_SUPER_MAGIC): Likewise.
19760 (MTD_INODE_FS_MAGIC): Likewise.
19761 (NILFS_SUPER_MAGIC): Likewise.
19762 (OPENPROM_SUPER_MAGIC): Likewise.
19763 (PIPEFS_MAGIC): Likewise.
19764 (PSTOREFS_MAGIC): Likewise.
19765 (QNX6_SUPER_MAGIC): Likewise.
19766 (RAMFS_MAGIC): Likewise.
19767 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19768 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19769 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19770 (SECURITYFS_MAGIC): Likewise.
19771 (SELINUX_MAGIC): Likewise.
19772 (SMACK_MAGIC): Likewise.
19773 (SOCKFS_MAGIC): Likewise.
19774 (SQUASHFS_MAGIC): Likewise.
19775 (STACK_END_MAGIC): Likewise.
19776 (TMPFS_MAGIC): Likewise.
19777 (USBDEVICE_SUPER_MAGIC): Likewise.
19778 (V9FS_MAGIC): Likewise.
19779 (XENFS_SUPER_MAGIC): Likewise.
19780 (CRAMFS_MAGIC): Fix typo in comment.
19781 (EXT2_SUPER_MAGIC): Update comment.
19782 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19784 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19786 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19787 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19788 * sysdeps/unix/sysv/linux/arm: Move directory from
19789 ports/sysdeps/unix/sysv/linux/arm.
19790 * README: Update listing for arm-*-linux-gnueabi.
19792 * README: Remove mention of am33.
19794 2014-02-07 Roland McGrath <roland@hack.frob.com>
19796 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19797 than the comma operator, to avoid "rhs of comma has no effect"
19799 (__sigfillset, __sigandset, __sigorset): Likewise.
19800 * include/signal.h (__sigemptyset): Likewise.
19801 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19803 2014-02-07 Allan McRae <allan@archlinux.org>
19805 * version.h (RELEASE): Set to "development".
19806 (VERSION): Set to "2.19.90"
19807 * NEWS: Add 2.20 section.
19809 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19812 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19814 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19816 * manual/contrib.texi: Update entry for Carlos O'Donell,
19817 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19819 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19821 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19823 * sysdeps/unix/sysv/linux/kernel-features.h
19824 [__LINUX_KERNEL_VERSION >= 0x020621]
19825 (__ASSUME_PROC_PID_TASK_COMM): Define.
19827 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19830 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19831 conversion when destination buffer does not have enough space.
19832 * libio/tst-ftell-partial-wide.c: New test case.
19833 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19835 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19836 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19837 Leonard and Allan McRae.
19839 2014-02-04 David S. Miller <davem@davemloft.net>
19841 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19844 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19873 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19875 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19876 * shlib-versions: Likewise.
19878 2014-02-04 Roland McGrath <roland@hack.frob.com>
19879 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19881 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19882 (abilist-pattern): New variable, set to %-le.abilist.
19884 * Makerules (abilist-pattern): New variable.
19885 (vpath): Use $(abilist-pattern) in place of %.abilist.
19886 (check-abi-% pattern rule): Likewise.
19887 (check-abi, update-abi): Likewise.
19889 2014-02-04 Eric Wong <normalperson@yhbt.net>
19891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19893 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19895 * manual/startup.texi: Add next, previous, and top entries for
19896 the `Program Arguments' and `Environment Variables' nodes.
19898 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19900 * manual/macros.texi: Add comments before MTASC-safety macros.
19902 * manual/users.texi: Document MTASC-safety properties.
19904 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19905 (pthread_getspecific, pthread_setspecific): Format with
19906 @deftypefun, and add @safety note.
19907 * manual/signal.texi: Move comments that analyze the above
19908 functions to their home place.
19910 2014-02-03 Allan McRae <allan@archlinux.org>
19912 * po/sl.po: Update Slovenian translation from translation project.
19914 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19916 * manual/time.texi (timegm): Add missing blank after @c.
19917 Reported by Joseph Myers <joseph@codesourcery.com>.
19919 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19921 * manual/check-safety.sh: New.
19922 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19924 * manual/terminal.texi: Document MTASC-safety properties.
19926 * manual/filesys.texi: Document MTASC-safety properties.
19928 * manual/errno.texi: Document MTASC-safety properties.
19930 * manual/intro.texi: Document safety identifiers and
19933 * manual/string.texi (wcstok): Fix prototype.
19934 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19936 * manual/time.texi: Document MTASC-safety properties.
19938 * manual/string.texi: Document MTASC-safety properties.
19940 * manual/threads.texi: Document MTASC-safety properties.
19942 * manual/stdio.texi: Document MTASC-safety properties.
19944 * manual/syslog.texi: Document MTASC-safety properties.
19946 * manual/sysinfo.texi: Document MTASC-safety properties.
19948 * manual/startup.texi: Document MTASC-safety properties.
19950 * manual/socket.texi: Document MTASC-safety properties.
19952 * manual/signal.texi: Document MTASC-safety properties.
19954 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19956 * manual/setjmp.texi: Document MTASC-safety properties.
19958 * manual/search.texi: Document MTASC-safety properties.
19960 * manual/resource.texi: Document MTASC-safety properties.
19962 * manual/process.texi: Document MTASC-safety properties.
19964 * manual/platform.texi: Document MTASC-safety properties.
19966 * manual/pipe.texi: Document MTASC-safety properties.
19968 * manual/pattern.texi: Document MTASC-safety properties.
19970 * manual/message.texi: Document MTASC-safety properties.
19973 * manual/memory.texi: Document MTASC-safety properties.
19975 * manual/math.texi: Document MTASC-safety properties.
19977 * manual/locale.texi: Document MTASC-safety properties.
19979 * manual/llio.texi: Document MTASC-safety properties.
19981 * manual/libdl.texi: New.
19983 * manual/lang.texi: Document MTASC-safety properties.
19985 * manual/job.texi: Document MTASC-safety properties.
19987 * manual/getopt.texi: Document MTASC-safety properties.
19989 * manual/ctype.texi: Document MTASC-safety properties.
19991 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19994 * csu/libc-tls.c (static_map): Remove variable.
19995 (__libc_setup_tls): Use main executable's link map for TLS data.
19996 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19997 casing for LM_ID_BASE and GL(dl_nns).
19998 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19999 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20000 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20001 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20002 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20004 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20007 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20009 * manual/debug.texi: Document MTASC-safety properties.
20011 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20014 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20015 of __x86_64__ when disabling x87 inline functions.
20017 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20019 * manual/charset.texi: Document MTASC-safety properties.
20021 * manual/crypt.texi: Document MTASC-safety properties.
20023 * manual/conf.texi: Document MTASC-safety properties.
20025 * manual/arith.texi: Document MTASC-safety properties.
20027 * manual/argp.texi: Document MTASC-safety properties.
20029 * manual/macros.texi: Introduce macros to document multi
20030 thread, asynchronous signal and asynchronous cancellation
20032 * manual/intro.texi: Introduce the properties themselves.
20034 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20036 * sysdeps/sh/sh4/Makefile: New file.
20038 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20040 * math/gen-libm-test.pl ($srcdir): New variable.
20041 ($auto_input): Use it.
20043 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20046 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20047 access beyond array bounds when parsing netgroups file.
20049 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20050 the old buffer before realloc.
20052 2014-01-27 Allan McRae <allan@archlinux.org>
20054 * po/fr.po: Update French translation from translation project.
20056 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20058 * sysdeps/sh/libm-test-ulps: Regenerate.
20060 2014-01-24 David S. Miller <davem@davemloft.net>
20062 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20064 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20067 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20069 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20072 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20073 string pointers after reallocation.
20075 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20077 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20078 __SH4A__ instead of __SH_FPU_ANY__.
20080 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20082 * sysdeps/sh/fpu_control.h: New file.
20083 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20084 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20085 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20086 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20087 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20088 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20089 * sysdeps/sh/sys/ucontext.h: Remove.
20090 * sysdeps/sh/sys: Remove directory.
20092 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20094 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20095 s390/sys/ucontext.h.
20096 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20097 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20099 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20102 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20104 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20107 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20108 Adjust the vDSO correctly for internal calls.
20109 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20111 2014-01-20 Allan McRae <allan@archlinux.org>
20113 * po/ca.po: Update Catalan translation from translation project.
20115 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20117 * sysdeps/s390/sotruss-lib.c: New file.
20119 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20122 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20123 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20124 local calls issues by not having a PLT stub required for IFUNC calls.
20125 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20127 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20129 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20130 * math/test-fpucw-static.c: Likewise.
20132 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20135 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20137 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20139 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20140 implementation for powerpc.
20142 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20145 * sysdeps/posix/system.c (__libc_system): Do not enable
20146 asynchronous cancellation.
20148 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20151 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20152 handling only for numbers special also in the IEEE case.
20154 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20156 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20158 2014-01-11 Allan McRae <allan@archlinux.org>
20160 * po/bg.po: Update Bulgarian translation from translation project.
20162 * po/de.po: Update German translation from translation project.
20164 2014-01-10 Roland McGrath <roland@hack.frob.com>
20166 * sysdeps/generic/gcc-compat.h: New file.
20168 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20170 * benchtests/asin-inputs: Correct slow inputs.
20171 * benchtests/acos-inputs: Likewise.
20173 2014-01-10 Allan McRae <allan@archlinux.org>
20175 * po:sv.po: Update Swedish translation from translation project.
20177 * po/vi.po: Update Vietnamese translation from translation project.
20179 * po/eo.po: Update Esperanto translation from translation project.
20181 * po/cs.po: Update Czech translation from translation project.
20183 * po/nl.po: Update Dutch translation from translation project.
20185 * po/pl.po: Update Polish translation from translation project.
20187 * po/ru.po: Update Russian translation from translation project.
20189 * po/uk.po: Update Ukrainian translation from translation project.
20191 2014-01-08 Brooks Moses <bmoses@google.com>
20193 * elf/dl-load.c: Fix comment typo.
20195 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20197 * po/header.pot: Rename to...
20198 * po/pot.header: ... this.
20199 * po/Makefile: Use pot.header.
20201 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20202 Maxim Kuvyrkov <maxim@kugelworks.com>
20205 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20206 SRC and DEST against LEN.
20208 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20211 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20213 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20215 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20219 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20222 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20223 for large positive arguments.
20225 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20227 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20229 * math/auto-libm-test-in: Mark various tests with
20230 xfail-rounding:ldbl-128ibm.
20231 * math/auto-libm-test-out: Regenerated.
20234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20235 Increase overflow threshold.
20237 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20240 * stdio-common/vfprintf.c: Check for integer overflow.
20242 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20244 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20245 the first argument and return value of __tls_get_addr_internal.
20247 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20249 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20250 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20252 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20254 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20255 * sysdeps/s390/rtld-global-offsets.sym: New file.
20256 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20258 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20259 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20260 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20262 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20263 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20269 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20270 halfs of GPRs for high_gprs contexts.
20271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20272 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20274 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20276 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20278 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20279 for high GPRs (uc_high_gprs) and for future extensions
20281 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20282 for future extensions (__reserved).
20283 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20285 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20286 SC_HIGHGPRS offset definition.
20287 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20288 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20290 * Versions.def: Add GLIBC_2.19 for libpthread.
20291 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20292 siglongjmp for libpthread with GLIBC_2.19 symver.
20293 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20294 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20295 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20296 * sysdeps/s390/__longjmp.c: New file.
20297 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20298 * sysdeps/s390/longjmp.c: New file.
20299 * sysdeps/s390/setjmp.S: New file.
20300 * sysdeps/s390/sigjmp.S: New file.
20301 * sysdeps/s390/v1-longjmp.c: New file.
20302 * sysdeps/s390/v1-setjmp.h: New file.
20303 * sysdeps/s390/v1-sigjmp.c: New file.
20304 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20305 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20306 GLIBC_2.19 version.
20307 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20308 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20309 versioned symbols for ____longjmp_chk.
20310 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20320 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20321 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20322 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20323 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20324 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20325 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20326 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20327 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20328 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20329 * sysdeps/s390/rtld-__longjmp.c: New file.
20330 * sysdeps/s390/rtld-setjmp.S: New file.
20332 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20336 Return -__logl (x) for small positive arguments without evaluating
20339 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20341 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20343 (__ptrace_peeksiginfo_args): ... this.
20344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20345 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20346 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20348 2014-01-06 Allan McRae <allan@archlinux.org>
20350 * inet/netinet/in.h: Fix typo in comment.
20352 2014-01-05 Andreas Jaeger <aj@suse.de>
20354 * sysdeps/i386/fpu/libm-test-ulps: Update.
20356 2014-01-05 Allan McRae <allan@archlinux.org>
20358 * po/libc.pot: Regenerated.
20360 * malloc/memusagestat.c: Fix gettext call formatting.
20362 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20364 * nscd/nscd.c: Improve usage() output.
20366 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20368 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20369 * sysdeps/unix/sysv/linux/configure: Regenerated.
20370 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20371 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20373 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20376 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20377 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20379 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20381 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20382 extra tokens at end of #undef directive.
20383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20384 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20385 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20387 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20389 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20391 * math/auto-libm-test-in: Mark various tests with
20392 xfail-rounding:ldbl-128ibm.
20393 * math/auto-libm-test-out: Regenerated.
20395 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20399 numbers with subnormal high part when calculating exponent.
20402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20406 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20408 (__ieee754_acoshl): Use __log1pl not __log1p.
20410 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20412 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20413 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20414 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20415 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20416 (reused_arena, arena_get2): Convert to GNU style.
20417 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20418 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20419 (memalign_check, __malloc_set_state): Likewise.
20420 * malloc/mallocbug.c (main): Likewise.
20421 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20422 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20423 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20424 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20425 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20426 (__posix_memalign, malloc_info): Likewise.
20427 * malloc/malloc.h: Likewise.
20428 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20429 (mallochook, memalignhook, reallochook, mabort): Likewise.
20430 * malloc/mcheck.h: Likewise.
20431 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20432 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20433 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20434 * malloc/morecore.c (__default_morecore): Likewise.
20435 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20436 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20437 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20438 (print_and_abort): Likewise.
20439 * malloc/obstack.h: Likewise.
20440 * malloc/set-freeres.c (__libc_freeres): Likewise.
20441 * malloc/tst-mallocstate.c (main): Likewise.
20442 * malloc/tst-mtrace.c (main): Likewise.
20443 * malloc/tst-realloc.c (do_test): Likewise.
20445 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20448 * nscd/netgroupcache.c (do_notfound): New function.
20449 (addgetnetgrentX): Use it.
20452 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20453 NSS_STATUS_NOTFOUND.
20455 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20457 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20460 2014-01-01 Allan McRae <allan@archlinux.org>
20462 * scripts/update-copyrights: Update configure input file suffix.
20464 * NEWS: Update copyright year.
20465 * catgets/gencat.c: Likewise.
20466 * csu/version.c: Likewise.
20467 * debug/catchsegv.sh: Likewise.
20468 * debug/pcprofiledump.c: Likewise.
20469 * debug/xtrace.sh: Likewise.
20470 * elf/ldconfig.c: Likewise.
20471 * elf/ldd.bash.in: Likewise.
20472 * elf/pldd.c: Likewise.
20473 * elf/sotruss.ksh: Likewise.
20474 * elf/sprof.c: Likewise.
20475 * iconv/iconv_prog.c: Likewise.
20476 * iconv/iconvconfig.c: Likewise.
20477 * locale/programs/locale.c: Likewise.
20478 * locale/programs/localedef.c: Likewise.
20479 * login/programs/pt_chown.c: Likewise.
20480 * malloc/memusage.sh: Likewise.
20481 * malloc/memusagestat.c: Likewise.
20482 * malloc/mtrace.pl: Likewise.
20483 * manual/libc.texinfo: Likewise.
20484 * nscd/nscd.c: Likewise.
20485 * nss/getent.c: Likewise.
20486 * nss/makedb.c: Likewise.
20487 * posix/getconf.c: Likewise.
20488 * scripts/test-installation.pl: Likewise.
20490 * All files with FSF copyright notices: Update copyright dates
20491 using scripts/update-copyrights.
20492 * intl/plural.c: Regenerated.
20493 * locale/programs/charmap-kw.h: Likewise.
20494 * locale/programs/locfile-kw.h: Likewise.
20496 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20498 * sysdeps/unix/sysv/linux/configure: Regenerated.
20499 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20500 the linux/fanotify.h header.
20501 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20502 HAVE_LINUX_FANOTIFY_H is defined.
20504 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20506 * benchtests/cos-inputs: New inputs.
20507 * benchtests/sin-inputs: Likewise.
20509 * benchtests/atan-inputs: New inputs. Fix name of multiple
20510 precision fallback inputs.
20512 * benchtests/atanh-inputs: New inputs.
20513 * benchtests/tanh-inputs: Likewise.
20515 * benchtests/acosh-inputs: New inputs.
20516 * benchtests/asinh-inputs: Likewise.
20518 * benchtests/cosh-inputs: New inputs.
20519 * benchtests/sinh-inputs: Likewise.
20521 * benchtests/acos-inputs: Add more inputs.
20522 * benchtests/asin-inputs: Likewise.
20524 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20527 * manual/arith.texi: Fix spelling.
20528 * manual/charset.texi: Likewise.
20529 * manual/errno.texi: Likewise.
20530 * manual/filesys.texi: Likewise.
20531 * manual/lang.texi: Likewise.
20532 * manual/llio.texi: Likewise.
20533 * manual/locale.texi: Likewise.
20534 * manual/message.texi: Likewise.
20535 * manual/resource.texi: Likewise.
20536 * manual/search.texi: Likewise.
20537 * manual/setjmp.texi: Likewise.
20538 * manual/stdio.texi: Likewise.
20539 * manual/string.texi: Likewise.
20540 * manual/sysinfo.texi: Likewise.
20541 * manual/time.texi: Likewise.
20543 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20545 * po/sl.po: New file.
20547 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20549 * .gitignore: Add core/.gdbinit/.gdb_history.
20551 2013-12-27 Allan McRae <allan@archlinux.org>
20554 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20555 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20557 2013-12-24 Brooks Moses <bmoses@google.com>
20559 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20560 all compilers that claim C++98 compliance, not just GCC.
20561 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20564 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20566 * NEWS: Restore accidentally deleted bug-fix entries.
20568 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20569 Ondřej Bílka <neleai@seznam.cz>
20572 * malloc/malloc.c (_int_free): Perform sanity check only if we
20575 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20578 * manual/stdio.texi (String Input Conversions): Clarify that character
20579 classes are not supported.
20581 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20585 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20589 Calculate results for small negative arguments directly rather
20590 than using reflection formula with special underflow handling.
20592 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20593 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20594 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20595 (fchflags): Likewise.
20596 (revoke): Likewise.
20597 (setlogin): Likewise.
20598 (sigaltstack): Likewise.
20600 (sigblock): Remove.
20601 (sigsetmask): Likewise.
20603 (waitpid): Likewise.
20604 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20605 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20607 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20608 * sysdeps/unix/bsd/Makefile: ... here.
20609 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20610 * sysdeps/unix/bsd/Versions: ... here.
20611 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20612 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20613 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20614 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20615 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20616 * sysdeps/unix/bsd/sigblock.c: ... here.
20617 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20618 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20619 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20620 * sysdeps/unix/bsd/sigvec.c: ... here.
20621 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20622 * sysdeps/unix/bsd/tcdrain.c: ... here.
20623 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20624 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20625 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20626 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20627 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20628 * sysdeps/unix/bsd/wait.c: ... here.
20629 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20630 * sysdeps/unix/bsd/wait3.c: ... here.
20631 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20632 * sysdeps/unix/bsd/waitpid.c: ... here.
20634 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20637 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20638 round-to-nearest for [!USE_AS_EXPM1L].
20639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20640 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20641 more tests of exp and exp10. Expect some exp10 tests to miss
20642 exceptions or fail in directed rounding modes.
20643 * math/auto-libm-test-out: Regenerated.
20644 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20645 (exp10_test_tonearest): New function.
20646 (exp10_towardzero_test_data): New array.
20647 (exp10_test_towardzero): New function.
20648 (exp10_downward_test_data): New array.
20649 (exp10_test_downward): New function.
20650 (exp10_upward_test_data): New array.
20651 (exp10_test_upward): New function.
20652 (main): Call the new functions.
20653 * sysdeps/i386/fpu/libm-test-ulps: Update.
20654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20658 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20659 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20660 * math/auto-libm-test-out: Regenerated.
20661 * math/libm-test.inc (acosh_test_data): Add more tests.
20662 (atanh_test_data): Likewise.
20663 (ceil_test_data): Likewise.
20664 (copysign_test_data): Likewise.
20665 * sysdeps/i386/fpu/libm-test-ulps: Update.
20666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20668 * timezone/checktab.awk: Update from tzcode 2013i.
20669 * timezone/private.h: Likewise.
20670 * timezone/scheck.c: Likewise.
20671 * timezone/tzfile.h: Likewise.
20672 * timezone/tzselect.ksh: Likewise.
20673 * timezone/zdump.c: Likewise.
20674 * timezone/zic.c: Likewise.
20676 * math/auto-libm-test-in: Add tests of cpow.
20677 * math/auto-libm-test-out: Regenerated.
20678 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20681 (func_calc_desc): Add mpc_cc_c union field.
20682 (test_functions): Add cpow.
20683 (special_fill_2pi): New function.
20684 (special_real_inputs): Add 2pi.
20685 (calc_generic_results): Handle mpc_cc_c.
20686 * sysdeps/i386/fpu/libm-test-ulps: Update.
20687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20689 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20690 csqrt, ctan and ctanh.
20691 * math/auto-libm-test-out: Regenerated.
20692 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20693 (TEST_COND_x86): Likewise.
20694 (ccos_test_data): Use AUTO_TESTS_c_c.
20695 (ccosh_test_data): Likewise.
20696 (cexp_test_data): Likewise.
20697 (clog_test_data): Likewise.
20698 (csqrt_test_data): Likewise.
20699 (ctan_test_data): Likewise.
20700 (ctan_tonearest_test_data): Likewise.
20701 (ctan_towardzero_test_data): Likewise.
20702 (ctan_downward_test_data): Likewise.
20703 (ctan_upward_test_data): Likewise.
20704 (ctanh_test_data): Likewise.
20705 (ctanh_tonearest_test_data): Likewise.
20706 (ctanh_towardzero_test_data): Likewise.
20707 (ctanh_downward_test_data): Likewise.
20708 (ctanh_upward_test_data): Likewise.
20709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20711 (func_calc_desc): Add mpc_c_c union field.
20712 (FUNC_mpc_c_c): New macro.
20713 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20714 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20716 (special_fill_min_subnorm_p120): New function.
20717 (special_real_inputs): Add min_subnorm_p120.
20718 (calc_generic_results): Handle mpc_c_c.
20719 * sysdeps/i386/fpu/libm-test-ulps: Update.
20720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20725 (do_sin_slow): New functions.
20726 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20727 (cslow2, csloww1, csloww2): Use the new functions.
20729 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20730 Use M to change sign of result instead of X. Assume X is
20732 (csloww1): Likewise.
20736 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20737 arguments A and DA.
20741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20743 (sloww1): Don't adjust sign of DX.
20744 (csloww1): Likewise.
20745 (sloww2): Use X directly and don't adjust sign of DX.
20746 (csloww2): Likewise.
20748 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20750 * math/auto-libm-test-in: Add tests of cabs and carg.
20751 * math/auto-libm-test-out: Regenerated.
20752 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20753 (carg_test_data): Likewise.
20754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20756 (func_calc_desc): Add mpc_c_f union field.
20757 (test_functions): Add cabs and carg.
20758 (calc_generic_results): Handle mpc_c_f.
20760 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20761 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20762 as a macro and a compat symbol.
20763 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20764 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20765 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20766 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20767 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20768 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20770 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20772 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20774 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20776 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20778 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20780 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20781 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20784 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20788 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20790 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20791 trailing whitespace removed.
20792 * scripts/config.guess: Update to version 2013-11-29.
20793 * scripts/config.sub: Update to version 2013-10-01.
20795 * math/auto-libm-test-in: Add tests of sincos.
20796 * math/auto-libm-test-out: Regenerated.
20797 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20798 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20800 (func_calc_desc): Add mpfr_f_11 union field.
20801 (test_functions): Add sincos.
20802 (calc_generic_results): Handle mpfr_f_11.
20803 * sysdeps/i386/fpu/libm-test-ulps: Update.
20804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20806 2013-12-19 Andreas Schwab <schwab@suse.de>
20808 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20810 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20811 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20812 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20814 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20816 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20817 * sysdeps/i386/fpu/libm-test-ulps: Update.
20818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20821 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20822 round-to-nearest mode when using frndint.
20823 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20824 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20825 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20827 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20829 * math/auto-libm-test-out: Regenerated.
20830 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20831 (TEST_COND_x86): Likewise.
20832 (expm1_tonearest_test_data): New array.
20833 (expm1_test_tonearest): New function.
20834 (expm1_towardzero_test_data): New array.
20835 (expm1_test_towardzero): New function.
20836 (expm1_downward_test_data): New array.
20837 (expm1_test_downward): New function.
20838 (expm1_upward_test_data): New array.
20839 (expm1_test_upward): New function.
20840 (main): Run the new test functions.
20841 * sysdeps/i386/fpu/libm-test-ulps: Update.
20842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20844 * include/features.h: Update comment documenting feature test
20845 macros. Mention _DEFAULT_SOURCE in comment.
20846 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20847 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20848 _BSD_SOURCE and _SVID_SOURCE.
20849 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20850 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20851 !_SVID_SOURCE]: Likewise.
20852 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20853 (__USE_POSIX_IMPLICITLY): Define.
20854 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20855 (_POSIX_SOURCE): Undefine and redefine.
20856 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20857 (_POSIX_C_SOURCE): Likewise.
20858 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20859 (Feature Test Macros): Update documentation of default features.
20861 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20863 * benchtests/Makefile: Add bench-strtok.
20864 * benchtests/bench-strtok.c: New file: strtok benchtest.
20866 2013-12-19 Allan McRae <allan@archlinux.org>
20868 * manual/install.texi: Suppress menu for plain text output.
20869 * INSTALL: Regenerated.
20871 2013-12-18 Brooks Moses <bmoses@google.com>
20874 * misc/getauxval.c: Include errno.h.
20875 (__getauxval): Set errno to ENOENT if the requested type is not
20877 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20878 don't declare with __attribute_const__.
20879 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20880 * manual/startup.texi: Document that getauxval sets errno.
20882 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20884 * math/auto-libm-test-in: Add tests of jn and yn.
20885 * math/auto-libm-test-out: Regenerated.
20886 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20887 (yn_test_data): Likewise.
20888 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20890 (func_calc_desc): Add mpfr_if_f union field.
20891 (FUNC_mpfr_if_f): New macro.
20892 (test_functions): Add jn and yn.
20893 (calc_generic_results): Assert type of second input for
20894 mpfr_ff_f. Handle mpfr_if_f.
20895 (output_for_one_input_case): Disable all checking for arguments
20896 fitting floating-point types in case of an integer argument.
20897 * sysdeps/i386/fpu/libm-test-ulps: Update.
20898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20901 Don't expect fegetround reference in libm.so.
20903 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20905 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20906 $(config-cflags-nofma).
20908 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20910 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20911 * math/auto-libm-test-out: Regenerated.
20914 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20915 to determine exponent and adjust argument to have exponent of -1.
20916 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20918 * math/auto-libm-test-out: Regenerated.
20919 * sysdeps/i386/fpu/libm-test-ulps: Update.
20920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20922 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20924 * manual/probes.texi: Remove cases when per-thread arenas are
20927 2013-12-18 Andreas Schwab <schwab@suse.de>
20929 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20930 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20931 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20932 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20933 * sysdeps/i386/i686/multiarch/Makefile: Update.
20934 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20936 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20938 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20939 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20941 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20944 Support TZ transition times < 00:00:00.
20945 This is needed for version-3 tz-format files; it supports time
20946 stamps past 2037 for America/Godthab (the only entry in the tz
20947 database for which this change is relevant).
20948 * manual/time.texi (TZ Variable): Document transition times
20949 from -167:59:59 through -00:00:01.
20950 * time/tzset.c (tz_rule): Time of day is now signed.
20951 (__tzset_parse_tz): Parse negative time of day.
20953 Document TZ transition times >= 25:00:00.
20954 * manual/time.texi (TZ Variable): Document transition times from
20955 25:00:00 through 167:59:59. These are already supported, and this
20956 support will help with version-3 tz-format files.
20958 * manual/time.texi (TZ Variable): Modernize North America example
20959 to reflect current (i.e., 2007-and-later) daylight saving rules.
20961 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20963 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20965 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20966 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20969 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20970 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20971 * sysdeps/unix/bsd/clock.c: Likewise.
20972 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20973 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20974 * sysdeps/unix/bsd/init-posix.c: Likewise.
20975 * sysdeps/unix/bsd/poll.c: Likewise.
20976 * sysdeps/unix/bsd/ptsname.c: Likewise.
20977 * sysdeps/unix/bsd/seekdir.c: Likewise.
20978 * sysdeps/unix/bsd/setegid.c: Likewise.
20979 * sysdeps/unix/bsd/seteuid.c: Likewise.
20980 * sysdeps/unix/bsd/setgid.c: Likewise.
20981 * sysdeps/unix/bsd/setrgid.c: Likewise.
20982 * sysdeps/unix/bsd/setruid.c: Likewise.
20983 * sysdeps/unix/bsd/setsid.c: Likewise.
20984 * sysdeps/unix/bsd/setuid.c: Likewise.
20985 * sysdeps/unix/bsd/sigaction.c: Likewise.
20986 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20987 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20988 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20989 * sysdeps/unix/bsd/telldir.c: Likewise.
20990 * sysdeps/unix/bsd/times.c: Likewise.
20991 * sysdeps/unix/bsd/usleep.c: Likewise.
20993 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20994 ($(objpfx)libbsd-compat.a): Remove rule.
20996 * include/features.h (__FAVOR_BSD): Do not define.
20997 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20998 features conflicting with POSIX.
20999 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21000 (_BSD_SOURCE): Remove description of not being a subset of other
21001 feature test macros.
21002 * manual/job.texi (getpgrp): Do not document BSD version.
21003 (getpgid): Do not document by reference to BSD getpgrp.
21004 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21005 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21006 * signal/signal.h [__FAVOR_BSD]: Likewise.
21007 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21008 instead of making contents conditional on [__FAVOR_BSD].
21009 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21011 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21015 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21018 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21019 values below 2**-450, not 2**-500.
21020 * math/auto-libm-test-in: Don't allow spurious underflow from
21022 * math/auto-libm-test-out: Regenerated.
21026 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21027 values of ha and hb and sort them after adjusting subnormal
21029 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21031 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21032 values of ea and eb and sort them after adjusting subnormal
21034 * math/auto-libm-test-in: Do not expect some hypot tests of
21035 subnormals to fail. Add more hypot tests.
21036 * math/auto-libm-test-out: Regenerated.
21038 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21041 * sysdeps/sh/s_fma.c: New file.
21042 * sysdeps/sh/s_fmaf.c: New file.
21043 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21045 * sysdeps/sh/Implies: Add sh/soft-fp.
21047 2013-12-16 Roland McGrath <roland@hack.frob.com>
21049 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21050 level of indirection to members `objname', `errstring', `malloced'.
21051 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21052 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21053 it as the __longjmp argument (just pass 1 instead).
21054 (_dl_catch_error): Initialize C with argument pointers and address of
21055 volatile local ERRCODE rather than copying values out of C at return.
21057 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21059 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21060 * math/auto-libm-test-out: Regenerated.
21061 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21062 (hypot_test_data): Likewise.
21063 (pow_test_data): Likewise.
21064 (pow_tonearest_test_data): Likewise.
21065 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21067 (func_calc_desc): Add mpfr_ff_f union field.
21068 (FUNC_mpfr_ff_f): New macro.
21069 (test_functions): Add atan2, hypot and pow.
21070 (special_fill_min): New function.
21071 (special_fill_minus_min): Likewise.
21072 (special_fill_min_subnorm): Likewise.
21073 (special_fill_minus_min_subnorm): Likewise.
21074 (special_real_inputs): Add min, -min, min_subnorm and
21076 (calc_generic_results): Handle mpfr_ff_f.
21077 * sysdeps/i386/fpu/libm-test-ulps: Update.
21078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21080 2013-12-16 Will Newton <will.newton@linaro.org>
21082 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21083 (Aligned Memory Blocks): Add documentation for aligned_alloc
21084 and suggest it as an alternative to posix_memalign.
21085 (Hooks for Malloc): Document __memalign_hook is also called
21086 for aligned_alloc. (Summary of Malloc): Add summary for
21087 aligned alloc. Document __memalign_hook is also called
21090 2013-12-16 Will Newton <will.newton@linaro.org>
21092 * manual/memory.texi (Malloc Examples): Clarify default
21093 alignment documentation. Suggest posix_memalign rather
21094 than memalign or valloc.
21095 (Aligned Memory Blocks): Remove suggestion to use memalign
21096 or valloc. Remove obsolete comment about BSD.
21097 Document memalign errno values and mark the function obsolete.
21098 Document posix_memalign returned error codes. Mark valloc
21099 as obsolete. (Hooks for Malloc): __memalign_hook is also
21100 called for posix_memalign and valloc.
21101 (Summary of Malloc): Add posix_memalign to function summary.
21102 __memalign_hook is also called for posix_memalign and valloc.
21104 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21106 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21110 (sloww): Use mynumber union. Expand ternary operator into
21111 if-else statements.
21112 (cslow): use mynumber union.
21114 2013-12-16 Allan McRae <allan@archlinux.org>
21116 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21117 * configure: Regenerated.
21119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21122 * configure.ac: Added --enable-maintainer-mode. Check for
21123 autoconf when enabled.
21124 * configure: Regenerated.
21126 * nscd/nscd.service: New file.
21127 * nscd/nscd.tmpfiles: New file.
21129 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21132 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21133 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21134 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21135 (strstr): Add __strstr_sse2_unaligned ifunc.
21136 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21137 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21138 (strcasestr): Remove __strcasestr_sse42 ifunc.
21139 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21143 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21145 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21146 * sysdeps/sh/bits/fenv.h: ... here.
21147 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21149 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21151 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21154 hypotf multiarch implementations.
21155 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21156 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21157 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21158 multiarch hypot for PPC64.
21159 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21161 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21162 multiarch hypotf for PPC64.
21164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21165 modff multiarch implementations.
21166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21169 multiarch modf for PPC64.
21170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21173 multiarch modff for PPC64.
21175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21176 and logl multiarch implementations.
21177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21180 multiarch logb for PPC64.
21181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21184 multiarch logb for PPC64.
21185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21188 multiarch logb for PPC64.
21190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21191 isinff multiarch implementation.
21192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21196 multiarch isinf for PPC64.
21197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21200 multiarch isinff for PPC64.
21202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21203 finitef multiarch implementation.
21204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21208 multiarch finite for PPC64.
21209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21212 multiarch finitef for PPC64.
21214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21215 lrint multiarch implementation.
21216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21220 multiarch llrint for PPC64.
21221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21222 multiarch lrint for PPC64.
21224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21225 copysignf multiarch implementation.
21226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21231 multiarch copysign for PPC64.
21232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21233 multiarch copysignf for PPC64.
21235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21236 multiarch implementation.
21237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21245 multiarch llround for PPC64.
21246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21247 multiarch trunc for PPC64.
21248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21249 multiarch truncf for PPC64.
21251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21252 multiarch implementation.
21253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21261 multiarch llround for PPC64.
21262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21263 multiarch round for PPC64.
21264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21265 multiarch roundf for PPC64.
21267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21268 multiarch implementation.
21269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21277 multiarch llround for PPC64.
21278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21279 multiarch floor for PPC64.
21280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21281 multiarch floorf for PPC64.
21283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21284 multiarch implementation.
21285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21293 multiarch llround for PPC64.
21294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21295 multiarch ceil for PPC64.
21296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21297 multiarch ceilf for PPC64.
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21300 multiarch implementation.
21301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21308 multiarch llround for PPC64.
21309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21310 multiarch lround for PPC64.
21312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21313 multiarch implementation.
21314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21321 multiarch isnan for PPC64.
21322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21323 multiarch isnanf for PPC64.
21325 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21326 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21327 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21328 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21329 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21332 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21338 multiarch implementations.
21339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21340 (__libc_ifunc_impl_list): Likewise.
21341 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21342 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21343 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21344 multiarch stpcpy for PPC64.
21346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21347 multiarch implementations.
21348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21349 (__libc_ifunc_impl_list): Likewise.
21350 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21351 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21352 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21353 multiarch strcpy for PPC64.
21355 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21356 redefine function name.
21357 (_wordcopy_fwd_dest_aligned): Likewise.
21358 (_wordcopy_bwd_aligned): Likewise.
21359 (_wordcopy_bwd_dest_aligned): Likewise.
21360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21361 multiarch implementations.
21362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21363 (__libc_ifunc_impl_list): Likewise.
21364 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21365 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21366 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21367 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21368 multiarch wcscpy for PPC64.
21370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21371 multiarch implementations.
21372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21373 (__libc_ifunc_impl_list): Likewise.
21374 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21375 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21376 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21377 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21378 multiarch wcscpy for PPC64.
21380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21381 multiarch implementations.
21382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21383 (__libc_ifunc_impl_list): Likewise.
21384 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21385 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21386 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21387 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21388 multiarch wcsrchr for PPC64.
21390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21391 multiarch implementations.
21392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21393 (__libc_ifunc_impl_list): Likewise.
21394 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21395 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21396 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21397 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21398 multiarch wcschr for PPC64.
21400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21401 multiarch implementations.
21402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21403 (__libc_ifunc_impl_list): Likewise.
21404 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21405 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21406 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21407 multiarch strchrnul for PPC64.
21409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21412 (__libc_ifunc_impl_list): Likewise.
21413 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21414 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21415 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21416 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21422 (__libc_ifunc_impl_list): Likewise.
21423 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21424 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21425 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21426 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21430 multiarch implementations.
21431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21432 (__libc_ifunc_impl_list): Likewise.
21433 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21434 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21435 strncasecmp for PPC64.
21436 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21437 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21438 multiarch strncasecmp_l for PPC64.
21440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21441 multiarch implementations.
21442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21443 (__libc_ifunc_impl_list): Likewise.
21444 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21445 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21446 multiarch strcasecmp for PPC64.
21447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21449 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21450 multiarch strcasecmp_l for PPC64.
21452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21455 (__libc_ifunc_impl_list): Likewise.
21456 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21457 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21458 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21464 (__libc_ifunc_impl_list): Likewise.
21465 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21466 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21473 (__libc_ifunc_impl_list): Likewise.
21474 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21475 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21476 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21477 rawmemrchr for PPC64.
21479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21482 (__libc_ifunc_impl_list): Likewise.
21483 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21484 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21485 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21491 (__libc_ifunc_impl_list): Likewise.
21492 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21493 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21494 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21500 (__libc_ifunc_impl_list): Likewise.
21501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21502 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21503 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21506 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21507 avoid cretion of __bzero symbol.
21508 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21510 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21512 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21515 multiarch implementations.
21516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21517 (__libc_ifunc_impl_list): Likewise.
21518 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21519 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21520 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21521 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21523 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21524 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21525 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21526 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21527 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21529 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21531 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21535 (__libc_ifunc_impl_list): Likewise.
21536 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21537 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21538 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21539 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21543 multiarch for POWER/PPC64.
21544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21545 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21546 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21547 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21548 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21552 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21555 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21556 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21557 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21558 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21559 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21560 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21561 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21562 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21563 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21564 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21565 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21566 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21567 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21568 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21569 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21578 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21580 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21582 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21584 * benchtests/Makefile (bench): Add exp2 and log2.
21585 (LDLIBS-bench-exp2): Add -lm.
21586 (LDLIBS-bench-log2): Likewise.
21587 * benchtests/exp2-inputs: New inputs file.
21588 * benchtests/log2-inputs: New inputs file.
21589 * benchtests/log-inputs: Add new inputs.
21590 * benchtests/tan-inputs: Likewise.
21592 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21594 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21596 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21597 (csloww2): ... from here.
21599 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21600 instead of structures.
21601 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21602 (POLYNOMIAL): Likewise.
21603 (TAYLOR_SLOW): Likewise.
21609 (sloww1); Likewise.
21610 (sloww2): Likewise.
21611 (bsloww1): Likewise.
21612 (bsloww2): Likewise.
21613 (cslow2): Likewise.
21614 (csloww): Likewise.
21615 (csloww1): Likewise.
21616 (csloww2): Likewise.
21618 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21620 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21621 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21622 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21623 * malloc/hooks.c (realloc_check): Likewise.
21625 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21626 * malloc/arena.c: Remove PER_THREAD conditional.
21627 [!PER_THREAD]: Remove code.
21628 (ptmalloc_unlock_all2): Likewise.
21629 (ptmalloc_init): Likewise.
21630 (_int_new_arena): Likewise.
21631 (arena_get2): Likewise.
21632 * malloc/hooks.c (__malloc_get_state): Likewise.
21633 (__malloc_set_state): Likewise.
21634 * malloc/malloc.c: Likewise.
21635 (struct malloc_state): Likewise.
21636 (struct malloc_par): Likewise.
21637 (__libc_realloc): Likewise.
21638 (__libc_mallopt): Likewise.
21640 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21642 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21644 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21646 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21647 macro to a function. Check for zero perturb_byte.
21648 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21650 * malloc/malloc.c: (force_reg): Remove.
21651 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21652 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21653 force_reg by atomic_forced_read.
21654 * malloc/arena.c (ptmalloc_init): Likewise.
21655 * malloc/hooks.c (top_check): Likewise.
21657 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21661 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21665 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21667 * math/auto-libm-test-in: Add tests of lgamma.
21668 * math/auto-libm-test-out: Regenerated.
21669 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21670 (M_LOG_2_SQRT_PIl): Likewise.
21671 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21672 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21674 (func_calc_desc): Add mpfr_f_f1 union field.
21675 (ARGS1): New macro.
21683 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21684 (test_functions): Add lgamma.
21685 (calc_generic_results): Handle mpfr_f_f1.
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21689 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21691 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21692 __mpn_add_n for PowerPC64/POWER7.
21693 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21694 __mpn_sub_n for PowerPC64/POWER7.
21696 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21697 __mpn_addmul_1 for PowerPC64.
21698 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21699 __mpn_submul_1 for PowerPC64.
21700 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21702 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21705 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21708 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21710 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21712 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21714 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21715 add multiarch folders.
21716 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21717 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21718 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21719 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21720 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21721 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21722 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21723 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21724 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21725 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21726 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21735 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21741 multiarch __ieee754_hypot for PowerPC32.
21742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21747 multiarch __ieee754_hypotf for PowerPC32.
21749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21750 long_double_symbol only if __logbl is defined.
21751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21752 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21754 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21756 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21757 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21758 path for implementation.
21759 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21762 logb, and logbl multiarch implementations for PowerPC32.
21763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21768 multiarch logb for PowerPC32.
21769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21774 multiarch logbf for PowerPC32.
21775 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21779 multiarch logbl implementation for PowerPC32.
21781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21782 and modff multiarch implementations.
21783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21788 multiarch modf for PowerPC32.
21789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21794 multiarch modff for PowerPC32.
21796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21797 and lrintf multiarch implementations.
21798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21803 multiarch lrint for PowerPC32.
21804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21805 file: multiarch lrintf for PowerPC32.
21807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21808 and lroundf multiarch implementations.
21809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21816 multiarch lround for PowerPC32.
21817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21818 file: multiarch lroundf for PowerPC32.
21820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21821 copysign and copysignf multiarch implementations.
21822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21827 file: multiarch copysign for PowerPC32.
21828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21829 file: multiarch copysignf for PowerPC32.
21831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21832 and truncf multiarch implementations.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21838 multiarch trunc for PowerPC32.
21839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21844 multiarch truncf for PowerPC32.
21846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21847 and roundf multiarch implementations.
21848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21853 multiarch round for PowerPC32.
21854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21859 multiarch roundf for PowerPC32.
21861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21862 and floorf multiarch implementations.
21863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21868 multiarch floor for PowerPC32.
21869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21874 multiarch floorf for PowerPC32.
21876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21877 and ceilf multiarch implementations.
21878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21883 multiarch ceil for PowerPC32.
21884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21889 multiarch ceilf for PowerPC32.
21891 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21893 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21894 FINITEF is defined.
21895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21896 and finitef multiarch implementations.
21897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21902 multiarch finite for PowerPC32.
21903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21906 file: multiarch finitef for PowerPC32.
21908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21909 and isinff multiarch implementations.
21910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21915 multiarch isinf for PowerPC32.
21916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21919 multiarch isinff for PowerPC32.
21921 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21922 alias when __isnan is defined.
21923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21924 and isnanf multiarch implementations.
21925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21934 multiarch isnan for PowerPC32.
21935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21940 multiarch isnanf for PowerPC32.
21942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21943 and sqrtf multiarch implementations.
21944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21949 multiarch sqrt for PowerPC32.
21950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21955 multiarch sqrtf for PowerPC32.
21957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21958 and llroundf multiarch implementations.
21959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21966 file: multiarch llround for PowerPC32.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21968 file: multiarch llroundf for PowerPC32.
21970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21971 multiarch PowerPC32 fpu implementations.
21972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21977 multiarch llrint for PowerPC32.
21978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21987 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21989 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21991 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21994 multiarch wordcopy for PPC32.
21995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21998 (__libc_ifunc_impl_list): Likewise.
21999 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22000 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22002 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22004 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22006 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22014 multiarch wcscpy for PPC32.
22015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22018 (__libc_ifunc_impl_list): Likewise.
22019 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22020 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22021 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22022 sysdeps/powerpc/power6/wcscpy.c.
22024 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22032 multiarch wcsrchr for PPC32.
22033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22036 (__libc_ifunc_impl_list): Likewise.
22037 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22038 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22039 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22040 sysdeps/powerpc/power6/wcsrchr.c.
22042 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22044 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22048 multiarch wcschr for PPc32.
22049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22052 (__libc_ifunc_impl_list): Likewise.
22053 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22054 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22055 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22056 sysdeps/powerpc/power6/wcschr.c.
22058 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22059 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22061 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22062 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22063 file: multiarch strchr for PPC32.
22064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22067 (__libc_ifunc_impl_list): Likewise.
22069 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22071 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22073 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22075 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22076 multiarch strchrnul for PPC32.
22077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22079 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22080 (__libc_ifunc_impl_list): Likewise.
22082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22085 multiarch strncasecmp for PPC32.
22086 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22088 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22089 multiarch strncasecmp_l for PPC32.
22090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22091 strncasecmp multiarch objects.
22092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22093 (__libc_ifunc_impl_list): Likewise.
22095 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22097 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22098 multiarch strncasecmp for PPC32.
22099 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22101 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22102 multiarch strcasecmp_l for PPC32.
22103 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22105 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22106 (__libc_ifunc_impl_list): Likewise.
22108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22110 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22112 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22113 multiarch strncmp for PPC32.
22114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22117 (__libc_ifunc_impl_list): Likewise.
22119 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22120 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22122 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22123 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22127 (__libc_ifunc_impl_list): Likewise.
22129 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22131 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22133 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22136 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22137 (__libc_ifunc_impl_list): Likewise.
22139 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22141 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22143 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22144 multiarch rawmemchr for PPC32.
22145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22148 (__libc_ifunc_impl_list): Likewise.
22150 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22152 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22154 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22155 file: memrchr multiarch for PPC32.
22156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22159 (__libc_ifunc_impl_list): Likewise.
22161 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22162 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22164 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22166 multiarch memchr for PPC32.
22167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22170 (__libc_ifunc_impl_list): Likewise.
22172 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22173 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22175 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22177 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22178 file: multiarch mempcpy for PPC32.
22179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22182 (__libc_ifunc_impl_list): Likewise.
22184 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22185 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22186 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22188 multiarch bzero for PPC32.
22189 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22191 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22193 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22194 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22195 file: multiarch memset for PPC32.
22196 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22198 memset multiarch objects.
22199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22200 (__libc_ifunc_impl_list): Likewise.
22202 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22207 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22211 (__libc_ifunc_impl_list): Likewise.
22213 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22215 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22219 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22221 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22222 multiarch memcpy for PPC32.
22223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22226 (__libc_ifunc_impl_list): Likewise.
22228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22229 support multiarch for POWER/PPC32.
22230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22232 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22234 Implies file to make multiarch folder appers before the fpu and
22235 default folder for power4 configuration.
22237 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22239 * scripts/bench.pl: Append volatile keyword to type.
22241 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22243 * sysdeps/sh/sotruss-lib.c: New file.
22244 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22246 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22250 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22253 * math/w_tgamma.c: Include <errno.h>.
22254 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22255 * math/w_tgammaf.c: Include <errno.h>.
22256 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22257 * math/w_tgammal.c: Include <errno.h>.
22258 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22259 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22260 underflow. Add more tgamma tests.
22261 * math/auto-libm-test-out: Regenerated.
22262 * sysdeps/i386/fpu/libm-test-ulps: Update.
22263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22266 sin, sinh, tan, tanh, tgamma, y0 and y1.
22267 * math/auto-libm-test-out: Regenerated.
22268 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22269 (TEST_COND_x86): Likewise.
22270 (M_E2l): Remove macro.
22272 (M_2_SQRT_PIl): Likewise.
22273 (M_SQRT_PIl): Likewise.
22274 (M_1_DIV_El): Likewise.
22275 (log_test_data): Use AUTO_TESTS_f_f.
22276 (log10_test_data): Likewise.
22277 (log1p_test_data): Likewise.
22278 (log2_test_data): Likewise.
22279 (sin_test_data): Likewise.
22280 (sin_tonearest_test_data): Likewise.
22281 (sin_towardzero_test_data): Likewise.
22282 (sin_downward_test_data): Likewise.
22283 (sin_upward_test_data): Likewise.
22284 (sinh_test_data): Likewise.
22285 (sinh_tonearest_test_data): Likewise.
22286 (sinh_towardzero_test_data): Likewise.
22287 (sinh_downward_test_data): Likewise.
22288 (sinh_upward_test_data): Likewise.
22289 (tan_test_data): Likewise.
22290 (tan_tonearest_test_data): Likewise.
22291 (tan_towardzero_test_data): Likewise.
22292 (tan_downward_test_data): Likewise.
22293 (tan_upward_test_data): Likewise.
22294 (tanh_test_data): Likewise.
22295 (tgamma_test_data): Likewise.
22296 (y0_test_data): Likewise.
22297 (y1_test_data): Likewise.
22298 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22299 (special_real_inputs): Add pi/4.
22300 * sysdeps/i386/fpu/libm-test-ulps: Update.
22301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22305 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22306 "longjmp_target" static probes.
22307 (__longjmp): Rename to __longjmp_symbol.
22308 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22309 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22310 on which longjmp to generate.
22311 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22312 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22314 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22315 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22316 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22317 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22318 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22319 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22321 __longjmp_symbol based on which __longjmp to generate.
22322 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22324 (setjmp): Rename to setjmp_symbol.
22325 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22326 (_setjmp): Rename to _setjmp_symbol.
22327 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22328 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22329 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22330 which setjmp to generate.
22331 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22332 "longjmp_target" static probes.
22334 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22336 * benchtests/README: Add note about output arguments.
22337 * benchtests/bench-sincos.c: Remove file.
22338 * benchtests/sincos-inputs: New file.
22339 * scripts/bench.pl: Identify output arguments and define
22340 static variables for them.
22342 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22345 * Makefile (INSTALL): Add install-plain.texi as the primary
22347 * manual/install-plain.texi: New file.
22348 * manual/install.texi: Include node directive only for
22349 non-plaintext output.
22351 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22353 * stdlib/longlong.h: Update from GCC.
22357 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22358 * math/w_j0f.c (y0f): Likewise.
22359 * math/w_j0l.c (__y0l): Likewise.
22360 * math/w_j1.c (y1): Likewise.
22361 * math/w_j1f.c (y1f): Likewise.
22362 * math/w_j1l.c (__y1l): Likewise
22363 * math/w_jn.c (yn): Likewise.
22364 * math/w_jnf.c (ynf): Likewise.
22365 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22366 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22367 value for Bessel function domain errors outside _SVID_ mode.
22368 Adjust sign of return value for yn (negative integer, 0).
22369 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22370 by zero in return for negative x and set sign appropriately for
22372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22374 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22375 expectations in error cases.
22376 (y1_test_data): Likewise.
22377 (yn_test_data): Likewise.
22378 * sysdeps/i386/fpu/libm-test-ulps: Update.
22379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22383 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22384 "64" to "64-v1". Add "64-v2".
22385 (abi-64-options): Rename to ...
22386 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22387 (abi-64-condition): Rename to ...
22388 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22389 (abi-64-ld-soname): Rename to ...
22390 (abi-64-v1-ld-soname): ... this.
22391 (abi-64-v2-options): Define.
22392 (abi-64-v2-condition): Likewise.
22393 (abi-64-v2-ld-soname): Likewise.
22394 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22395 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22400 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22401 Alan Modra <amodra@gmail.com>
22403 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22404 New versions for use with the ELFv2 ABI.
22405 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22406 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22408 (struct La_ppc64v2_retval): Likewise.
22409 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22410 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22411 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22412 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22413 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22415 Do not save or restore CR.
22416 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22417 (_dl_profile_resolve): Do no save or restore CR. Support extended
22418 return values for ELFv2 ABI. Fix location of FPR return registers.
22419 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22420 updated values for _CALL_ELF == 2.
22421 (La_regs, La_retval, int_retval): Likewise.
22423 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22425 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22426 (FRAME_MIN_SIZE_PARM): Likewise.
22427 (FRAME_BACKCHAIN): Likewise.
22428 (FRAME_CR_SAVE): Likewise.
22429 (FRAME_LR_SAVE): Likewise.
22430 (FRAME_TOC_SAVE): Likewise.
22431 (FRAME_PARM_SAVE): Likewise.
22432 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22433 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22434 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22435 (call_mcount_parm_offset): New macro.
22436 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22437 (PROF): Use symbolic stack frame offsets.
22438 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22439 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22440 Redefine in terms of FRAME_MIN_SIZE.
22441 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22442 (_dl_profile_resolve): Likewise. Update comment.
22443 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22444 symbols stack frame offsets.
22445 (__sigsetjmp): Likewise.
22446 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22447 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22448 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22449 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22452 (FRAME_BACKCHAIN): Remove.
22453 (FRAME_CR_SAVE): Likewise.
22454 (FRAME_LR_SAVE): Likewise.
22455 (FRAME_COMPILER_DW): Likewise.
22456 (FRAME_LINKER_DW): Likewise.
22457 (FRAME_TOC_SAVE): Likewise.
22458 (FRAME_PARM_SAVE): Likewise.
22459 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22460 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22461 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22463 (CHECK_SP): Use symbolic stack frame offsets.
22464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22465 zone" instead of caller's parameter save area for temp storage.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22467 Likewise. Also, use symbolic stack frame offsets.
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22469 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22470 our own stack frame instead of the caller's.
22471 (__socket): Use symbolic stack frame offsets.
22473 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22474 Alan Modra <amodra@gmail.com>
22476 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22478 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22479 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22480 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22482 (elf_machine_fixup_plt): Call it.
22483 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22485 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22486 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22487 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22488 r2 before calling target.
22490 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22491 Alan Modra <amodra@gmail.com>
22493 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22494 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22495 versions of macros to support ELFv2 ABI.
22496 (LOCALENTRY): New macro.
22497 (ENTRY, EALIGN): Use it.
22498 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22499 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22500 fall through into ENTRY entry point.
22501 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22502 Only define if _CALL_ELF != 2.
22504 (elf_machine_matches_host): Verify ABI version matches.
22505 (RTLD_START): Use LOCALENTRY.
22506 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22507 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22508 (PLT_ENTRY_WORDS): New macro.
22509 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22510 (elf_machine_runtime_setup): Support ELFv2 ABI.
22511 (elf_machine_fixup_plt): Likewise.
22512 (elf_machine_plt_conflict): Likewise.
22513 (resolve_ifunc): Likewise.
22514 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22518 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22520 (makecontext): Support ELFv2 ABI.
22521 * elf/elf.h (EF_PPC64_ABI): Define.
22523 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22525 * sysdeps/powerpc/powerpc64/sysdep.h
22526 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22527 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22528 (ENTRY) [ASSEMBLER]: ... but instead here ...
22529 (EALIGN) [ASSEMBLER]: ... and here.
22530 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22531 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22532 (ENTRY_2) [!ASSEMBLER]: Use it.
22533 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22534 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22536 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22537 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22539 Use PPC64_LOAD_FUNCPTR.
22541 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22543 2013-12-04 Alan Modra <amodra@gmail.com>
22545 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22546 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22547 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22548 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22551 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22552 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22553 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22554 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22555 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22557 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22560 (__makecontext): Fix incorrect CFI when backtracing out of
22561 context created via makecontext.
22562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22563 (__setcontext): Fix incorrect CFI during switch to new context.
22564 (__novec_setcontext): Likewise.
22566 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22569 * time/strptime_l.c (__strptime_internal): Allow modifiers
22571 * time/tst-strptime.c (day_tests): Add testcase.
22573 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22575 * scripts/bench.pl: Skip over blank lines.
22577 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22580 * manual/time.texi (Calendar Time): Clarify what timezone functions
22583 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22587 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22589 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22591 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22592 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22593 * debug/memset_chk.c (__memset_chk): Likewise.
22594 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22595 * debug/strncpy_chk.c: Likewise.
22597 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22602 (__ieee754_exp): For possibly underflowing results, check size of
22603 result and force underflow exception if required.
22604 * math/auto-libm-test-in: Add more tests of exp.
22605 * math/auto-libm-test-out: Regenerated.
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22610 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22611 * math/w_exp2f.c (__exp2f): Likewise.
22612 * math/w_exp2l.c (__exp2l): Likewise.
22613 * math/auto-libm-test-in: Do not allow missing errno on exp2
22615 * math/auto-libm-test-out: Regenerated.
22617 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22620 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22621 handle filename validation.
22622 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22625 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22628 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22629 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22630 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22632 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22634 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22636 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22638 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22639 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22640 Add more erfc tests.
22641 * math/auto-libm-test-out: Regenerated.
22642 * sysdeps/i386/fpu/libm-test-ulps: Update.
22643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22645 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22646 exp2, expm1, j0 and j1.
22647 * math/auto-libm-test-out: Regenerated.
22648 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22649 (erfc_test_data): Likewise.
22650 (exp_test_data): Likewise.
22651 (exp_tonearest_test_data): Likewise.
22652 (exp_towardzero_test_data): Likewise.
22653 (exp_downward_test_data): Likewise.
22654 (exp_upward_test_data): Likewise.
22655 (exp10_test_data): Likewise.
22656 (exp2_test_data): Likewise.
22657 (expm1_test_data): Likewise.
22658 (j0_test_data): Likewise.
22659 (j1_test_data): Likewise.
22660 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22661 (input_flag_type): Add flag_xfail_rounding.
22662 (input_flags): Add xfail-rounding.
22663 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22664 (output_for_one_input_case): Handle flag_xfail_rounding.
22665 * sysdeps/i386/fpu/libm-test-ulps: Update.
22666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22671 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22674 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22677 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22678 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22679 (STAP_PROBE0): New macro.
22680 (STAP_PROBE1): Likewise.
22681 (STAP_PROBE2): Likewise.
22682 (STAP_PROBE3): Likewise.
22683 (STAP_PROBE4): Likewise.
22685 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22687 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22689 2013-12-02 Steve Ellcey <sellcey@mips.com>
22691 * benchtests/Makefile (bench): Add sqrt.
22692 (LDLIBS-bench-sqrt): New.
22693 * benchtests/sqrt-input: New.
22695 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22697 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22698 (GAIH_EAI): Likewise.
22699 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22700 (gaih_inet): Likewise.
22701 (getaddrinfo): Don't use GAIH_EAI.
22703 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22704 (struct gaih): Remove definition.
22706 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22708 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22709 Use HERRNOP directly.
22711 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22715 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22717 * math/gen-auto-libm-tests.c (test_functions): Add more
22718 single-argument functions.
22719 (special_fill_pi_2): New function.
22720 (special_fill_minus_pi_2): Likewise.
22721 (special_fill_pi_6): Likewise.
22722 (special_fill_minus_pi_6): Likewise.
22723 (special_fill_pi_3): Likewise.
22724 (special_fill_2pi_3): Likewise.
22725 (special_fill_e): Likewise.
22726 (special_fill_1_e): Likewise.
22727 (special_fill_e_minus_1): Likewise.
22728 (special_real_inputs): Add more special inputs.
22729 (output_for_one_input_case): Do not require ERANGE on underflow to
22730 zero if round-to-nearest result does not underflow to zero, unless
22731 exact results required.
22732 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22733 atan, atanh, cbrt, cos and cosh.
22734 * math/auto-libm-test-out: Regenerated.
22735 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22736 (acos_tonearest_test_data): Likewise.
22737 (acos_towardzero_test_data): Likewise.
22738 (acos_downward_test_data): Likewise.
22739 (acos_upward_test_data): Likewise.
22740 (acosh_test_data): Likewise.
22741 (asin_test_data): Likewise.
22742 (asin_tonearest_test_data): Likewise.
22743 (asin_towardzero_test_data): Likewise.
22744 (asin_upward_test_data): Likewise.
22745 (asinh_test_data): Likewise.
22746 (atan_test_data): Likewise.
22747 (atanh_test_data): Likewise.
22748 (cbrt_test_data): Likewise.
22749 (cos_test_data): Likewise.
22750 (cos_tonearest_test_data): Likewise.
22751 (cos_towardzero_test_data): Likewise.
22752 (cos_downward_test_data): Likewise.
22753 (cos_upward_test_data): Likewise.
22754 (cosh_test_data): Likewise.
22755 (cosh_tonearest_test_data): Likewise.
22756 (cosh_towardzero_test_data): Likewise.
22757 (cosh_downward_test_data): Likewise.
22758 (cosh_upward_test_data): Likewise.
22759 * sysdeps/i386/fpu/libm-test-ulps: Update.
22760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22765 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22766 * math/w_exp10f.c (__exp10f): Likewise.
22767 * math/w_exp10l.c (__exp10l): Likewise.
22768 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22769 errno settings in existing tests.
22772 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22773 precision control set to double precision.
22774 * sysdeps/i386/fpu/w_sqrt.c: New file.
22775 * math/auto-libm-test-in: Add more tests.
22776 * math/auto-libm-test-out: Update.
22778 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22779 (sqrt_test_tonearest): New function.
22780 (sqrt_towardzero_test_data): New variable.
22781 (sqrt_test_towardzero): New function.
22782 (sqrt_downward_test_data): New variable.
22783 (sqrt_test_downward): New function.
22784 (sqrt_upward_test_data): New variable.
22785 (sqrt_test_upward): New function.
22786 (main): Call the new functions.
22788 * math/gen-auto-libm-tests.c: New file.
22789 * math/auto-libm-test-in: Likewise.
22790 * math/auto-libm-test-out: New generated file.
22791 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22793 (%beautify): Add generated representations of zero.
22794 (top level): Set $auto_input and call parse_auto_input.
22795 (beautify): Remove trailing "f" from hex float constants.
22796 (parse_args): Handle XFAIL_TEST.
22797 (convert_condition): New function.
22798 (or_value): Likewise.
22799 (or_cond_value): Likewise.
22800 (generate_testfile): Handle AUTO_TESTS_* lines.
22801 (parse_auto_input): New function.
22802 * math/libm-test.inc (XFAIL_TEST): New macro.
22803 (ERRNO_UNCHANGED): Update value.
22804 (ERRNO_EDOM): Likewise.
22805 (ERRNO_ERANGE): Likewise.
22806 (IGNORE_RESULT): Likewise.
22807 (TEST_COND_flt_32): New macro.
22808 (TEST_COND_dbl_64): Likewise.
22809 (TEST_COND_ldbl_96_intel): Likewise.
22810 (TEST_COND_ldbl_96_m68k): Likewise.
22811 (TEST_COND_ldbl_128): Likewise.
22812 (TEST_COND_ldbl_128ibm): Likewise.
22813 (TEST_COND_long32): Likewise.
22814 (TEST_COND_long64): Likewise.
22815 (TEST_COND_before_rounding): Likewise.
22816 (TEST_COND_after_rounding): Likewise.
22817 (enable_test): Handle XFAIL_TEST flag.
22818 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22819 with finite results.
22820 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22821 auto-libm-test-out.
22823 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22827 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22828 __tls_get_addr_internal instead of __tls_get_offset in order to
22829 avoid GOT pointer dependency. Make rtld export
22830 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22831 __tls_get_addr since we are a __tls_get_offset platform.
22832 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22833 GOT pointer being set up before.
22834 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22836 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22838 * manual/math.texi (Errors in Math Functions): Document accuracy
22842 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22843 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22844 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22846 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22848 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22854 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22855 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22859 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22860 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22861 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22862 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22863 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22865 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22867 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22869 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22870 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22871 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22872 atomic-feupdateenv and flt-rounds.
22873 * sysdeps/powerpc/nofpu/Versions (libc): Add
22874 __atomic_feholdexcept, __atomic_feclearexcept,
22875 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22876 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22877 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22878 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22879 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22884 * manual/arith.texi (FP Exceptions): Document that exceptions may
22885 not be raised when matherr is used.
22886 (Math Error Reporting): Document overflow in directed rounding
22887 modes. Document that errno may not be set when finite values are
22888 returned on overflow. Document intent to set errno on underflow
22889 only for underflow to zero.
22892 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22893 round-to-nearest then adjust result for other rounding modes.
22894 * include/fenv.h (fegetround): Use libm_hidden_proto.
22895 * math/fegetround.c (fegetround): Use libm_hidden_def.
22896 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22897 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22898 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22899 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22901 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22902 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22903 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22904 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22906 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22909 * nss/Versions (libnss_files): Add
22910 _nss_files_gethostbyname3_r.
22911 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22913 (HOST_DB_LOOKUP): Remove macro.
22914 (_nss_files_gethostbyname_r): Implement function without the
22915 HOST_DB_LOOKUP macro.
22916 (_nss_files_gethostbyname2_r): Likewise.
22918 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22920 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22922 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22924 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22925 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22928 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22930 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22931 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22932 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22933 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22934 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22935 __fe_nomask_env_priv and attribute_hidden.
22936 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22937 (libc_feupdateenv_test_ppc): Likewise.
22938 (libc_feresetround_ppc): Likewise.
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22940 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22941 compat_symbol macro.
22942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22943 (__fe_nomask_env): Likewise.
22944 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22946 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22948 * string/Makefile: Remove ifunc tests.
22949 * string/test-string.h: Define TEST_IFUNC.
22950 * string/test-bcopy-ifunc.c: Remove.
22951 * string/test-bzero-ifunc.c: Likewise.
22952 * string/test-memccpy-ifunc.c: Likewise.
22953 * string/test-memchr-ifunc.c: Likewise.
22954 * string/test-memcmp-ifunc.c: Likewise.
22955 * string/test-memcpy-ifunc.c: Likewise.
22956 * string/test-memmem-ifunc.c: Likewise.
22957 * string/test-memmove-ifunc.c: Likewise.
22958 * string/test-mempcpy-ifunc.c: Likewise.
22959 * string/test-memrchr-ifunc.c: Likewise.
22960 * string/test-memset-ifunc.c: Likewise.
22961 * string/test-rawmemchr-ifunc.c: Likewise.
22962 * string/test-stpcpy-ifunc.c: Likewise.
22963 * string/test-stpncpy-ifunc.c: Likewise.
22964 * string/test-strcasecmp-ifunc.c: Likewise.
22965 * string/test-strcasestr-ifunc.c: Likewise.
22966 * string/test-strcat-ifunc.c: Likewise.
22967 * string/test-strchr-ifunc.c: Likewise.
22968 * string/test-strchrnul-ifunc.c: Likewise.
22969 * string/test-strcmp-ifunc.c: Likewise.
22970 * string/test-strcpy-ifunc.c: Likewise.
22971 * string/test-strcspn-ifunc.c: Likewise.
22972 * string/test-strlen-ifunc.c: Likewise.
22973 * string/test-strncasecmp-ifunc.c: Likewise.
22974 * string/test-strncat-ifunc.c: Likewise.
22975 * string/test-strncmp-ifunc.c: Likewise.
22976 * string/test-strncpy-ifunc.c: Likewise.
22977 * string/test-strnlen-ifunc.c: Likewise.
22978 * string/test-strpbrk-ifunc.c: Likewise.
22979 * string/test-strrchr-ifunc.c: Likewise.
22980 * string/test-strspn-ifunc.c: Likewise.
22981 * string/test-strstr-ifunc.c: Likewise.
22983 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22985 * benchtests/Makefile: Remove ifunc tests.
22986 * benchtests/bench-string.h: Define TEST_IFUNC.
22987 * benchtests/bench-bcopy-ifunc.c: Remove.
22988 * benchtests/bench-bzero-ifunc.c: Likewise.
22989 * benchtests/bench-memccpy-ifunc.c: Likewise.
22990 * benchtests/bench-memchr-ifunc.c: Likewise.
22991 * benchtests/bench-memcmp-ifunc.c: Likewise.
22992 * benchtests/bench-memcpy-ifunc.c: Likewise.
22993 * benchtests/bench-memmem-ifunc.c: Likewise.
22994 * benchtests/bench-memmove-ifunc.c: Likewise.
22995 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22996 * benchtests/bench-memrchr-ifunc.c: Likewise.
22997 * benchtests/bench-memset-ifunc.c: Likewise.
22998 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22999 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23000 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23001 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23002 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23003 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23004 * benchtests/bench-strcat-ifunc.c: Likewise.
23005 * benchtests/bench-strchr-ifunc.c: Likewise.
23006 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23007 * benchtests/bench-strcmp-ifunc.c: Likewise.
23008 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23009 * benchtests/bench-strcpy-ifunc.c: Likewise.
23010 * benchtests/bench-strcspn-ifunc.c: Likewise.
23011 * benchtests/bench-strlen-ifunc.c: Likewise.
23012 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23013 * benchtests/bench-strncat-ifunc.c: Likewise.
23014 * benchtests/bench-strncmp-ifunc.c: Likewise.
23015 * benchtests/bench-strncpy-ifunc.c: Likewise.
23016 * benchtests/bench-strnlen-ifunc.c: Likewise.
23017 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23018 * benchtests/bench-strrchr-ifunc.c: Likewise.
23019 * benchtests/bench-strsep-ifunc.c: Likewise.
23020 * benchtests/bench-strspn-ifunc.c: Likewise.
23021 * benchtests/bench-strstr-ifunc.c: Likewise.
23023 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23025 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23027 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23029 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23030 * rt/aio.h: Likewise.
23031 * sysdeps/gnu/bits/utmp.h: Likewise.
23032 * sysdeps/gnu/bits/utmpx.h: Likewise.
23033 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23034 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23035 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23036 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23037 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23038 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23039 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23040 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23041 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23042 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23043 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23044 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23045 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23047 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23048 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23049 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23050 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23051 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23052 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23053 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23054 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23055 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23056 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23057 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23059 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23060 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23061 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23062 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23063 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23064 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23065 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23066 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23067 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23068 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23069 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23070 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23071 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23072 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23073 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23074 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23076 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23079 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23080 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23082 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23084 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23085 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23088 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23091 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23092 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23093 (__fesetround): Remove define.
23094 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23095 rounding and exceptions handling.
23096 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23097 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23098 (__fe_nomask_env): Likewise.
23099 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23100 __fegetround instead of fegetround.
23101 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23102 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23104 2013-11-21 Roland McGrath <roland@hack.frob.com>
23106 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23109 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23111 2013-11-21 Meador Inge <meadori@codesourcery.com>
23114 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23115 (encrypt_r): Likewise.
23116 * malloc/obstack.h (obstack_free): Likewise.
23117 * posix/unistd.h (encrypt): Likewise.
23119 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23121 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23122 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23123 DL_CALL_DT_FINI() that call the functions directly.
23124 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23125 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23126 * elf/dl-fini.c: Likewise.
23128 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23130 * malloc/hooks.c (memalign_check): Add alignment rounding.
23131 * malloc/malloc.c (_mid_memalign): New function.
23132 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23133 Implement by calling _mid_memalign.
23134 * manual/probes.texi (Memory Allocation Probes): Remove
23135 memory_valloc_retry and memory_pvalloc_retry.
23137 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23139 * locale/programs/locarchive.c (open_archive): Add const
23140 qualifier to ARCHIVEFNAME and copy default fname to
23144 * libio/tst-widetext.input: Rename Oriya to Odia.
23145 * locale/iso-639.def: Likewise.
23147 * manual/probes.texi (Mathematical Function Probes): Add
23148 documentation for sin, cos, asin and acos probes.
23149 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23150 (__sin32): Add slowasin probe.
23151 (__cos32): Add slowacos probe.
23152 (__mpsin): Add slowsin probe.
23153 (__mpcos): Add slowcos probe.
23155 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23158 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23159 thread-local __sim_exceptions_thread and global
23160 __sim_exceptions_global.
23161 (__sim_disabled_exceptions): Change to thread-local
23162 __sim_disabled_exceptions_thread and global
23163 __sim_disabled_exceptions_global.
23164 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23165 and global __sim_round_mode_global.
23166 (__simulate_exceptions): Use thread-local floating-point state and
23167 set global state from it as needed.
23168 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23169 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23170 __sim_round_mode_thread.
23171 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23172 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23173 and global __sim_exceptions_global.
23174 (__sim_disabled_exceptions): Change to thread-local
23175 __sim_disabled_exceptions_thread and global
23176 __sim_disabled_exceptions_global.
23177 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23178 and global __sim_round_mode_global.
23179 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23180 (SIM_SET_GLOBAL): Likewise.
23181 * sysdeps/powerpc/soft-fp/sfp-machine.h
23182 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23183 __sim_round_mode_thread.
23184 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23185 __sim_disabled_exceptions_thread.
23186 (__sim_exceptions): Change to __sim_exceptions_thread.
23187 (__sim_disabled_exceptions): Change to
23188 __sim_disabled_exceptions_thread.
23189 (__sim_round_mode): Change to __sim_round_mode_thread.
23190 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23191 thread-local floating-point state and set global state from it as
23193 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23194 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23195 (__sim_disabled_exceptions): Remove extern declaration.
23196 (feenableexcept): Use thread-local floating-point state and set
23197 global state from it as needed.
23198 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23199 extern declaration.
23200 (__sim_disabled_exceptions): Likewise.
23201 (__sim_round_mode): Likewise.
23202 (__fegetenv): Use thread-local floating-point state.
23203 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23204 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23205 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23206 floating-point state and set global state from it as needed.
23207 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23208 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23209 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23211 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23212 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23214 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23215 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23216 Use __sim_round_mode_thread.
23217 * math/test-fenv-tls.c: New file.
23218 * math/Makefile (tests): Add test-fenv-tls.
23219 ($(objpfx)test-fenv-tls): Depend on
23220 $(common-objpfx)nptl/libpthread.so.
23222 2013-11-19 Andreas Schwab <schwab@suse.de>
23224 * locale/programs/locale.c (show_info): Decode wordarray elements.
23225 * locale/categories.def (LC_MONETARY): Add element for
23226 _NL_MONETARY_CRNCYSTR.
23227 * locale/C-monetary.c (conversion_rate): New variable.
23228 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23231 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23233 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23234 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23236 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23238 * elf/Makefile (tst-auxv): New test.
23239 * elf/tst-auxv.c: New
23240 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23242 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23244 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23245 (hidden_proto): Caller changed.
23246 (hidden_tls_proto): New macro.
23247 (libc_hidden_tls_proto): Likewise.
23248 (rtld_hidden_tls_proto): Likewise.
23249 (libm_hidden_tls_proto): Likewise.
23250 (libresolv_hidden_tls_proto): Likewise.
23251 (librt_hidden_tls_proto): Likewise.
23252 (libdl_hidden_tls_proto): Likewise.
23253 (libnss_files_hidden_tls_proto): Likewise.
23254 (libnsl_hidden_tls_proto): Likewise.
23255 (libnss_nisplus_hidden_tls_proto): Likewise.
23256 (libutil_hidden_tls_proto): Likewise.
23258 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23261 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23262 (decompose_rpath): Defer expansion to fillin_rpath.
23263 (_dl_init_paths): Pass linkmap to fillin_rpath.
23265 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23267 * benchtests/Makefile: Add strsep.
23268 * benchtests/bench-strsep.c: New file: strsep benchtest.
23269 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23271 2013-11-18 Andreas Schwab <schwab@suse.de>
23273 * locale/programs/locale.c (show_info) [case byte]: Check for
23274 '\377' instead of '\177'.
23275 * locale/C-monetary.c (not_available): Always use "\377".
23276 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23277 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23278 detect unavailable sign_posn locale elements.
23279 * locale/localeconv.c (__localeconv): For grouping and
23280 mon_grouping handle "\177" and "\377" like no grouping.
23281 (INT_ELEM): New macro. Use it to set all numeric members.
23282 * locale/programs/ld-monetary.c (monetary_read)
23283 <tok_mon_grouping>: Normalize single -1 to the empty string.
23284 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23287 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23290 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23291 when we match (nil).
23292 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23294 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23296 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23297 (NO_TEST_INLINE): Update value.
23298 (ERRNO_UNCHANGED): Likewise.
23299 (ERRNO_EDOM): Likewise.
23300 (ERRNO_ERANGE): Likewise.
23301 (IGNORE_RESULT): Likewise.
23302 (check_float_internal): Check signs of NaN results if
23303 TEST_NAN_SIGN used.
23304 (check_complex): Pass TEST_NAN_SIGN flag through to second
23305 check_float_internal call.
23306 (copysign_test_data): Add tests with quiet NaNs as second
23307 argument. Use TEST_NAN_SIGN.
23308 (fabs_test_data): Add test of negative quiet NaN argument. Use
23310 (signbit_test_data): Add tests of quiet NaN argument.
23311 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23313 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23315 (parse_args): Handle function results specified as IGNORE.
23316 * math/libm-test.inc (IGNORE_RESULT): New macro.
23317 (check_float_internal): Do not check numerical result if flag
23319 (check_complex): Pass through IGNORE_RESULT to second
23320 check_float_internal call.
23321 (check_int): Do not check numerical result if flag IGNORE_RESULT
23323 (check_long): Likewise.
23324 (check_bool): Likewise.
23325 (check_longlong): Likewise.
23326 (lrint_test_data): Add tests of infinite and NaN arguments.
23327 (lrint_tonearest_test_data): Likewise.
23328 (lrint_towardzero_test_data): Likewise.
23329 (lrint_downward_test_data): Likewise.
23330 (lrint_upward_test_data): Likewise.
23331 (llrint_test_data): Likewise.
23332 (llrint_tonearest_test_data): Likewise.
23333 (llrint_towardzero_test_data): Likewise.
23334 (llrint_downward_test_data): Likewise.
23335 (llrint_upward_test_data): Likewise.
23336 (lround_test_data): Likewise.
23337 (llround_test_data): Likewise.
23339 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23340 (ERRNO_UNCHANGED): Update value.
23341 (ERRNO_EDOM): Likewise.
23342 (ERRNO_ERANGE): Likewise.
23343 (NO_TEST_INLINE_FLOAT): New macro.
23344 (NO_TEST_INLINE_DOUBLE): Likewise.
23345 (enable_test): New function.
23346 (RUN_TEST_f_f): Check enable_test before running test.
23347 (RUN_TEST_2_f): Likewise.
23348 (RUN_TEST_fff_f): Likewise.
23349 (RUN_TEST_c_f): Likewise.
23350 (RUN_TEST_f_f1): Likewise.
23351 (RUN_TEST_fF_f1): Likewise.
23352 (RUN_TEST_fI_f1): Likewise.
23353 (RUN_TEST_ffI_f1): Likewise.
23354 (RUN_TEST_c_c): Likewise.
23355 (RUN_TEST_cc_c): Likewise.
23356 (RUN_TEST_f_i): Likewise.
23357 (RUN_TEST_f_i_tg): Likewise.
23358 (RUN_TEST_ff_i_tg): Likewise.
23359 (RUN_TEST_f_b): Likewise.
23360 (RUN_TEST_f_b_tg): Likewise.
23361 (RUN_TEST_f_l): Likewise.
23362 (RUN_TEST_f_L): Likewise.
23363 (RUN_TEST_fFF_11): Likewise.
23364 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23366 (cosh_test_data): Likewise.
23367 (exp_test_data): Likewise.
23368 (expm1_test_data): Likewise.
23369 (hypot_test_data): Likewise.
23370 (pow_test_data): Likewise.
23371 (sinh_test_data): Likewise.
23372 (tanh_test_data): Likewise.
23373 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23376 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23377 tests with quiet NaN input and output.
23378 (acosh_test_data): Likewise.
23379 (asin_test_data): Likewise.
23380 (asinh_test_data): Likewise.
23381 (atan_test_data): Likewise.
23382 (atanh_test_data): Likewise.
23383 (atan2_test_data): Likewise.
23384 (cbrt_test_data): Likewise.
23385 (cos_test_data): Likewise.
23386 (cosh_test_data): Likewise.
23387 (erf_test_data): Likewise.
23388 (erfc_test_data): Likewise.
23389 (exp_test_data): Likewise.
23390 (exp10_test_data): Likewise.
23391 (exp2_test_data): Likewise.
23392 (expm1_test_data): Likewise.
23393 (hypot_test_data): Likewise.
23394 (j0_test_data): Likewise.
23395 (j1_test_data): Likewise.
23396 (jn_test_data): Likewise.
23397 (lgamma_test_data): Likewise.
23398 (log_test_data): Likewise.
23399 (log10_test_data): Likewise.
23400 (log1p_test_data): Likewise.
23401 (log2_test_data): Likewise.
23402 (pow_test_data): Likewise.
23403 (scalb_test_data): Likewise.
23404 (sin_test_data): Likewise.
23405 (sincos_test_data): Likewise.
23406 (sinh_test_data): Likewise.
23407 (tan_test_data): Likewise.
23408 (tanh_test_data): Likewise.
23409 (tgamma_test_data): Likewise.
23410 (y0_test_data): Likewise.
23411 (y1_test_data): Likewise.
23412 (yn_test_data): Likewise.
23415 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23416 argument being NaN and avoid computations with second argument in
23418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23420 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23422 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23424 * locale/iso-639.def: Add Chitwani Tharu (the).
23426 2013-11-14 Andreas Schwab <schwab@suse.de>
23428 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23429 word instead of empty string.
23431 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23434 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23436 (__fe_nomask_env): Likewise.
23438 2013-11-13 Steve Ellcey <sellcey@mips.com>
23440 * benchtests/bench-timing.h: Include time.h.
23442 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23445 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23447 * sysdeps/unix/sysv/linux/configure: Regenerated.
23449 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23452 * stdlib/strtod_l.c (round_and_return): Do not consider
23453 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23454 exponent one less than half the least subnormal exponent.
23455 * stdlib/test-strtod-round-data: Add more tests.
23456 * stdlib/tst-strtod-round.c (tests): Regenerated.
23458 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23461 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23462 (__fe_mask_env): Likewise.
23463 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23464 libm_hidden_proto and add function prototype.
23465 (__fe_mask_env): Add function prototype.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23467 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23469 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23471 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23473 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23475 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23476 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23478 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23480 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23481 of htab_find_slot().
23483 2013-11-11 David S. Miller <davem@davemloft.net>
23486 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23487 symbol in the non-vis3 case in static builds.
23488 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23489 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23491 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23493 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23496 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23499 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23501 * benchtests/Makefile: Add bench-strtod.
23502 * benchtests/bench-strtod.c: New file: strtod benchtest
23504 2013-11-11 Andreas Schwab <schwab@suse.de>
23507 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23508 terminating NUL in key length.
23510 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23513 Add artificial ODP entry for vDSO symbol for PPC64.
23514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23515 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23517 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23520 * nss/getent.c (services_keys): Recognize services starting with digit.
23522 2013-11-06 David S. Miller <davem@davemloft.net>
23525 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23526 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23528 2013-11-06 Will Newton <will.newton@linaro.org>
23530 * manual/memory.texi (Malloc Examples): Remove register
23531 keyword from examples.
23533 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23535 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23537 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23540 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23541 depending on [__GCC_IEC_559 > 0].
23542 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23543 depending on [__GCC_IEC_559_COMPLEX > 0].
23545 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23547 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23550 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23552 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23554 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23557 * malloc/malloc (malloc_info): Do not handle first bin as
23560 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23562 * locale/iso-639.def: Add Central Nahuatl (nhn).
23564 2013-11-01 Bruno Haible <bruno@clisp.org>
23567 * manual/math.texi (BSD Random): Specify range upper bound as
23570 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23572 * locale/iso-639.def: Add Meadow Mari (mhr).
23574 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23576 [BZ #14752], [BZ #15763]
23577 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23579 * rt/tst_shm.c: Add test for escaping directory.
23581 2013-10-31 Andreas Schwab <schwab@suse.de>
23584 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23585 followed by 'x' as part of digit sequence.
23586 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23588 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23591 * configure.ac: allow GNU Make 4.0 and greater.
23592 * configure: Regenerated.
23594 2013-10-30 Will Newton <will.newton@linaro.org>
23597 * malloc/hooks.c (memalign_check): Limit alignment to the
23598 maximum representable power of two.
23599 * malloc/malloc.c (__libc_memalign): Likewise.
23600 * malloc/tst-memalign.c (do_test): Add test for very
23601 large alignment values.
23602 * malloc/tst-posix_memalign.c (do_test): Likewise.
23604 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23607 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23608 (munmap_chunk): Likewise.
23609 (mremap_chunk): Likewise.
23611 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23614 * stdlib/div.c (div): Remove obsolete code.
23615 * stdlib/ldiv.c (ldiv): Likewise.
23616 * stdlib/lldiv.c (lldiv): Likewise.
23618 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23621 * nss/nss_files/files-XXX.c (get_contents_ret): New
23623 (get_contents): New function.
23624 (internal_getent): Use it. Expand size of LINEBUFLEN.
23626 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23628 * configure.in: Moved to ...
23629 * configure.ac: ... here. Change reference to configure.in
23631 * sysdeps/arm/preconfigure.ac: ... here.
23632 configure.in to configure.ac.
23633 * sysdeps/gnu/configure.in: Moved to ...
23634 * sysdeps/gnu/configure.ac: ... here.
23635 * sysdeps/i386/configure.in: Moved to ...
23636 * sysdeps/i386/configure.ac: ... here.
23637 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23638 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23639 * sysdeps/mach/configure.in: Moved to ...
23640 * sysdeps/mach/configure.ac: ... here.
23641 * sysdeps/mach/hurd/configure.in: Moved to ...
23642 * sysdeps/mach/hurd/configure.ac: ... here.
23643 * sysdeps/powerpc/configure.in: Moved to ...
23644 * sysdeps/powerpc/configure.ac: ... here.
23645 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23646 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23647 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23648 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23649 * sysdeps/s390/s390-32/configure.in: Moved to ...
23650 * sysdeps/s390/s390-32/configure.ac: ... here.
23651 * sysdeps/s390/s390-64/configure.in: Moved to ...
23652 * sysdeps/s390/s390-64/configure.ac: ... here.
23653 * sysdeps/sh/configure.in: Moved to ...
23654 * sysdeps/sh/configure.ac: ... here.
23655 * sysdeps/sparc/configure.in: Moved to ...
23656 * sysdeps/sparc/configure.ac: ... here.
23657 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23658 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23659 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23660 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23661 * sysdeps/x86_64/configure.in: Moved to ...
23662 * sysdeps/x86_64/configure.ac: ... here.
23663 * sysdeps/x86_64/preconfigure.in: Moved to ...
23664 * sysdeps/x86_64/preconfigure.ac: ... here.
23665 * aclocal.m4: Change reference to configure.in to configure.ac.
23666 * config.h.in: Likewise.
23667 * manual/install.texi: Likewise.
23668 * manual/maint.texi: Likewise.
23669 * Makefile: Likewise.
23670 * malloc/Makefile: Likewise.
23671 * nscd/Makefile: Likewise.
23672 * Makeconfig: Change reference to configure.in and
23673 preconfigure.in to configure.ac and preconfigure.ac
23675 * INSTALL: Regenerated.
23676 * configure: Likewise.
23677 * sysdeps/gnu/configure: Likewise.
23678 * sysdeps/i386/configure: Likewise.
23679 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23680 * sysdeps/mach/configure: Likewise.
23681 * sysdeps/mach/hurd/configure: Likewise.
23682 * sysdeps/powerpc/configure: Likewise.
23683 * sysdeps/powerpc/powerpc32/configure: Likewise.
23684 * sysdeps/powerpc/powerpc64/configure: Likewise.
23685 * sysdeps/s390/s390-32/configure: Likewise.
23686 * sysdeps/s390/s390-64/configure: Likewise.
23687 * sysdeps/sh/configure: Likewise.
23688 * sysdeps/sparc/configure: Likewise.
23689 * sysdeps/unix/sysv/linux/configure: Likewise.
23690 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23691 * sysdeps/x86_64/configure: Likewise.
23692 * sysdeps/x86_64/preconfigure: Likewise.
23694 2013-10-29 Andreas Schwab <schwab@suse.de>
23696 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23698 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23700 * benchtests/pow-inputs: Add new inputs.
23702 * benchtests/exp-inputs: Add new inputs.
23704 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23705 conditional check for return value.
23706 (__cos32): Likewise.
23708 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23710 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23711 to provide a boost for large inputs with word alignment.
23712 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23713 implementation based on optimized PPC64 strcpy.
23714 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23715 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23716 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23717 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23719 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23722 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23724 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23727 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23728 * time/tst-strptime.c (day_tests): Add testcase.
23730 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23733 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23735 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23738 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23739 MAP_FAILED on error.
23741 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23744 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23745 heap for large requests.
23747 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23750 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23751 result if the result has no associated interface.
23752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23753 interface for all 127.X.Y.Z addresses.
23755 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23757 * locale/iso-639.def: Add Ligurian (lij)
23759 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23762 * sunrpc/rpc_main.c: Document rpcgen -5.
23764 2013-10-19 Michael Stahl <mstahl@redhat.com>
23766 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23768 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23771 * posix/glob.c: Match only directories when trailing slash is present.
23772 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23773 (main): Add testcase.
23775 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23778 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23780 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23782 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23783 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23784 AUTH_DES and cindex for FIPS 140-2.
23785 (DES Encryption): Add cindex FIPS 46-3.
23787 * locale/locarchive.h (struct locarhandle): Add fname.
23788 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23789 if an optional argument was specified to --list-archive,
23791 * locale/programs/locarchive.c (show_archive_content): Take new
23792 argument fname and pass it via ah.fname to open_archive.
23793 * locale/programs/localedef.h: Update decl.
23794 (open_archive): If AH->fname is non-null, open that file
23795 rather than the default file name, and don't ignore ENOENT.
23796 (create_archive): Set AH.fname to NULL.
23797 (delete_locales_from_archive): Likewise.
23798 (add_locales_to_archive): Likewise.
23799 * locale/programs/locfile.c (write_all_categories): Likewise.
23801 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23802 Aldy Hernandez <aldyh@redhat.com>
23804 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23805 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23806 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23807 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23808 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23809 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23810 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23811 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23812 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23813 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23814 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23815 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23816 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23817 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23818 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23820 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23822 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23824 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23826 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23827 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23829 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23830 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23831 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23832 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23834 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23835 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23836 * sysdeps/powerpc/preconfigure: Likewise.
23837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23839 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23840 Replace contents of file by #include of <fenv_libc.h>.
23841 * sysdeps/powerpc/soft-fp/sfp-machine.h
23842 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23844 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23845 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23846 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23847 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23850 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23853 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23857 Allow copysignl PLT reference to be missing.
23859 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23860 Joseph Myers <joseph@codesourcery.com
23863 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23865 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23867 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23869 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23870 * elf/tst-tls1.c: Likewise.
23871 * elf/tst-tls10.h: Likewise.
23872 * elf/tst-tls14.c: Likewise.
23873 * elf/tst-tls2.c: Likewise.
23874 * elf/tst-tls3.c: Likewise.
23875 * elf/tst-tls4.c: Likewise.
23876 * elf/tst-tls5.c: Likewise.
23877 * elf/tst-tls6.c: Likewise.
23878 * elf/tst-tls7.c: Likewise.
23879 * elf/tst-tls8.c: Likewise.
23880 * elf/tst-tls9.c: Likewise.
23881 * elf/tst-tlsmod1.c: Likewise.
23882 * elf/tst-tlsmod13.c: Likewise.
23883 * elf/tst-tlsmod13a.c: Likewise.
23884 * elf/tst-tlsmod14a.c: Likewise.
23885 * elf/tst-tlsmod16a.c: Likewise.
23886 * elf/tst-tlsmod16b.c: Likewise.
23887 * elf/tst-tlsmod2.c: Likewise.
23888 * elf/tst-tlsmod3.c: Likewise.
23889 * elf/tst-tlsmod4.c: Likewise.
23890 * elf/tst-tlsmod5.c: Likewise.
23891 * elf/tst-tlsmod6.c: Likewise.
23893 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23896 * malloc/malloc.c: remove checks for statistics.
23898 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23901 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23902 * inet/tst-network.c: Add testcase.
23904 2013-10-17 Andreas Schwab <schwab@suse.de>
23907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23908 to determine canonical name.
23910 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23912 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23913 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23936 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23937 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23942 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23971 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23974 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23975 make result into a quiet NaN.
23977 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23979 * soft-fp/adddf3.c: Fix horizontal whitespace.
23980 * soft-fp/addsf3.c: Likewise.
23981 * soft-fp/addtf3.c: Likewise.
23982 * soft-fp/divdf3.c: Likewise.
23983 * soft-fp/divsf3.c: Likewise.
23984 * soft-fp/divtf3.c: Likewise.
23985 * soft-fp/double.h: Likewise.
23986 * soft-fp/eqdf2.c: Likewise.
23987 * soft-fp/eqsf2.c: Likewise.
23988 * soft-fp/eqtf2.c: Likewise.
23989 * soft-fp/extenddftf2.c: Likewise.
23990 * soft-fp/extended.h: Likewise.
23991 * soft-fp/extendsfdf2.c: Likewise.
23992 * soft-fp/extendsftf2.c: Likewise.
23993 * soft-fp/extendxftf2.c: Likewise.
23994 * soft-fp/fixdfdi.c: Likewise.
23995 * soft-fp/fixdfsi.c: Likewise.
23996 * soft-fp/fixdfti.c: Likewise.
23997 * soft-fp/fixsfdi.c: Likewise.
23998 * soft-fp/fixsfsi.c: Likewise.
23999 * soft-fp/fixsfti.c: Likewise.
24000 * soft-fp/fixtfdi.c: Likewise.
24001 * soft-fp/fixtfsi.c: Likewise.
24002 * soft-fp/fixtfti.c: Likewise.
24003 * soft-fp/fixunsdfdi.c: Likewise.
24004 * soft-fp/fixunsdfsi.c: Likewise.
24005 * soft-fp/fixunsdfti.c: Likewise.
24006 * soft-fp/fixunssfdi.c: Likewise.
24007 * soft-fp/fixunssfsi.c: Likewise.
24008 * soft-fp/fixunssfti.c: Likewise.
24009 * soft-fp/fixunstfdi.c: Likewise.
24010 * soft-fp/fixunstfsi.c: Likewise.
24011 * soft-fp/fixunstfti.c: Likewise.
24012 * soft-fp/floatdidf.c: Likewise.
24013 * soft-fp/floatdisf.c: Likewise.
24014 * soft-fp/floatditf.c: Likewise.
24015 * soft-fp/floatsidf.c: Likewise.
24016 * soft-fp/floatsisf.c: Likewise.
24017 * soft-fp/floatsitf.c: Likewise.
24018 * soft-fp/floattidf.c: Likewise.
24019 * soft-fp/floattisf.c: Likewise.
24020 * soft-fp/floattitf.c: Likewise.
24021 * soft-fp/floatundidf.c: Likewise.
24022 * soft-fp/floatundisf.c: Likewise.
24023 * soft-fp/floatunditf.c: Likewise.
24024 * soft-fp/floatunsidf.c: Likewise.
24025 * soft-fp/floatunsisf.c: Likewise.
24026 * soft-fp/floatunsitf.c: Likewise.
24027 * soft-fp/floatuntidf.c: Likewise.
24028 * soft-fp/floatuntisf.c: Likewise.
24029 * soft-fp/floatuntitf.c: Likewise.
24030 * soft-fp/fmadf4.c: Likewise.
24031 * soft-fp/fmasf4.c: Likewise.
24032 * soft-fp/fmatf4.c: Likewise.
24033 * soft-fp/gedf2.c: Likewise.
24034 * soft-fp/gesf2.c: Likewise.
24035 * soft-fp/getf2.c: Likewise.
24036 * soft-fp/ledf2.c: Likewise.
24037 * soft-fp/lesf2.c: Likewise.
24038 * soft-fp/letf2.c: Likewise.
24039 * soft-fp/muldf3.c: Likewise.
24040 * soft-fp/mulsf3.c: Likewise.
24041 * soft-fp/multf3.c: Likewise.
24042 * soft-fp/negdf2.c: Likewise.
24043 * soft-fp/negsf2.c: Likewise.
24044 * soft-fp/negtf2.c: Likewise.
24045 * soft-fp/op-1.h: Likewise.
24046 * soft-fp/op-2.h: Likewise.
24047 * soft-fp/op-4.h: Likewise.
24048 * soft-fp/op-8.h: Likewise.
24049 * soft-fp/op-common.h: Likewise.
24050 * soft-fp/quad.h: Likewise.
24051 * soft-fp/single.h: Likewise.
24052 * soft-fp/soft-fp.h: Likewise.
24053 * soft-fp/sqrtdf2.c: Likewise.
24054 * soft-fp/sqrtsf2.c: Likewise.
24055 * soft-fp/sqrttf2.c: Likewise.
24056 * soft-fp/subdf3.c: Likewise.
24057 * soft-fp/subsf3.c: Likewise.
24058 * soft-fp/subtf3.c: Likewise.
24059 * soft-fp/truncdfsf2.c: Likewise.
24060 * soft-fp/trunctfdf2.c: Likewise.
24061 * soft-fp/trunctfsf2.c: Likewise.
24062 * soft-fp/trunctfxf2.c: Likewise.
24063 * soft-fp/unorddf2.c: Likewise.
24064 * soft-fp/unordsf2.c: Likewise.
24065 * soft-fp/unordtf2.c: Likewise.
24067 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24069 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24070 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24072 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24074 * elf/dl-libc.c: Clear initfini list after freeing.
24076 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24078 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24079 * soft-fp/addsf3.c: Likewise.
24080 * soft-fp/addtf3.c: Likewise.
24081 * soft-fp/divdf3.c: Likewise.
24082 * soft-fp/divsf3.c: Likewise.
24083 * soft-fp/divtf3.c: Likewise.
24084 * soft-fp/double.h: Likewise.
24085 * soft-fp/eqdf2.c: Likewise.
24086 * soft-fp/eqsf2.c: Likewise.
24087 * soft-fp/eqtf2.c: Likewise.
24088 * soft-fp/extenddftf2.c: Likewise.
24089 * soft-fp/extended.h: Likewise.
24090 * soft-fp/extendsfdf2.c: Likewise.
24091 * soft-fp/extendsftf2.c: Likewise.
24092 * soft-fp/extendxftf2.c: Likewise.
24093 * soft-fp/fixdfdi.c: Likewise.
24094 * soft-fp/fixdfsi.c: Likewise.
24095 * soft-fp/fixdfti.c: Likewise.
24096 * soft-fp/fixsfdi.c: Likewise.
24097 * soft-fp/fixsfsi.c: Likewise.
24098 * soft-fp/fixsfti.c: Likewise.
24099 * soft-fp/fixtfdi.c: Likewise.
24100 * soft-fp/fixtfsi.c: Likewise.
24101 * soft-fp/fixtfti.c: Likewise.
24102 * soft-fp/fixunsdfdi.c: Likewise.
24103 * soft-fp/fixunsdfsi.c: Likewise.
24104 * soft-fp/fixunsdfti.c: Likewise.
24105 * soft-fp/fixunssfdi.c: Likewise.
24106 * soft-fp/fixunssfsi.c: Likewise.
24107 * soft-fp/fixunssfti.c: Likewise.
24108 * soft-fp/fixunstfdi.c: Likewise.
24109 * soft-fp/fixunstfsi.c: Likewise.
24110 * soft-fp/fixunstfti.c: Likewise.
24111 * soft-fp/floatdidf.c: Likewise.
24112 * soft-fp/floatdisf.c: Likewise.
24113 * soft-fp/floatditf.c: Likewise.
24114 * soft-fp/floatsidf.c: Likewise.
24115 * soft-fp/floatsisf.c: Likewise.
24116 * soft-fp/floatsitf.c: Likewise.
24117 * soft-fp/floattidf.c: Likewise.
24118 * soft-fp/floattisf.c: Likewise.
24119 * soft-fp/floattitf.c: Likewise.
24120 * soft-fp/floatundidf.c: Likewise.
24121 * soft-fp/floatundisf.c: Likewise.
24122 * soft-fp/floatunsidf.c: Likewise.
24123 * soft-fp/floatunsisf.c: Likewise.
24124 * soft-fp/floatuntidf.c: Likewise.
24125 * soft-fp/floatuntisf.c: Likewise.
24126 * soft-fp/floatuntitf.c: Likewise.
24127 * soft-fp/fmadf4.c: Likewise.
24128 * soft-fp/fmasf4.c: Likewise.
24129 * soft-fp/fmatf4.c: Likewise.
24130 * soft-fp/gedf2.c: Likewise.
24131 * soft-fp/gesf2.c: Likewise.
24132 * soft-fp/getf2.c: Likewise.
24133 * soft-fp/ledf2.c: Likewise.
24134 * soft-fp/lesf2.c: Likewise.
24135 * soft-fp/letf2.c: Likewise.
24136 * soft-fp/muldf3.c: Likewise.
24137 * soft-fp/mulsf3.c: Likewise.
24138 * soft-fp/multf3.c: Likewise.
24139 * soft-fp/negdf2.c: Likewise.
24140 * soft-fp/negsf2.c: Likewise.
24141 * soft-fp/negtf2.c: Likewise.
24142 * soft-fp/op-1.h: Likewise.
24143 * soft-fp/op-2.h: Likewise.
24144 * soft-fp/op-4.h: Likewise.
24145 * soft-fp/op-8.h: Likewise.
24146 * soft-fp/op-common.h: Likewise.
24147 * soft-fp/quad.h: Likewise.
24148 * soft-fp/single.h: Likewise.
24149 * soft-fp/soft-fp.h: Likewise.
24150 * soft-fp/sqrtdf2.c: Likewise.
24151 * soft-fp/sqrtsf2.c: Likewise.
24152 * soft-fp/sqrttf2.c: Likewise.
24153 * soft-fp/subdf3.c: Likewise.
24154 * soft-fp/subsf3.c: Likewise.
24155 * soft-fp/subtf3.c: Likewise.
24156 * soft-fp/truncdfsf2.c: Likewise.
24157 * soft-fp/trunctfdf2.c: Likewise.
24158 * soft-fp/trunctfsf2.c: Likewise.
24159 * soft-fp/trunctfxf2.c: Likewise.
24160 * soft-fp/unorddf2.c: Likewise.
24161 * soft-fp/unordsf2.c: Likewise.
24162 * soft-fp/unordtf2.c: Likewise.
24164 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24167 * misc/error.c (error_tail): Fix possible buffer overflow.
24169 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24172 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24175 2013-10-14 P. J. McDermott <pj@pehjota.net>
24178 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24179 testing pipefail option.
24181 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24183 * soft-fp/double.h: Indent preprocessor directives inside #if.
24184 * soft-fp/extended.h: Likewise.
24185 * soft-fp/op-2.h: Likewise.
24186 * soft-fp/op-4.h: Likewise.
24187 * soft-fp/op-common.h: Likewise.
24188 * soft-fp/quad.h: Likewise.
24189 * soft-fp/single.h: Likewise.
24190 * soft-fp/soft-fp.h: Likewise.
24192 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24194 * iconv/iconv_prog.c: Fix typos.
24195 * stdio-common/psiginfo-data.h: Likewise.
24197 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24200 * locale/setlocale.c: Fix typo.
24202 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24205 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24206 signaling NaN arguments.
24207 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24208 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24211 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24212 unordered operands.
24213 * soft-fp/gesf2.c (__gesf2): Likewise.
24214 * soft-fp/getf2.c (__getf2): Likewise.
24215 * soft-fp/ledf2.c (__ledf2): Likewise.
24216 * soft-fp/lesf2.c (__lesf2): Likewise.
24217 * soft-fp/letf2.c (__letf2): Likewise.
24219 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24220 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24221 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24222 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24223 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24224 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24225 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24226 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24227 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24228 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24229 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24230 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24231 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24232 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24233 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24234 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24235 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24236 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24237 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24238 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24239 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24240 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24241 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24242 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24243 * soft-fp/floattidf.c (__floattidf): Likewise.
24244 * soft-fp/floattisf.c (__floattisf): Likewise.
24245 * soft-fp/floattitf.c (__floattitf): Likewise.
24246 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24247 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24248 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24249 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24250 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24251 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24252 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24253 * soft-fp/gesf2.c (__gesf2): Likewise.
24254 * soft-fp/getf2.c (__getf2): Likewise.
24255 * soft-fp/ledf2.c (__ledf2): Likewise.
24256 * soft-fp/lesf2.c (__lesf2): Likewise.
24257 * soft-fp/letf2.c (__letf2): Likewise.
24259 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24260 Undefine and redefine.
24261 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24262 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24263 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24264 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24265 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24266 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24267 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24268 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24269 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24270 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24271 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24272 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24273 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24274 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24275 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24278 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24279 without decrementing exponent if mantissa >= that for the
24280 denominator, not >.
24281 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24282 denominator, not >. Decrement exponent in < case instead of
24283 incrementing in >= case.
24284 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24285 without decrementing exponent if mantissa >= that for the
24286 denominator, not >.
24288 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24289 computing saturated result for unsigned overflow.
24291 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24292 Jeff Law <law@redhat.com>
24294 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24295 (atan2Mp): Add systemtap probe marker.
24296 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24297 (__ieee754_log): Add systemtap probe marker.
24298 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24299 (atanMp): Add systemtap probe marker.
24300 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24301 (tanMp): Add systemtap probe marker.
24302 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24303 (__slowexp): Add systemtap probe marker.
24304 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24305 (__slowpow): Add systemtap probe marker.
24306 * manual/probes.texi: Document probes.
24308 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24311 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24313 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24315 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24316 written to buffer but not flushed.
24317 * libio/iofwrite_u.c: Likewise.
24318 * libio/iopadn.c: Return bytes returned even if EOF was
24320 * libio/iowpadn.c: Likewise.
24321 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24322 if _IO_padn does not write the whole buffer.
24323 [!COMPILE_WPRINTF] (PAD): Likewise.
24325 2013-10-10 David S. Miller <davem@davemloft.net>
24327 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24330 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24332 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24333 instead of FSF address.
24334 * soft-fp/fixdfti.c: Likewise.
24335 * soft-fp/fixsfti.c: Likewise.
24336 * soft-fp/fixtfti.c: Likewise.
24337 * soft-fp/fixunsdfti.c: Likewise.
24338 * soft-fp/fixunssfti.c: Likewise.
24339 * soft-fp/fixunstfti.c: Likewise.
24340 * soft-fp/floattidf.c: Likewise.
24341 * soft-fp/floattisf.c: Likewise.
24342 * soft-fp/floattitf.c: Likewise.
24343 * soft-fp/floatuntidf.c: Likewise.
24344 * soft-fp/floatuntisf.c: Likewise.
24345 * soft-fp/floatuntitf.c: Likewise.
24346 * soft-fp/trunctfxf2.c: Likewise.
24348 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24349 * soft-fp/fixdfti.c: Likewise.
24350 * soft-fp/fixsfti.c: Likewise.
24351 * soft-fp/fixtfti.c: Likewise.
24352 * soft-fp/fixunsdfti.c: Likewise.
24353 * soft-fp/fixunssfti.c: Likewise.
24354 * soft-fp/fixunstfti.c: Likewise.
24355 * soft-fp/floattidf.c: Likewise.
24356 * soft-fp/floattisf.c: Likewise.
24357 * soft-fp/floattitf.c: Likewise.
24358 * soft-fp/floatuntidf.c: Likewise.
24359 * soft-fp/floatuntisf.c: Likewise.
24360 * soft-fp/floatuntitf.c: Likewise.
24361 * soft-fp/trunctfxf2.c: Likewise.
24363 2013-10-10 David S. Miller <davem@davemloft.net>
24365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24367 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24369 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24370 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24371 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24372 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24373 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24374 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24375 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24378 for NaNs before doing comparisons on argument.
24379 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24382 2013-10-10 Will Newton <will.newton@linaro.org>
24384 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24385 passed to _int_memalign does not overflow.
24387 2013-10-10 Torvald Riegel <triegel@redhat.com>
24389 * scripts/bench.pl: Add include-sources directive.
24390 * benchtests/README: Update documentation.
24392 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24394 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24395 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24396 instead of FP_INIT_ROUNDMODE.
24397 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24398 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24401 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24402 copy class of input value.
24403 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24404 not handle exceptions.
24405 * soft-fp/negsf2.c (__negsf2): Likewise.
24406 * soft-fp/negtf2.c (__negtf2): Likewise.
24407 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24409 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24411 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24412 semicolon. From Linux kernel.
24414 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24416 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24418 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24421 * manual/socket.texi: Added statement about buffer
24422 for gethostbyname2_r.
24424 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24426 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24427 Use .p2align directive instead, throughout.
24428 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24429 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24430 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24433 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24434 * sysdeps/x86_64/strchr.S: Likewise.
24435 * sysdeps/x86_64/strrchr.S: Likewise.
24437 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24439 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24441 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24443 * sysdeps/generic/math_private.h (__mpsin1): Remove
24445 (__mpcos1): Likewise.
24446 (__mpsin): New argument __range_reduce.
24447 (__mpcos): Likewise.
24448 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24449 (slow): Use __mpsin and __mpcos.
24453 (sloww1): Likewise.
24454 (sloww2): Likewise.
24455 (bsloww): Likewise.
24456 (bsloww1): Likewise.
24457 (bsloww2): Likewise.
24458 (cslow2): Likewise.
24459 (csloww): Likewise.
24460 (csloww1): Likewise.
24461 (csloww2): Likewise.
24462 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24463 range_reduce. Merge in __mpsin1.
24464 (__mpcos): Likewise.
24465 (__mpsin1): Remove.
24466 (__mpcos1): Likewise.
24468 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24470 * locale/loadlocale.c (_nl_intern_locale_data): Use
24472 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24473 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24474 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24475 obstack data is appropriately aligned.
24476 (obstack_int32_grow_fast): Likewise.
24477 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24478 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24479 (add_locale_uint32_array): Likewise.
24481 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24483 * benchtests/Makefile: Remove ARGLIST and RET variables.
24484 ($(objpfx)bench-%.c): Pass only function name to the script.
24485 * benchtests/README: Update documentation.
24486 * benchtests/acos-inputs: Add new directives.
24487 * benchtests/acosh-inputs: Likewise.
24488 * benchtests/asin-inputs: Likewise.
24489 * benchtests/asinh-inputs: Likewise.
24490 * benchtests/atan-inputs: Likewise.
24491 * benchtests/atanh-inputs: Likewise.
24492 * benchtests/cos-inputs: Likewise.
24493 * benchtests/cosh-inputs: Likewise.
24494 * benchtests/exp-inputs: Likewise.
24495 * benchtests/log-inputs: Likewise.
24496 * benchtests/pow-inputs: Likewise.
24497 * benchtests/rint-inputs: Likewise.
24498 * benchtests/sin-inputs: Likewise.
24499 * benchtests/sinh-inputs: Likewise.
24500 * benchtests/tan-inputs: Likewise.
24501 * benchtests/tanh-inputs: Likewise.
24502 * scripts/bench.pl: Add support for new directives.
24504 2013-10-07 Alan Modra <amodra@gmail.com>
24506 * README: Fix careless merge.
24508 2013-10-05 Alan Modra <amodra@gmail.com>
24510 * NEWS: Mention powerpc64le support and bugs fixed.
24511 * README: Both big-endian and little-endian powerpc64 supported.
24513 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24515 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24516 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24517 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24518 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24520 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24522 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24525 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24527 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24528 Move -mhard-float appending from
24529 ports/sysdeps/powerpc/powerpc32/Makefile.
24530 [$(with-fp) = yes] (ASFLAGS): Likewise.
24531 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24532 * sysdeps/powerpc/nofpu: Move directory from
24533 ports/sysdeps/powerpc/nofpu.
24534 * sysdeps/powerpc/soft-fp: Move directory from
24535 ports/sysdeps/powerpc/soft-fp.
24536 * sysdeps/powerpc/powerpc32/405: Move directory from
24537 ports/sysdeps/powerpc/powerpc32/405.
24538 * sysdeps/powerpc/powerpc32/440: Move directory from
24539 ports/sysdeps/powerpc/powerpc32/440.
24540 * sysdeps/powerpc/powerpc32/464: Move directory from
24541 ports/sysdeps/powerpc/powerpc32/464.
24542 * sysdeps/powerpc/powerpc32/476: Move directory from
24543 ports/sysdeps/powerpc/powerpc32/476.
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24545 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24547 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24549 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24551 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24553 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24554 * README: Update for powerpc-*-linux-gnu software floating point
24557 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24558 case to powerpc/powerpc32*.
24559 * sysdeps/unix/sysv/linux/configure: Regenerated.
24561 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24562 (_FPU_MASK_OM): Define as 0x04.
24563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24571 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24574 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24578 and setcontext_e500.
24580 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24582 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24584 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24586 * manual/threads.texi (Default Thread Attributes): Fix typo.
24588 2013-10-04 Will Newton <will.newton@linaro.org>
24590 * malloc/Makefile: Add tst-memalign.
24591 * malloc/tst-memalign.c: New file.
24593 * malloc/tst-posix_memalign.c: Add comments.
24594 (do_test): Add comments and call free on all potentially
24595 allocated pointers. Add space after cast.
24597 * malloc/tst-pvalloc.c: Add comments.
24598 (do_test): Add comments and call free on all potentially
24599 allocated pointers. Remove duplicate check for NULL pointer.
24600 Add space after cast.
24602 * malloc/tst-valloc.c: Add comments.
24603 (do_test): Add comments and call free on all potentially
24604 allocated pointers. Remove duplicate check for NULL pointer.
24605 Add space after cast.
24607 2013-10-04 Alan Modra <amodra@gmail.com>
24609 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24610 Use stdint types in rather than __attribute__((mode())).
24611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24613 2013-10-04 Alan Modra <amodra@gmail.com>
24615 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24616 Correct handling of unaligned relocs for little-endian.
24617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24619 2013-10-04 Alan Modra <amodra@gmail.com>
24621 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24622 * configure: Regenerate.
24623 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24624 * shlib-versions: Likewise.
24626 2013-10-04 Alan Modra <amodra@gmail.com>
24628 * string/tester.c (test_memrchr): Increment reported test cycle.
24630 2013-10-04 Alan Modra <amodra@gmail.com>
24632 * string/test-memcpy.c (do_one_test): When reporting errors, print
24633 string address and don't overrun end of string.
24635 2013-10-04 Alan Modra <amodra@gmail.com>
24637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24638 insrdi. Make better use of reg selection to speed exit slightly.
24639 Schedule entry path a little better. Remove useless "are we done"
24640 checks on entry to main loop. Handle wrapping around zero address.
24641 Correct main loop count. Handle single left-over word from main
24642 loop inline rather than by using loop_small. Remove extra word
24643 case in loop_small caused by wrong loop count. Add little-endian
24645 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24646 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24648 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24649 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24650 support. Avoid rlwimi.
24651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24653 2013-10-04 Alan Modra <amodra@gmail.com>
24655 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24656 insrdi. Formatting.
24657 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24658 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24659 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24661 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24662 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24664 2013-10-04 Alan Modra <amodra@gmail.com>
24666 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24667 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24668 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24671 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24672 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24673 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24674 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24675 use of regs. Use power7 mtocrf. Tidy function tails.
24677 2013-10-04 Alan Modra <amodra@gmail.com>
24679 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24680 Formatting. Consistently use rXXX register defines or rN defines.
24681 Use early exit labels that avoid restoring unused non-volatile regs.
24682 Make cr field use more consistent with rWORDn compares. Rename
24683 regs used as shift registers for unaligned loop, using rN defines
24684 for short lifetime/multiple use regs.
24685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24687 addi 1,1,64 to pop stack frame. Simplify return value code.
24688 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24690 2013-10-04 Alan Modra <amodra@gmail.com>
24692 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24693 support. Correct typos, formatting. Optimize tail. Use insrdi
24694 rather than rlwimi.
24695 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24696 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24697 little-endian support. Correct typos.
24698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24699 rather than rlwimi.
24700 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24701 in loop and entry code to keep "and." results.
24702 (strchr): Add little-endian support. Comment. Move cntlzd
24704 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24706 2013-10-04 Alan Modra <amodra@gmail.com>
24708 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24709 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24711 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24713 2013-10-04 Alan Modra <amodra@gmail.com>
24715 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24716 (rTMP): Define as r11.
24717 (strcmp): Add little-endian support. Optimise tail.
24718 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24719 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24720 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24722 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24726 2013-10-04 Alan Modra <amodra@gmail.com>
24728 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24729 little-endian support. Remove unnecessary "are we done" tests.
24730 Handle "s" wrapping around zero and extremely large "size".
24731 Correct main loop count. Handle single left-over word from main
24732 loop inline rather than by using small_loop. Correct comments.
24733 Delete "zero" tail, use "end_max" instead.
24734 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24736 2013-10-04 Alan Modra <amodra@gmail.com>
24738 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24739 support. Don't branch over align.
24740 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24741 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24742 support. Rearrange tmp reg use to suit. Comment.
24743 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24745 2013-10-04 Alan Modra <amodra@gmail.com>
24747 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24749 2013-10-04 Alan Modra <amodra@gmail.com>
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24752 conditional form of branch and link when obtaining pc.
24753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24755 2013-10-04 Alan Modra <amodra@gmail.com>
24757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24762 2013-10-04 Alan Modra <amodra@gmail.com>
24764 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24765 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24766 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24767 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24768 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24769 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24770 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24771 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24773 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24775 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24776 Alistair Popple <alistair@ozlabs.au.ibm.com>
24777 Alan Modra <amodra@gmail.com>
24780 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24781 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24782 _dl_hwcap access for little-endian.
24783 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24784 destroy vmx regs when saving unaligned.
24785 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24786 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24787 destroy vmx regs when saving unaligned.
24789 2013-10-04 Alan Modra <amodra@gmail.com>
24791 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24792 Don't use a union to pack hi/low value.
24794 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24796 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24798 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24804 2013-10-04 Alan Modra <amodra@gmail.com>
24806 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24807 constants to usual value for .cst8 section, and remove redundant
24809 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24810 constant for 0x1p52. Load little-endian words of double from
24811 correct stack offsets.
24813 2013-10-04 Alan Modra <amodra@gmail.com>
24815 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24816 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24817 words of double from correct stack offsets.
24818 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24819 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24820 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24825 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24827 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24830 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24831 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24832 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24833 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24834 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24836 2013-10-04 Alan Modra <amodra@gmail.com>
24838 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24839 64-bit int/double union.
24840 (_FPU_SETCW): Likewise.
24841 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24842 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24844 2013-10-04 Alan Modra <amodra@gmail.com>
24846 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24847 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24849 2013-10-04 Alan Modra <amodra@gmail.com>
24851 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24852 use vector int constants.
24853 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24855 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24857 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24858 array with long long.
24859 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24860 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24861 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24862 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24863 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24864 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24865 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24866 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24867 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24868 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24869 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24870 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24871 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24873 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24875 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24876 (__signbit): Likewise. Correct for little-endian.
24877 (__signbitl): Call __signbit.
24878 (lrint): Correct for little-endian.
24879 (lrintf): Call lrint.
24881 2013-10-04 Alan Modra <amodra@gmail.com>
24883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24884 union 32-bit int array member with 64-bit int array.
24885 (t515, tm256): Double rather than long double.
24886 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24888 2013-10-04 Alan Modra <amodra@gmail.com>
24890 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24892 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24894 version of math_ldbl.h.
24896 2013-10-04 Alan Modra <amodra@gmail.com>
24898 [BZ #15734], [BZ #15735]
24899 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24900 all uses of ieee875 long double macros and unions. Simplify test
24901 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24902 ldbl_extract_mantissa value for ix,iy exponents. Properly
24903 normalize after ldbl_extract_mantissa, and don't add hidden bit
24904 already handled. Don't treat low word of ieee854 mantissa like
24905 low word of IBM long double and mask off bit when testing for
24907 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24908 all uses of ieee875 long double macros and unions. Simplify tests
24909 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24910 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24911 two1022, instead use their values. Recognise that tests for large
24912 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24913 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24914 Rewrite all uses of ieee875 long double macros and unions. Simplify
24915 test for 0.0L and nan. Correct negation.
24916 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24917 ieee875 long double macros and unions. Correct output for large
24918 magnitude x. Correct absolute value calculation.
24919 (__erfcl): Likewise.
24920 * math/libm-test.inc: Add tests for errors discovered in IBM long
24921 double versions of fmodl, remainderl, erfl and erfcl.
24923 2013-10-04 Alan Modra <amodra@gmail.com>
24925 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24926 all uses of ieee854 long double macros and unions. Simplify tests
24927 for long doubles that are fully specified by the high double.
24928 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24931 Remove dead code too.
24932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24933 (__ieee754_ynl): Likewise.
24934 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24935 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24936 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24937 Remove dead code too.
24938 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24939 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24940 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24941 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24943 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24945 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24946 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24948 Comment on variable precision.
24949 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24950 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24952 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24953 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24954 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24956 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24958 2013-10-04 Alan Modra <amodra@gmail.com>
24960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24961 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24962 all uses of ieee854 long double macros and unions.
24963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24965 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24966 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24967 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24968 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24975 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24976 Simplify sign and nan test too.
24977 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24978 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24979 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24980 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24983 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24985 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24986 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24987 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24988 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24989 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24992 2013-10-04 Alan Modra <amodra@gmail.com>
24994 * stdio-common/printf_size.c (__printf_size): Don't use
24995 union ieee854_long_double in fpnum union.
24996 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24997 signbit macro to retrieve sign from long double.
24998 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24999 retrieve sign from long double.
25000 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25001 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25002 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25003 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25004 * math/test-misc.c (main): Don't use union ieee854_long_double.
25006 2013-10-04 Alan Modra <amodra@gmail.com>
25009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25010 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25011 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25012 calculation. Remove unnecessary test for denormal exponent.
25013 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25014 Correct handling of denormals. Avoid undefined shift behaviour.
25015 Correct normalisation of low mantissa when low double is denormal.
25016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25017 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25018 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25019 Correct normalisation of low mantissa. Test for overflow of high
25020 mantissa and normalise.
25021 (ldbl_nearbyint): Use more readable constant for two52.
25022 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25023 (__mpn_construct_long_double): Fix test for overflow of high
25024 mantissa and correct normalisation. Avoid undefined shift.
25026 2013-10-04 Alan Modra <amodra@gmail.com>
25028 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25029 (union ibm_extended_long_double): Define as an array of ieee754_double.
25030 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25031 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25032 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25033 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25035 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25037 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25040 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25042 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25044 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25045 page size instead of calling getpagesize.
25047 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25048 (LOCFILE_ALIGN_MASK): Likewise.
25049 (LOCFILE_ALIGN_UP): Likewise.
25050 (LOCFILE_ALIGNED_P): Likewise.
25051 * locale/programs/ld-collate.c (collate_output): Use the new
25052 macros instead of __alignof__ (int32_t).
25053 * locale/weight.h (findidx): Likewise.
25055 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25058 * manual/string.texi: Fix strncat and wcsncat.
25060 2013-10-03 Brooks Moses <bmoses@google.com>
25063 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25064 * Makerules: ...here, and adjust associated comments.
25066 2013-10-02 Will Newton <will.newton@linaro.org>
25068 * malloc/Makefile: Add tst-pvalloc.
25069 * malloc/tst-pvalloc.c: New file.
25071 2013-10-02 Will Newton <will.newton@linaro.org>
25073 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25074 improve test coverage.
25076 2013-10-02 Will Newton <will.newton@linaro.org>
25078 * malloc/Makefile: Add tst-posix_memalign.
25079 * malloc/tst-posix_memalign.c: New file.
25081 2013-10-01 Eric Blake <eblake@redhat.com>
25083 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25084 Use __THROWNL rather than __THROW on static functions.
25086 2013-09-30 Petr Machata <pmachata@redhat.com>
25088 * elf/elf.h (R_AARCH64_ABS16): New macro.
25089 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25090 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25091 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25092 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25093 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25094 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25095 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25096 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25097 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25098 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25099 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25100 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25101 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25102 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25103 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25104 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25105 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25106 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25107 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25108 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25109 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25110 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25111 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25112 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25113 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25114 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25115 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25116 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25117 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25118 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25119 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25120 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25121 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25122 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25123 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25124 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25125 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25126 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25127 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25128 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25129 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25130 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25131 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25132 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25133 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25134 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25135 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25136 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25137 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25138 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25139 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25140 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25141 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25142 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25143 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25144 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25145 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25146 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25147 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25148 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25149 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25150 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25151 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25152 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25153 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25154 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25155 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25156 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25157 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25158 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25159 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25160 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25161 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25162 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25163 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25164 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25165 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25166 (R_AARCH64_TLSDESC_LDR): Likewise.
25167 (R_AARCH64_TLSDESC_ADD): Likewise.
25168 (R_AARCH64_TLSDESC_CALL): Likewise.
25170 2013-09-30 Andreas Schwab <schwab@suse.de>
25173 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25174 the nss database lookup.
25175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25178 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25180 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25182 2013-09-28 P. J. McDermott <pj@pehjota.net>
25184 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25185 ${Bash-specific parameter/pattern/string} parameter expansion.
25186 * sysdeps/unix/make-syscalls.sh: Likewise.
25188 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25190 * sysdeps/sh/stackguard-macros.h: New file.
25192 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25196 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25197 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25198 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25199 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25201 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25203 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25204 Fix thread ID register.
25206 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25208 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25209 [POSIX || UNIX98]: Require rather than permitting all symbols from
25211 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25212 element of struct sched_param.
25213 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25214 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25215 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25216 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25219 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25221 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25222 argument calculation.
25224 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25226 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25228 [POSIX] (pthread_attr_t): Do not require type.
25229 [POSIX] (pthread_cond_t): Likewise.
25230 [POSIX] (pthread_condattr_t): Likewise.
25231 [POSIX] (pthread_key_t): Likewise.
25232 [POSIX] (pthread_mutex_t): Likewise.
25233 [POSIX] (pthread_mutexattr_t): Likewise.
25234 [POSIX] (pthread_once_t): Likewise.
25235 [POSIX] (pthread_t): Likewise.
25236 [POSIX-based standards] (pthread_atfork): Expect function.
25238 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25239 Richard Sandiford <richard@codesourcery.com>
25241 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25242 (swap_endianness_p): New extern variable.
25243 (set_big_endian): New inline function.
25244 (maybe_swap_uint32): Likewise.
25245 (maybe_swap_uint32_array): Likewise.
25246 (maybe_swap_uint32_obstack): Likewise.
25247 * locale/programs/locfile.c: Include <stdbool.h>.
25248 (swap_endianness_p): New variable.
25249 (add_locale_uint32): Call maybe_swap_uint32.
25250 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25251 (write_locale_data): Call maybe_swap_uint32_array.
25252 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25254 (obstack_int32_grow_fast): Likewise.
25255 (output_weightwc): Call maybe_swap_uint32_obstack.
25256 (collate_output): Likewise.
25257 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25258 (OPT_LITTLE_ENDIAN): Likewise.
25259 (options): Add --little-endian and --big-endian options.
25260 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25261 * locale/programs/locarchive.c: Include "locfile.h".
25265 (create_archive): Use the new macros to access fields of
25266 structures directly mapped from or written to locale archives.
25267 (oldlocrecentcmp): Likewise.
25268 (enlarge_archive): Likewise.
25269 (insert_name): Likewise.
25270 (add_alias): Likewise.
25271 (add_locale): Likewise.
25272 (delete_locales_from_archive): Likewise.
25273 (show_archive_content): Likewise.
25274 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25277 2013-09-24 Roland McGrath <roland@hack.frob.com>
25279 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25280 http://www.gnu.org/doc/freemanuals.texi.
25281 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25283 2013-09-24 Will Newton <will.newton@linaro.org>
25285 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25288 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25290 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25293 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25295 * manual/threads.texi (POSIX Threads): Fix a typo.
25297 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25300 * string/tst-strcoll-overflow.c: New test case.
25301 * string/Makefile (xtests): Add tst-strcoll-overflow.
25302 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25303 cache if string sizes may cause integer overflow.
25306 * string/strcoll_l.c (coll_seq): New members rule, idx,
25307 save_idx and back_us.
25308 (get_next_seq_nocache): New function.
25309 (do_compare_nocache): New function.
25310 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25313 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25316 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25317 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25318 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25321 * elf/Makefile (tests): Add tst-ptrguard1.
25322 (tests-static): Add tst-ptrguard1-static.
25323 (tst-ptrguard1-ARGS): Define.
25324 (tst-ptrguard1-static-ARGS): Define.
25325 * elf/tst-ptrguard1.c: New file.
25326 * elf/tst-ptrguard1-static.c: New file.
25327 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25328 * sysdeps/i386/stackguard-macros.h: Likewise.
25329 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25330 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25331 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25332 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25333 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25334 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25336 2013-09-23 Hector Marco <hecmargi@upv.es>
25337 Ismael Ripoll <iripoll@disca.upv.es>
25338 Carlos O'Donell <carlos@redhat.com>
25341 * sysdeps/generic/stackguard-macros.h: Define
25342 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25343 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25344 Define __pointer_chk_guard_local.
25345 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25346 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25348 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25351 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25353 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25355 * include/string.h (__ffs): Declare as hidden.
25356 * string/ffs.c (__ffs): Define as hidden.
25357 * sysdeps/i386/ffs.c (__ffs): Likewise.
25358 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25359 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25360 * sysdeps/s390/ffs.c (__ffs): Likewise.
25361 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25363 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25365 * NEWS: Mention malloc probes.
25367 * malloc/arena.c (new_heap): New memory_heap_new probe.
25368 (grow_heap): New memory_heap_more probe.
25369 (shrink_heap): New memory_heap_less probe.
25370 (heap_trim): New memory_heap_free probe.
25371 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25372 (systrim): New memory_sbrk_less probe.
25373 * manual/probes.texi: Document them.
25375 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25376 * manual/probes.texi: Document it.
25378 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25379 (__libc_realloc): Add memory_realloc_retry probe.
25380 (__libc_memalign): Add memory_memalign_retry probe.
25381 (__libc_valloc): Add memory_valloc_retry probe.
25382 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25383 (__libc_calloc): Add memory_calloc_retry probe.
25384 * manual/probes.texi: Document them.
25386 * malloc/arena.c (get_free_list): Add probe
25387 memory_arena_reuse_free_list.
25388 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25389 and memory_arena_reuse.
25390 (arena_get2) [!PER_THREAD]: Likewise.
25391 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25392 memory_arena_reuse_realloc.
25393 * manual/probes.texi: Document them.
25395 * malloc/malloc.c (__libc_free): Add
25396 memory_mallopt_free_dyn_thresholds probe.
25397 (__libc_mallopt): Add multiple memory_mallopt probes.
25398 * manual/probes.texi: Document them.
25400 * malloc/malloc.c: Include stap-probe.h.
25401 (__libc_mallopt): Add memory_mallopt probe.
25402 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25403 * manual/probes.texi: New.
25404 * manual/Makefile (chapters): Add probes.
25405 * manual/threads.texi: Set next node.
25407 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25409 [BZ #15963, #13985]
25410 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25411 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25412 Add `Chinese' to `nan' entry name.
25414 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25416 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25417 (POLYNOMIAL): Likewise.
25418 (TAYLOR_SINCOS): Likewise.
25419 (TAYLOR_SLOW): Likewise.
25420 (__sin): Use TAYLOR_SINCOS.
25422 (slow): Use TAYLOR_SLOW.
25424 (bsloww): Likewise.
25425 (csloww): Likewise.
25427 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25429 * stdlib/strtod_l.c: Fix buffer overrun.
25431 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25433 * benchtests/Makefile (bench): Add sincos.
25434 * benchtests/bench-sincos.c: New file.
25436 * math/libm-test.inc (cos_test_data): New test inputs.
25437 (sin_test_data): Likewise.
25439 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25445 (sloww1): Likewise.
25446 (sloww2): Likewise.
25447 (bsloww1): Likewise.
25448 (bsloww2): Likewise.
25449 (cslow2): Likewise.
25450 (csloww1): Likewise.
25451 (csloww2): Likewise.
25453 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25458 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25462 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25464 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25465 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25466 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25467 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25468 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25469 * elf/cache.c (print_entry): Handle the new cache flags.
25471 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25472 Aldy Hernandez <aldyh@redhat.com>
25474 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25475 Change condition to [_SOFT_FLOAT].
25476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25478 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25488 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25491 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25494 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25496 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25497 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25498 (__longjmp): Use LOAD_GP to load saved GPRs.
25499 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25500 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25501 (__sigsetjmp): Use SAVE_GP to save GPRs.
25503 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25504 Do not append -msoft-float.
25505 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25507 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25509 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25511 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25514 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25515 (_FPU_GETCW): Use initial "__" on variable and field names but not
25516 on macro parameter name.
25517 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25518 parentheses around reference to macro parameter.
25520 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25522 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25524 (ctype_startup): Use uint32_t in cast and sizeof for
25527 2013-09-11 Jia Liu <proljc@gmail.com>
25529 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25531 [__FreeBSD__]: Likewise.
25533 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25536 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25537 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25538 (strchr): Remove __strchr_sse42 ifunc selection.
25539 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25540 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25542 2013-09-11 Will Newton <will.newton@linaro.org>
25544 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25545 parameter to RES. Remove hardcoded 1000 value.
25546 * benchtests/bench-skeleton.c (main): Pass RES parameter
25547 to TIMING_INIT and multiply result by 1000.
25549 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25553 2013-09-11 Andreas Schwab <schwab@suse.de>
25555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25557 (O_TMPFILE) [__USE_GNU]: Define.
25558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25561 2013-09-11 Will Newton <will.newton@linaro.org>
25564 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25567 2013-09-11 Will Newton <will.newton@linaro.org>
25570 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25573 2013-09-11 Will Newton <will.newton@linaro.org>
25576 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25579 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25581 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25587 2013-09-10 Allan McRae <allan@archlinux.org>
25590 * manual/arith.texi (Parsing of Floats): Clarify
25594 * manual/install.texi (Running make install): Mention
25596 * INSTALL: Regenerated.
25598 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25600 * csu/init-first.c (_init): Remove the !SHARED condition around
25601 FPU control word initialization.
25602 * elf/dl-support.c (_dl_fpu_control): New variable.
25603 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25604 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25605 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25606 * math/test-fpucw-static.c: New file.
25607 * math/test-fpucw-ieee.c: New file.
25608 * math/test-fpucw-ieee-static.c: New file.
25609 * math/Makefile (tests): Add `test-fpucw-ieee' and
25611 (tests-static): New variable.
25612 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25614 [($(build-shared),yes)]
25615 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25617 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25620 2013-09-09 Allan McRae <allan@archlinux.org>
25623 * manual/string.texi (Collation Functions): Fix typo in
25625 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25628 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25631 * libio/memstream.c (open_memstream): Fix memory leak.
25632 * libio/wmemstream.c (open_wmemstream): Likewise.
25635 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25637 2013-09-09 Will Newton <will.newton@linaro.org>
25639 * malloc/Makefile: Add tst-realloc to tests.
25640 * malloc/tst-realloc.c: New file.
25642 2013-09-09 Allan McRae <allan@archlinux.org>
25645 * COPYING: Update from GNU website to fix FSF address.
25646 * COPYING.LIB: Likewise.
25648 2013-09-06 David S. Miller <davem@davemloft.net>
25650 * po/zh_TW.po: Update Chinese (traditional) translation from
25651 translation project.
25653 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25654 Joseph Myers <joseph@codesourcery.com>
25656 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25658 (obstack_chunk_alloc): New macro.
25659 (obstack_chunk_free): Likewise.
25660 (record_offset): New function.
25661 (init_locale_data): Likewise.
25662 (align_locale_data): Likewise.
25663 (add_locale_empty): Likewise.
25664 (add_locale_raw_data): Likewise.
25665 (add_locale_raw_obstack): Likewise.
25666 (add_locale_string): Likewise.
25667 (add_locale_wstring): Likewise.
25668 (add_locale_uint32): Likewise.
25669 (add_locale_uint32_array): Likewise.
25670 (add_locale_char): Likewise.
25671 (start_locale_structure): Likewise.
25672 (end_locale_structure): Likewise.
25673 (start_locale_prelude): Likewise.
25674 (end_locale_prelude): Likewise.
25675 (write_locale_data): Take locale_file structure rather than an
25677 * locale/programs/locfile.h: Include "obstack.h".
25678 (struct locale_file): Change to store locale file contents instead
25680 (init_locale_data): New prototype.
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): Update prototype.
25695 * locale/programs/3level.h (struct TABLE): Remove result field.
25696 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25697 Use new locale_file interface.
25698 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25699 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25700 * locale/programs/ld-address.c (address_output): Use new
25701 locale_file interface.
25702 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25704 (collate_finish): Don't call collseq_table_finalize.
25705 (collate_output): Use new locale_file interface.
25706 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25708 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25709 (TABLE): Move defines earlier in file.
25710 (ELEMENT): Likewise.
25711 (DEFAULT): Likewise.
25712 (wctrans_table_add): Move macro and inline function earlier in
25714 (struct wctype_table): Move type earlier in file.
25715 (add_locale_wctype_table): New static prototype.
25716 (struct locale_ctype_t): Use logical types instead of struct iovec
25717 pointers for members.
25718 (ctype_output): Use new locale_file interface.
25719 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25720 new locale_file interface.
25721 (allocate_arrays): Update for use of new locale_file interface.
25722 * locale/programs/ld-identification.c (identification_output): Use
25723 new locale_file interface.
25724 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25725 * locale/programs/ld-messages.c (messages_output): Likewise.
25726 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25727 * locale/programs/ld-name.c (name_output): Likewise.
25728 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25729 * locale/programs/ld-paper.c (paper_output): Likewise.
25730 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25731 * locale/programs/ld-time.c (time_output): Likewise.
25733 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25735 * benchtests/Makefile: Add memrchr benchmark.
25736 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25737 benchmark as memrchr.
25738 * benchtests/bench-memrchr-ifunc.c: New file.
25739 * benchtests/bench-memrchr.c: New file.
25741 2013-09-06 Will Newton <will.newton@linaro.org>
25743 * benchtests/Makefile (string-bench): Add memcpy.
25745 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25746 Cong Wang <amwang@redhat.com>
25749 * sysdeps/unix/sysv/linux/bits/in.h
25750 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25751 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25752 before __USE_KERNEL_IPV6_DEFS uses.
25753 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25755 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25756 sockaddr_in6, or ipv6_mreq.
25758 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25760 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25761 memory access for final bytes in some large inputs.
25762 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25764 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25766 * string/test-memrchr.c: New file.
25767 * string/test-memrchr-ifunc.c: New file.
25768 * string/Makefile: Add new memrchr testcase.
25770 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25772 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25773 fanotify_init returns EPERM.
25775 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25777 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25779 (top level): Treat second token from macro or constant entries for
25780 allowed headers as allowed.
25781 * include/complex.h: Condition internal declarations on
25783 * include/fenv.h: Condition include of <stdbool.h> and internal
25784 declarations on [!_ISOMAC].
25786 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25789 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25791 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25793 * configure.in (--enable-versioning): Remove configure option.
25794 (libc_cv_asm_symver_directive): Remove configure test.
25795 (libc_cv_ld_version_script_option): Likewise.
25796 (VERSIONING): Remove variable and AC_SUBST.
25797 (DO_VERSIONING): Remove AC_DEFINE.
25798 * configure: Regenerated.
25799 * config.h.in (DO_VERSIONING): Remove macro.
25800 * Makerules [$(versioning) = yes]: Change conditionals to
25801 [$(build-shared) = yes].
25802 * config.make.in (versioning): Remove variable.
25803 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25804 [$(build-shared) = yes].
25805 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25806 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25807 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25808 [$(build-shared) = yes].
25809 * extra-lib.mk [$(versioning) = yes]: Likewise.
25810 * hurd/Makefile [$(versioning) = yes]: Likewise.
25811 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25813 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25815 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25816 [SHARED && !NO_HIDDEN].
25817 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25819 [SHARED && DO_VERSIONING]: Likewise..
25820 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25821 [$(build-shared) = yes].
25822 * manual/install.texi (--disable-versioning): Remove
25824 * INSTALL: Regenerated.
25825 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25827 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25828 [$(build-shared) = yes].
25829 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25830 * sysdeps/i386/i686/multiarch/strstr-c.c
25831 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25832 [SHARED && !NO_HIDDEN].
25833 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25834 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25835 * sysdeps/powerpc/powerpc32/dl-machine.c
25836 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25837 * sysdeps/powerpc/powerpc32/sysdep.h
25838 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25839 to [SHARED && PIC && !NO_HIDDEN].
25840 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25841 conditional to [SHARED].
25843 2013-09-04 Will Newton <will.newton@linaro.org>
25845 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25846 * benchtests/bench-string.h: Include bench-timing.h instead
25847 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25848 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25849 call to HP_TIMING_DIFF_INIT.
25850 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25851 instead of hp-timing.h macros.
25852 * benchtests/bench-memchr.c: Likewise.
25853 * benchtests/bench-memcmp.c: Likewise.
25854 * benchtests/bench-memcpy.c: Likewise.
25855 * benchtests/bench-memmem.c: Likewise.
25856 * benchtests/bench-memmove.c: Likewise.
25857 * benchtests/bench-memset.c: Likewise.
25858 * benchtests/bench-rawmemchr.c: Likewise.
25859 * benchtests/bench-strcasecmp.c: Likewise.
25860 * benchtests/bench-strcasestr.c: Likewise.
25861 * benchtests/bench-strcat.c: Likewise.
25862 * benchtests/bench-strchr.c: Likewise.
25863 * benchtests/bench-strcmp.c: Likewise.
25864 * benchtests/bench-strcpy.c: Likewise.
25865 * benchtests/bench-strcpy_chk.c: Likewise.
25866 * benchtests/bench-strlen.c: Likewise.
25867 * benchtests/bench-strncasecmp.c: Likewise.
25868 * benchtests/bench-strncat.c: Likewise.
25869 * benchtests/bench-strncmp.c: Likewise.
25870 * benchtests/bench-strncpy.c: Likewise.
25871 * benchtests/bench-strnlen.c: Likewise.
25872 * benchtests/bench-strpbrk.c: Likewise.
25873 * benchtests/bench-strrchr.c: Likewise.
25874 * benchtests/bench-strspn.c: Likewise.
25875 * benchtests/bench-strstr.c: Likewise.
25877 2013-09-04 Will Newton <will.newton@linaro.org>
25879 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25881 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25884 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25885 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25886 * math/libm-test.inc (lgamma_test_data): Add more tests.
25887 * sysdeps/i386/fpu/libm-test-ulps: Update.
25888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25892 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25896 Add strcmp-sse2-unaligned
25897 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25899 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25901 * Versions.def (libc): Add GLIBC_2.19.
25903 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25905 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25906 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25908 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25911 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25912 intermediate calculations in recurrence.
25913 (__ieee754_ynf): Likewise.
25914 * math/libm-test.inc (jn_test_data): Do not allow spurious
25915 underflow exception. Add more tests.
25916 (yn_test_data): Add more tests.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25920 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25922 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25924 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25926 * csu/init-first.c: Fix then/than typos.
25927 * locale/programs/ld-collate.c: Likewise.
25928 * locale/programs/linereader.h: Likewise.
25929 * manual/charset.texi: Likewise.
25930 * manual/filesys.texi: Likewise.
25931 * manual/stdio.texi: Likewise.
25932 * manual/string.texi: Likewise.
25933 * stdlib/fmtmsg.c: Likewise.
25934 * sysdeps/i386/stpncpy.S: Likewise.
25935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25936 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25937 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25938 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25940 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25942 * elf/dl-open.c: Fix typos.
25943 * iconvdata/gbbig5.c: Likewise.
25944 * iconvdata/iso-2022-jp.c: Likewise.
25945 * iconv/gconv_int.h: Likewise.
25946 * iconv/loop.c: Likewise.
25947 * nis/rpcsvc/nis.h: Likewise.
25948 * resolv/ns_name.c: Likewise.
25949 * stdio-common/vfscanf.c: Likewise.
25950 * streams/stropts.h: Likewise.
25951 * sunrpc/rpc_thread.c: Likewise.
25952 * sysdeps/i386/strpbrk.S: Likewise.
25953 * sysdeps/ieee754/k_standard.c: Likewise.
25954 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25956 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25957 * sysdeps/mach/hurd/profil.c: Likewise.
25958 * sysdeps/s390/dl-procinfo.h: Likewise.
25959 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25960 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25961 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25962 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25965 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25967 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25970 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25972 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25973 aix specific files.
25974 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25975 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25976 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25977 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25978 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25979 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25980 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25981 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25983 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25984 Roland McGrath <roland@hack.frob.com>
25986 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25987 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25989 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25991 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25992 __executable_start symbol instead of _start.
25994 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25996 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25997 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25999 * sysdeps/gnu/ldsodefs.h: ... this new file.
26001 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26002 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26003 instead of ELFOSABI_LINUX.
26005 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26006 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26007 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26008 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26010 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26011 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26012 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26014 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26015 (ibm_extended_long_double): Add ieee_nan member.
26016 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26017 (do_test): New function.
26019 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26021 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26022 functions, renamed from truncdfsf_test, trunctfsf_test,
26024 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26026 (do_test): Run all these.
26028 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26030 * argp/argp-help.c: Fix typos.
26031 * argp/argp-parse.c: Likewise.
26032 * debug/backtracesyms.c: Likewise.
26033 * elf/elf.h: Likewise.
26034 * malloc/malloc.c: Likewise.
26035 * nis/nis_print.c: Likewise.
26036 * resolv/res_comp.c: Likewise.
26037 * stdlib/stdlib.h: Likewise.
26038 * sunrpc/clnt_tcp.c: Likewise.
26039 * sunrpc/clnt_udp.c: Likewise.
26040 * sunrpc/clnt_unix.c: Likewise.
26041 * sysdeps/unix/bsd/ptsname.c: Likewise.
26042 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26043 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26050 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26052 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26054 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26057 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26060 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26061 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26062 ($(objpfx)bug-dl-leaf): New rule.
26063 ($(objpfx)bug-dl-leaf.so): Likewise.
26064 ($(objpfx)bug-dl-leaf.out): Likewise.
26065 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26066 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26067 * dlfcn/bug-dl-leaf.c: New test.
26068 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26069 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26070 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26071 (dlclose): Likewise.
26072 (dlmopen): Likewise.
26074 2013-08-27 Roland McGrath <roland@hack.frob.com>
26076 * include/netdb.h [!_ISOMAC]:
26077 Don't include <tls.h>.
26078 (h_errno, __libc_h_errno): Move declaration and macros out of
26081 * include/resolv.h [_RESOLV_H_]:
26082 Don't include <tls.h>.
26083 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26084 * resolv/res_libc.c: Don't include <tls.h>.
26085 (_res): Use __attribute__ ((nocommon)) in place of
26086 __attribute__ ((section (".bss"))).
26088 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26089 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26091 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26093 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26094 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26096 * resolv/res_mkquery.c: Include <sys/time.h>.
26098 * inet/ifreq.c: Moved to ...
26099 * sysdeps/unix/ifreq.c: ... here.
26100 * inet/ifreq.c: New file, true stub version.
26102 * socket/sa_len.c: New file.
26103 * socket/Makefile (aux): Add it.
26104 * sysdeps/unix/sysv/linux/Makefile
26105 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26106 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26107 and #include <socket/sa_len.c>.
26108 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26109 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26111 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26112 * bits/socket.h: ... here.
26114 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26115 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26116 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26118 2013-08-27 Andreas Schwab <schwab@suse.de>
26121 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26122 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26123 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26124 * string/test-strcasecmp.c (test_main): Run tests in several
26126 * string/test-strncasecmp.c (test_main): Likewise.
26128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26129 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26130 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26131 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26132 (__strncasecmp_ssse3) [PIC]: Likewise.
26134 2013-08-26 Roland McGrath <roland@hack.frob.com>
26136 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26138 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26139 instead of explicitly declaring xdecrypt.
26140 * nis/nss_nis/nis-publickey.c: Likewise.
26142 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26145 * nscd/aicache.c: Include res_hconf.h.
26146 (addhstaiX): Initialize res_hconf.
26148 2013-08-26 Andreas Schwab <schwab@suse.de>
26150 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26151 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26153 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26155 * nscd/aicache.c (addhstaiX): Fix indentation.
26157 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26159 * configure.ac: Quote $build_pt_chown test.
26160 * configure: Regenerated.
26162 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26165 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26166 * math/s_cexpf.c (__cexpf): Likewise.
26167 * math/s_cexpl.c (__cexpl): Likewise.
26168 * math/libm-test.inc (cexp_test_data): Correct expected return
26169 value for NaN + i0. Add another test.
26171 2013-08-22 David S. Miller <davem@davemloft.net>
26173 * po/ca.po: Update Catalan translation from translation project.
26174 * po/uk.po: Add Ukrainian translations from translation project.
26176 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26179 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26180 is infinite, not alongside NaN test.
26181 * math/s_fdimf.c (__fdimf): Likewise.
26182 * math/s_fdiml.c (__fdiml): Likewise.
26183 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26184 errno is unchanged.
26186 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26188 * argp/argp-help.c: Fix typos.
26189 * crypt/speeds.c: Likewise.
26190 * csu/check_fds.c: Likewise.
26191 * elf/dl-load.c: Likewise.
26192 * elf/dl-open.c: Likewise.
26193 * elf/reldep3.c: Likewise.
26194 * elf/reldep.c: Likewise.
26195 * elf/sprof.c: Likewise.
26196 * iconv/iconv_charmap.c: Likewise.
26197 * iconv/skeleton.c: Likewise.
26198 * iconv/strtab.c: Likewise.
26199 * io/lockf64.c: Likewise.
26200 * libio/libioP.h: Likewise.
26201 * resolv/gai_notify.c: Likewise.
26202 * resolv/ns_name.c: Likewise.
26203 * resolv/ns_samedomain.c: Likewise.
26204 * resolv/res_send.c: Likewise.
26205 * stdlib/random.c: Likewise.
26206 * sunrpc/rpc/xdr.h: Likewise.
26207 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26208 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26209 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26210 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26215 * sysdeps/mach/hurd/check_fds.c: Likewise.
26216 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26217 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26218 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26219 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26220 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26221 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26222 * sysdeps/pthread/aio_notify.c: Likewise.
26223 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26224 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26225 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26227 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26229 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26231 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26232 version if bit_Slow_SSE4_2 is set.
26233 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26234 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26236 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26239 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26240 trampoline stack frame information.
26241 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26243 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26244 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26245 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26246 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26247 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26248 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26250 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26251 interrupting a syscall and set with option SA_SIGINFO.
26253 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26256 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26257 argument is infinite.
26258 * math/s_cprojf.c (__cprojf): Likewise.
26259 * math/s_cprojl.c (__cprojl): Likewise.
26260 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26261 * math/libm-test.inc (cproj_test_data): Add more tests.
26263 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26265 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26266 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26267 size. Use __ffs to determine corresponding shift.
26269 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26270 Roland McGrath <roland@hack.frob.com>
26272 * Makefile (INSTALL): Remove trailing blank lines from output of
26275 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26277 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26278 Align 32 bit compat elf_greg to 8 bytes.
26280 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26282 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26284 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26286 * string/strcoll_l.c (coll_seq): New structure.
26287 (get_next_seq_cached): New function.
26288 (get_next_seq): New function.
26289 (do_compare): New function.
26290 (STRCOLL): Use GNU style definition. Simplify implementation
26291 by using get_next_seq, get_next_seq_cached and do_compare.
26293 2013-08-16 Florian Weimer <fweimer@redhat.com>
26297 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26299 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26301 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26302 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26303 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26305 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26306 GETDENTS_64BIT_ALIGNED.
26307 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26308 * manual/filesys.texi (Reading/Closing Directory): Document
26309 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26311 * manual/conf.texi (Limits for Files): Add portability note to
26312 NAME_MAX, PATH_MAX.
26313 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26315 2013-08-13 Andreas Schwab <schwab@suse.de>
26318 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26320 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26321 LDBL_MAX_EXP >= 16384]: Add tests for it.
26323 2013-08-12 David S. Miller <davem@davemloft.net>
26325 * version.h (RELEASE): Set to "development".
26326 (VERSION): Set to "2.18.90".
26327 * NEWS: Add 2.19 section.
26329 2013-08-03 David S. Miller <davem@davemloft.net>
26331 * po/ko.po: Update Korean translation from translation project.
26333 2013-08-01 David S. Miller <davem@davemloft.net>
26335 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26336 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26339 2013-07-30 David S. Miller <davem@davemloft.net>
26341 * po/fr.po: Update French translation from translation project.
26343 2013-07-28 David S. Miller <davem@davemloft.net>
26345 * po/cs.po: Update Czech translation from translation project.
26347 * po/sv.po: Update Swedish translation from translation project.
26349 2013-07-27 David S. Miller <davem@davemloft.net>
26351 * po/eo.po: Update Esperanto translation from translation project.
26353 * po/vi.po: Update Vietnamese translation from translation project.
26355 * po/de.po: Update German translation from translation project.
26357 2013-07-26 David S. Miller <davem@davemloft.net>
26359 * po/bg.po: Update Bulgarian translation from translation project.
26361 * po/nl.po: Update Dutch translation from translation project.
26362 * po/pl.po: Update Polish translation from translation project.
26363 * po/ru.po: Update Russian translation from translation project.
26365 2013-07-24 David S. Miller <davem@davemloft.net>
26367 * po/libc.pot: Update.
26369 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26371 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26372 variable page size.
26373 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26374 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26375 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26377 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26379 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26381 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26382 Andreas Schwab <schwab@suse.de>
26383 Roland McGrath <roland@hack.frob.com>
26384 Joseph Myers <joseph@codesourcery.com>
26385 Carlos O'Donell <carlos@redhat.com>
26388 * config.h.in: Define HAVE_PT_CHOWN.
26389 * config.make.in (build-pt-chown): New variable.
26390 * configure.in (--enable-pt_chown): New configure option.
26391 * configure: Regenerate.
26392 * login/Makefile: Include Makeconfig. Build pt_chown only if
26393 build-pt-chown is enabled.
26394 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26395 pt_chown to fix pty ownership.
26396 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26398 * manual/install.texi (Configuring and compiling): Mention
26399 --enable-pt_chown. Add @findex for grantpt.
26400 * INSTALL: Regenerate.
26402 2013-07-20 David S. Miller <davem@davemloft.net>
26404 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26405 difference between 32-bit and 64-bit.
26407 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26410 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26411 Avoid system header dependency with -ffreestanding.
26412 ($(objpfx)bits/syscall%d): Likewise.
26414 2013-07-13 David S. Miller <davem@davemloft.net>
26416 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26417 underflows from atanl/atan2l due to bug 15319.
26418 (casinh_test_data): Likewise.
26420 2013-07-07 David S. Miller <davem@davemloft.net>
26422 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26424 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26426 * sysdeps/i386/fpu/libm-test-ulps: Update.
26427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26429 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26431 * configure.in (--enable-lock-elision): Fix message text.
26432 * INSTALL: Regenerate.
26433 * configure: Regenerate.
26435 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26439 2013-07-03 Andreas Jaeger <aj@suse.de>
26441 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26443 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26444 (ptrace_peeksiginfo_args): Add.
26445 (__ptrace_peeksiginfo_flags): Add.
26446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26447 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26450 2013-07-03 Allan McRae <allan@archlinux.org>
26452 * sysdeps/i386/fpu/libm-test-ulps: Update.
26454 2013-07-02 David S. Miller <davem@davemloft.net>
26456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26458 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26462 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26464 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26467 2013-07-02 Andi Kleen <ak@linux.intel.com>
26469 * config.h.in (ENABLE_LOCK_ELISION): Add.
26470 * configure.in (--enable-lock-elision): Add option.
26471 * manual/install.texi: Document --enable lock elision.
26472 * configure: Regenerate
26473 * INSTALL: Regenerate.
26475 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26478 SSE4.2 strcasecmp for libc.a.
26479 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26481 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26484 * soft-fp/op-common.h (_FP_FMA): New macro.
26485 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26486 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26487 (_FP_MUL_MEAT_1_imm): ... here.
26488 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26489 (_FP_MUL_MEAT_1_wide): ... here.
26490 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26491 (_FP_MUL_MEAT_1_hard): ... here.
26492 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26493 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26494 (_FP_MUL_MEAT_2_wide): ... here.
26495 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26496 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26497 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26498 (_FP_MUL_MEAT_2_gmp): ... here.
26499 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26500 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26501 (_FP_MUL_MEAT_4_wide): ... here.
26502 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26503 (_FP_MUL_MEAT_4_gmp): ... here.
26504 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26505 (_FP_WFRACBITS_DW_S): Likewise.
26506 (_FP_WFRACXBITS_DW_S): Likewise.
26507 (_FP_HIGHBIT_DW_S): Likewise.
26508 (FP_FMA_S): Likewise.
26509 (_FP_FRAC_HIGH_DW_S): Likewise.
26510 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26511 (_FP_WFRACBITS_DW_D): Likewise.
26512 (_FP_WFRACXBITS_DW_D): Likewise.
26513 (_FP_HIGHBIT_DW_D): Likewise.
26514 (FP_FMA_D): Likewise.
26515 (_FP_FRAC_HIGH_DW_D): Likewise.
26516 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26517 (_FP_WFRACBITS_DW_E): Likewise.
26518 (_FP_WFRACXBITS_DW_E): Likewise.
26519 (_FP_HIGHBIT_DW_E): Likewise.
26520 (FP_FMA_E): Likewise.
26521 (_FP_FRAC_HIGH_DW_E): Likewise.
26522 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26523 (_FP_WFRACBITS_DW_Q): Likewise.
26524 (_FP_WFRACXBITS_DW_Q): Likewise.
26525 (_FP_HIGHBIT_DW_Q): Likewise.
26526 (FP_FMA_Q): Likewise.
26527 (_FP_FRAC_HIGH_DW_Q): Likewise.
26528 * soft-fp/fmasf4.c: New file.
26529 * soft-fp/fmadf4.c: Likewise.
26530 * soft-fp/fmatf4.c: Likewise.
26532 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26535 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26537 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26539 (index_Slow_SSE4_2): Likewise.
26540 (index_Prefer_PMINUB_for_stringop): Likewise.
26541 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26542 bit_Slow_SSE4_2 is set.
26543 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26544 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26546 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26548 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26549 rtld_global._dl_hwcap2.
26550 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26552 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26553 POWER8 feature descriptions defined in _dl_hwcap2.
26554 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26555 string handling for POWER8 feature bits.
26556 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26557 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26558 _dl_powerpc_cap_flags.
26559 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26560 * sysdeps/powerpc/rtld-global-offsets.sym
26561 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26562 _dl_hwcap2 in the rtld_global_ro structure.
26564 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26566 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26567 hardware capabilities in support of AT_HWCAP2.
26568 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26569 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26571 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26572 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26573 explicitly the unknown a_type display mechanism is used.
26574 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26575 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26577 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26578 to macro prototype for AT_HWCAP2 support.
26579 * sysdeps/i386/dl-procinfo.h: Likewise.
26580 * sysdeps/s390/dl-procinfo.h: Likewise.
26581 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26582 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26583 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26584 return -1 for unknown a_type display fallback.
26585 * sysdeps/sparc/dl-procinfo.h: Likewise.
26586 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26587 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26589 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26591 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26592 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26594 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26597 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26598 mprotect making __stack_prot writable.
26600 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26601 Joseph Myers <joseph@codesourcery.com>
26603 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26604 as being properly aligned.
26606 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26608 * dlfcn/modstatic5.c: New file.
26609 * dlfcn/tststatic5.c: New file.
26610 * dlfcn/Makefile (tests): Add tststatic5.
26611 (tests-static): Likewise.
26612 (modules-names): Add modstatic5.
26613 (tststatic5-ENV): New variable.
26614 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26617 * elf/dl-support.c (_dl_main_map): New variable.
26618 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26619 (_dl_nns, _dl_load_adds): Set to 1.
26620 (_dl_initial_searchlist): Refer to _dl_main_map.
26621 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26622 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26623 call to _dl_get_origin.
26624 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26626 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26627 * dlfcn/modstatic3.c: New file.
26628 * dlfcn/tststatic3.c: New file.
26629 * dlfcn/tststatic4.c: New file.
26630 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26631 (tests-static): Likewise.
26632 (modules-names): Add modstatic3.
26633 (tststatic3-ENV, tststatic4-ENV): New variables.
26634 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26635 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26637 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26639 * configure.in (CC): Require GCC version 4.4 or later.
26640 * configure: Regenerated.
26641 * manual/install.texi (Tools for Compilation): Update GCC version
26643 * INSTALL: Regenerated.
26645 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26648 * string/test-memcmp.c (check2): New.
26649 (main): Call check2.
26651 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26653 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26656 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26658 (dl_open_worker) [!SHARED]: ... here.
26660 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26662 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26664 2013-06-25 Richard Henderson <rth@redhat.com>
26666 * locale/programs/locarchive.c: Include <libc-internal.h>
26668 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26670 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26671 trailing whitespace removed.
26673 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26676 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26677 * locale/programs/locarchive.c: Include libc-mmap.h.
26678 (prepare_address_space): Take two new outputs (the mmap base and len).
26679 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26681 (create_archive): Declare new mmap base and len values for
26682 prepare_address_space, and store the result in ah.
26683 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26684 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26685 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26686 Declare new mmap base and len values for
26687 prepare_address_space, and store the result in new_ah.
26688 (open_archive): Declare new mmap base and len values for
26689 prepare_address_space, and store the result in ah.
26690 (close_archive): If ah->mmap_base is not NULL, use that and
26691 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26692 * sysdeps/generic/libc-mmap.h: New file.
26694 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26696 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26697 (ALIGN_UP): Likewise.
26698 (PTR_ALIGN_DOWN): Likewise.
26699 (PTR_ALIGN_UP): Likewise.
26701 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26703 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26704 entry mapped to PPC_PLATFORM_POWER8.
26705 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26707 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26708 (_dl_string_platform): Add case for exporting platform position for
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26711 search path to sysdeps/powerpc/powerpc32/power8 directory.
26712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26713 search path to sysdeps/powerpc/powerpc64/power8 directory.
26714 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26715 power7 directories.
26716 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26717 power7 directories.
26719 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26721 * INSTALL: Regenerate.
26723 * nscd/connections.c (nscd_init): Fix comment.
26725 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26727 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26730 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26731 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26733 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26735 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26737 (DL_DST_REQ_STATIC): Remove macro.
26739 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26742 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26743 with a shift of 0 bits.
26745 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26747 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26750 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26753 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26755 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26757 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26758 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26759 accepts -fno-tree-loop-distribute-patterns.
26760 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26761 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26763 * string/memset.c (memset): Likewise.
26764 * string/test-memmove.c (simple_memmove): Disable loop transformation
26766 * string/test-memset.c (simple_memset): Likewise.
26767 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26768 * benchtests/bench-memset.c (simple_memset): Likewise.
26769 * configure: Regenerated.
26771 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26773 * math/test-misc.c (main): Ignore fesetround failure when failures
26774 of subsequent rounding tests would be ignored.
26777 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26778 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26779 * math/fegetenv.c (__fegetenv): Return 0.
26780 * math/fegetexcept.c (fegetexcept): Return 0.
26781 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26783 * math/feholdexcpt.c (feholdexcept): Return 0.
26784 * math/fesetenv.c (__fesetenv): Return 0.
26785 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26786 argument FE_TONEAREST.
26787 * math/feupdateenv.c (__feupdateenv): Return 0.
26788 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26790 2013-06-18 Roland McGrath <roland@hack.frob.com>
26792 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26793 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26794 ($(objpfx)rtld-%.os rules): Use them.
26796 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26798 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26801 2013-06-17 Roland McGrath <roland@hack.frob.com>
26803 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26804 length of target pattern, then descending length of dependency pattern.
26805 * configure.in (AWK): Require gawk 3.1.2 or newer.
26806 * manual/install.texi (Tools for Compilation): Say that we do.
26807 * configure: Regenerated.
26809 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26810 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26811 * scripts/sysd-rules.awk: ... this new script.
26812 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26813 than a glob-style pattern.
26815 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26817 * math/test-misc.c (main): Do not treat incorrectly rounded
26818 conversions as failure unless ROUNDING_TESTS passes.
26820 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26823 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26824 restore exception state around main square root computation, then
26825 check for inexactness explicitly.
26827 * math/libm-test.inc (fma_test_data): Add another test.
26829 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26831 * manual/threads.texi (Non-POSIX Extensions): New document
26832 node. Document pthread_getattr_default_np and
26833 pthread_setattr_default_np.
26835 * Versions.def (libpthread): Add GLIBC_2.18.
26836 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26845 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26856 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26859 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26861 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26862 H.J. Lu <hjl.tools@gmail.com>
26865 * sysdeps/x86_64/rtld-memset.c: Remove file.
26866 * sysdeps/x86_64/rtld-memset.S: New file.
26868 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26870 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26871 (test_in_one_mode): Take arguments for whether the rounding mode
26872 is supported for each floating-point type.
26873 (do_test): Pass new arguments to test_in_one_mode using
26876 2013-06-13 Roland McGrath <roland@hack.frob.com>
26878 * posix/tst-waitid.c (do_test): Distinguish different instances of
26879 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26880 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26881 before entering the kernel for waitpid.
26883 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26885 * NEWS: Fix note on clock function precision. Text by Roland
26888 2013-06-13 Roland McGrath <roland@hack.frob.com>
26890 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26891 it into place only when and if the sanity check passes.
26893 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26895 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26896 output for whether conversion result is exact. Take argument
26897 indicating whether type is IBM long double.
26898 (round_for_all): Change need_exact field to ibm_ld.
26899 * stdlib/tst-strtod-round.c (struct exactness): New type.
26900 (struct test): Change bool ld_ok field to struct exactness exact.
26901 (TEST): Update all definitions for change to field.
26902 (tests): Regenerate array contents.
26903 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26904 field value. Check for IBM long double here.
26905 (do_test): Update calls to test_in_one_mode.
26907 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26911 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26913 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26916 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26917 generated by the compiler on loop optimizations.
26918 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26919 general definitions.
26921 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26923 * math/bug-nextafter.c: Include <math-tests.h>.
26924 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26926 * math/bug-nexttoward.c: Include <math-tests.h>.
26927 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26929 * math/test-misc.c: Include <math-tests.h>.
26930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26933 2013-06-12 Andreas Jaeger <aj@suse.de>
26935 * po/ia.po: Update Interlingua translation from translation
26938 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26940 * include/fenv.h: Include stdbool.h.
26941 (struct rm_ctx): New structure.
26942 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26944 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26945 (SET_RESTORE_ROUNDF): Likewise.
26946 (SET_RESTORE_ROUNDL): Likewise.
26947 (SET_RESTORE_ROUND_NOEX): Likewise.
26948 (SET_RESTORE_ROUND_NOEXF): Likewise.
26949 (SET_RESTORE_ROUND_NOEXL): Likewise.
26950 (SET_RESTORE_ROUND_53BIT): Likewise.
26951 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26952 (libc_feresetround_noexf_ctx): Likewise.
26953 (libc_feresetround_noexl_ctx): Likewise.
26954 (libc_feholdsetround_53bit_ctx): Likewise.
26955 (libc_feresetround_53bit_ctx): Likewise.
26956 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26957 (libc_feholdexcept_setround_sse_ctx): New function.
26958 (libc_fesetenv_sse_ctx): Likewise.
26959 (libc_feupdateenv_sse_ctx): Likewise.
26960 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26961 (libc_feholdexcept_setround_387_ctx): Likewise.
26962 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26963 (libc_feholdsetround_387_prec_ctx): Likewise.
26964 (libc_feholdsetround_387_ctx): Likewise.
26965 (libc_feholdsetround_387_53bit_ctx): Likewise.
26966 (libc_feholdsetround_sse_ctx): Likewise.
26967 (libc_feresetround_sse_ctx): Likewise.
26968 (libc_feresetround_387_ctx): Likewise.
26969 (libc_feupdateenv_387_ctx): Likewise.
26970 (libc_feholdexcept_setroundf_ctx): Define macro.
26971 (libc_fesetenvf_ctx): Likewise.
26972 (libc_feupdateenvf_ctx): Likewise.
26973 (libc_feholdsetroundf_ctx): Likewise.
26974 (libc_feresetroundf_ctx): Likewise.
26975 (libc_feholdexcept_setround_ctx): Likewise.
26976 (libc_fesetenv_ctx): Likewise.
26977 (libc_feupdateenv_ctx): Likewise.
26978 (libc_feholdsetround_ctx): Likewise.
26979 (libc_feresetround_ctx): Likewise.
26980 (libc_feholdexcept_setroundl_ctx): Likewise.
26981 (libc_feupdateenvl_ctx): Likewise.
26982 (libc_feholdsetroundl_ctx): Likewise.
26983 (libc_feresetroundl_ctx): Likewise.
26984 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26985 (libc_feresetround_53bit_ctx): Likewise.
26987 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26989 * locale/iso-639.def: Convert to UTF-8.
26991 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26993 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26994 (EXCEPTION_TESTS_double): Likewise.
26995 (EXCEPTION_TESTS_long_double): Likewise.
26996 (EXCEPTION_TESTS): Likewise.
26997 * math/libm-test.inc (test_exceptions): Only test exceptions if
26998 EXCEPTION_TESTS (FLOAT).
27000 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27002 * benchtests/Makefile (string-bench): Add strcpy_chk and
27004 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27005 * benchtests/bench-stpcpy_chk.c: New file.
27006 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27007 * benchtests/bench-strcpy_chk.c: New file.
27008 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27010 (do_test): Likewise.
27012 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27014 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27015 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27016 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27017 with tabs where appropriate.
27018 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27020 [PPC_PLATFORM_PPC440]: Likewise.
27021 [PPC_PLATFORM_PPC464]: Likewise.
27022 [PPC_PLATFORM_PPC476]: Likewise.
27023 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27024 ppc464, and ppc476 platform strings merging from ports/
27027 2013-06-11 Andreas Schwab <schwab@suse.de>
27030 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27031 (from_ucs4_idx): Regenerate.
27032 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27033 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27034 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27035 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27036 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27037 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27038 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27039 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27040 from FROM_LOOP and TO_LOOP specific macros.
27041 (BODY): Handle combining characters.
27042 * iconvdata/BIG5HKSCS.irreversible: Update.
27043 * iconvdata/BIG5HKSCS.precomposed: New file.
27044 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27046 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27048 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27050 * include/sys/time.h: Fix indentation and add copyright header.
27052 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27053 (do_test): Likewise.
27054 * string/test-memchr.c (do_one_test): Likewise.
27055 (do_test): Likewise.
27056 * string/test-memcmp.c (do_one_test): Likewise.
27057 (do_test): Likewise.
27058 * string/test-memcpy.c (do_one_test): Likewise.
27059 (do_test): Likewise.
27060 * string/test-memmem.c (do_one_test): Likewise.
27061 (do_test): Likewise.
27062 (do_random_tests): Likewise.
27063 * string/test-memmove.c (do_one_test): Likewise.
27064 (do_test): Likewise.
27065 * string/test-memset.c (do_one_test): Likewise.
27066 (do_test): Likewise.
27067 * string/test-rawmemchr.c (do_one_test): Likewise.
27068 (do_test): Likewise.
27069 * string/test-strcasecmp.c (do_one_test): Likewise.
27070 (do_test): Likewise.
27071 * string/test-strcasestr.c (do_one_test): Likewise.
27072 (do_test): Likewise.
27073 * string/test-strcat.c (do_one_test): Likewise.
27074 (do_test): Likewise.
27075 * string/test-strchr.c (do_one_test): Likewise.
27076 (do_test): Likewise.
27077 * string/test-strcmp.c (do_one_test): Likewise.
27078 (do_test): Likewise.
27079 * string/test-strcpy.c (do_one_test): Likewise.
27080 (do_test): Likewise.
27081 * string/test-string.h: Likewise.
27082 (test_init): Likewise.
27083 * string/test-strlen.c (do_one_test): Likewise.
27084 (do_test): Likewise.
27085 * string/test-strncasecmp.c (do_one_test): Likewise.
27086 (do_test): Likewise.
27087 * string/test-strncat.c (do_one_test): Likewise.
27088 (do_test): Likewise.
27089 * string/test-strncmp.c (do_one_test): Likewise.
27090 (do_test_limit): Likewise.
27091 (do_test): Likewise.
27092 * string/test-strncpy.c (do_one_test): Likewise.
27093 (do_test): Likewise.
27094 * string/test-strnlen.c (do_one_test): Likewise.
27095 (do_test): Likewise.
27096 * string/test-strpbrk.c (do_one_test): Likewise.
27097 (do_test): Likewise.
27098 * string/test-strrchr.c (do_one_test): Likewise.
27099 (do_test): Likewise.
27100 * string/test-strspn.c (do_one_test): Likewise.
27101 (do_test): Likewise.
27102 * string/test-strstr.c (do_one_test): Likewise.
27103 (do_test): Likewise.
27105 * benchtests/Makefile (string-bench): Add string benchmarks.
27106 * benchtests/bench-bcopy-ifunc.c: New file.
27107 * benchtests/bench-bcopy.c: New file.
27108 * benchtests/bench-bzero-ifunc.c: New file.
27109 * benchtests/bench-bzero.c: New file.
27110 * benchtests/bench-memccpy-ifunc.c: New file.
27111 * benchtests/bench-memccpy.c: New file.
27112 * benchtests/bench-memchr-ifunc.c: New file.
27113 * benchtests/bench-memchr.c: New file.
27114 * benchtests/bench-memcmp-ifunc.c: New file.
27115 * benchtests/bench-memcmp.c: New file.
27116 * benchtests/bench-memmem-ifunc.c: New file.
27117 * benchtests/bench-memmem.c: New file.
27118 * benchtests/bench-memmove-ifunc.c: New file.
27119 * benchtests/bench-memmove.c: New file.
27120 * benchtests/bench-mempcpy-ifunc.c: New file.
27121 * benchtests/bench-mempcpy.c: New file.
27122 * benchtests/bench-memset-ifunc.c: New file.
27123 * benchtests/bench-memset.c: New file.
27124 * benchtests/bench-rawmemchr-ifunc.c: New file.
27125 * benchtests/bench-rawmemchr.c: New file.
27126 * benchtests/bench-stpcpy-ifunc.c: New file.
27127 * benchtests/bench-stpcpy.c: New file.
27128 * benchtests/bench-stpncpy-ifunc.c: New file.
27129 * benchtests/bench-stpncpy.c: New file.
27130 * benchtests/bench-strcasecmp-ifunc.c: New file.
27131 * benchtests/bench-strcasecmp.c: New file.
27132 * benchtests/bench-strcasestr-ifunc.c: New file.
27133 * benchtests/bench-strcasestr.c: New file.
27134 * benchtests/bench-strcat-ifunc.c: New file.
27135 * benchtests/bench-strcat.c: New file.
27136 * benchtests/bench-strchr-ifunc.c: New file.
27137 * benchtests/bench-strchr.c: New file.
27138 * benchtests/bench-strchrnul-ifunc.c: New file.
27139 * benchtests/bench-strchrnul.c: New file.
27140 * benchtests/bench-strcmp-ifunc.c: New file.
27141 * benchtests/bench-strcmp.c: New file.
27142 * benchtests/bench-strcpy-ifunc.c: New file.
27143 * benchtests/bench-strcpy.c: New file.
27144 * benchtests/bench-strcspn-ifunc.c: New file.
27145 * benchtests/bench-strcspn.c: New file.
27146 * benchtests/bench-strlen-ifunc.c: New file.
27147 * benchtests/bench-strlen.c: New file.
27148 * benchtests/bench-strncasecmp-ifunc.c: New file.
27149 * benchtests/bench-strncasecmp.c: New file.
27150 * benchtests/bench-strncat-ifunc.c: New file.
27151 * benchtests/bench-strncat.c: New file.
27152 * benchtests/bench-strncmp-ifunc.c: New file.
27153 * benchtests/bench-strncmp.c: New file.
27154 * benchtests/bench-strncpy-ifunc.c: New file.
27155 * benchtests/bench-strncpy.c: New file.
27156 * benchtests/bench-strnlen-ifunc.c: New file.
27157 * benchtests/bench-strnlen.c: New file.
27158 * benchtests/bench-strpbrk-ifunc.c: New file.
27159 * benchtests/bench-strpbrk.c: New file.
27160 * benchtests/bench-strrchr-ifunc.c: New file.
27161 * benchtests/bench-strrchr.c: New file.
27162 * benchtests/bench-strspn-ifunc.c: New file.
27163 * benchtests/bench-strspn.c: New file.
27164 * benchtests/bench-strstr-ifunc.c: New file.
27165 * benchtests/bench-strstr.c: New file.
27167 * benchtests/Makefile: Disable parallel execution of targets.
27168 (string-bench): Add memcpy.
27169 (benchset): New variable to store a list of benchmark sets.
27170 (bench-func): Renamed from bench.
27171 (bench-set): New target.
27172 (bench): Depend on bench-func and bench-set.
27173 * benchtests/README: Add section on benchmark sets.
27174 * benchtests/bench-memcpy-ifunc.c: New file.
27175 * benchtests/bench-memcpy.c: New file.
27176 * benchtests/bench-string.h: New file.
27178 2013-06-11 Andreas Schwab <schwab@suse.de>
27181 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27182 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27183 values in the triple.
27184 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27185 terminator in the group key.
27187 2013-06-11 Andreas Jaeger <aj@suse.de>
27189 * po/zh_TW.po: Update Chinese (traditional) translation from
27190 translation project.
27192 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27194 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27195 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27196 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27198 (clock_getcpuclockid): Likewise.
27199 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27200 Add weak_alias and libc_hidden_def.
27201 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27202 * rt/clock_gettime.c (clock_gettime): Rename to
27203 __clock_gettime. Add weak_alias and libc_hidden_def.
27204 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27205 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27206 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27207 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27208 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27210 * rt/clock_settime.c (clock_settime): Rename to
27211 __clock_settime. Add weak_alias and libc_hidden_def.
27212 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27214 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27216 * mach/err_boot.sub: Remove trailing whitespace.
27217 * mach/err_ipc.sub: Likewise.
27218 * mach/err_mach.sub: Likewise.
27220 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27221 (ROUNDING_TESTS_double): Likewise.
27222 (ROUNDING_TESTS_long_double): Likewise.
27223 (ROUNDING_TESTS): Likewise.
27224 * math/libm-test.inc: Include <math-tests.h>.
27225 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27226 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27227 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27228 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27230 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27232 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27235 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27237 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27238 otherwise empty TRANS lines.
27239 * sysdeps/gnu/errlist.c: Regenerated.
27241 * catgets/gencat.c (error_print): Use (void) in function
27243 * crypt/crypt_util.c (__init_des): Likewise.
27244 * crypt/speeds.c (Stop): Likewise.
27246 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27247 * inet/ruserpass.c (token): Likewise.
27248 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27249 * intl/localealias.c (extend_alias_table): Likewise.
27250 * intl/plural-exp.c (init_germanic_plural): Likewise.
27251 * libio/fcloseall.c (__fcloseall): Likewise.
27252 * libio/genops.c (_IO_flush_all): Likewise.
27253 (_IO_flush_all_linebuffered): Likewise.
27254 (_IO_cleanup): Likewise.
27255 (_IO_iter_begin): Likewise.
27256 (_IO_iter_end): Likewise.
27257 (_IO_list_lock): Likewise.
27258 (_IO_list_unlock): Likewise.
27259 (_IO_list_resetlock): Likewise.
27260 * libio/getchar.c (getchar): Likewise.
27261 * libio/getchar_u.c (getchar_unlocked): Likewise.
27262 * libio/getwchar.c (getwchar): Likewise.
27263 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27264 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27265 * login/getpt.c (__getpt): Likewise.
27266 * login/tst-utmp.c (main): Likewise.
27267 * malloc/hooks.c (__malloc_check_init): Likewise.
27268 * malloc/malloc.c (__malloc_stats): Likewise.
27269 * malloc/mtrace.c (tr_break): Likewise.
27270 (mtrace): Likewise.
27271 (muntrace): Likewise.
27272 * misc/fstab.c (endfsent): Likewise.
27273 * misc/getclktck.c (__getclktck): Likewise.
27274 * misc/getdtsz.c (__getdtablesize): Likewise.
27275 * misc/gethostid.c (gethostid): Likewise.
27276 * misc/getpagesize.c (__getpagesize): Likewise.
27277 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27278 (__get_nprocs): Likewise.
27279 (__get_phys_pages): Likewise.
27280 (__get_avphys_pages): Likewise.
27281 * misc/getttyent.c (getttyent): Likewise.
27282 (setttyent): Likewise.
27283 (endttyent): Likewise.
27284 * misc/getusershell.c (getusershell): Likewise.
27285 (endusershell): Likewise.
27286 (setusershell): Likewise.
27287 (initshells): Likewise.
27288 * misc/hsearch.c (__hdestroy): Likewise.
27289 * misc/sync.c (sync): Likewise.
27290 * misc/syslog.c (closelog_internal): Likewise.
27291 (closelog): Likewise.
27292 * misc/ttyslot.c (ttyslot): Likewise.
27293 * misc/vhangup.c (vhangup): Likewise.
27294 * posix/fork.c (__fork): Likewise.
27295 * posix/getegid.c (__getegid): Likewise.
27296 * posix/geteuid.c (__geteuid): Likewise.
27297 * posix/getgid.c (__getgid): Likewise.
27298 * posix/getpid.c (__getpid): Likewise.
27299 * posix/getppid.c (__getppid): Likewise.
27300 * posix/getuid.c (__getuid): Likewise.
27301 * posix/pause.c (pause): Likewise.
27302 * posix/setpgrp.c (setpgrp): Likewise.
27303 * posix/setsid.c (__setsid): Likewise.
27304 * posix/test-vfork.c (noop): Likewise.
27305 * resolv/gethnamaddr.c (_endhtent): Likewise.
27306 (_gethtent): Likewise.
27307 (ht_endhostent): Likewise.
27308 (gethostent): Likewise.
27309 (dns_service): Likewise.
27310 * stdlib/drand48.c (drand48): Likewise.
27311 * stdlib/lrand48.c (lrand48): Likewise.
27312 * stdlib/mrand48.c (mrand48): Likewise.
27313 * stdlib/rand.c (rand): Likewise.
27314 * stdlib/random.c (__random): Likewise.
27315 * stdlib/setenv.c (clearenv): Likewise.
27316 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27317 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27318 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27319 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27320 (__get_nprocs): Likewise.
27321 (__get_phys_pages): Likewise.
27322 (__get_avphys_pages): Likewise.
27323 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27324 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27325 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27326 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27327 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27328 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27329 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27330 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27331 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27332 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27333 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27334 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27335 * sysdeps/posix/clock.c (clock): Likewise.
27336 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27337 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27338 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27339 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27340 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27341 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27342 (__get_nprocs_conf): Likewise.
27343 (__get_phys_pages): Likewise.
27344 (__get_avphys_pages): Likewise.
27345 * time/clock.c (clock): Likewise.
27346 * time/tzset.c (__tzname_max): Likewise.
27348 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27350 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27351 (__bswap_32): Do not use "register".
27352 * crypt/crypt.c (_ufc_doit_r): Likewise.
27353 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27354 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27355 * gmon/gmon.c (__monstartup): Likewise.
27356 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27357 * hurd/hurdmalloc.c (more_memory): Likewise.
27358 (malloc): Likewise.
27360 (realloc): Likewise.
27361 (malloc_fork_prepare): Likewise.
27362 (malloc_fork_parent): Likewise.
27363 (malloc_fork_child): Likewise.
27364 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27365 (_svcauth_des): Likewise.
27366 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27367 * inet/inet_net.c (inet_network): Likewise.
27368 * inet/inet_netof.c (inet_netof): Likewise.
27369 * inet/rcmd.c (__validuser2_sa): Likewise.
27370 * io/fts.c (fts_open): Likewise.
27371 (fts_load): Likewise.
27372 (fts_close): Likewise.
27373 (fts_read): Likewise.
27374 (fts_children): Likewise.
27375 (fts_build): Likewise.
27376 (fts_stat): Likewise.
27377 (fts_sort): Likewise.
27378 (fts_alloc): Likewise.
27379 (fts_lfree): Likewise.
27380 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27381 (_IO_file_xsgetn): Likewise.
27382 (_IO_file_xsgetn_mmap): Likewise.
27383 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27384 (_IO_cookie_write): Likewise.
27385 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27386 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27387 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27388 * malloc/obstack.c (_obstack_begin): Likewise.
27389 (_obstack_begin_1): Likewise.
27390 (_obstack_newchunk): Likewise.
27391 (_obstack_allocated_p): Likewise.
27392 (obstack_free): Likewise.
27393 (_obstack_memory_used): Likewise.
27394 * misc/getttyent.c (getttynam): Likewise.
27395 (getttyent): Likewise.
27398 * misc/getusershell.c (initshells): Likewise.
27399 * misc/syslog.c (__vsyslog_chk): Likewise.
27400 * misc/ttyslot.c (ttyslot): Likewise.
27401 * nis/nis_hash.c (__nis_hash): Likewise.
27402 * posix/fnmatch_loop.c (FCT): Likewise.
27403 * posix/getconf.c (print_all): Likewise.
27405 * posix/getopt.c (exchange): Likewise.
27406 * posix/glob.c (globfree): Likewise.
27407 (prefix_array): Likewise.
27408 (__glob_pattern_type): Likewise.
27409 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27410 (NS_GET32): Likewise.
27411 (NS_PUT16): Likewise.
27412 (NS_PUT32): Likewise.
27413 * resolv/gethnamaddr.c (getanswer): Likewise.
27414 (gethostbyname2): Likewise.
27415 (gethostbyaddr): Likewise.
27416 (_gethtent): Likewise.
27417 (_gethtbyname2): Likewise.
27418 (_gethtbyaddr): Likewise.
27419 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27420 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27421 * resolv/res_init.c (__res_vinit): Likewise.
27422 (net_mask): Likewise.
27423 * resolv/res_mkquery.c (outchar): Likewise.
27425 * stdio-common/printf_fp.c (outchar): Likewise.
27427 * stdio-common/printf_fphex.c (outchar): Likewise.
27429 * stdio-common/printf_size.c (outchar): Likewise.
27431 * stdio-common/test_rdwr.c (main): Likewise.
27432 * stdio-common/tfformat.c (matches): Likewise.
27433 * stdio-common/vfprintf.c (outchar): Likewise.
27434 (printf_unknown): Likewise.
27435 (buffered_vfprintf): Likewise.
27436 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27437 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27438 (ReadFile): Likewise.
27439 * stdlib/qsort.c (SWAP): Likewise.
27440 (_quicksort): Likewise.
27441 * stdlib/setenv.c (__add_to_environ): Likewise.
27442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27443 * stdlib/strtol_l.c (__strtol_l): Likewise.
27444 * stdlib/tst-strtod.c (main): Likewise.
27445 * stdlib/tst-strtol.c (main): Likewise.
27446 * stdlib/tst-strtoll.c (main): Likewise.
27447 * string/bits/string2.h (__strcmp_cc): Likewise.
27448 (__strcmp_cg): Likewise.
27449 (__strcspn_c1): Likewise.
27450 (__strcspn_c2): Likewise.
27451 (__strcspn_c3): Likewise.
27452 (__strspn_c1): Likewise.
27453 (__strspn_c2): Likewise.
27454 (__strspn_c3): Likewise.
27455 (__strsep_1c): Likewise.
27456 (__strsep_2c): Likewise.
27457 (__strsep_3c): Likewise.
27458 * string/memccpy.c (__memccpy): Likewise.
27459 * string/stpcpy.c (__stpcpy): Likewise.
27460 * string/strcmp.c (strcmp): Likewise.
27461 * string/strrchr.c (strrchr): Likewise.
27462 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27464 * sysdeps/mach/hurd/getcwd.c
27465 (_hurd_canonicalize_directory_name_internal): Likewise.
27466 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27467 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27468 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27469 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27470 Likewise, in both definitions.
27471 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27473 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27474 64] (__bswap_64): Likewise.
27475 * time/test_time.c (main): Likewise.
27476 * time/tzfile.c (__tzfile_read): Likewise.
27477 (__tzfile_compute): Likewise.
27478 * time/tzset.c (__tzset_parse_tz): Likewise.
27479 (tzset_internal): Likewise.
27480 (compute_change): Likewise.
27481 * wcsmbs/wcscat.c (__wcscat): Likewise.
27482 * wcsmbs/wcschr.c (wcschr): Likewise.
27483 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27484 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27485 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27486 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27487 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27488 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27489 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27490 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27491 * wcsmbs/wmemset.c (wmemset): Likewise.
27493 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27495 * scripts/config.guess: Update to version 2013-05-16.
27496 * scripts/config.sub: Update to version 2013-04-24.
27497 * scripts/install-sh: Update to version 2011-11-20.07.
27498 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27499 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27501 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27503 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27504 * elf/sln.c: Likewise.
27505 * hurd/hurd/ioctl.h: Likewise.
27506 * hurd/hurdmalloc.c: Likewise.
27507 * hurd/xattr.c: Likewise.
27508 * include/shlib-compat.h: Likewise.
27509 * inet/ruserpass.c: Likewise.
27510 * libio/iofgets_u.c: Likewise.
27511 * libio/iofgetws_u.c: Likewise.
27512 * locale/programs/ld-identification.c: Likewise.
27513 * locale/programs/ld-time.c: Likewise.
27514 * mach/msg-destroy.c: Likewise.
27515 * nss/nss_files/files-netgrp.c: Likewise.
27516 * resolv/res_data.c: Likewise.
27517 * soft-fp/op-1.h: Likewise.
27518 * soft-fp/op-2.h: Likewise.
27519 * soft-fp/op-4.h: Likewise.
27520 * soft-fp/op-common.h: Likewise.
27521 * stdio-common/printf_fphex.c: Likewise.
27522 * stdlib/strtod_l.c: Likewise.
27523 * sunrpc/rpc/clnt.h: Likewise.
27524 * sysdeps/generic/framestate.c: Likewise.
27525 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27526 * sysdeps/i386/bsd-setjmp.S: Likewise.
27527 * sysdeps/i386/__longjmp.S: Likewise.
27528 * sysdeps/i386/setjmp.S: Likewise.
27529 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27530 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27547 * sysdeps/ieee754/support.c: Likewise.
27548 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27549 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27550 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27551 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27552 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27553 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27554 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27555 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27556 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27557 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27558 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27559 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27560 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27561 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27562 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27563 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27564 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27567 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27569 * posix/transbug.c: Remove executable mode.
27571 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27573 * crypt/speeds.c: Remove trailing whitespace.
27574 * dlfcn/default.c: Likewise.
27575 * elf/ifuncdep2.c: Likewise.
27576 * elf/ifuncmain1.c: Likewise.
27577 * elf/ifuncmain1vis.c: Likewise.
27578 * elf/testobj.h: Likewise.
27579 * elf/tst-stackguard1.c: Likewise.
27580 * gmon/sys/gmon.h: Likewise.
27581 * hurd/hurdmsg.c: Likewise.
27582 * hurd/new-fd.c: Likewise.
27583 * hurd/ports-get.c: Likewise.
27584 * iconvdata/ibm1008_420.c: Likewise.
27585 * inet/tst-getni1.c: Likewise.
27586 * inet/tst-getni2.c: Likewise.
27587 * libio/ioungetc.c: Likewise.
27588 * libio/wfiledoalloc.c: Likewise.
27589 * manual/libm-err-tab.pl: Likewise.
27590 * math/w_dremf.c: Likewise.
27591 * misc/ftruncate.c: Likewise.
27592 * posix/bug-glob2.c: Likewise.
27593 * posix/tst-pcre.c: Likewise.
27594 * posix/wait4.c: Likewise.
27595 * resolv/README: Likewise.
27596 * resolv/res_debug.h: Likewise.
27597 * resolv/tst-inet_ntop.c: Likewise.
27598 * setjmp/bug269-setjmp.c: Likewise.
27599 * soft-fp/extended.h: Likewise.
27600 * soft-fp/op-1.h: Likewise.
27601 * soft-fp/op-2.h: Likewise.
27602 * soft-fp/op-4.h: Likewise.
27603 * soft-fp/op-8.h: Likewise.
27604 * soft-fp/testit.c: Likewise.
27605 * stdio-common/bug16.c: Likewise.
27606 * stdlib/random.c: Likewise.
27607 * sunrpc/rpcsvc/rquota.x: Likewise.
27608 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27609 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27613 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27614 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27616 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27617 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27637 * sysdeps/ieee754/s_lib_version.c: Likewise.
27638 * sysdeps/mach/hurd/check_fds.c: Likewise.
27639 * sysdeps/mach/hurd/getsockname.c: Likewise.
27640 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27641 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27642 * sysdeps/powerpc/bits/link.h: Likewise.
27643 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27644 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27645 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27646 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27647 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27648 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27649 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27650 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27651 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27652 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27653 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27654 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27655 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27656 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27657 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27658 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27659 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27660 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27664 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27666 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27667 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27668 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27670 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27671 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27672 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27673 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27674 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27675 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27676 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27677 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27678 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27679 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27680 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27681 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27682 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27683 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27684 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27685 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27686 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27687 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27688 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27689 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27690 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27691 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27692 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27693 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27694 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27695 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27696 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27698 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27699 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27700 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27701 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27702 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27703 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27704 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27705 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27706 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27707 * sysdeps/powerpc/sysdep.h: Likewise.
27708 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27709 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27710 * sysdeps/sh/dl-trampoline.S: Likewise.
27711 * sysdeps/sh/memset.S: Likewise.
27712 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27713 * sysdeps/sh/strlen.S: Likewise.
27714 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27715 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27716 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27717 * sysdeps/sparc/sparc32/rem.S: Likewise.
27718 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27719 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27720 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27721 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27722 * sysdeps/sparc/sparc32/urem.S: Likewise.
27723 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27724 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27725 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27726 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27728 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27729 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27730 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27731 * sysdeps/unix/bsd/times.c: Likewise.
27732 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27733 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27738 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27739 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27740 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27741 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27742 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27743 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27744 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27745 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27746 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27747 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27748 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27749 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27750 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27751 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27752 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27753 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27754 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27755 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27756 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27757 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27758 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27760 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27761 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27762 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27763 * sysdeps/x86_64/strcspn.S: Likewise.
27765 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27767 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27768 generated file. Regenerate properly from gen-translit.pl.
27769 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27770 locale/C-translit.h.
27772 2013-06-05 Andreas Schwab <schwab@suse.de>
27775 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27776 week as 6 instead of -1.
27777 * time/tst-strptime.c (day_tests): Add test case.
27779 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27781 * sysdeps/generic/math_private.h
27782 (libc_feholdexcept_setround_53bit): Replace with
27783 libc_feholdsetround_53bit.
27784 (libc_feupdateenv_53bit): Replace with
27785 libc_feresetround_53bit.
27786 (SET_RESTORE_ROUND_53BIT): Adjust.
27788 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27790 * string/test-strchrnul.c: Add copyright header.
27792 * posix/tst-getaddrinfo4.c: Increase test timeout.
27794 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27797 * math/libm-test.inc (MAX_EXP): Remove
27799 (ulp): Use MIN_EXP - MANT_DIG.
27800 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27802 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27804 * po/be.po: Revert last change.
27805 * po/zh_CN.po: Likewise.
27806 * po/header.pot: Likewise.
27808 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27810 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27811 link-libc-deps to empty as target-specific variable.
27812 * Makerules (link-libc-args): New variable.
27813 (libc-for-link): Likewise.
27814 (link-libc-deps): Likewise.
27815 (lib%.so): Depend on $(link-libc-deps). Link with
27817 (build-module): Link with $(link-libc-args).
27818 (build-module-asneeded): Likewise.
27819 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27821 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27822 target-specific variable.
27823 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27824 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27825 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27827 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27829 ($(objpfx)libpcprofile.so): Likewise.
27830 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27832 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27833 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27834 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27836 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27837 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27838 * login/Makefile ($(objpfx)libutil.so): Likewise.
27839 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27840 * math/Makefile ($(objpfx)libm.so): Likewise.
27841 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27842 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27843 variable instead of depending directly on libc.
27844 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27845 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27847 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27849 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27850 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27851 ($(objpfx)libanl.so): Likewise.
27852 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27854 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27856 * sysdeps/i386/fpu/Makefile: Remove file.
27857 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27858 ($(objpfx)libm.so): Remove dependency on ld.so.
27860 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27863 * nis/yp_xdr.c (XDRMAXNAME): Define.
27864 (XDRMAXRECORD): Define.
27865 (xdr_domainname): Use XDRMAXNAME.
27866 (xdr_mapname): Likewise.
27867 (xdr_peername): Likewise.
27868 (xdr_keydat): Use XDRMAXRECORD.
27869 (xdr_valdat): Likewise.
27871 2013-05-30 Jeff Law <law@redhat.com>
27874 * manual/errno.texi (ESTALE): Update to account for more than
27875 just NFS file systems.
27876 * sysdeps/gnu/errlist.c: Regenerated.
27878 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27881 * elf/Makefile (tests): Add tst-null-argv.
27882 (modules-names): Add tst-null-argv-lib.
27883 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27884 (tst-null-argv-ENV): Set environment for tst-null-argv.
27885 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27886 (RTLD_PROGNAME): New macro.
27887 * elf/tst-null-argv.c: New test case.
27888 * elf/tst-null-argv-lib.c: Library for test case.
27889 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27890 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27891 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27892 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27893 * elf/dl-init.c (call_init): Likewise.
27894 (_dl_init): Likewise.
27895 * elf/dl-load.c (print_search_path): Likewise.
27896 (_dl_map_object): Likewise.
27897 * elf/dl-lookup.c (do_lookup_x): Likewise.
27898 (add_dependency): Likewise.
27899 (_dl_lookup_symbol_x): Likewise.
27900 (_dl_debug_bindings): Likewise.
27901 * elf/dl-open.c (_dl_show_scope): Likewise.
27902 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27903 * elf/dl-version.c (match_symbol): Likewise.
27904 (_dl_check_map_versions): Likewise.
27905 * elf/rtld.c (dl_main): Likewise.
27906 (print_unresolved): Use RTLD_PROGNAME.
27907 (print_missing_version): Likewise.
27908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27909 (elf_machine_rela): Likewise.
27910 * sysdeps/powerpc/powerpc32/dl-machine.c
27911 (__process_machine_rela): Likewise.
27912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27914 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27916 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27918 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27919 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27925 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27927 * po/be.po: Add descriptive title.
27928 * po/zh_CN.po: Likewise.
27929 * po/header.pot: Likewise.
27931 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27933 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27935 (enlarge_archive): Likewise.
27937 2013-05-28 Ben North <ben@redfrontdoor.org>
27939 * manual/arith.texi (frexp): It is the magnitude of the return
27940 value which lies in [0.5, 1), not the return value itself.
27942 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27946 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27948 * stdio-common/bug26.c (main): Correct fscanf template.
27950 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27951 declare _dl_skip_args.
27953 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27956 * manual/platform.texi: Add missing @end deftypefun.
27958 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27961 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27962 bit of mantissa of 2^16382.
27963 * math/libm-test.inc (hypot_test_data): Add more tests.
27965 * math/libm-test.inc: Add drem and pow10 to list of tested
27967 (pow10_test): New function.
27968 (drem_test): Likewise.
27969 (drem_test_tonearest): Likewise.
27970 (drem_test_towardzero): Likewise.
27971 (drem_test_downward): Likewise.
27972 (drem_test_upward): Likewise.
27973 (main): Call the new functions.
27975 * math/libm-test.inc (finite_test_data): Remove.
27976 (finite_test): Run tests from isfinite_test_data.
27977 (gamma_test_data): Remove.
27978 (gamma_test): Run tests from lgamma_test_data.
27979 * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27982 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27984 * manual/platform.texi: Add PowerPC PPR function set documentation.
27985 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27988 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27990 * math/libm-test.inc (MAX_EXP): Define.
27992 (ulp): New function.
27993 (check_float_internal): Use ULPDIFF.
27994 (cpow_test): Disable failing test.
27995 (check_ulp): Test ulp() implemetnation.
27996 (main): Call check_ulp before starting tests.
27998 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28000 * math/gen-libm-test.pl (generate_testfile): Do not handle
28001 START_DATA and END_DATA.
28002 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28004 (acos_tonearest_test_data): Likewise.
28005 (acos_towardzero_test_data): Likewise.
28006 (acos_downward_test_data): Likewise.
28007 (acos_upward_test_data): Likewise.
28008 (acosh_test_data): Likewise.
28009 (asin_test_data): Likewise.
28010 (asin_tonearest_test_data): Likewise.
28011 (asin_towardzero_test_data): Likewise.
28012 (asin_downward_test_data): Likewise.
28013 (asin_upward_test_data): Likewise.
28014 (asinh_test_data): Likewise.
28015 (atan_test_data): Likewise.
28016 (atanh_test_data): Likewise.
28017 (atan2_test_data): Likewise.
28018 (cabs_test_data): Likewise.
28019 (cacos_test_data): Likewise.
28020 (cacosh_test_data): Likewise.
28021 (carg_test_data): Likewise.
28022 (casin_test_data): Likewise.
28023 (casinh_test_data): Likewise.
28024 (catan_test_data): Likewise.
28025 (catanh_test_data): Likewise.
28026 (cbrt_test_data): Likewise.
28027 (ccos_test_data): Likewise.
28028 (ccosh_test_data): Likewise.
28029 (ceil_test_data): Likewise.
28030 (cexp_test_data): Likewise.
28031 (cimag_test_data): Likewise.
28032 (clog_test_data): Likewise.
28033 (clog10_test_data): Likewise.
28034 (conj_test_data): Likewise.
28035 (copysign_test_data): Likewise.
28036 (cos_test_data): Likewise.
28037 (cos_tonearest_test_data): Likewise.
28038 (cos_towardzero_test_data): Likewise.
28039 (cos_downward_test_data): Likewise.
28040 (cos_upward_test_data): Likewise.
28041 (cosh_test_data): Likewise.
28042 (cosh_tonearest_test_data): Likewise.
28043 (cosh_towardzero_test_data): Likewise.
28044 (cosh_downward_test_data): Likewise.
28045 (cosh_upward_test_data): Likewise.
28046 (cpow_test_data): Likewise.
28047 (cproj_test_data): Likewise.
28048 (creal_test_data): Likewise.
28049 (csin_test_data): Likewise.
28050 (csinh_test_data): Likewise.
28051 (csqrt_test_data): Likewise.
28052 (ctan_test_data): Likewise.
28053 (ctan_tonearest_test_data): Likewise.
28054 (ctan_towardzero_test_data): Likewise.
28055 (ctan_downward_test_data): Likewise.
28056 (ctan_upward_test_data): Likewise.
28057 (ctanh_test_data): Likewise.
28058 (ctanh_tonearest_test_data): Likewise.
28059 (ctanh_towardzero_test_data): Likewise.
28060 (ctanh_downward_test_data): Likewise.
28061 (ctanh_upward_test_data): Likewise.
28062 (erf_test_data): Likewise.
28063 (erfc_test_data): Likewise.
28064 (exp_test_data): Likewise.
28065 (exp_tonearest_test_data): Likewise.
28066 (exp_towardzero_test_data): Likewise.
28067 (exp_downward_test_data): Likewise.
28068 (exp_upward_test_data): Likewise.
28069 (exp10_test_data): Likewise.
28070 (exp2_test_data): Likewise.
28071 (expm1_test_data): Likewise.
28072 (fabs_test_data): Likewise.
28073 (fdim_test_data): Likewise.
28074 (finite_test_data): Likewise.
28075 (floor_test_data): Likewise.
28076 (fma_test_data): Likewise.
28077 (fma_towardzero_test_data): Likewise.
28078 (fma_downward_test_data): Likewise.
28079 (fma_upward_test_data): Likewise.
28080 (fmax_test_data): Likewise.
28081 (fmin_test_data): Likewise.
28082 (fmod_test_data): Likewise.
28083 (fpclassify_test_data): Likewise.
28084 (frexp_test_data): Likewise.
28085 (gamma_test_data): Likewise.
28086 (hypot_test_data): Likewise.
28087 (ilogb_test_data): Likewise.
28088 (isfinite_test_data): Likewise.
28089 (isgreater_test_data): Likewise.
28090 (isgreaterequal_test_data): Likewise.
28091 (isinf_test_data): Likewise.
28092 (isless_test_data): Likewise.
28093 (islessequal_test_data): Likewise.
28094 (islessgreater_test_data): Likewise.
28095 (isnan_test_data): Likewise.
28096 (isnormal_test_data): Likewise.
28097 (issignaling_test_data): Likewise.
28098 (isunordered_test_data): Likewise.
28099 (j0_test_data): Likewise.
28100 (j1_test_data): Likewise.
28101 (jn_test_data): Likewise.
28102 (ldexp_test_data): Likewise.
28103 (lgamma_test_data): Likewise.
28104 (lrint_test_data): Likewise.
28105 (lrint_tonearest_test_data): Likewise.
28106 (lrint_towardzero_test_data): Likewise.
28107 (lrint_downward_test_data): Likewise.
28108 (lrint_upward_test_data): Likewise.
28109 (llrint_test_data): Likewise.
28110 (llrint_tonearest_test_data): Likewise.
28111 (llrint_towardzero_test_data): Likewise.
28112 (llrint_downward_test_data): Likewise.
28113 (llrint_upward_test_data): Likewise.
28114 (log_test_data): Likewise.
28115 (log10_test_data): Likewise.
28116 (log1p_test_data): Likewise.
28117 (log2_test_data): Likewise.
28118 (logb_test_data): Likewise.
28119 (logb_downward_test_data): Likewise.
28120 (lround_test_data): Likewise.
28121 (llround_test_data): Likewise.
28122 (modf_test_data): Likewise.
28123 (nearbyint_test_data): Likewise.
28124 (nextafter_test_data): Likewise.
28125 (nexttoward_test_data): Likewise.
28126 (pow_test_data): Likewise.
28127 (pow_tonearest_test_data): Likewise.
28128 (pow_towardzero_test_data): Likewise.
28129 (pow_downward_test_data): Likewise.
28130 (pow_upward_test_data): Likewise.
28131 (remainder_test_data): Likewise.
28132 (remainder_tonearest_test_data): Likewise.
28133 (remainder_towardzero_test_data): Likewise.
28134 (remainder_downward_test_data): Likewise.
28135 (remainder_upward_test_data): Likewise.
28136 (remquo_test_data): Likewise.
28137 (rint_test_data): Likewise.
28138 (rint_tonearest_test_data): Likewise.
28139 (rint_towardzero_test_data): Likewise.
28140 (rint_downward_test_data): Likewise.
28141 (rint_upward_test_data): Likewise.
28142 (round_test_data): Likewise.
28143 (scalb_test_data): Likewise.
28144 (scalbn_test_data): Likewise.
28145 (scalbln_test_data): Likewise.
28146 (signbit_test_data): Likewise.
28147 (sin_test_data): Likewise.
28148 (sin_tonearest_test_data): Likewise.
28149 (sin_towardzero_test_data): Likewise.
28150 (sin_downward_test_data): Likewise.
28151 (sin_upward_test_data): Likewise.
28152 (sincos_test_data): Likewise.
28153 (sinh_test_data): Likewise.
28154 (sinh_tonearest_test_data): Likewise.
28155 (sinh_towardzero_test_data): Likewise.
28156 (sinh_downward_test_data): Likewise.
28157 (sinh_upward_test_data): Likewise.
28158 (sqrt_test_data): Likewise.
28159 (tan_test_data): Likewise.
28160 (tan_tonearest_test_data): Likewise.
28161 (tan_towardzero_test_data): Likewise.
28162 (tan_downward_test_data): Likewise.
28163 (tan_upward_test_data): Likewise.
28164 (tanh_test_data): Likewise.
28165 (tgamma_test_data): Likewise.
28166 (trunc_test_data): Likewise.
28167 (y0_test_data): Likewise.
28168 (y1_test_data): Likewise.
28169 (yn_test_data): Likewise.
28170 (significand_test_data): Likewise.
28172 * math/gen-libm-test.pl (@functions): Remove variable.
28173 (generate_testfile): Don't handle START and END lines.
28174 * math/libm-test.inc (START): New macro.
28176 (END_COMPLEX): Likewise.
28177 (acos_test): Use END macro without arguments.
28178 (acos_test_tonearest): Likewise.
28179 (acos_test_towardzero): Likewise.
28180 (acos_test_downward): Likewise.
28181 (acos_test_upward): Likewise.
28182 (acosh_test): Likewise.
28183 (asin_test): Likewise.
28184 (asin_test_tonearest): Likewise.
28185 (asin_test_towardzero): Likewise.
28186 (asin_test_downward): Likewise.
28187 (asin_test_upward): Likewise.
28188 (asinh_test): Likewise.
28189 (atan_test): Likewise.
28190 (atanh_test): Likewise.
28191 (atan2_test): Likewise.
28192 (cabs_test): Likewise.
28193 (cacos_test): Use END_COMPLEX macro without arguments.
28194 (cacosh_test): Likewise.
28195 (carg_test): Use END macro without arguments.
28196 (casin_test): Use END_COMPLEX macro without arguments.
28197 (casinh_test): Likewise.
28198 (catan_test): Likewise.
28199 (catanh_test): Likewise.
28200 (cbrt_test): Use END macro without arguments.
28201 (ccos_test): Use END_COMPLEX macro without arguments.
28202 (ccosh_test): Likewise.
28203 (ceil_test): Use END macro without arguments.
28204 (cexp_test): Use END_COMPLEX macro without arguments.
28205 (cimag_test): Use END macro without arguments.
28206 (clog_test): Use END_COMPLEX macro without arguments.
28207 (clog10_test): Likewise.
28208 (conj_test): Likewise.
28209 (copysign_test): Use END macro without arguments.
28210 (cos_test): Likewise.
28211 (cos_test_tonearest): Likewise.
28212 (cos_test_towardzero): Likewise.
28213 (cos_test_downward): Likewise.
28214 (cos_test_upward): Likewise.
28215 (cosh_test): Likewise.
28216 (cosh_test_tonearest): Likewise.
28217 (cosh_test_towardzero): Likewise.
28218 (cosh_test_downward): Likewise.
28219 (cosh_test_upward): Likewise.
28220 (cpow_test): Use END_COMPLEX macro without arguments.
28221 (cproj_test): Likewise.
28222 (creal_test): Use END macro without arguments.
28223 (csin_test): Use END_COMPLEX macro without arguments.
28224 (csinh_test): Likewise.
28225 (csqrt_test): Likewise.
28226 (ctan_test): Likewise.
28227 (ctan_test_tonearest): Likewise.
28228 (ctan_test_towardzero): Likewise.
28229 (ctan_test_downward): Likewise.
28230 (ctan_test_upward): Likewise.
28231 (ctanh_test): Likewise.
28232 (ctanh_test_tonearest): Likewise.
28233 (ctanh_test_towardzero): Likewise.
28234 (ctanh_test_downward): Likewise.
28235 (ctanh_test_upward): Likewise.
28236 (erf_test): Use END macro without arguments.
28237 (erfc_test): Likewise.
28238 (exp_test): Likewise.
28239 (exp_test_tonearest): Likewise.
28240 (exp_test_towardzero): Likewise.
28241 (exp_test_downward): Likewise.
28242 (exp_test_upward): Likewise.
28243 (exp10_test): Likewise.
28244 (exp2_test): Likewise.
28245 (expm1_test): Likewise.
28246 (fabs_test): Likewise.
28247 (fdim_test): Likewise.
28248 (finite_test): Likewise.
28249 (floor_test): Likewise.
28250 (fma_test): Likewise.
28251 (fma_test_towardzero): Likewise.
28252 (fma_test_downward): Likewise.
28253 (fma_test_upward): Likewise.
28254 (fmax_test): Likewise.
28255 (fmin_test): Likewise.
28256 (fmod_test): Likewise.
28257 (fpclassify_test): Likewise.
28258 (frexp_test): Likewise.
28259 (gamma_test): Likewise.
28260 (hypot_test): Likewise.
28261 (ilogb_test): Likewise.
28262 (isfinite_test): Likewise.
28263 (isgreater_test): Likewise.
28264 (isgreaterequal_test): Likewise.
28265 (isinf_test): Likewise.
28266 (isless_test): Likewise.
28267 (islessequal_test): Likewise.
28268 (islessgreater_test): Likewise.
28269 (isnan_test): Likewise.
28270 (isnormal_test): Likewise.
28271 (issignaling_test): Likewise.
28272 (isunordered_test): Likewise.
28273 (j0_test): Likewise.
28274 (j1_test): Likewise.
28275 (jn_test): Likewise.
28276 (ldexp_test): Likewise.
28277 (lgamma_test): Likewise.
28278 (lrint_test): Likewise.
28279 (lrint_test_tonearest): Likewise.
28280 (lrint_test_towardzero): Likewise.
28281 (lrint_test_downward): Likewise.
28282 (lrint_test_upward): Likewise.
28283 (llrint_test): Likewise.
28284 (llrint_test_tonearest): Likewise.
28285 (llrint_test_towardzero): Likewise.
28286 (llrint_test_downward): Likewise.
28287 (llrint_test_upward): Likewise.
28288 (log_test): Likewise.
28289 (log10_test): Likewise.
28290 (log1p_test): Likewise.
28291 (log2_test): Likewise.
28292 (logb_test): Likewise.
28293 (logb_test_downward): Likewise.
28294 (lround_test): Likewise.
28295 (llround_test): Likewise.
28296 (modf_test): Likewise.
28297 (nearbyint_test): Likewise.
28298 (nextafter_test): Likewise.
28299 (nexttoward_test): Likewise.
28300 (pow_test): Likewise.
28301 (pow_test_tonearest): Likewise.
28302 (pow_test_towardzero): Likewise.
28303 (pow_test_downward): Likewise.
28304 (pow_test_upward): Likewise.
28305 (remainder_test): Likewise.
28306 (remainder_test_tonearest): Likewise.
28307 (remainder_test_towardzero): Likewise.
28308 (remainder_test_downward): Likewise.
28309 (remainder_test_upward): Likewise.
28310 (remquo_test): Likewise.
28311 (rint_test): Likewise.
28312 (rint_test_tonearest): Likewise.
28313 (rint_test_towardzero): Likewise.
28314 (rint_test_downward): Likewise.
28315 (rint_test_upward): Likewise.
28316 (round_test): Likewise.
28317 (scalb_test): Likewise.
28318 (scalbn_test): Likewise.
28319 (scalbln_test): Likewise.
28320 (signbit_test): Likewise.
28321 (sin_test): Likewise.
28322 (sin_test_tonearest): Likewise.
28323 (sin_test_towardzero): Likewise.
28324 (sin_test_downward): Likewise.
28325 (sin_test_upward): Likewise.
28326 (sincos_test): Likewise.
28327 (sinh_test): Likewise.
28328 (sinh_test_tonearest): Likewise.
28329 (sinh_test_towardzero): Likewise.
28330 (sinh_test_downward): Likewise.
28331 (sinh_test_upward): Likewise.
28332 (sqrt_test): Likewise.
28333 (tan_test): Likewise.
28334 (tan_test_tonearest): Likewise.
28335 (tan_test_towardzero): Likewise.
28336 (tan_test_downward): Likewise.
28337 (tan_test_upward): Likewise.
28338 (tanh_test): Likewise.
28339 (tgamma_test): Likewise.
28340 (trunc_test): Likewise.
28341 (y0_test): Likewise.
28342 (y1_test): Likewise.
28343 (yn_test): Likewise.
28344 (significand_test): Likewise.
28346 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28349 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28351 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28354 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28355 __ppc_mdoio and __ppc_mdoom.
28356 * manual/platform.texi: Document new functions __ppc_yield,
28357 __ppc_mdoio and __ppc_mdoom.
28359 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28361 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28362 (main): Mention "tls" pseudo-hwcap is legacy.
28363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28365 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28367 * math/gen-libm-test.pl (parse_args): Output only string of
28368 arguments as text for test name, not full call or descriptions of
28369 tests for extra outputs.
28370 (generate_testfile): Do not pass function name to parse_args.
28371 Generate this_func variable from START.
28372 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28374 (struct test_ff_f_data): Likewise.
28375 (test_ff_f_data_nexttoward): Likewise.
28376 (struct test_fi_f_data): Likewise.
28377 (struct test_fl_f_data): Likewise.
28378 (struct test_if_f_data): Likewise.
28379 (struct test_fff_f_data): Likewise.
28380 (struct test_c_f_data): Likewise.
28381 (struct test_f_f1_data): Likewise. Remove field extra_name.
28382 (struct test_fF_f1_data): Likewise.
28383 (struct test_ffI_f1_data): Likewise.
28384 (struct test_c_c_data): Rename test_name field to arg_str.
28385 (struct test_cc_c_data): Likewise.
28386 (struct test_f_i_data): Likewise.
28387 (struct test_ff_i_data): Likewise.
28388 (struct test_f_l_data): Likewise.
28389 (struct test_f_L_data): Likewise.
28390 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28392 (COMMON_TEST_SETUP): New macro.
28393 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28394 (COMMON_TEST_CLEANUP): Likewise.
28395 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28396 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28398 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28399 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28401 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28402 (RUN_TEST_fff_f): Take argument string. Call new setup and
28404 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28405 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28407 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28408 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28410 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28411 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28413 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28414 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28416 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28417 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28419 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28420 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28422 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28423 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28425 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28426 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28428 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28429 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28431 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28432 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28434 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28435 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28437 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28438 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28440 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28441 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28443 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28444 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28446 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28447 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28449 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28451 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28453 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28454 to _sifields.sigfault.
28455 (si_addr_lsb): Define new macro.
28456 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28458 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28460 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28463 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28465 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28467 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28468 loading the domain.
28470 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28472 * math/gen-libm-test.pl (parse_args): Do not include expected
28473 result in test name.
28474 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28475 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28476 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28477 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28478 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28483 * benchtests/Makefile: Sort function entries.
28485 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28486 tanh, asinh, acosh, atanh.
28487 * benchtests/acos-inputs: New file.
28488 * benchtests/acosh-inputs: New file.
28489 * benchtests/asin-inputs: New file.
28490 * benchtests/asinh-inputs: New file.
28491 * benchtests/atanh-inputs: New file.
28492 * benchtests/cosh-inputs: New file.
28493 * benchtests/log-inputs: New file.
28494 * benchtests/sinh-inputs: New file.
28495 * benchtests/tanh-inputs: New file.
28497 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28500 * posix/tst-getaddrinfo4.c: New test.
28501 * posix/Makefile (tests): Add it.
28503 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28506 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28507 when no services were used.
28508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28509 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28511 2013-05-21 Andreas Schwab <schwab@suse.de>
28514 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28515 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28517 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28518 redundant variable declarations and reallocation of buffer when
28519 parsing as IPv6 address. Always set NSS status when called from
28520 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28521 buffer too small. Correct computation of needed size.
28522 * nss/Makefile (tests): Add test-digits-dots.
28523 * nss/test-digits-dots.c: New test.
28525 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28527 * benchtests/Makefile: Remove instructions for adding
28529 * benchtests/README: New file to explain how to execute and
28530 enhance the benchmark tests.
28532 2013-05-21 Andreas Schwab <schwab@suse.de>
28535 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28536 * setjmp/tst-sigsetjmp.c: New test.
28538 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28540 * sysdeps/x86_64/memset.S (memset): New implementation.
28541 (__bzero): Likewise.
28542 (__memset_tail): New function.
28544 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28546 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28547 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28548 __memcpy_sse2_unaligned ifunc selection.
28549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28550 Add memcpy-sse2-unaligned.S.
28551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28552 Add: __memcpy_sse2_unaligned.
28554 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28557 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28558 math_force_eval before restoring floating-point envrionment.
28559 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28562 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28564 (__nearbyintl): Use math_force_eval before restoring
28565 floating-point environment.
28566 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28568 * math/gen-libm-test.pl (special_functions): Remove.
28569 (parse_args): Don't handle TEST_extra. Handle functions with no
28571 * math/libm-test.inc (struct test_sincos_data): Replace with
28572 struct test_fFF_11_data.
28573 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28574 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28575 (sincos_test_data): Change element type to struct
28576 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28577 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28578 RUN_TEST_LOOP_sincos.
28579 * math/README.libm-test: Don't mention special handling of
28580 individual functions.
28581 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28583 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28584 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28585 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28588 * math/gen-libm-test.pl (get_variable): Remove function.
28589 (parse_args): Don't show pointer parameters to call in test
28590 names. Use "extra output N" in test names for extra outputs
28591 rather than naming variables.
28593 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28596 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28597 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28598 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28600 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28602 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28605 * math/gen-libm-test.pl (@tests): Remove variable.
28606 ($count): Likewise.
28607 (new_test): Remove function.
28608 (show_exceptions): New function.
28609 (special_functions): Use show_exceptions instead of new_test.
28610 (parse_args): Likewise.
28611 (generate_testfile): Pass only function name in generated call to
28612 print_max_error or print_complex_max_error.
28613 (get_ulps): Do not handle complex tests specially.
28614 (output_test): Rename to ...
28615 (get_all_ulps_for_test): ... this. Return a string rather than
28616 printing to a file. Require ulps to be present.
28617 (output_ulps): Generate arrays rather than #defines.
28618 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28619 (struct ulp_data): New type.
28620 (BUILD_COMPLEX_ULP): Remove macro.
28621 (compare_ulp_data): New function.
28622 (find_ulps): Likewise.
28623 (find_test_ulps): Likewise.
28624 (find_function_ulps): Likewise.
28625 (find_complex_function_ulps): Likewise.
28626 (print_max_error): Determine allowed ulps using
28627 find_function_ulps.
28628 (print_complex_max_error): Determine allowed ulps using
28629 find_complex_function_ulps.
28630 (check_float_internal): Determine max ulps using find_test_ulps.
28631 (check_float): Do not take max_ulp parameter. Update call to
28632 check_float_internal.
28633 (check_complex): Likewise.
28634 (check_int): Do not take max_ulp parameter.
28635 (check_long): Likewise.
28636 (check_bool): Likewise.
28637 (check_longlong): Likewise.
28638 (struct test_f_f_data): Remove max_ulp field.
28639 (struct test_ff_f_data): Likewise.
28640 (struct test_ff_f_data_nexttoward): Likewise.
28641 (struct test_fi_f_data): Likewise.
28642 (struct test_fl_f_data): Likewise.
28643 (struct test_if_f_data): Likewise.
28644 (struct test_fff_f_data): Likewise.
28645 (struct test_c_f_data): Likewise.
28646 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28647 (struct test_fF_f1_data): Likewise.
28648 (struct test_ffI_f1_data): Likewise.
28649 (struct test_c_c_data): Remove max_ulp field.
28650 (struct test_cc_c_data): Likewise.
28651 (struct test_f_i_data): Likewise.
28652 (struct test_ff_i_data): Likewise.
28653 (struct test_f_l_data): Likewise.
28654 (struct test_f_L_data): Likewise.
28655 (struct test_sincos_data): Likewise.
28656 (RUN_TEST_f_f): Do not handle ulps.
28657 (RUN_TEST_LOOP_f_f): Likewise.
28658 (RUN_TEST_2_f): Likewise.
28659 (RUN_TEST_LOOP_2_f): Likewise.
28660 (RUN_TEST_fff_f): Likewise.
28661 (RUN_TEST_LOOP_fff_f): Likewise.
28662 (RUN_TEST_c_f): Likewise.
28663 (RUN_TEST_LOOP_c_f): Likewise.
28664 (RUN_TEST_f_f1): Likewise.
28665 (RUN_TEST_LOOP_f_f1): Likewise.
28666 (RUN_TEST_fF_f1): Likewise.
28667 (RUN_TEST_LOOP_fF_f1): Likewise.
28668 (RUN_TEST_fI_f1): Likewise.
28669 (RUN_TEST_LOOP_fI_f1): Likewise.
28670 (RUN_TEST_ffI_f1): Likewise.
28671 (RUN_TEST_LOOP_ffI_f1): Likewise.
28672 (RUN_TEST_c_c): Likewise.
28673 (RUN_TEST_LOOP_c_c): Likewise.
28674 (RUN_TEST_cc_c): Likewise.
28675 (RUN_TEST_LOOP_cc_c): Likewise.
28676 (RUN_TEST_f_i): Likewise.
28677 (RUN_TEST_LOOP_f_i): Likewise.
28678 (RUN_TEST_f_i_tg): Likewise.
28679 (RUN_TEST_LOOP_f_i_tg): Likewise.
28680 (RUN_TEST_ff_i_tg): Likewise.
28681 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28682 (RUN_TEST_f_b): Likewise.
28683 (RUN_TEST_LOOP_f_b): Likewise.
28684 (RUN_TEST_f_b_tg): Likewise.
28685 (RUN_TEST_LOOP_f_b_tg): Likewise.
28686 (RUN_TEST_f_l): Likewise.
28687 (RUN_TEST_LOOP_f_l): Likewise.
28688 (RUN_TEST_f_L): Likewise.
28689 (RUN_TEST_LOOP_f_L): Likewise.
28690 (RUN_TEST_sincos): Likewise.
28691 (RUN_TEST_LOOP_sincos): Likewise.
28693 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28697 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28698 main case of finite arguments, set rounding mode to FE_TONEAREST
28699 and discard exceptions.
28700 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28702 (remainder_tonearest_test_data): New variable.
28703 (remainder_test_tonearest): New function.
28704 (remainder_towardzero_test_data): New variable.
28705 (remainder_test_towardzero): New function.
28706 (remainder_downward_test_data): New variable.
28707 (remainder_test_downward): New function.
28708 (remainder_upward_test_data): New variable.
28709 (remainder_test_upward): New function.
28710 (main): Call the new test functions.
28712 * math/libm-test.inc (struct test_f_f1_data): Remove field
28714 (struct test_fF_f1_data): Likewise.
28715 (struct test_ffI_f1_data): Likewise.
28716 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28717 based on value of EXTRA_EXPECTED.
28718 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28719 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28720 EXTRA_VAR based on value of EXTRA_EXPECTED.
28721 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28722 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28723 EXTRA_VAR based on value of EXTRA_EXPECTED.
28724 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28725 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28726 EXTRA_VAR based on value of EXTRA_EXPECTED.
28727 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28728 * math/gen-libm-test.pl (parse_args): Don't output initializers
28729 for extra output values.
28731 * math/libm-test.inc (check_int): Expect result to be exactly
28732 equal to expected value and do not handle ulps.
28733 (check_long): Likewise.
28734 (check_longlong): Likewise.
28736 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28738 (cimag_test_data): Likewise.
28739 (conj_test_data): Likewise.
28740 (copysign_test_data): Likewise.
28741 (cproj_test_data): Likewise.
28742 (creal_test_data): Likewise.
28743 (fabs_test_data): Likewise.
28744 (fdim_test_data): Likewise.
28745 (finite_test_data): Likewise.
28746 (floor_test_data): Likewise.
28747 (fmax_test_data): Likewise.
28748 (fmin_test_data): Likewise.
28749 (fmod_test_data): Likewise.
28750 (fpclassify_test_data): Likewise.
28751 (frexp_test_data): Likewise.
28752 (ilogb_test_data): Likewise.
28753 (isfinite_test_data): Likewise.
28754 (isgreater_test_data): Likewise.
28755 (isgreaterequal_test_data): Likewise.
28756 (isinf_test_data): Likewise.
28757 (isless_test_data): Likewise.
28758 (islessequal_test_data): Likewise.
28759 (islessgreater_test_data): Likewise.
28760 (isnan_test_data): Likewise.
28761 (isnormal_test_data): Likewise.
28762 (issignaling_test_data): Likewise.
28763 (isunordered_test_data): Likewise.
28764 (ldexp_test_data): Likewise.
28765 (lrint_test_data): Likewise.
28766 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28767 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28768 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28769 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28770 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28771 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28773 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28774 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28775 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28776 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28778 (lrint_downward_test_data): Test for "inexact" exceptions.
28779 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28780 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28781 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28783 (lrint_upward_test_data): Test for "inexact" exceptions.
28784 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28786 (llrint_test_data): Test for "inexact" exceptions.
28787 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28788 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28789 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28790 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28791 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28792 (llrint_downward_test_data): Test for "inexact" exceptions.
28793 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28794 (llrint_upward_test_data): Test for "inexact" exceptions.
28795 (logb_test_data): Likewise.
28796 (logb_downward_test_data): Likewise.
28797 (nextafter_test_data): Likewise.
28798 (nexttoward_test_data): Likewise.
28799 (remainder_test_data): Likewise.
28800 (remquo_test_data): Likewise.
28801 (scalbn_test_data): Likewise.
28802 (scalbln_test_data): Likewise.
28803 (signbit_test_data): Likewise.
28804 (sqrt_test_data): Likewise.
28805 (significand_test_data): Likewise.
28807 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28810 * benchtests/bench-modf.c (struct args): Mark arg0 as
28812 * scripts/bench.pl: Mark members of struct args as volatile.
28814 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28817 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28818 negative infinity on POWER6 or lower.
28819 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28821 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28824 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28825 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28826 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28827 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28828 (_FP_SETQNAN): New macro.
28829 (_FP_SETQNAN_SEMIRAW): Likewise.
28830 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28831 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28832 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28833 (FP_EXTEND): Use _FP_FRAC_SNANP.
28834 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28835 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28837 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28839 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28842 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28844 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28845 with DIVIDE_BY_ZERO_EXCEPTION.
28846 (gamma_test_data): Likewise.
28847 (lgamma_test_data): Likewise.
28848 (log_test_data): Likewise.
28849 (log10_test_data): Likewise.
28850 (log2_test_data): Likewise.
28851 (tgamma_test_data): Likewise.
28853 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28854 (acos_test_tonearest): Likewise.
28855 (acos_test_towardzero): Likewise.
28856 (acos_test_downward): Likewise.
28857 (acos_test_upward): Likewise.
28858 (acosh_test): Likewise.
28859 (asin_test): Likewise.
28860 (asin_test_tonearest): Likewise.
28861 (asin_test_towardzero): Likewise.
28862 (asin_test_downward): Likewise.
28863 (asin_test_upward): Likewise.
28864 (asinh_test): Likewise.
28865 (atan_test): Likewise.
28866 (atanh_test): Likewise.
28867 (atan2_test): Likewise.
28868 (cabs_test): Likewise.
28869 (cacos_test): Likewise.
28870 (cacosh_test): Likewise.
28871 (casin_test): Likewise.
28872 (casinh_test): Likewise.
28873 (catan_test): Likewise.
28874 (catanh_test): Likewise.
28875 (cbrt_test): Likewise.
28876 (ccos_test): Likewise.
28877 (ccosh_test): Likewise.
28878 (cexp_test): Likewise.
28879 (clog_test): Likewise.
28880 (clog10_test): Likewise.
28881 (cos_test): Likewise.
28882 (cos_test_tonearest): Likewise.
28883 (cos_test_towardzero): Likewise.
28884 (cos_test_downward): Likewise.
28885 (cos_test_upward): Likewise.
28886 (cosh_test): Likewise.
28887 (cosh_test_tonearest): Likewise.
28888 (cosh_test_towardzero): Likewise.
28889 (cosh_test_downward): Likewise.
28890 (cosh_test_upward): Likewise.
28891 (cpow_test): Likewise.
28892 (csin_test): Likewise.
28893 (csinh_test): Likewise.
28894 (csqrt_test): Likewise.
28895 (ctan_test): Likewise.
28896 (ctan_test_tonearest): Likewise.
28897 (ctan_test_towardzero): Likewise.
28898 (ctan_test_downward): Likewise.
28899 (ctan_test_upward): Likewise.
28900 (ctanh_test): Likewise.
28901 (ctanh_test_tonearest): Likewise.
28902 (ctanh_test_towardzero): Likewise.
28903 (ctanh_test_downward): Likewise.
28904 (ctanh_test_upward): Likewise.
28905 (erf_test): Likewise.
28906 (erfc_test): Likewise.
28907 (exp_test): Likewise.
28908 (exp_test_tonearest): Likewise.
28909 (exp_test_towardzero): Likewise.
28910 (exp_test_downward): Likewise.
28911 (exp_test_upward): Likewise.
28912 (exp10_test): Likewise.
28913 (exp2_test): Likewise.
28914 (expm1_test): Likewise.
28915 (fmod_test): Likewise.
28916 (gamma_test): Likewise.
28917 (hypot_test): Likewise.
28918 (j0_test): Likewise.
28919 (j1_test): Likewise.
28920 (jn_test): Likewise.
28921 (lgamma_test): Likewise.
28922 (log_test): Likewise.
28923 (log10_test): Likewise.
28924 (log1p_test): Likewise.
28925 (log2_test): Likewise.
28926 (logb_test_downward): Likewise.
28927 (pow_test): Likewise.
28928 (pow_test_tonearest): Likewise.
28929 (pow_test_towardzero): Likewise.
28930 (pow_test_downward): Likewise.
28931 (pow_test_upward): Likewise.
28932 (remainder_test): Likewise.
28933 (remquo_test): Likewise.
28934 (sin_test): Likewise.
28935 (sin_test_tonearest): Likewise.
28936 (sin_test_towardzero): Likewise.
28937 (sin_test_downward): Likewise.
28938 (sin_test_upward): Likewise.
28939 (sincos_test): Likewise.
28940 (sinh_test): Likewise.
28941 (sinh_test_tonearest): Likewise.
28942 (sinh_test_towardzero): Likewise.
28943 (sinh_test_downward): Likewise.
28944 (sinh_test_upward): Likewise.
28945 (sqrt_test): Likewise.
28946 (tan_test): Likewise.
28947 (tan_test_tonearest): Likewise.
28948 (tan_test_towardzero): Likewise.
28949 (tan_test_downward): Likewise.
28950 (tan_test_upward): Likewise.
28951 (tanh_test): Likewise.
28952 (tgamma_test): Likewise.
28953 (y0_test): Likewise.
28954 (y1_test): Likewise.
28955 (yn_test): Likewise.
28957 * math/gen-libm-test.pl (adjust_arg): Remove function.
28958 (special_function): Remove argument $in_func. Only handle
28959 generating output for tables of tests, not inside functions.
28960 (parse_args): Likewise.
28961 (generate_testfile): Remove variable $in_func. Update call to
28963 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28964 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28965 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28966 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28967 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28968 (MAX_VALUE_INIT): Rename macro to max_value.
28969 (MIN_VALUE_INIT): Rename macro to min_value.
28970 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28971 (plus_zero): Remove variable.
28972 (minus_zero): Likewise.
28973 (plus_infty): Likewise.
28974 (minus_infty): Likewise.
28975 (qnan_value): Likewise.
28976 (max_value): Likewise.
28977 (min_value): Likewise.
28978 (min_subnorm_value): Likewise.
28980 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28982 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28983 uint64_t or uint32_t usage.
28984 * crypt/sha256-block.c: Likewise.
28985 * crypt/sha256-crypt.c: Likewise.
28986 * crypt/sha256.c: Likewise.
28987 * crypt/sha512-block.c: Likewise.
28988 * crypt/sha512-crypt.c: Likewise.
28989 * crypt/sha512.c: Likewise.
28990 * debug/backtrace-tst.c: Likewise.
28991 * debug/pcprofiledump.c: Likewise.
28992 * elf/cache.c: Likewise.
28993 * elf/dl-cache.c: Likewise.
28994 * elf/dl-misc.c: Likewise.
28995 * elf/dl-profile.c: Likewise.
28996 * elf/dl-support.c: Likewise.
28997 * elf/ldconfig.c: Likewise.
28998 * elf/sprof.c: Likewise.
28999 * iconv/dummy-repertoire.c: Likewise.
29000 * iconv/iconv_charmap.c: Likewise.
29001 * iconv/skeleton.c: Likewise.
29002 * iconvdata/8bit-generic.c: Likewise.
29003 * iconvdata/cp737.h: Likewise.
29004 * iconvdata/cp775.h: Likewise.
29005 * iconvdata/ibm1008.h: Likewise.
29006 * iconvdata/ibm1025.h: Likewise.
29007 * iconvdata/ibm1046.h: Likewise.
29008 * iconvdata/ibm1097.h: Likewise.
29009 * iconvdata/ibm1112.h: Likewise.
29010 * iconvdata/ibm1122.h: Likewise.
29011 * iconvdata/ibm1123.h: Likewise.
29012 * iconvdata/ibm1124.h: Likewise.
29013 * iconvdata/ibm1129.h: Likewise.
29014 * iconvdata/ibm1130.h: Likewise.
29015 * iconvdata/ibm1132.h: Likewise.
29016 * iconvdata/ibm1133.h: Likewise.
29017 * iconvdata/ibm1137.h: Likewise.
29018 * iconvdata/ibm1140.h: Likewise.
29019 * iconvdata/ibm1141.h: Likewise.
29020 * iconvdata/ibm1142.h: Likewise.
29021 * iconvdata/ibm1143.h: Likewise.
29022 * iconvdata/ibm1144.h: Likewise.
29023 * iconvdata/ibm1145.h: Likewise.
29024 * iconvdata/ibm1146.h: Likewise.
29025 * iconvdata/ibm1147.h: Likewise.
29026 * iconvdata/ibm1148.h: Likewise.
29027 * iconvdata/ibm1149.h: Likewise.
29028 * iconvdata/ibm1153.h: Likewise.
29029 * iconvdata/ibm1154.h: Likewise.
29030 * iconvdata/ibm1155.h: Likewise.
29031 * iconvdata/ibm1156.h: Likewise.
29032 * iconvdata/ibm1157.h: Likewise.
29033 * iconvdata/ibm1158.h: Likewise.
29034 * iconvdata/ibm1160.h: Likewise.
29035 * iconvdata/ibm1161.h: Likewise.
29036 * iconvdata/ibm1162.h: Likewise.
29037 * iconvdata/ibm1163.h: Likewise.
29038 * iconvdata/ibm1164.h: Likewise.
29039 * iconvdata/ibm1166.h: Likewise.
29040 * iconvdata/ibm1167.h: Likewise.
29041 * iconvdata/ibm12712.h: Likewise.
29042 * iconvdata/ibm1390.h: Likewise.
29043 * iconvdata/ibm1399.h: Likewise.
29044 * iconvdata/ibm16804.h: Likewise.
29045 * iconvdata/ibm4517.h: Likewise.
29046 * iconvdata/ibm4899.h: Likewise.
29047 * iconvdata/ibm4909.h: Likewise.
29048 * iconvdata/ibm4971.h: Likewise.
29049 * iconvdata/ibm5347.h: Likewise.
29050 * iconvdata/ibm803.h: Likewise.
29051 * iconvdata/ibm856.h: Likewise.
29052 * iconvdata/ibm901.h: Likewise.
29053 * iconvdata/ibm902.h: Likewise.
29054 * iconvdata/ibm9030.h: Likewise.
29055 * iconvdata/ibm9066.h: Likewise.
29056 * iconvdata/ibm921.h: Likewise.
29057 * iconvdata/ibm922.h: Likewise.
29058 * iconvdata/ibm9448.h: Likewise.
29059 * iconvdata/isiri-3342.h: Likewise.
29060 * iconvdata/jis0201.h: Likewise.
29061 * include/link.h: Likewise.
29062 * include/netdb.h: Likewise.
29063 * inet/check_native.c: Likewise.
29064 * inet/check_pf.c: Likewise.
29065 * inet/getipv4sourcefilter.c: Likewise.
29066 * inet/getnameinfo.c: Likewise.
29067 * inet/getsourcefilter.c: Likewise.
29068 * inet/htonl.c: Likewise.
29069 * inet/setipv4sourcefilter.c: Likewise.
29070 * inet/setsourcefilter.c: Likewise.
29071 * inet/test-inet6_opt.c: Likewise.
29072 * inet/tst-network.c: Likewise.
29073 * locale/C-collate.c: Likewise.
29074 * locale/C-ctype.c: Likewise.
29075 * locale/C-time.c: Likewise.
29076 * locale/C-translit.h: Likewise.
29077 * locale/loadarchive.c: Likewise.
29078 * locale/programs/3level.h: Likewise.
29079 * locale/programs/charmap.c: Likewise.
29080 * locale/programs/charmap.h: Likewise.
29081 * locale/programs/ld-address.c: Likewise.
29082 * locale/programs/ld-collate.c: Likewise.
29083 * locale/programs/ld-ctype.c: Likewise.
29084 * locale/programs/ld-identification.c: Likewise.
29085 * locale/programs/ld-measurement.c: Likewise.
29086 * locale/programs/ld-messages.c: Likewise.
29087 * locale/programs/ld-monetary.c: Likewise.
29088 * locale/programs/ld-name.c: Likewise.
29089 * locale/programs/ld-numeric.c: Likewise.
29090 * locale/programs/ld-paper.c: Likewise.
29091 * locale/programs/ld-telephone.c: Likewise.
29092 * locale/programs/ld-time.c: Likewise.
29093 * locale/programs/linereader.c: Likewise.
29094 * locale/programs/locale.c: Likewise.
29095 * locale/programs/locarchive.c: Likewise.
29096 * locale/programs/locfile.h: Likewise.
29097 * locale/programs/repertoire.c: Likewise.
29098 * locale/programs/simple-hash.c: Likewise.
29099 * locale/programs/simple-hash.h: Likewise.
29100 * malloc/memusage.c: Likewise.
29101 * malloc/memusagestat.c: Likewise.
29102 * nis/nis_defaults.c: Likewise.
29103 * nis/nis_hash.c: Likewise.
29104 * nis/nis_print.c: Likewise.
29105 * nis/nis_xdr.c: Likewise.
29106 * nscd/connections.c: Likewise.
29107 * nscd/hstcache.c: Likewise.
29108 * nscd/nscd_gethst_r.c: Likewise.
29109 * nscd/nscd_getserv_r.c: Likewise.
29110 * nscd/nscd_helper.c: Likewise.
29111 * nscd/servicescache.c: Likewise.
29112 * nss/makedb.c: Likewise.
29113 * nss/nss_db/db-XXX.c: Likewise.
29114 * nss/nss_db/db-initgroups.c: Likewise.
29115 * nss/nss_db/db-netgrp.c: Likewise.
29116 * nss/nss_files/files-network.c: Likewise.
29117 * nss/nss_files/files-parse.c: Likewise.
29118 * posix/bug-regex5.c: Likewise.
29119 * posix/fnmatch_loop.c: Likewise.
29120 * posix/regcomp.c: Likewise.
29121 * posix/regexec.c: Likewise.
29122 * posix/tst-rfc3484-2.c: Likewise.
29123 * posix/tst-rfc3484-3.c: Likewise.
29124 * posix/tst-rfc3484.c: Likewise.
29125 * resolv/nss_dns/dns-canon.c: Likewise.
29126 * resolv/nss_dns/dns-network.c: Likewise.
29127 * resolv/res_init.c: Likewise.
29128 * resolv/res_mkquery.c: Likewise.
29129 * resolv/tst-aton.c: Likewise.
29130 * stdlib/cxa_atexit.c: Likewise.
29131 * stdlib/cxa_finalize.c: Likewise.
29132 * stdlib/gen-fpioconst.c: Likewise.
29133 * stdlib/strtol_l.c: Likewise.
29134 * string/tst-endian.c: Likewise.
29135 * sunrpc/auth_des.c: Likewise.
29136 * sunrpc/clnt_udp.c: Likewise.
29137 * sunrpc/rtime.c: Likewise.
29138 * sunrpc/svcauth_des.c: Likewise.
29139 * sunrpc/xdr.c: Likewise.
29140 * sunrpc/xdr_intXX_t.c: Likewise.
29141 * sunrpc/xdr_rec.c: Likewise.
29142 * sysdeps/generic/ldconfig.h: Likewise.
29143 * sysdeps/generic/ldsodefs.h: Likewise.
29144 * sysdeps/generic/memusage.h: Likewise.
29145 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29155 * sysdeps/posix/getaddrinfo.c: Likewise.
29156 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29157 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29158 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29159 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29160 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29161 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29162 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29163 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29164 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29165 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29166 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29167 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29168 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29169 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29170 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29171 * sysdeps/x86_64/dl-tls.h: Likewise.
29172 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29173 * time/alt_digit.c: Likewise.
29174 * time/era.c: Likewise.
29175 * wcsmbs/tst-c16c32-1.c: Likewise.
29177 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29179 * math/libm-test.inc (struct test_sincos_data): New type.
29180 (RUN_TEST_LOOP_sincos): New macro.
29181 (sincos_test_data): New variable.
29182 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29184 2013-05-16 Richard Henderson <rth@redhat.com>
29186 * math/atest-exp2.c (LIMB64): New macro.
29187 (CONSTSZ): New macro.
29188 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29190 (print_mpn_fp): ... to function scope.
29191 (read_mpn_hex): Remove.
29192 (get_log2): Remove.
29193 (exp2_mpn): Use mp_log2.
29194 (main): Use mp_exp1.
29196 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29198 * math/libm-test.inc: Remove comment about not testing "inexact"
29200 (INEXACT_EXCEPTION): New macro.
29201 (NO_INEXACT_EXCEPTION): Likewise.
29202 (INVALID_EXCEPTION_OK): Update value.
29203 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29204 (OVERFLOW_EXCEPTION_OK): Likewise.
29205 (UNDERFLOW_EXCEPTION_OK): Likewise.
29206 (IGNORE_ZERO_INF_SIGN): Likewise.
29207 (ERRNO_UNCHANGED): Likewise.
29208 (ERRNO_EDOM): Likewise.
29209 (ERRNO_ERANGE): Likewise.
29210 (test_exceptions): Handle testing "inexact" exceptions.
29211 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29212 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29213 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29214 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29216 (rint_towardzero_test_data): Likewise.
29217 (rint_downward_test_data): Likewise.
29218 (rint_upward_test_data): Likewise.
29220 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29221 with OVERFLOW_EXCEPTION.
29222 (exp10_test_data): Likewise.
29223 (exp2_test_data): Likewise.
29224 (expm1_test_data): Likewise.
29225 (lgamma_test_data): Likewise.
29226 (pow_test_data): Likewise.
29227 (tgamma_test_data): Likewise.
29228 (yn_test_data): Remove duplicate test of overflow.
29230 * math/libm-test.inc (struct test_cc_c_data): New type.
29231 (RUN_TEST_LOOP_cc_c): New macro.
29232 (cpow_test_data): New variable.
29233 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29235 * math/libm-test.inc (struct test_f_L_data): New type.
29236 (RUN_TEST_LOOP_f_L): New macro.
29237 (llrint_test_data): New variable.
29238 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29239 (llrint_tonearest_test_data): New variable.
29240 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29241 (llrint_towardzero_test_data): New variable.
29242 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29243 (llrint_downward_test_data): New variable.
29244 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29245 (llrint_upward_test_data): New variable.
29246 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29247 (llround_test_data): New variable.
29248 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29250 2013-05-13 Peter Collingbourne <pcc@google.com>
29252 * math/atest-exp2.c (get_log2): Remove const attribute.
29254 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29256 * math/libm-test.inc (struct test_f_l_data): New type.
29257 (RUN_TEST_LOOP_f_l): New macro.
29258 (lrint_test_data): New variable.
29259 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29260 (lrint_tonearest_test_data): New variable.
29261 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29262 (lrint_towardzero_test_data): New variable.
29263 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29264 (lrint_downward_test_data): New variable.
29265 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29266 (lrint_upward_test_data): New variable.
29267 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29268 (lround_test_data): New variable.
29269 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29271 2013-05-15 Peter Collingbourne <pcc@google.com>
29273 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29274 (EXTRACT_WORDS64) Use where appropriate.
29275 (INSERT_WORDS64) Likewise.
29277 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29278 constraints with x constraints.
29279 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29281 * malloc/obstack.c (_obstack_compat): Add initializer.
29283 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29286 si_trapno and add si_addr_lsb to _sifields.sigfault.
29287 (si_trapno): Remove macro.
29288 (si_addr_lsb): Define new macro.
29289 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29291 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29293 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29294 instead of TEST_f_l.
29295 (llrint_test_tonearest): Likewise.
29296 (llrint_test_towardzero): Likewise.
29297 (llrint_test_downward): Likewise.
29298 (llrint_test_upward): Likewise.
29299 (llround_test): Likewise.
29301 * math/libm-test.inc (struct test_f_i_data): Add comment.
29302 (RUN_TEST_LOOP_f_b): New macro.
29303 (RUN_TEST_LOOP_f_b_tg): Likewise.
29304 (finite_test_data): New variable.
29305 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29306 (isfinite_test_data): New variable.
29307 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29308 (isinf_test_data): New variable.
29309 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29310 (isnan_test_data): New variable.
29311 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29312 (isnormal_test_data): New variable.
29313 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29314 (issignaling_test_data): New variable.
29315 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29316 (signbit_test_data): New variable.
29317 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29319 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29320 with INVALID_EXCEPTION.
29321 (acosh_test_data): Likewise.
29322 (asin_test_data): Likewise.
29323 (atanh_test_data): Likewise.
29324 (fmod_test_data): Likewise.
29325 (log_test_data): Likewise.
29326 (log10_test_data): Likewise.
29327 (log2_test_data): Likewise.
29328 (pow_test_data): Likewise.
29329 (sqrt_test_data): Likewise.
29330 (y0_test_data): Likewise.
29331 (y1_test_data): Likewise.
29332 (yn_test_data): Likewise.
29334 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29337 * math/libm-test.inc (struct test_ff_i_data): New type.
29338 (RUN_TEST_LOOP_ff_i_tg): New macro.
29339 (isgreater_test_data): New variable.
29340 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29341 (isgreaterequal_test_data): New variable.
29342 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29343 (isless_test_data): New variable.
29344 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29345 (islessequal_test_data): New variable.
29346 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29347 (islessgreater_test_data): New variable.
29348 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29349 (isunordered_test_data): New variable.
29350 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29352 2013-05-14 David S. Miller <davem@davemloft.net>
29354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29356 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29358 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29360 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29362 (struct test_f_i_data): Change type of max_ulp to int.
29364 * math/libm-test.inc (test_ffI_f1_data): New type.
29365 (RUN_TEST_LOOP_ffI_f1): New macro.
29366 (remquo_test_data): New variable.
29367 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29369 * setjmp/tst-setjmp-fp.c: New file.
29370 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29371 (link-libm): New variable.
29372 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29374 * math/libm-test.inc (struct test_f_i_data): New type.
29375 (RUN_TEST_LOOP_f_i): New macro.
29376 (RUN_TEST_LOOP_f_i_tg): Likewise.
29377 (fpclassify_test_data): New variable.
29378 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29379 (ilogb_test_data): New variable.
29380 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29382 * math/libm-test.inc (scalbln_test): Correct function name in END
29385 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29386 (RUN_TEST_LOOP_fI_f1): New macro.
29387 (frexp_test_data): New variable.
29388 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29390 * math/libm-test.inc (struct test_fF_f1_data): New type.
29391 (RUN_TEST_LOOP_fF_f1): New macro.
29392 (modf_test_data): New variable.
29393 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29395 * math/libm-test.inc (struct test_f_f1_data): New type.
29396 (RUN_TEST_LOOP_f_f1): New macro.
29397 (gamma_test_data): New variable.
29398 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29399 (lgamma_test_data): New variable.
29400 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29402 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29404 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29405 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29406 (main): Comment "tls" pseudo-hwcap.
29408 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29410 * math/libm-test.inc (struct test_fl_f_data): New type.
29411 (RUN_TEST_LOOP_fl_f): New variable.
29412 (scalbln_test_data): New variable.
29413 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29415 * math/libm-test.inc (struct test_fi_f_data): New type.
29416 (RUN_TEST_LOOP_fi_f): New macro.
29417 (ldexp_test_data): New variable.
29418 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29419 (scalbn_test_data): New variable.
29420 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29422 * math/libm-test.inc (struct test_c_f_data): New type.
29423 (RUN_TEST_LOOP_c_f): New macro.
29424 (cabs_test_data): New variable.
29425 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29426 (carg_test_data): New variable.
29427 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29428 (cimag_test_data): New variable.
29429 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29430 (creal_test_data): New variable.
29431 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29433 * math/libm-test.inc (struct test_if_f_data): New type.
29434 (RUN_TEST_LOOP_if_f): New macro.
29435 (jn_test_data): New variable.
29436 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29437 (yn_test_data): New variable.
29438 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29440 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29442 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29444 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29445 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29447 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29449 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29450 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29451 (bench-deps): Add bench-timing.h.
29452 * benchtests-bench-skeleton.c: Include bench-timing.h.
29453 (main): Use TIMING_* macros instead of clock_gettime.
29454 * benchtests/bench-timing.h: New file.
29457 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29458 Renamed from _LIB_VERSION.
29459 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29461 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29463 * math/libm-test.inc (struct test_fff_f_data): New type.
29464 (RUN_TEST_LOOP_fff_f): New macro.
29465 (fma_test_data): New variable.
29466 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29467 (fma_towardzero_test_data): New variable.
29468 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29469 (fma_downward_test_data): New variable.
29470 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29471 (fma_upward_test_data): New variable.
29472 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29474 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29475 (struct test_c_c_data): New type.
29476 (RUN_TEST_LOOP_c_c): New macro.
29477 (cacos_test_data): New variable.
29478 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29479 (cacosh_test_data): New variable.
29480 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29481 (casin_test_data): New variable.
29482 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29483 (casinh_test_data): New variable.
29484 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29485 (catan_test_data): New variable.
29486 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29487 (catanh_test_data): New variable.
29488 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29489 (ccos_test_data): New variable.
29490 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29491 (ccosh_test_data): New variable.
29492 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29493 (cexp_test_data): New variable.
29494 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29495 (clog_test_data): New variable.
29496 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29497 (clog10_test_data): New variable.
29498 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29499 (conj_test_data): New variable.
29500 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29501 (cproj_test_data): New variable.
29502 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29503 (csin_test_data): New variable.
29504 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29505 (csinh_test_data): New variable.
29506 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29507 (csqrt_test_data): New variable.
29508 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29509 (ctan_test_data): New variable.
29510 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29511 (ctan_tonearest_test_data): New variable.
29512 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29513 (ctan_towardzero_test_data): New variable.
29514 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29515 (ctan_downward_test_data): New variable.
29516 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29517 (ctan_upward_test_data): New variable.
29518 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29519 (ctanh_test_data): New variable.
29520 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29521 (ctanh_tonearest_test_data): New variable.
29522 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29523 (ctanh_towardzero_test_data): New variable.
29524 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29525 (ctanh_downward_test_data): New variable.
29526 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29527 (ctanh_upward_test_data): New variable.
29528 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29529 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29532 * math/libm-test.inc (struct test_ff_f_data): New type.
29533 (struct test_ff_f_data_nexttoward): Likewise.
29534 (RUN_TEST_LOOP_2_f): New macro.
29535 (RUN_TEST_LOOP_ff_f): Likewise.
29536 (atan2_test_data): New variable.
29537 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29538 (copysign_test_data): New variable.
29539 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29540 (fdim_test_data): New variable.
29541 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29542 (fmax_test_data): New variable.
29543 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29544 (fmin_test_data): New variable.
29545 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29546 (fmod_test_data): New variable.
29547 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29548 (hypot_test_data): New variable.
29549 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29550 (nextafter_test_data): New variable.
29551 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29552 (nexttoward_test_data): New variable.
29553 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29554 (pow_test_data): New variable.
29555 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29556 (pow_tonearest_test_data): New variable.
29557 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29558 (pow_towardzero_test_data): New variable.
29559 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29560 (pow_downward_test_data): New variable.
29561 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29562 (pow_upward_test_data): New variable.
29563 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29564 (remainder_test_data): New variable.
29565 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29566 (scalb_test_data): New variable.
29567 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29568 * sysdeps/i386/fpu/libm-test-ulps: Update.
29570 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29572 * math/libm-test.inc (fma_test): Use max_value instead of local
29574 (nextafter_test): Likewise.
29576 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29577 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29578 (acos_downward_test_data): New variable.
29579 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29580 (acos_upward_test_data): New variable.
29581 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29582 (acosh_test_data): New variable.
29583 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29584 (asin_test_data): New variable.
29585 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29586 (asin_tonearest_test_data): New variable.
29587 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29588 (asin_towardzero_test_data): New variable.
29589 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29590 (asin_downward_test_data): New variable.
29591 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29592 (asin_upward_test_data): New variable.
29593 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29594 (asinh_test_data): New variable.
29595 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29596 (atan_test_data): New variable.
29597 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29598 (atanh_test_data): New variable.
29599 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29600 (cbrt_test_data): New variable.
29601 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29602 (ceil_test_data): New variable.
29603 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29604 (cos_test_data): New variable.
29605 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29606 (cos_tonearest_test_data): New variable.
29607 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29608 (cos_towardzero_test_data): New variable.
29609 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29610 (cos_downward_test_data): New variable.
29611 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29612 (cos_upward_test_data): New variable.
29613 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29614 (cosh_test_data): New variable.
29615 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29616 (cosh_tonearest_test_data): New variable.
29617 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29618 (cosh_towardzero_test_data): New variable.
29619 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29620 (cosh_downward_test_data): New variable.
29621 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29622 (cosh_upward_test_data): New variable.
29623 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29624 (erf_test_data): New variable.
29625 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29626 (erfc_test_data): New variable.
29627 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29628 (exp_test_data): New variable.
29629 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29630 (exp_tonearest_test_data): New variable.
29631 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29632 (exp_towardzero_test_data): New variable.
29633 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29634 (exp_downward_test_data): New variable.
29635 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29636 (exp_upward_test_data): New variable.
29637 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29638 (exp10_test_data): New variable.
29639 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29640 (exp2_test_data): New variable.
29641 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29642 (expm1_test_data): New variable.
29643 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29644 (fabs_test_data): New variable.
29645 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29646 (floor_test_data): New variable.
29647 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29648 (j0_test_data): New variable.
29649 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29650 (j1_test_data): New variable.
29651 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29652 (log_test_data): New variable.
29653 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29654 (log10_test_data): New variable.
29655 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29656 (log1p_test_data): New variable.
29657 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29658 (log2_test_data): New variable.
29659 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29660 (logb_test_data): New variable.
29661 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29662 (logb_downward_test_data): New variable.
29663 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29664 (nearbyint_test_data): New variable.
29665 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29666 (rint_test_data): New variable.
29667 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29668 (rint_tonearest_test_data): New variable.
29669 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29670 (rint_towardzero_test_data): New variable.
29671 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29672 (rint_downward_test_data): New variable.
29673 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29674 (rint_upward_test_data): New variable.
29675 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29676 (round_test_data): New variable.
29677 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29678 (sin_test_data): New variable.
29679 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29680 (sin_tonearest_test_data): New variable.
29681 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29682 (sin_towardzero_test_data): New variable.
29683 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29684 (sin_downward_test_data): New variable.
29685 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29686 (sin_upward_test_data): New variable.
29687 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29688 (sinh_test_data): New variable.
29689 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29690 (sinh_tonearest_test_data): New variable.
29691 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29692 (sinh_towardzero_test_data): New variable.
29693 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29694 (sinh_downward_test_data): New variable.
29695 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29696 (sinh_upward_test_data): New variable.
29697 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29698 (sqrt_test_data): New variable.
29699 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29700 (tan_test_data): New variable.
29701 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29702 (tan_tonearest_test_data): New variable.
29703 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29704 (tan_towardzero_test_data): New variable.
29705 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29706 (tan_downward_test_data): New variable.
29707 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29708 (tan_upward_test_data): New variable.
29709 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29710 (tanh_test_data): New variable.
29711 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29712 (tgamma_test_data): New variable.
29713 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29714 (trunc_test_data): New variable.
29715 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29716 (y0_test_data): New variable.
29717 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29718 (y1_test_data): New variable.
29719 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29720 (significand_test_data): New variable.
29721 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29723 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29726 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29728 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29730 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29732 2013-05-10 Andreas Jaeger <aj@suse.de>
29735 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29736 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29738 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29740 * math/gen-libm-test.pl (adjust_arg): New function.
29741 (special_functions): Handle generating output in both functions
29743 (parse_args): Likewise.
29744 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29745 $in_func argument to parse_args.
29746 * math/libm-test.inc (struct test_f_f_data): New type.
29747 (IF_ROUND_INIT_): New macro.
29748 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29749 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29750 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29751 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29752 (ROUND_RESTORE_): Likewise.
29753 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29754 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29755 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29756 (ROUND_RESTORE_FE_UPWARD): Likewise.
29757 (RUN_TEST_LOOP_f_f): New macro.
29758 (acos_test_data): New variable.
29759 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29760 (acos_tonearest_test_data): New variable.
29761 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29763 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29765 * benchtests/bench-skeleton.c (startup): Fix coding style.
29767 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29770 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29771 negative infinity argument.
29772 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29773 negative infinity argument.
29774 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29775 negative infinity argument.
29776 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29779 2013-05-10 Florian Weimer <fweimer@redhat.com>
29781 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29782 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29783 * iconv/iconv_prog.c (main): Likewise.
29784 * locale/programs/charmap-dir.c (charmap_readdir)
29785 (fopen_uncompressed): Likewise.
29786 * locale/programs/locfile.c (siblings_uncached)
29787 (write_locale_data): Use lstat64 instead of lstat.
29788 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29791 2013-05-10 Andreas Jaeger <aj@suse.de>
29794 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29796 Include <locale.h>.
29798 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29800 * elf/dl-close.c (_dl_close_worker): Add comments.
29802 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29805 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29807 (__ieee754_rem_pio2l): Update comments.
29810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29812 (__ieee754_rem_pio2l): Update comments.
29814 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29815 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29817 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29820 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29821 (M_PI_34_LOG10El): Likewise.
29822 (M_PI2_LOG10El): Likewise.
29823 (M_PI4_LOG10El): Likewise.
29824 (M_PI_LOG10El): Likewise.
29826 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29830 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29832 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29833 (MINUS_ZERO_INIT): Likewise.
29834 (PLUS_INFTY_INIT): Likewise.
29835 (MINUS_INFTY_INIT): Likewise.
29836 (QNAN_VALUE_INIT): Likewise.
29837 (MAX_VALUE_INIT): Likewise.
29838 (MIN_VALUE_INIT): Likewise.
29839 (MIN_SUBNORM_VALUE_INIT): Likewise.
29840 (plus_zero): Initialize with PLUS_ZERO_INIT.
29841 (minus_zero): Initialize with MINUS_ZERO_INIT.
29842 (plus_infty): Initialize with PLUS_INFTY_INIT.
29843 (minus_infty): Initialize with MINUS_INFTY_INIT.
29844 (qnan_value): Initialize with QNAN_VALUE_INIT.
29845 (max_value): Initialize with MAX_VALUE_INIT.
29846 (min_value): Initialize with MIN_VALUE_INIT.
29847 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29849 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29850 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29851 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29852 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29854 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29855 (RUN_TEST_2_f): Likewise.
29856 (RUN_TEST_ff_f): Likewise.
29857 (RUN_TEST_fi_f): Likewise.
29858 (RUN_TEST_fl_f): Likewise.
29859 (RUN_TEST_fff_f): Likewise.
29860 (RUN_TEST_c_f): Likewise.
29861 (RUN_TEST_f_f1): Likewise.
29862 (RUN_TEST_fF_f1): Likewise.
29863 (RUN_TEST_fI_f1): Likewise.
29864 (RUN_TEST_ffI_f1): Likewise.
29865 (RUN_TEST_c_c): Likewise.
29866 (RUN_TEST_cc_c): Likewise.
29867 (RUN_TEST_f_i): Likewise.
29868 (RUN_TEST_f_i_tg): Likewise.
29869 (RUN_TEST_ff_i_tg): Likewise.
29870 (RUN_TEST_f_b): Likewise.
29871 (RUN_TEST_f_b_tg): Likewise.
29872 (RUN_TEST_f_l): Likewise.
29873 (RUN_TEST_f_L): Likewise.
29874 (RUN_TEST_sincos): Likewise.
29875 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29876 whether to show exceptions. Do not include ");\n" in return
29878 (special_functions): Output call to RUN_TEST_sincos instead of
29879 check_float calls. Update calls to new_test.
29880 (parse_args): Output call to single RUN_TEST_* macro instead of
29881 check_* calls and other assignments. Update calls to new_test.
29887 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29888 input to result for tgamma overflow.
29889 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29890 (gamma_coeff): New variable.
29891 (NCOEFF): New macro.
29892 (gamma_positive): New function.
29893 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29894 underflow here. Use gamma_positive instead of exp (lgamma) for
29896 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29897 (gamma_coeff): New variable.
29898 (NCOEFF): New macro.
29899 (gammaf_positive): New function.
29900 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29901 underflow here. Use gamma_positive instead of exp (lgamma) for
29903 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29904 (gamma_coeff): New variable.
29905 (NCOEFF): New macro.
29906 (gammal_positive): New function.
29907 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29908 underflow here. Use gamma_positive instead of exp (lgamma) for
29910 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29911 (gamma_coeff): New variable.
29912 (NCOEFF): New macro.
29913 (gammal_positive): New function.
29914 (__ieee754_gammal_r): Handle positive infinity, overflow and
29915 underflow here. Handle NaN the same as positive infinity. Remove
29916 check x < 0xffffffff for negative integers. Use gamma_positive
29917 instead of exp (lgamma) for other arguments.
29918 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29919 (gamma_coeff): New variable.
29920 (NCOEFF): New macro.
29921 (gammal_positive): New function.
29922 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29923 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29927 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29928 * sysdeps/generic/math_private.h (__gamma_productf): New
29930 (__gamma_product): Likewise.
29931 (__gamma_productl): Likewise.
29932 * math/Makefile (libm-calls): Add gamma_product.
29933 * math/libm-test.inc (tgamma_test): Add more tests.
29934 * sysdeps/i386/fpu/libm-test-ulps: Update.
29935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29937 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29939 * benchtests/bench-skeleton.c (main): Preheat CPU.
29941 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29943 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29945 2013-05-07 Roland McGrath <roland@hack.frob.com>
29947 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29948 and _dl_skip_args_internal.
29950 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29952 * manual/message.texi (Message Translation): Talk about users.
29953 Message to key mapping impacts design.
29955 2013-05-06 Roland McGrath <roland@hack.frob.com>
29957 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29959 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29961 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29962 * sysdeps/wordsize-64/glob64.c: ... here.
29964 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29965 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29968 * debug/getlogin_r_chk.c: Moved to ...
29969 * login/getlogin_r_chk.c: ... here.
29970 * debug/Makefile (routines): Move getlogin_r_chk to ...
29971 * login/Makefile (routines): ... here.
29972 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29973 * login/Versions (libc: GLIBC_2.4): ... here.
29975 * io/poll.c (__poll): Renamed from poll.
29976 Add libc_hidden_def.
29977 (poll): Define as weak alias.
29979 * debug/ptsname_r_chk.c: Moved to ...
29980 * login/ptsname_r_chk.c: ... here.
29981 * debug/Makefile (routines): Move ptsname_r_chk to ...
29982 * login/Makefile (routines): ... here.
29983 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29984 * login/Versions (libc: GLIBC_2.4): ... here.
29986 * posix/getlogin.c: Moved to ...
29987 * login/getlogin.c: ... here.
29988 * posix/getlogin_r.c: Moved to ...
29989 * login/getlogin_r.c: ... here.
29990 * posix/getlogin_r.c: Moved to ...
29991 * login/getlogin_r.c: ... here.
29992 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29993 * login/Makefile (routines): ... here.
29994 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29995 * login/Versions (libc: GLIBC_2.0): ... here.
29997 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29998 (setrlimit): Define as weak alias.
30000 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30001 Call __ names for open, ftruncate, and close.
30002 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30003 (truncate): Define as weak alias.
30005 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30007 * math/gen-libm-test.pl (parse_args): Initialize x before each
30008 test of frexp, modf and remquo.
30010 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30011 test signgam value.
30013 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30017 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30021 2013-05-06 Roland McGrath <roland@hack.frob.com>
30023 * elf/dl-writev.h: New file.
30024 * elf/dl-misc.c: Include it.
30025 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30026 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30028 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30030 * math/libm-test.inc (noXFails): Remove variable.
30031 (noXPasses): Likewise.
30032 (BUILD_COMPLEX_INT): Remove macro.
30033 (print_screen): Remove xfail argument.
30034 (print_screen_max_error): Likewise.
30035 (update_stats): Likewise.
30036 (print_max_error): Likewise. Update calls to other affected
30038 (print_complex_max_error): Likewise.
30039 (test_single_exception): Update calls to print_screen.
30040 (test_single_errno): Likewise.
30041 (check_float_internal): Remove xfail argument. Update calls to
30042 other affected functions.
30043 (check_float): Likewise.
30044 (check_complex): Likewise.
30045 (check_int): Likewise.
30046 (check_long): Likewise.
30047 (check_bool): Likewise.
30048 (check_longlong): Likewise.
30049 (main): Don't print noXFails and noXPasses.
30050 * math/gen-libm-test.pl (top level): Don't mention expected
30051 failure handling in comment.
30052 (new_test): Don't handle expected failures.
30053 (parse_args): Don't mention expected failure handling in comment.
30054 (generate_testfile): Don't handle expected failures.
30055 (parse_ulps): Likewise.
30056 (print_ulps_file): Likewise.
30057 (get_failure): Remove function.
30058 (output_test): Don't handle expected failures.
30059 * make/README.libm-test: Don't mention expected failure handling.
30061 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30062 (minus_zero): Likewise.
30063 (plus_infty): Likewise.
30064 (minus_infty): Likewise.
30065 (qnan_value): Likewise.
30066 (max_value): Likewise.
30067 (min_value): Likewise.
30068 (min_subnorm_value): Likewise.
30069 (initialize): Do not initialize those variables dynamically.
30071 2013-05-03 Roland McGrath <roland@hack.frob.com>
30073 * io/open.c (__open_2): Moved to ...
30074 * io/open_2.c: ... this new file.
30075 * io/open64.c (__open64_2): Moved to ...
30076 * io/open64_2.c: ... this new file.
30077 * io/openat.c (__openat_2): Moved to ...
30078 * io/openat_2.c: ... this new file.
30079 * io/openat64.c (__openat64_2): Moved to ...
30080 * io/openat64_2.c: ... this new file.
30081 * io/Makefile (routines): Add them.
30082 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30083 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30084 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30085 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30086 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30087 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30088 (__openat64): Add hidden_ver.
30089 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30090 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30092 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30093 Separately conditionalize setting of GLRO(dl_sysinfo) so
30094 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30095 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30097 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30099 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30102 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30103 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30104 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30105 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30106 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30108 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30110 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30111 test signgam value.
30113 * math/libm-test.inc (hypot_test): Do not use
30114 IGNORE_ZERO_INF_SIGN.
30116 2013-05-03 Andreas Jaeger <aj@suse.de>
30118 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30120 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30121 (PF_MAX): Adjust for VSOCK change.
30123 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30127 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30130 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30131 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30132 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30134 2013-05-02 David S. Miller <davem@davemloft.net>
30136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30138 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30140 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30142 2013-05-01 Roland McGrath <roland@hack.frob.com>
30144 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30146 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30149 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30150 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30151 Use __attribute__ ((__gnu_inline__)).
30152 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30153 Don't use __attribute__ ((__gnu_inline__)).
30155 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30158 * math/s_catan.c (__catan): Handle small real or imaginary part of
30159 input specially to avoid spurious underflow.
30160 * math/s_catanf.c (__catanf): Likewise.
30161 * math/s_catanh.c (__catanh): Likewise.
30162 * math/s_catanhf.c (__catanhf): Likewise.
30163 * math/s_catanhl.c (__catanhl): Likewise.
30164 * math/s_catanl.c (__catanl): Likewise.
30165 * math/libm-test.inc (catan_test): Add more tests.
30166 (catanh_test): Likewise.
30167 * sysdeps/i386/fpu/libm-test-ulps: Update.
30168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30170 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30174 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30177 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30178 accurately for denominator in atan2.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
30191 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30193 * benchtests/Makefile (bench): Remove slow benchmarks.
30194 * benchtests/atan-inputs: Add slow benchmark inputs.
30195 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30196 (BENCH_FUNC): Accept variant offset.
30198 * benchtests/bench-skeleton.c (main): Run benchmark for each
30200 * benchtests/cos-inputs: Add slow benchmark inputs.
30201 * benchtests/exp-inputs: Likewise.
30202 * benchtests/pow-inputs: Likewise.
30203 * benchtests/sin-inputs: Likewise.
30204 * benchtests/slowatan-inputs: Remove.
30205 * benchtests/slowatan.c: Remove.
30206 * benchtests/slowcos-inputs: Remove.
30207 * benchtests/slowcos.c: Remove.
30208 * benchtests/slowexp-inputs: Remove.
30209 * benchtests/slowexp.c: Remove.
30210 * benchtests/slowpow-inputs: Remove.
30211 * benchtests/slowpow.c: Remove.
30212 * benchtests/slowsin-inputs: Remove.
30213 * benchtests/slowsin.c: Remove.
30214 * benchtests/slowtan-inputs: Remove.
30215 * benchtests/slowtan.c: Remove.
30216 * benchtests/tan-inputs: Add slow benchmark inputs.
30217 * scripts/bench.pl: Parse comments and directives.
30219 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30221 ($(objpfx)bench-%.c): Remove *-ITER.
30222 * benchtests/bench-modf.c: Remove definition of ITER.
30223 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30224 (main): Loop for DURATION seconds instead of fixed number of
30226 * scripts/bench.pl: Don't expect iterations in parameters.
30228 2013-04-29 Roland McGrath <roland@hack.frob.com>
30230 * io/fchdir.c (__fchdir): Renamed from fchdir.
30231 (fchdir): Define as weak alias.
30233 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30235 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30236 (ERRNO_EDOM): Likewise.
30237 (ERRNO_ERANGE): Likewise.
30238 (noErrnoTests): New variable.
30239 (init_max_error): Set errno to 0.
30240 (test_single_errno): New function.
30241 (test_errno): Likewise.
30242 (check_float_internal): Call test_errno. Set errno to 0.
30243 (check_complex): Refer to errno tests in comment.
30244 (check_int): Call test_errno. Set errno to 0.
30245 (check_long): Likewise.
30246 (check_bool): Likewise.
30247 (check_longlong): Likewise.
30248 (cos_test): Use ERRNO_* flags for errno tests instead of
30250 (expm1_test): Likewise.
30251 (fmod_test): Likewise.
30252 (ilogb_test): Likewise.
30253 (lgamma_test): Likewise.
30254 (pow_test): Likewise.
30255 (remainder_test): Likewise.
30256 (sin_test): Likewise.
30257 (tan_test): Likewise.
30258 (yn_test): Likewise.
30259 (initialize): Set errno to 0.
30260 (main): Print number of errno tests.
30261 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30263 2013-04-29 Andreas Jaeger <aj@suse.de>
30266 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30270 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30271 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30275 * stdlib/random.c (__initstate): Return NULL if
30279 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30280 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30283 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30287 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30289 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30290 of individual tests.
30291 (casin_test): Likewise.
30292 (casinh_test): Likewise.
30294 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30297 * math/s_catan.c (__catan): Handle arguments with large real or
30298 imaginary part separately without squaring.
30299 * math/s_catanf.c (__catanf): Likewise.
30300 * math/s_catanh.c (__catanh): Likewise.
30301 * math/s_catanhf.c (__catanhf): Likewise.
30302 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30304 (__catanhl): Handle arguments with large real or imaginary part
30305 separately without squaring.
30306 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30308 (__catanl): Handle arguments with large real or imaginary part
30309 separately without squaring.
30310 * math/libm-test.inc (catan_test): Add more tests.
30311 (catanh_test): Likewise.
30312 * sysdeps/i386/fpu/libm-test-ulps: Update.
30313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30315 2013-04-27 Andreas Jaeger <aj@suse.de>
30318 * stdlib/stdlib.h: Update guards for qecvt.
30319 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30322 2013-04-27 Allan McRae <allan@archlinux.org>
30324 * sysdeps/i386/fpu/libm-test-ulps: Update.
30326 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30329 * math/s_catan.c: Include <float.h>.
30330 (__catan): Ensure underflow exception occurs for underflowed
30332 * math/s_catanf.c: Include <float.h>.
30333 (__catanf): Ensure underflow exception occurs for underflowed
30335 * math/s_catanh.c: Include <float.h>.
30336 (__catanh): Ensure underflow exception occurs for underflowed
30338 * math/s_catanhf.c: Include <float.h>.
30339 (__catanhf): Ensure underflow exception occurs for underflowed
30341 * math/s_catanhl.c: Include <float.h>.
30342 (__catanhl): Ensure underflow exception occurs for underflowed
30344 * math/s_catanl.c: Include <float.h>.
30345 (__catanl): Ensure underflow exception occurs for underflowed
30347 * math/libm-test.inc (catan_test): Add more tests.
30348 (catanh_test): Likewise.
30351 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30352 underflowed result.
30353 * math/s_ccoshf.c (__ccoshf): Likewise.
30354 * math/s_ccoshl.c (__ccoshl): Likewise.
30355 * math/s_csin.c (__csin): Likewise.
30356 * math/s_csinf.c (__csinf): Likewise.
30357 * math/s_csinh.c (__csinh): Likewise.
30358 * math/s_csinhf.c (__csinhf): Likewise.
30359 * math/s_csinhl.c (__csinhl): Likewise.
30360 * math/s_csinl.c (__csinl): Likewise.
30361 * math/libm-test.inc (ccos_test): Add more tests.
30362 (ccosh_test): Likewise.
30363 (csin_test): Likewise.
30364 (csinh_test): Likewise.
30366 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30368 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30369 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30370 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30371 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30372 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30373 powerpc/power5+/fpu folders.
30374 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30377 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30381 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30383 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30384 additions to variable.
30385 [$(config-machine) = x86_64] (modules-names): Likewise.
30386 ($(objpfx)tst-audit3): Remove dependency.
30387 ($(objpfx)tst-audit3.out): Likewise.
30388 ($(objpfx)tst-audit4): Likewise.
30389 ($(objpfx)tst-audit4.out): Likewise.
30390 ($(objpfx)tst-audit5): Likewise.
30391 ($(objpfx)tst-audit5.out): Likewise.
30392 ($(objpfx)tst-audit6): Likewise.
30393 ($(objpfx)tst-audit6.out): Likewise.
30394 ($(objpfx)tst-audit7): Likewise.
30395 ($(objpfx)tst-audit7.out): Likewise.
30396 (tst-audit3-ENV): Remove variable.
30397 (tst-audit4-ENV): Likewise.
30398 (tst-audit5-ENV): Likewise.
30399 (tst-audit6-ENV): Likewise.
30400 (tst-audit7-ENV): Likewise.
30401 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30402 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30403 addition to variable.
30404 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30405 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30406 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30409 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30410 tst-audit3, tst-audit4 and tst-audit5.
30411 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30412 tst-audit6 and tst-audit7.
30413 [$(subdir) = elf] (modules-names): Add audit modules for those
30415 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30416 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30417 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30418 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30419 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30420 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30421 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30422 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30423 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30424 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30425 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30426 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30427 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30428 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30429 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30430 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30432 [$(subdir) = elf && $(config-cflags-avx) = yes]
30433 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30434 [$(subdir) = elf && $(config-cflags-avx) = yes]
30435 (CFLAGS-tst-auditmod4a.c): Likewise.
30436 [$(subdir) = elf && $(config-cflags-avx) = yes]
30437 (CFLAGS-tst-auditmod4b.c): Likewise.
30438 [$(subdir) = elf && $(config-cflags-avx) = yes]
30439 (CFLAGS-tst-auditmod6b.c): Likewise.
30440 [$(subdir) = elf && $(config-cflags-avx) = yes]
30441 (CFLAGS-tst-auditmod6c.c): Likewise.
30442 [$(subdir) = elf && $(config-cflags-avx) = yes]
30443 (CFLAGS-tst-auditmod7b.c): Likewise.
30444 * elf/tst-audit3.c: Move to ...
30445 * sysdeps/x86_64/tst-audit3.c: ... here.
30446 * elf/tst-audit4.c: Move to ...
30447 * sysdeps/x86_64/tst-audit4.c: ... here.
30448 * elf/tst-audit5.c: Move to ...
30449 * sysdeps/x86_64/tst-audit5.c: ... here.
30450 * elf/tst-audit6.c: Move to ...
30451 * sysdeps/x86_64/tst-audit6.c: ... here.
30452 * elf/tst-audit7.c: Move to ...
30453 * sysdeps/x86_64/tst-audit7.c: ... here.
30454 * elf/tst-auditmod3a.c: Move to ...
30455 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30456 * elf/tst-auditmod3b.c: Move to ...
30457 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30458 * elf/tst-auditmod4a.c: Move to ...
30459 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30460 * elf/tst-auditmod4b.c: Move to ...
30461 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30462 * elf/tst-auditmod5a.c: Move to ...
30463 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30464 * elf/tst-auditmod5b.c: Move to ...
30465 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30466 * elf/tst-auditmod6a.c: Move to ...
30467 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30468 * elf/tst-auditmod6b.c: Move to ...
30469 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30470 * elf/tst-auditmod6c.c: Move to ...
30471 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30472 * elf/tst-auditmod7a.c: Move to ...
30473 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30474 * elf/tst-auditmod7b.c: Move to ...
30475 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30477 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30480 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30481 define unconditionally.
30482 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30483 define unconditionally.
30484 (INT8_C, INT16_C, etc.): Likewise.
30486 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30488 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30489 __ehdr_start with hidden visibility.
30491 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30493 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30495 * math/libm-test.inc (cos_test): Use accurate hex constants.
30496 (sincost_test): Likewise.
30498 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30500 * math/libm-test.inc (catan_test): Add more tests.
30501 (catanh_test): Likewise.
30503 * math/s_catanf.c (__catanf): Use suffixed floating-point
30505 * math/s_catanhf.c (__catanhf): Likewise.
30506 * math/s_catanhl.c (__catanhl): Likewise.
30507 * math/s_catanl.c (__catanl): Likewise.
30510 * math/s_catan.c (__catan): Calculate imaginary part of result
30511 with log1p not log unless computing log of number close to 0.
30512 * math/s_catanf.c (__catanf): Likewise.
30513 * math/s_catanl.c (__catanl): Likewise.
30514 * math/s_catanh.c (__catanh): Calculate real part of result with
30515 log1p not log unless computing log of number close to 0.
30516 * math/s_catanhf.c (__catanhf): Likewise.
30517 * math/s_catanhl.c (__catanhl): Likewise.
30518 * math/libm-test.inc (catan_test): Add more tests.
30519 (catanh_test): Likewise.
30520 * sysdeps/i386/fpu/libm-test-ulps: Update.
30521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30523 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30525 * benchtests/Makefile: Mention files in which fast and slow
30526 paths of math functions are implemented.
30528 2013-04-23 Roland McGrath <roland@hack.frob.com>
30530 * sysdeps/posix/timespec_get.c: New file.
30532 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30534 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30536 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30538 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30539 powerpc/power5/fpu folders.
30540 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30541 * benchtests/Makefile: Add modf testcase.
30542 * benchtests/bench-modf.c: New file: Benchmark test for mo
30544 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30547 * time/Makefile (tests): Add tst-strptime-whitespace.
30548 * time/strptime_l.c (get_number): Use ISSPACE.
30549 (__strptime_internal): Likewise.
30550 * time/tst-strptime-whitespace.c: New test case.
30552 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30554 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30556 (_nss_files_init): Set it here.
30558 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30560 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30561 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30564 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30566 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30568 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30573 2013-04-21 David S. Miller <davem@davemloft.net>
30575 * po/ru.po: Update Russion translation from translation project.
30577 2013-04-17 Adam Conrad <adconrad@0c3.net>
30579 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30582 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30584 * configure.in: Remove i386 configure warning. Remove i386 case.
30585 * configure: Regenerate.
30586 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30587 Add example to error message.
30588 * sysdeps/i386/configure: Regenerate.
30590 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30592 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30594 * benchtests/cos-inputs: New file.
30595 * benchtests/slowcos-inputs: New file.
30596 * benchtests/slowcos.c: New file.
30597 * benchtests/slowtan-inputs: New file.
30598 * benchtests/slowtan.c: New file.
30599 * benchtests/tan-inputs: New file.
30601 2013-04-16 Roland McGrath <roland@hack.frob.com>
30603 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30606 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30608 * benchtests/Makefile: Include cppflags-iterator.mk to add
30609 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30611 * Makefile.in (bench-clean): New target.
30612 * benchtests/Makefile (bench-clean): Likewise.
30614 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30616 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30618 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30620 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30622 2013-04-15 Andreas Schwab <schwab@suse.de>
30624 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30626 * nscd/pwdcache.c (cache_addpw): Likewise.
30627 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30630 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30632 * benchtests/Makefile (bench): Write all output to
30633 bench-out.tmp together.
30635 2013-04-15 Andreas Schwab <schwab@suse.de>
30637 * nscd/nscd.c (main): Don't fork again after closing files.
30639 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30641 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30643 * benchtests/Rules (bench-deps): Collect dependencies into a
30644 single variable. Add Makefile to dependencies.
30645 ($(objpfx)bench-%.c): Depend on bench-deps.
30647 2013-04-12 Roland McGrath <roland@hack.frob.com>
30648 Xavier Roche <roche+kml2@exalead.com>
30651 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30652 just that it's a file descriptor.
30653 * manual/llio.texi (Synchronizing AIO Operations): Update description
30654 for EBADF error from aio_fsync.
30656 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30658 * Rules (bench): Move target definition...
30659 * benchtests/Makefile: ... here.
30661 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30663 * math/libm-test.inc (cos_test): Fix PI/2 test.
30664 (sincos_test): Likewise.
30665 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30666 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30668 2013-04-11 Andreas Schwab <schwab@suse.de>
30671 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30672 accept exponent character only when digits were seen.
30673 * stdio-common/Makefile (tests): Add bug26.
30674 * stdio-common/bug26.c: New file.
30677 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30680 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30682 * Makeconfig (rtld-prefix): Define built linker prefix.
30683 * Rules (run-bench): Use it.
30684 * math/Makefile (run-regen-ulps): Likewise.
30686 * Rules (bench): Remove eval.
30688 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30689 Roland McGrath <roland@hack.frob.com>
30690 Ondrej Bilka <neleai@seznam.cz>
30693 * time/getdate.c: Include ctype.h and alloca.h.
30694 (__getdate_r): Trim leading and trailing spaces of input.
30695 * time/tst-getdate.c (tests): Add tests with leading and
30698 2013-04-08 Roland McGrath <roland@hack.frob.com>
30701 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30702 when computing value.
30704 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30706 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30707 Use testrun.sh to run libm tests.
30710 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30712 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30715 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30717 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30719 * Makefile.in (regen-ulps): New target.
30720 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30721 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30722 [ifneq (no,$(PERL)] (regen-ulps): New target.
30723 [ifeq (no,$(PERL)] (regen-ulps): New target.
30724 * math/libm-test.inc (ulps_file_name): Define.
30725 (output_dir): New variable.
30726 (options): Add "output-dir" option.
30727 (parse_opt): Handle 'o' case.
30728 (main): If output_dir is non-NULL use it as a prefix
30730 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30732 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30734 [BZ #10060, #10062]
30735 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30736 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30737 fail configure if __sync_val_compare_and_swap is not inlined.
30738 * sysdeps/i386/configure: Regenerate.
30739 * configure.in: Build for i686 when configured for i386.
30740 * configure: Regenerate.
30741 * README: Remove i386 reference.
30743 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30745 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30746 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30748 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30750 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30751 (lmsnanval): New variables.
30752 (F): Add conversion tests.
30753 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30754 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30756 * stdio-common/tstdiomisc.c (F): Properly collect individual
30759 [BZ #14686, #15336]
30760 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30761 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30762 Instead, use input NaN values or generate a qNaN by arithmetic
30763 operation. Also fix bugs to comply with the standard.
30764 * math/libm-test.inc (remainder_test): Add more tests.
30766 [BZ #15335, #15342]
30767 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30769 input NaN values or generate a qNaN by arithmetic operation.
30771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30774 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30777 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30780 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30781 underflowed result.
30782 * math/s_cexpf.c (__cexpf): Likewise.
30783 * math/s_cexpl.c (__cexpl): Likewise.
30784 * math/libm-test.inc (cexp_test): Add more tests.
30786 2013-04-03 Andreas Schwab <schwab@suse.de>
30789 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30790 order arrays from heap if bigger than alloca cutoff.
30792 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30794 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30795 (SNAN_TESTS_double): Refer to GCC PR56831.
30796 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30799 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30801 * Rules (bench): Move bench.out after the run is complete.
30803 * Rules (bench): Echo currently running benchmark.
30805 * benchtests/Makefile (bench): Add atan and slowatan.
30806 * benchtests/atan-inputs: New file.
30807 * benchtests/slowatan-inputs: New file.
30808 * benchtests/slowatan.c: New file.
30810 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30815 * sysdeps/unix/sysv/linux/kernel-features.h
30816 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30817 __ASSUME_XFS_RESTRICTED_CHOWN.
30818 * sysdeps/unix/sysv/linux/pathconf.c
30819 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30820 Save and restore errno.
30822 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30825 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30826 arguments using __kernel_casinh.
30827 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30828 arguments using __kernel_casinhf.
30829 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30830 arguments using __kernel_casinhl.
30831 * math/libm-test.inc (cacosh_test): Add more tests.
30832 * sysdeps/i386/fpu/libm-test-ulps: Update.
30833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30835 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30837 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30840 * bench/Makefile (bench): Add sin and slowsin.
30841 * benchtests/sin-inputs: New file.
30842 * benchtests/slowsin-inputs: New file.
30843 * benchtests/slowsin.c: New file.
30845 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30846 (bench): Add slowexp and slowpow.
30847 (exp-ITER): Increase iterations.
30848 (pow-ITER): Likewise.
30849 * benchtests/exp-inputs: Change input.
30850 * benchtests/pow-inputs: Likewise.
30851 * benchtests/slowexp-inputs: New file.
30852 * benchtests/slowexp.c: New file.
30853 * benchtests/slowpow-inputs: New file.
30854 * benchtests/slowpow.c: New file.
30856 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30858 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30860 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30861 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30862 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30863 * benchtests/Makefile: Add rint benchtest.
30864 * benchtests/rint-inputs: Input for rint benchtest.
30866 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30868 * Versions.def (libm): Add GLIBC_2.18.
30869 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30870 hidden libm prototypes.
30871 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30872 * math/Makefile (libm-calls): Add s_issignaling.
30873 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30874 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30875 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30877 * math/math.h [__USE_GNU] (issignaling): New macro.
30878 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30879 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30881 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30882 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30883 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30884 * manual/arith.texi (issignaling): New section.
30885 * manual/libm-err-tab.pl (@all_functions): Update comment.
30886 * math/gen-libm-test.pl (parse_args): Apply special handling for
30888 * math/libm-test.inc (print_float, issignaling_test): New
30890 (check_float_internal): Add issignaling checks.
30891 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30892 default definition.
30893 * sysdeps/powerpc/math-tests.h: New file.
30894 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30896 * math/test-snan.c (TEST_FUNC): Likewise.
30898 2013-03-30 David S. Miller <davem@davemloft.net>
30900 * po/de.po: Update from translation team.
30902 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30905 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30906 imaginary part less than 1.0 and real part less than 0.5
30908 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30909 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30910 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30911 (cacos_test): Add more tests.
30912 (casin_test): Likewise.
30913 (casinh_test): Likewise.
30914 * sysdeps/i386/fpu/libm-test-ulps: Update.
30915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30917 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30919 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30920 ONE with its value.
30922 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30923 (__pow_mp): Replace ONE and MONE with their values.
30924 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30926 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30927 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30928 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30929 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30931 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30933 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30934 (__pow_mp): Replace ZERO and MZERO with their values.
30935 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30937 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30939 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30940 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30943 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30945 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30947 2013-03-28 Roland McGrath <roland@hack.frob.com>
30949 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30950 Declare with __attribute__ ((weak)).
30951 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30952 Call __call_tls_dtors only if it's not NULL.
30954 2013-03-28 Roland McGrath <roland@hack.frob.com>
30956 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30957 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30958 magic __ehdr_start linker symbol if it's defined.
30959 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30960 them up here if it was already done.
30962 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30963 (_dl_aux_init): Use const in cast when setting it.
30964 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30965 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30966 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30968 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30970 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30971 * csu/libc-tls.c: Nor here.
30972 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30974 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30975 (__libc_message): Never call vsyslog.
30977 2013-03-28 Alan Modra <amodra@gmail.com>
30979 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30981 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30984 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30991 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30994 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30995 Don't add gid passed as argument.
30997 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30999 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31002 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31003 imaginary part between 1.0 and 1.5 and real part less than 0.5
31005 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31006 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31007 * math/libm-test.inc (cacos_test): Add more tests.
31008 (casin_test): Likewise.
31009 (casinh_test): Likewise.
31010 * sysdeps/i386/fpu/libm-test-ulps: Update.
31011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31013 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31015 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31018 (denorm): Likewise.
31019 (__dbl_mp): Likewise.
31020 (add_magnitudes): Likewise.
31021 (sub_magnitudes): Likewise.
31029 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31031 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31032 (__dubcos): Likewise.
31033 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31034 (__ieee754_acos): Likewise.
31035 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31036 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31037 (__exp1): Likewise.
31038 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31039 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31041 (my_log2): Likewise.
31042 (checkint): Likewise.
31043 * sysdeps/ieee754/dbl-64/e_remainder.c
31044 (__ieee754_remainder): Likewise.
31045 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31047 (bsloww): Likewise.
31048 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31050 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31051 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31052 MANTISSA_STORE_T to store computations on mantissa. Use
31053 macros for rounding and division.
31054 (denorm): Likewise.
31055 (__dbl_mp): Likewise.
31056 (add_magnitudes): Likewise.
31057 (sub_magnitudes): Likewise.
31060 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31061 powers of two in terms of TWOPOW macro.
31062 (mp_no): Make type of mantissa as MANTISSA_T.
31063 [!RADIXI]: Define RADIXI.
31064 [!TWO52]: Define TWO52.
31065 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31067 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31069 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31070 llroundl symbol when building for PPC32.
31072 2013-03-24 Mark H Weaver <mhw@netris.org>
31074 * manual/arith.texi (Normalization Functions): Fix prototypes for
31075 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31077 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31081 high value to check if expl overflow.
31082 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31083 to check for underflow and overflow.
31084 * math/libm-test.inc: Add exp test.
31086 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31089 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31092 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31094 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31097 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31099 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31100 wrap blocks consisting of several statements.
31102 * sysdeps/generic/math-tests.h: New file.
31103 * sysdeps/i386/fpu/math-tests.h: Likewise.
31104 * math/test-snan.c: Include it.
31105 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31107 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31110 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31111 (__ieee754_j0l): Do not improve calculations using cos of twice
31112 input for inputs above LDBL_MAX / 2.0L.
31113 (__ieee754_y0l): Likewise.
31114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31115 (__ieee754_j1l): Do not improve calculations using cos of twice
31116 input for inputs above LDBL_MAX / 2.0L.
31117 (__ieee754_y1l): Likewise.
31118 * math/libm-test.inc (j0_test): Add another test.
31119 (j1_test): Likewise.
31120 (y0_test): Likewise.
31121 (y1_test): Likewise.
31122 * sysdeps/i386/fpu/libm-test-ulps: Update.
31124 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31126 * Rules ($(objpfx)bench-%.c): Include code from a C source
31129 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31133 imaginary part 1.0 and real part less than 0.5 specially.
31134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31136 * math/libm-test.inc (cacos_test): Add more tests.
31137 (casin_test): Likewise.
31138 (casinh_test): Likewise.
31139 * sysdeps/i386/fpu/libm-test-ulps: Update.
31140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31142 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31144 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31145 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31147 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31149 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31150 * config.make.in (config-cflags-sse4): Remove variable.
31151 (config-cflags-avx): Likewise.
31152 (config-cflags-sse2avx): Likewise.
31153 (config-cflags-novzeroupper): Likewise.
31154 (config-asflags-i686): Likewise.
31155 (have-mfma4): Likewise.
31156 (have-as-vis3): Likewise.
31158 * configure.in (MIG): Do not AC_SUBST.
31159 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31160 (libc_cv_cc_sse4): Do not AC_SUBST.
31161 (libc_cv_cc_avx): Likewise.
31162 (libc_cv_cc_sse2avx): Likewise.
31163 (libc_cv_cc_novzeroupper): Likewise.
31164 (libc_cv_cc_fma4): Likewise.
31165 (libc_cv_as_i686): Likewise.
31166 (libc_cv_sparc_as_vis3): Likewise.
31167 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31169 (config-asflags-i686): Likewise.
31170 (config-cflags-avx): Likewise.
31171 (config-cflags-sse2avx): Likewise.
31172 (have-mfma4): Likewise.
31173 (config-cflags-novzeroupper): Likewise.
31174 * sysdeps/mach/configure.in (MIG): Likewise.
31175 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31176 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31178 (config-cflags-avx): Likewise.
31179 (config-cflags-sse2avx): Likewise.
31180 (have-mfma4): Likewise.
31181 (config-cflags-novzeroupper): Likewise.
31182 * configure: Regenerated.
31183 * sysdeps/i386/configure: Likewise.
31184 * sysdeps/mach/configure: Likewise.
31185 * sysdeps/sparc/configure: Likewise.
31186 * sysdeps/x86_64/configure: Likewise.
31188 2013-03-20 Roland McGrath <roland@hack.frob.com>
31191 * locale/programs/localedef.c (options): Put N_ translation marker
31192 on argument names, not just descriptions.
31194 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31196 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31198 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31201 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31203 2013-03-19 Roland McGrath <roland@hack.frob.com>
31205 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31206 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31207 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31208 [!BEFORE_ABORT] (before_abort): New function.
31209 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31210 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31211 (writev_for_fatal): New function.
31212 (WRITEV_FOR_FATAL): New macro; call that.
31213 (backtrace_and_maps): New function.
31214 (BEFORE_ABORT): New macro; call that.
31215 (struct str_list): Type removed.
31216 (__libc_message, __libc_fatal): Functions removed.
31217 Include <sysdeps/posix/libc_fatal.c> instead.
31219 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31221 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31223 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31226 2013-03-19 Andreas Schwab <schwab@suse.de>
31228 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31229 * sysdeps/gnu/configure: Regenerate.
31231 * configure.in: Substitute libc_cv_rtlddir.
31232 * configure: Regenerate.
31233 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31234 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31235 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31236 * elf/Makefile (install-others, CFLAGS-interp.c)
31237 (ldso_install, common-ldd-rewrite): Likewise.
31238 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31239 $(inst_slibdir)/$(rtld-installed-name).
31240 * scripts/rellns-sh: Add -p option.
31241 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31244 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31246 * manual/nptl.texi: Renamed to ...
31247 * manual/threads.texi: ... this.
31248 * manual/Makefile (chapters): Update.
31250 2013-03-18 Roland McGrath <roland@hack.frob.com>
31253 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31254 on argument names, not just descriptions.
31255 * malloc/memusagestat.c (options): Likewise.
31256 * nss/getent.c (options): Likewise.
31258 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31261 * iconv/iconv_prog.c (options): Put N_ translation marker
31262 on argument names, not just descriptions.
31263 * iconv/iconvconfig.c (options): Likewise.
31265 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31267 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31268 implementation which is faster on all x86_64 architectures.
31269 Tested on AMD, Intel Nehalem, SNB, IVB.
31270 * sysdeps/x86_64/strnlen.S: Likewise.
31272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31273 Remove all multiarch strlen and strnlen versions.
31274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31275 Remove strlen and strnlen related parts.
31277 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31278 Inline strlen part.
31279 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31281 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31282 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31283 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31284 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31285 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31286 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31288 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31290 * manual/memory.texi (Malloc Tunable Parameters):
31291 Sort parameters alphabetically. Add comments for missing entries.
31293 2013-03-17 David S. Miller <davem@davemloft.net>
31295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31297 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31300 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31301 for arguments at most half maximum finite value.
31302 * math/libm-test.inc (j0_test): Add more tests.
31303 (j1_test): Likewise.
31304 (y0_test): Likewise.
31305 (y1_test): Likewise.
31306 * sysdeps/i386/fpu/libm-test-ulps: Update.
31307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31310 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31311 1 / x and functions P and Q for arguments above 0x1p256L.
31312 (__ieee754_y0l): Likewise.
31313 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31314 (__ieee754_y1l): Likewise.
31315 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31316 (j1_test): Likewise.
31317 (y0_test): Likewise.
31318 (y1_test): Likewise.
31320 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31322 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31325 2013-03-15 Roland McGrath <roland@hack.frob.com>
31327 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31328 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31329 zero since it's initialized to EXEC_PAGESIZE.
31331 * sysdeps/unix/sysv/linux/ldsodefs.h
31332 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31333 * sysdeps/generic/ldsodefs.h: ... here.
31335 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31337 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31339 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31341 * math/test-snan.c: Renamed from
31342 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31343 * math/Makefile (tests): Add test-snan.
31344 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31347 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31348 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31350 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31351 __builtin_nan family of functions.
31352 * math/libm-test.inc (initialize): Initialize qnan_value with
31353 __builtin_nan family of functions.
31354 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31356 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31358 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31359 storage class. Initialize qNaN_var and sNaN_var with
31360 __builtin_nan and __builtin_nans families of functions,
31363 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31364 (sqrt_test): Remove duplicate test with qNaN input.
31365 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31366 (round_test, signbit_test, significand_test): Note missing +/-Inf
31367 as well as qNaN tests.
31369 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31370 qNaN_var. Fix a few strings, too.
31371 * math/libm-test.inc (nan_value): Rename to qnan_value.
31372 * math/gen-libm-test.pl (%beautify): Adjust to that.
31373 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31374 * math/test-misc.c (main): Likewise.
31375 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31376 to __qnan_bytes, and __qnan_union, respectively.
31377 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31379 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31380 and lqnanval, respectively.
31381 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31382 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31383 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31384 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31386 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31387 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31390 * math/test-misc.c (main): Fix copy'n'pastos.
31391 * misc/tst-efgcvt.c (special): Likewise.
31393 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31394 Remove declarations.
31396 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31398 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31399 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31400 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31401 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31403 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31406 macro to return vdso values correctly in IFUNC implementations.
31407 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31408 Optimization by using IFUNC.
31410 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31411 Richard Henderson <rth@redhat.com>
31412 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31414 * Makefile.in (bench): New target.
31415 * NEWS: Mention the benchmark framework.
31416 * Rules (bench): Likewise.
31417 (binaries-bench): Generate binaries for functions to
31419 * benchtests/Makefile: New makefile for benchmark tests.
31420 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31422 * benchtests/exp-inputs: New input file for EXP function.
31423 * benchtests/pow-inputs: New input file for POW function.
31424 * scripts/bench.pl: New script to generate source files for
31425 benchmark programs.
31427 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31429 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31431 computations on mantissa. Use macros for rounding and
31433 (denorm): Likewise.
31434 (__dbl_mp): Likewise.
31435 (add_magnitudes): Likewise.
31436 (sub_magnitudes): Likewise.
31439 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31440 powers of two in terms of TWOPOW macro.
31441 (mp_no): Make type of mantissa as MANTISSA_T.
31442 [!RADIXI]: Define RADIXI.
31443 [!TWO52]: Define TWO52.
31444 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31446 * manual/nptl.texi (cindex): Modify threads to pthreads.
31448 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31450 * sysdeps/x86_64/preconfigure: Regenerated.
31452 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31455 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31457 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31458 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31460 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31461 * math/libm-test.inc (j0_test): Do not allow one spurious
31462 underflow exception.
31463 (y1_test): Likewise.
31465 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31467 * manual/Makefile (chapters): Add nptl.
31468 * manual/debug.texi (Debugging Support): Add link to Threads
31470 * manual/nptl.texi: New file.
31472 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31474 2013-03-14 Petr Baudis <pasky@ucw.cz>
31476 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31477 for non-NULL pointer before the memory validity test. Pointed
31478 out by Holger Brunck <holger.brunck@keymile.com>.
31480 2013-03-13 Andreas Schwab <schwab@suse.de>
31482 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31485 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31487 * timezone/zic.c: Update from tzcode 2013b.
31489 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31491 * manual/install.texi (Configuring and compiling):
31492 Mention i686 and i586.
31493 * INSTALL: Regenerate.
31495 2013-03-12 Roland McGrath <roland@hack.frob.com>
31497 * sysdeps/init_array/elf-init.c: New file.
31499 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31500 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31502 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31503 __gmon_start__ as global, but as static with a .preinit_array pointer.
31504 * sysdeps/init_array/gmon-start.c: New file. Use that.
31505 * sysdeps/init_array/crti.S: New file, empty except for comments.
31506 * sysdeps/init_array/crtn.S: Likewise.
31508 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31510 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31513 Remove Prefer_SSE_for_memop.
31514 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31515 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31516 HAS_PREFER_SSE_FOR_MEMOP.
31517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31520 Remove bzero, memset ifunc support.
31521 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31522 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31523 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31524 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31526 2013-03-11 Andreas Schwab <schwab@suse.de>
31529 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31532 (GLIBC_2.16): Remove pthread_atfork.
31534 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31536 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31537 (ptestcases.h): Likewise.
31539 2013-03-08 Roland McGrath <roland@hack.frob.com>
31541 * Makeconfig ($(common-objpfx)config.status): Depend on
31542 sysdeps/*/preconfigure{,.in} too.
31544 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31546 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31547 (__free_hook): Use void * instead of __malloc_ptr_t.
31548 (__malloc_hook): Likewise.
31549 (__realloc_hook): Likewise.
31550 (__memalign_hook): Likewise.
31551 (__after_morecore_hook): Likewise.
31552 * malloc/arena.c (save_malloc_hook): Likewise.
31553 (save_free_hook): Likewise.
31554 * malloc/hooks.c (malloc_hook_ini): Likewise.
31555 (realloc_hook_ini): Likewise.
31556 (memalign_hook_ini): Likewise.
31557 * malloc/malloc.c (malloc_hook_ini): Likewise.
31558 (realloc_hook_ini): Likewise.
31559 (memalign_hook_ini): Likewise.
31560 (__free_hook): Likewise.
31561 (__malloc_hook): Likewise.
31562 (__realloc_hook): Likewise.
31563 (__memalign_hook): Likewise.
31564 (__libc_malloc): Likewise.
31565 (__libc_free): Likewise.
31566 (__libc_realloc): Likewise.
31567 (__libc_memalign): Likewise.
31568 (__libc_valloc): Likewise.
31569 (__libc_pvalloc): Likewise.
31570 (__libc_calloc): Likewise.
31571 (__posix_memalign): Likewise.
31572 * malloc/morecore.c (__sbrk): Likewise.
31573 (__default_morecore): Likewise.
31575 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31577 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31578 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31579 __malloc_ptrdiff_t.
31581 * malloc/malloc.h (__malloc_size_t): Remove macro.
31582 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31584 (old_memalign_hook): Likewise.
31585 (old_realloc_hook): Likewise.
31586 (struct hdr): Likewise.
31588 (mallochook): Likewise.
31589 (memalignhook): Likewise.
31590 (reallochook): Likewise.
31591 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31592 (tr_old_realloc_hook): Likewise.
31593 (tr_old_memalign_hook): Likewise.
31594 (tr_mallochook): Likewise.
31595 (tr_reallochook): Likewise.
31596 (tr_memalignhook): Likewise.
31598 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31601 default_ldbl_pack and using as default implementation.
31602 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31604 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31605 redundant definition.
31606 (ldbl_insert_mantissa): Likewise.
31607 (ldbl_canonicalize): Likewise.
31608 (ldbl_nearbyint): Likewise.
31609 (ldbl_pack): Rename to ldbl_pack_ppc.
31610 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31611 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31612 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31614 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31617 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31618 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31619 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31621 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31622 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31623 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31625 2013-03-07 Andreas Jaeger <aj@suse.de>
31627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31630 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31632 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31633 Include mpa.h and declare __MPEXP.
31634 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31635 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31636 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31637 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31638 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31639 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31640 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31642 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31643 (__slowpow): Use long double EXPL and LOGL functions to
31645 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31646 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31647 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31648 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31649 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31650 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31653 intermediate variable to calculate exponent.
31655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31659 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31660 [!NO__SQR]: Define __sqr.
31661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31662 and NO__SQR. Remove all code except __mul and __sqr. Include
31663 sysdeps/ieee754/dbl-64/mpa.c.
31664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31667 * posix/Makefile (tests): Add tst-pathconf.
31668 * posix/tst-pathconf.c: New test case.
31669 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31671 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31673 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31675 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31677 2013-03-06 Andreas Jaeger <aj@suse.de>
31679 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31680 definition via __MAP_ANONYMOUS.
31682 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31683 it's not part of Linux headers.
31685 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31686 (MAP_HUGE_MASK): Define.
31688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31690 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31691 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31693 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31694 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31701 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31702 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31703 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31704 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31705 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31706 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31708 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31712 Handle f2fs and efivarfs.
31714 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31717 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31718 (EFIVARFS_MAGIC): Add.
31719 (F2FS_LINK_MAX): Add.
31721 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31723 * stdio-common/vfprintf.c: Replace __builtin_expect with
31726 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31729 * sysdeps/generic/bp-sym.h: Remove file.
31730 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31731 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31732 <bp-sym.h> and <bp-asm.h>.
31733 (__longjmp): Don't use BP_SYM.
31734 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31736 (memcpy): Don't use BP_SYM.
31737 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31738 <bp-sym.h> and <bp-asm.h>.
31739 (memcpy): Don't use BP_SYM.
31740 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31742 (memcpy): Don't use BP_SYM.
31743 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31745 (memset): Don't use BP_SYM.
31746 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31747 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31748 (__bzero): Don't use BP_SYM.
31749 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31750 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31751 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31752 <bp-sym.h> and <bp-asm.h>.
31753 (memcmp): Don't use BP_SYM. Remove comment about bounded
31755 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31756 <bp-sym.h> and <bp-asm.h>.
31757 (memcpy): Don't use BP_SYM.
31758 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31759 <bp-sym.h> and <bp-asm.h>.
31760 (memset): Don't use BP_SYM.
31761 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31762 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31763 (__bzero): Don't use BP_SYM.
31764 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31765 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31767 <bp-sym.h> and <bp-asm.h>.
31768 (strncmp): Don't use BP_SYM. Remove comment about bounded
31770 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31771 <bp-sym.h> and <bp-asm.h>.
31772 (memcpy): Don't use BP_SYM.
31773 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31774 <bp-sym.h> and <bp-asm.h>.
31775 (memset): Don't use BP_SYM.
31776 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31777 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31778 (__bzero): Don't use BP_SYM.
31779 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31780 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31782 <bp-sym.h> and <bp-asm.h>.
31783 (__memchr): Don't use BP_SYM.
31784 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31785 <bp-sym.h> and <bp-asm.h>.
31786 (memcmp): Don't use BP_SYM. Remove comment about bounded
31788 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31789 <bp-sym.h> and <bp-asm.h>.
31790 (memcpy): Don't use BP_SYM.
31791 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31792 <bp-sym.h> and <bp-asm.h>.
31793 (__mempcpy): Don't use BP_SYM.
31794 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31795 <bp-sym.h> and <bp-asm.h>.
31796 (__memrchr): Don't use BP_SYM.
31797 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31798 <bp-sym.h> and <bp-asm.h>.
31799 (memset): Don't use BP_SYM.
31800 (__bzero): Likewise.
31801 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31802 <bp-sym.h> and <bp-asm.h>.
31803 (__rawmemchr): Don't use BP_SYM.
31804 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31805 <bp-sym.h> and <bp-asm.h>.
31806 (__STRCMP): Don't use BP_SYM.
31807 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31808 <bp-sym.h> and <bp-asm.h>.
31809 (strchr): Don't use BP_SYM.
31810 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31811 <bp-sym.h> and <bp-asm.h>.
31812 (__strchrnul): Don't use BP_SYM.
31813 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31814 <bp-sym.h> and <bp-asm.h>.
31815 (strlen): Don't use BP_SYM.
31816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31817 <bp-sym.h> and <bp-asm.h>.
31818 (strncmp): Don't use BP_SYM. Remove comment about bounded
31820 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31821 <bp-sym.h> and <bp-asm.h>.
31822 (__strnlen): Don't use BP_SYM.
31823 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31824 <bp-sym.h> and <bp-asm.h>.
31825 (__GI__setjmp): Don't use BP_SYM.
31826 (_setjmp): Likewise.
31827 (__sigsetjmp): Likewise.
31828 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31829 (L(start_addresses)): Don't use BP_SYM.
31830 (_start): Likewise.
31831 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31833 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31834 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31835 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31836 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31837 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31839 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31840 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31841 about bounded pointers.
31842 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31843 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31844 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31846 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31847 about bounded pointers. Remove GKM FIXME comments.
31848 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31849 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31851 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31852 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31853 Remove GKM FIXME comments.
31854 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31855 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31856 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31858 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31859 about bounded pointers. Remove GKM FIXME comment.
31860 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31862 (strncmp): Don't use BP_SYM. Remove comment about bounded
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31865 <bp-sym.h> and <bp-asm.h>.
31866 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31868 <bp-sym.h> and <bp-asm.h>.
31869 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31872 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31874 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31877 2013-03-05 David S. Miller <davem@davemloft.net>
31879 * po/es.po: Update from translation team.
31881 2013-03-05 Andreas Jaeger <aj@suse.de>
31883 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31884 <bits/mman-linux.h>.
31885 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31888 <bits/mman-linux.h> to end of file.
31889 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31891 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31892 <bits/mman-linux.h> to end of file.
31893 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31896 <bits/mman-linux.h> to end of file.
31898 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31899 (MCL_CURRENT, MCL_FUTURE): Define here.
31901 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31904 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31908 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31910 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31911 fourth parameter needed for rt_sigprocmask syscall.
31912 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31913 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31914 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31915 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31916 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31917 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31919 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31922 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31923 comment about bounded pointers.
31924 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31925 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31927 2013-03-04 Andreas Jaeger <aj@suse.de>
31929 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31930 common definitions.
31932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31933 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31934 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31935 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31936 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31939 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31942 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31943 __ieee754_sqrl instead of __sqrl.
31945 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31947 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31948 * sysdeps/powerpc/fpu_control.h: ... here.
31949 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31950 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31951 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31952 * sysdeps/powerpc/bits/mathinline.h: ... here.
31954 2013-03-01 Roland McGrath <roland@hack.frob.com>
31956 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31957 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31958 to just [NEED_DL_SYSINFO_DSO].
31959 * elf/dl-support.c: Likewise.
31960 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31961 * elf/rtld.c (dl_main): Likewise.
31962 * elf/setup-vdso.h (setup_vdso): Likewise.
31963 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31964 * sysdeps/unix/sysv/linux/dl-sysdep.c
31965 (_dl_discover_osversion): Likewise.
31967 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31969 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31970 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31972 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31974 * NEWS: Mention libm performance improvements and non-x86 PI
31977 * csu/libc-start.c (__pthread_initialize_minimal): Change
31978 function arguments.
31979 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31981 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31984 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31985 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31986 <bp-sym.h> and <bp-asm.h>.
31987 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31988 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31990 (memcpy): Don't use BP_SYM.
31991 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31993 (__mpn_add_n): Don't use BP_SYM.
31994 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31995 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31997 (__mpn_addmul_1): Don't use BP_SYM.
31998 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31999 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32001 (_setjmp): Don't use BP_SYM.
32002 (__novmx_setjmp): Likewise.
32003 (__GI__setjmp): Likewise.
32004 (__vmx_setjmp): Likewise.
32005 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32007 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32008 (__bzero): Don't use BP_SYM.
32009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32012 <bp-sym.h> and <bp-asm.h>.
32013 (memcpy): Don't use BP_SYM.
32014 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32015 <bp-sym.h> and <bp-asm.h>.
32016 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32017 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32018 <bp-sym.h> and <bp-asm.h>.
32019 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32020 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32022 (__mpn_lshift): Don't use BP_SYM.
32023 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32024 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32026 (memset): Don't use BP_SYM.
32027 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32028 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32029 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32031 (__mpn_mul_1): Don't use BP_SYM.
32032 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32034 <bp-sym.h> and <bp-asm.h>.
32035 (memcmp): Don't use BP_SYM.
32036 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32037 <bp-sym.h> and <bp-asm.h>.
32038 (memcpy): Don't use BP_SYM.
32039 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32040 <bp-sym.h> and <bp-asm.h>.
32041 (memset): Don't use BP_SYM.
32042 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32043 <bp-sym.h> and <bp-asm.h>.
32044 (strncmp): Don't use BP_SYM.
32045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32046 <bp-sym.h> and <bp-asm.h>.
32047 (memcpy): Don't use BP_SYM.
32048 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32049 <bp-sym.h> and <bp-asm.h>.
32050 (memset): Don't use BP_SYM.
32051 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32052 <bp-sym.h> and <bp-asm.h>.
32053 (__memchr): Don't use BP_SYM.
32054 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32055 <bp-sym.h> and <bp-asm.h>.
32056 (memcmp): Don't use BP_SYM.
32057 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32058 <bp-sym.h> and <bp-asm.h>.
32059 (memcpy): Don't use BP_SYM.
32060 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32061 <bp-sym.h> and <bp-asm.h>.
32062 (__mempcpy): Don't use BP_SYM.
32063 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32064 <bp-sym.h> and <bp-asm.h>.
32065 (__memrchr): Don't use BP_SYM.
32066 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32067 <bp-sym.h> and <bp-asm.h>.
32068 (memset): Don't use BP_SYM.
32069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32070 <bp-sym.h> and <bp-asm.h>.
32071 (__rawmemchr): Don't use BP_SYM.
32072 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32073 <bp-sym.h> and <bp-asm.h>.
32074 (__STRCMP): Don't use BP_SYM.
32075 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32076 <bp-sym.h> and <bp-asm.h>.
32077 (strchr): Don't use BP_SYM.
32078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32079 <bp-sym.h> and <bp-asm.h>.
32080 (__strchrnul): Don't use BP_SYM.
32081 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32082 <bp-sym.h> and <bp-asm.h>.
32083 (strlen): Don't use BP_SYM.
32084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32085 <bp-sym.h> and <bp-asm.h>.
32086 (strncmp): Don't use BP_SYM.
32087 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32088 <bp-sym.h> and <bp-asm.h>.
32089 (__strnlen): Don't use BP_SYM.
32090 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32092 (__mpn_rshift): Don't use BP_SYM.
32093 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32094 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32095 <bp-sym.h> and <bp-asm.h>.
32096 (__sigsetjmp): Don't use BP_SYM.
32097 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32098 (L(start_addresses)): Don't use BP_SYM.
32099 (_start): Likewise.
32100 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32102 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32103 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32104 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32105 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32107 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32108 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32109 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32110 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32112 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32114 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32115 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32117 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32119 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32120 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32121 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32123 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32125 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32127 (strncmp): Don't use BP_SYM,
32128 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32130 (__mpn_sub_n): Don't use BP_SYM.
32131 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32132 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32134 (__mpn_submul_1): Don't use BP_SYM.
32135 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32137 <bp-sym.h> and <bp-asm.h>.
32138 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32140 <bp-sym.h> and <bp-asm.h>.
32141 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32144 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32147 Use ZK to minimize writes to Z.
32148 (sub_magnitudes): Simplify code a bit.
32149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32150 Use ZK to minimize writes to Z.
32151 (sub_magnitudes): Simplify code a bit.
32153 2013-02-27 Roland McGrath <roland@hack.frob.com>
32155 * csu/gmon-start.c: Add special exception to license text.
32157 2013-02-27 Richard Henderson <rth@redhat.com>
32159 * scripts/config.guess: Update from config.git.
32160 * scripts/config.sub: Likewise.
32162 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32166 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32168 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32170 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32172 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32174 2013-02-26 Roland McGrath <roland@hack.frob.com>
32176 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32177 [$(build-shared = yes].
32179 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32181 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32182 (__mul): Reduce iterations for calculating mantissa.
32184 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32186 (__mpranred): Likewise.
32189 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32190 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32192 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32194 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32195 Define __attribute__.
32197 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32199 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32201 * posix/regex_internal.h (__attribute): Remove.
32202 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32203 (re_string_context_at): Likewise.
32204 (bitset_not): Use __attribute__ and mark function as possibly
32206 (bitset_merge): Likewise.
32207 (bitset_mask): Likewise.
32208 (re_string_char_size_at): Likewise.
32209 (re_string_wchar_at): Likewise.
32210 (re_string_elem_size_at): Likewise.
32212 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32214 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32218 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32222 (denorm): Likewise.
32223 (__dbl_mp): Likewise.
32224 (add_magnitudes): Likewise.
32225 (sub_magnitudes): Likewise.
32229 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32232 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32235 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32239 up changes with default code.
32240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32243 2013-02-24 Allan McRae <allan@archlinux.org>
32245 * manual/socket.texi (The Internet Namespace): Order menu items
32246 to match that in the file.
32248 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32249 node listing of the info page menu.
32251 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32254 * sysdeps/i386/bp-asm.h: Remove file.
32255 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32256 (PARMS): Do not use macros from bp-asm.h.
32260 (__mpn_add_n): Do not use BP_SYM
32261 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32263 (PARMS): Do not use macros from bp-asm.h.
32266 (__mpn_addmul_1): Do not use BP_SYM
32267 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32269 (PARMS): Do not use macros from bp-asm.h.
32270 (SIGMSK): Likewise.
32271 (_setjmp): Likewise. Do not use BP_SYM.
32272 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32274 (PARMS): Do not use macros from bp-asm.h.
32275 (SIGMSK): Likewise.
32276 (setjmp): Likewise. Do not use BP_SYM.
32277 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32279 (PARMS): Do not use macros from bp-asm.h.
32280 (__frexp): Do not use BP_SYM.
32282 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32284 (PARMS): Do not use macros from bp-asm.h.
32285 (__frexpf): Do not use BP_SYM.
32286 (frexpf): Likewise.
32287 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32289 (PARMS): Do not use macros from bp-asm.h.
32290 (__frexpl): Do not use BP_SYM.
32291 (frexpl): Likewise.
32292 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32294 (PARMS): Do not use macros from bp-asm.h.
32295 (__remquo): Do not use BP_SYM.
32296 (remquo): Likewise.
32297 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32299 (PARMS): Do not use macros from bp-asm.h.
32300 (__remquof): Do not use BP_SYM.
32301 (remquof): Likewise.
32302 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32304 (PARMS): Do not use macros from bp-asm.h.
32305 (__remquol): Do not use BP_SYM.
32306 (remquol): Likewise.
32307 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32309 (PARMS): Do not use macros from bp-asm.h.
32312 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32313 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32315 (PARMS): Do not use macros from bp-asm.h.
32316 (strlen): Do not use BP_SYM.
32317 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32319 (PARMS): Do not use macros from bp-asm.h.
32323 (__mpn_add_n): Do not use BP_SYM.
32324 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32326 (PARMS): Do not use macros from bp-asm.h.
32329 (__mpn_addmul_1): Do not use BP_SYM.
32330 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32333 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32335 (PARMS): Do not use macros from bp-asm.h.
32338 (__mpn_lshift): Do not use BP_SYM.
32339 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32341 (PARMS): Do not use macros from bp-asm.h.
32345 (memcpy): Likewise. Do not use BP_SYM.
32346 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32347 libc_hidden_def and weak_alias.
32348 (mempcpy): Do not use BP_SYM in weak_alias.
32349 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32351 (PARMS): Do not use macros from bp-asm.h.
32354 [!BZERO_P] (CHR): Likewise.
32355 (memset): Likewise. Do not use BP_SYM.
32356 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32358 (PARMS): Do not use macros from bp-asm.h.
32361 (__mpn_mul_1): Do not use BP_SYM.
32362 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32364 (PARMS): Do not use macros from bp-asm.h.
32367 (__mpn_rshift): Do not use BP_SYM.
32368 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32370 (PARMS): Do not use macros from bp-asm.h.
32373 (strchr): Likewise. Do not use BP_SYM.
32374 (index): Do not use BP_SYM in weak_alias.
32375 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32377 (PARMS): Do not use macros from bp-asm.h.
32380 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32381 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32383 (PARMS): Do not use macros from bp-asm.h.
32384 (strlen): Do not use BP_SYM.
32385 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32387 (PARMS): Do not use macros from bp-asm.h.
32391 (__mpn_sub_n): Do not use BP_SYM.
32392 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32394 (PARMS): Do not use macros from bp-asm.h.
32397 (__mpn_submul_1): Do not use BP_SYM.
32398 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32400 (PARMS): Do not use macros from bp-asm.h.
32404 (__mpn_add_n): Do not use BP_SYM.
32405 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32408 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32410 (PARMS): Do not use macros from bp-asm.h.
32413 (memcmp): Do not use BP_SYM.
32414 (bcmp): Do not use BP_SYM in weak_alias.
32415 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32417 (PARMS): Do not use macros from bp-asm.h.
32421 (memcpy): Likewise. Do not use BP_SYM.
32422 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32424 (PARMS): Do not use macros from bp-asm.h.
32428 (memmove): Likewise. Do not use BP_SYM.
32429 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32431 (PARMS): Do not use macros from bp-asm.h.
32435 (__mempcpy): Likewise. Do not use BP_SYM.
32436 (mempcpy): Do not use BP_SYM in weak_alias.
32437 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32439 (PARMS): Do not use macros from bp-asm.h.
32442 [!BZERO_P] (CHR): Likewise.
32443 (memset): Likewise. Do not use BP_SYM.
32444 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32446 (PARMS): Do not use macros from bp-asm.h.
32448 (strcmp): Do not use BP_SYM.
32449 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32451 (PARMS): Do not use macros from bp-asm.h.
32454 [USE_AS_STRTOK_R] (SAVE): Likewise.
32455 (FUNCTION): Likewise. Do not use BP_SYM.
32456 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32458 (strtok_r): Likewise.
32459 (__GI___strtok_r): Likewise.
32460 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32461 (PARMS): Do not use macros from bp-asm.h.
32464 (__mpn_lshift): Do not use BP_SYM.
32465 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32466 (PARMS): Do not use macros from bp-asm.h.
32469 (__memchr): Do not use BP_SYM.
32470 (memchr): Do not use BP_SYM in weak_alias.
32471 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32472 (PARMS): Do not use macros from bp-asm.h.
32475 (memcmp): Do not use BP_SYM.
32476 (bcmp): Do not use BP_SYM in weak_alias.
32477 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32478 (PARMS): Do not use macros from bp-asm.h.
32481 (__mpn_mul_1): Do not use BP_SYM.
32482 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32484 (PARMS): Do not use macros from bp-asm.h.
32487 (__rawmemchr): Do not use BP_SYM.
32488 (rawmemchr): Do not use BP_SYM in weak_alias.
32489 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32490 (PARMS): Do not use macros from bp-asm.h.
32493 (__mpn_rshift): Do not use BP_SYM.
32494 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32495 (PARMS): Do not use macros from bp-asm.h.
32496 (SIGMSK): Likewise.
32497 (__sigsetjmp): Likewise. Do not use BP_SYM.
32498 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32499 (_start): Do not use BP_SYM.
32500 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32501 (PARMS): Do not use macros from bp-asm.h.
32504 (__stpcpy): Likewise. Do not use BP_SYM.
32505 (stpcpy): Do not use BP_SYM in weak_alias.
32506 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32508 (PARMS): Do not use macros from bp-asm.h.
32512 (__stpncpy): Likewise. Do not use BP_SYM.
32513 (stpncpy): Do not use BP_SYM in weak_alias.
32514 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32515 (PARMS): Do not use macros from bp-asm.h.
32518 (strchr): Likewise. Do not use BP_SYM.
32519 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32521 (PARMS): Do not use macros from bp-asm.h.
32524 (__strchrnul): Likewise. Do not use BP_SYM.
32525 (strchrnul): Do not use BP_SYM in weak_alias.
32526 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32528 (PARMS): Do not use macros from bp-asm.h.
32530 (strcspn): Do not use BP_SYM.
32531 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32533 (PARMS): Do not use macros from bp-asm.h.
32536 (strpbrk): Likewise. Do not use BP_SYM.
32537 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32539 (PARMS): Do not use macros from bp-asm.h.
32542 (strrchr): Likewise. Do not use BP_SYM.
32543 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32544 (PARMS): Do not use macros from bp-asm.h.
32546 (strspn): Do not use BP_SYM.
32547 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32548 (PARMS): Do not use macros from bp-asm.h.
32552 (FUNCTION): Likewise. Do not use BP_SYM.
32553 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32555 (strtok_r): Likewise.
32556 (__GI___strtok_r): Likewise.
32557 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32558 (PARMS): Do not use macros from bp-asm.h.
32562 (__mpn_sub_n): Do not use BP_SYM.
32563 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32565 (PARMS): Do not use macros from bp-asm.h.
32568 (__mpn_submul_1): Do not use BP_SYM.
32569 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32571 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32573 (PARMS): Do not use macros from bp-asm.h.
32578 (__clone): Do not use BP_SYM.
32579 (clone): Do not use BP_SYM in weak_alias.
32580 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32582 (PARMS): Do not use macros from bp-asm.h.
32584 (__mmap64): Do not use BP_SYM.
32585 (mmap64): Do not use BP_SYM in weak_alias.
32586 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32587 <bp-sym.h> and <bp-asm.h>.
32588 (PARMS): Do not use macros from bp-asm.h.
32589 (__posix_fadvise64_l64): Do not use BP_SYM.
32590 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32591 (PARMS): Do not use macros from bp-asm.h.
32593 (semtimedop): Do not use BP_SYM.
32594 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32597 2013-02-21 Allan McRae <allan@archlinux.org>
32599 * manual/message.texi (Charset conversion in gettext):
32600 Move @end statement to beginning of line.
32602 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32609 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32610 (denorm): Likewise.
32611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32614 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32616 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32617 tail-call to the resolved function if pltexit isn't needed.
32619 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32622 or Y being zero as being unlikely.
32623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32626 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32628 * manual/nss.texi (System Databases and Name Service Switch):
32629 Remove frobnicate @pxref.
32631 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32633 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32634 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32636 2013-02-20 Petr Machata <pmachata@redhat.com>
32638 * elf/elf.h (R_ARM_TARGET1): New macro.
32639 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32640 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32641 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32642 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32643 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32644 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32645 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32646 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32647 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32648 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32649 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32650 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32651 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32652 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32653 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32654 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32655 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32656 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32657 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32658 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32659 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32660 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32661 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32662 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32663 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32664 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32665 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32666 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32667 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32668 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32669 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32670 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32671 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32672 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32673 (R_ARM_THM_GOT_BREL12): Likewise.
32674 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32675 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32676 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32677 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32678 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32679 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32680 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32681 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32682 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32684 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32686 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32687 __attribute_used__ to __attribute__ ((unused)).
32689 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32691 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32694 comment formatting.
32695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32697 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32700 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32702 (ENTER): Remove both macro definitions.
32704 (CHECK_BOUNDS_LOW): Likewise.
32705 (CHECK_BOUNDS_HIGH): Likewise.
32706 (CHECK_BOUNDS_BOTH): Likewise.
32707 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32708 (RETURN_BOUNDED_POINTER): Likewise.
32709 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32710 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32711 (POP_ERRNO_LOCATION_RETURN): Likewise.
32712 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32713 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32714 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32716 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32717 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32718 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32719 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32720 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32721 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32722 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32723 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32724 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32725 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32726 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32727 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32728 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32729 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32731 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32732 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32734 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32735 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32736 * sysdeps/i386/i586/memset.S (memset): Likewise.
32737 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32738 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32739 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32741 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32742 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32743 Change uses of L(2) to L(out).
32744 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32745 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32746 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32747 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32748 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32750 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32751 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32753 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32754 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32755 (RETURN): Do not use macro LEAVE.
32756 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32757 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32758 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32759 * sysdeps/i386/i686/memset.S (memset): Likewise.
32760 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32761 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32762 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32763 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32765 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32766 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32767 L(1_2) and L(1_3) into L(1).
32768 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32769 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32770 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32771 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32772 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32773 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32774 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32775 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32776 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32778 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32779 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32780 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32781 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32782 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32783 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32784 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32785 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32786 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32787 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32788 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32789 * sysdeps/i386/strspn.S (strspn): Likewise.
32790 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32792 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32793 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32794 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32795 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32796 L(1_3) into L(1_1).
32797 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32798 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32799 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32801 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32803 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32805 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32808 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32810 * math/atest-exp.c (exp_mpn): Remove ROUND.
32811 * math/atest-exp2.c (exp_mpn): Likewise.
32812 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32814 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32815 * stdlib/tst-tls-atexit-lib.c: Likewise.
32816 * stdlib/tst-tls-atexit.c: Likewise.
32818 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32820 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32821 and __attribute_alloc_size__.
32823 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32825 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32826 __attribute_alloc_size__.
32827 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32828 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32830 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32832 * include/programs/xmalloc.h: New file.
32833 * catgets/gencat.c: Include it.
32834 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32835 * elf/pldd.c: Likewise.
32836 * iconv/iconv_charmap.c: Likewise.
32837 * iconv/iconvconfig.c: Likewise.
32838 * iconv/strtab.c: Likewise.
32839 * locale/programs/locale.c: Likewise.
32840 * locale/programs/localedef.h: Likewise.
32841 * locale/programs/simple-hash.c: Likewise.
32842 * nscd/nscd.h: Likewise.
32843 * nss/makedb.c: Likewise.
32844 * sysdeps/generic/ldconfig.h: Likewise.
32846 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32848 * Versions.def: Add GLIBC_2.18.
32849 * include/link.h (struct link_map): New member l_tls_dtor_count.
32850 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32851 (__call_tls_dtors): Likewise.
32852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32853 __cxa_thread_atexit_impl.
32854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32870 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32871 (tests): Add test case tst-tls-atexit.
32872 (modules-names): Add shared library for tst-tls-atexit.
32873 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32874 (GLIBC_PRIVATE): Add __call_tls_dtors.
32875 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32877 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32878 * stdlib/tst-tls-atexit.c: New test case.
32879 * stdlib/tst-tls-atexit-lib.c: New test case.
32881 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32883 * elf/Versions (ld): Add _dl_find_dso_for_object.
32884 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32885 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32886 (dl_open_worker): Use _dl_find_dso_for_object.
32887 * elf/dl-sym.c (do_sym): Likewise.
32888 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32890 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32892 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32893 Syntactic changes only.
32894 (_dl_runtime_profile): Do a tail-call to the resolved function.
32896 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32899 * sysdeps/x86_64/bp-asm.h: Remove file.
32900 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32901 <bp-sym.h> and <bp-asm.h>.
32902 (__clone): Do not use BP_SYM.
32903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32904 <bp-sym.h> and <bp-asm.h>.
32905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32906 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32908 (_setjmp): Do not use BP_SYM.
32909 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32911 (setjmp): Do not use BP_SYM.
32912 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32914 (mempcpy): Do not use BP_SYM in weak_alias.
32915 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32917 (strchr): Do not use BP_SYM.
32918 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32920 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32921 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32922 (_start): Do not use BP_SYM.
32923 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32925 (strcat): Do not use BP_SYM.
32926 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32928 (STRCMP): Do not use BP_SYM.
32929 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32931 (STRCPY): Do not use BP_SYM.
32932 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32934 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32936 (FUNCTION): Do not use BP_SYM.
32937 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32939 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32941 2013-02-17 Andreas Jaeger <aj@suse.de>
32943 * time/Versions: Sort entries.
32944 * string/Versions: Likewise.
32945 * resolv/Versions: Likewise.
32946 * posix/Versions: Likewise.
32947 * iconv/Versions: Likewise.
32948 * elf/Versions: Likewise.
32949 * wcsmbs/Versions: Likewise.
32951 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32953 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32954 loop termination condition.
32956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32957 variable to calculate EZ.
32960 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32961 the lower precision input.
32963 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32966 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32967 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32968 (run-via-rtld-prefix): Do not handle %-bp tests.
32969 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32970 (all-object-suffixes): Remove .ob.
32971 (bppfx): Remove variable.
32972 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32973 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32974 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32975 [$(build-bounded) = yes] (libtype.ob): Likewise.
32976 * Makerules (elide-routines.ob): Remove variable.
32977 (do-tests-clean): Do not handle *-bp.out.
32978 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32979 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32980 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32981 (tests): Do not include $(tests-bp.out).
32982 (xtests): Do not include $(xtests-bp.out).
32983 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32984 [$(build-bounded) = yes] ($(addprefix
32985 $(objpfx),$(binaries-bounded))): Remove rule.
32986 ($(objpfx)%-bp.out): Remove rule.
32987 * config.make.in (build-bounded): Remove variable.
32988 * crypt/Makefile [$(build-bounded) = yes]
32989 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32990 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32991 append to variable.
32992 [$(build-bounded) = yes] (install-lib): Likewise.
32993 [$(build-bounded) = yes] (generated): Likewise.
32994 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32996 * intl/Makefile [$(build-bounded) = yes]
32997 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32998 * math/Makefile [$(build-bounded) = yes]
32999 ($(tests:%=$(objpfx)%-bp): Likewise.
33000 * misc/Makefile [$(build-bounded) = yes]
33001 ($(objpfx)tst-tsearch-bp): Likewise.
33002 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33003 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33005 * string/Makefile (o-objects.ob): Remove variable.
33006 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33007 (CFLAGS-.ob): Remove variable.
33008 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33009 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33010 both definitions of variable.
33011 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33012 (ASFLAGS-.ob): Remove variable.
33014 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33017 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33018 Remove __BOUNDED_POINTERS__ from condition.
33019 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33020 * string/bits/string2.h [!__NO_STRING_INLINES &&
33021 !__BOUNDED_POINTERS__]: Likewise.
33022 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33024 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33025 Remove conditional code.
33026 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33027 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33028 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33032 * csu/libc-start.c: Do not include <bp-sym.h>.
33033 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33034 * elf/dl-open.c: Do not include <bp-sym.h>.
33035 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33036 * math/fegetenv.c: Do not include <bp-sym.h>.
33037 (fegetenv): Do not use BP_SYM in versioned symbols.
33038 * nptl/sysdeps/pthread/bits/libc-lockP.h
33039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33042 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33044 (__pthread_mutex_destroy): Likewise.
33045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33046 (__pthread_mutex_lock): Likewise.
33047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33048 (__pthread_mutex_trylock): Likewise.
33049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33050 (__pthread_mutex_unlock): Likewise.
33051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33052 (__pthread_mutexattr_init): Likewise.
33053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33054 (__pthread_mutexattr_destroy): Likewise.
33055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33056 (__pthread_mutexattr_settype): Likewise.
33057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33058 (__pthread_rwlock_init): Likewise.
33059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33060 (__pthread_rwlock_destroy): Likewise.
33061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33062 (__pthread_rwlock_rdlock): Likewise.
33063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33064 (__pthread_rwlock_tryrdlock): Likewise.
33065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33066 (__pthread_rwlock_wrlock): Likewise.
33067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33068 (__pthread_rwlock_trywrlock): Likewise.
33069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33070 (__pthread_rwlock_unlock): Likewise.
33071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33072 (__pthread_key_create): Likewise.
33073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33074 (__pthread_setspecific): Likewise.
33075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33076 (__pthread_getspecific): Likewise.
33077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33080 (_pthread_cleanup_push_defer): Likewise.
33081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33082 (_pthread_cleanup_pop_restore): Likewise.
33083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33084 (pthread_setcancelstate): Likewise.
33085 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33087 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33088 (memchr): Do not use BP_SYM in weak_alias.
33089 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33090 (fegetenv): Do not use BP_SYM in versioned symbols.
33091 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33092 (fesetenv): Do not use BP_SYM in versioned symbols.
33093 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33094 (feupdateenv): Do not use BP_SYM in versioned symbols.
33095 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33096 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33097 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33098 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33099 (open64): Do not use BP_SYM in weak_alias.
33100 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33101 (fegetenv): Do not use BP_SYM in versioned symbols.
33102 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33103 (fesetenv): Do not use BP_SYM in versioned symbols.
33104 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33105 (feupdateenv): Do not use BP_SYM in versioned symbols.
33106 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33107 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33108 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33109 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33110 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33111 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33112 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33114 (__libc_start_main): Do not use BP_SYM.
33116 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33119 redundant return line.
33121 (denorm): Likewise.
33122 (dbl_mp): Likewise.
33123 (sub_magnitudes): Likewise.
33129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33131 (denorm): Likewise.
33132 (dbl_mp): Likewise.
33133 (sub_magnitudes): Likewise.
33140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33143 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33146 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33147 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33149 of __mul for squares.
33150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33154 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33155 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33157 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33160 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33162 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33163 prototype or function definition. Rename ubp_* variables and
33164 parameters. Remove argv definitions conditional on
33165 [__BOUNDED_POINTERS__].
33166 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33167 * elf/dl-runtime.c (_dl_fixup): Likewise.
33168 * include/set-hooks.h (RUN_HOOK): Likewise.
33169 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33171 * string/strcpy.c (strcpy): Do not use __unbounded.
33172 * sysdeps/generic/frame.h (struct layout): Likewise.
33173 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33174 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33175 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33176 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33177 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33178 (__backtrace): Likewise.
33179 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33181 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33182 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33183 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33185 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33186 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33187 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33188 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33189 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33190 Do not use __unbounded.
33191 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33192 Rename __unboundedrlimits parameter to rlimits in prototype.
33193 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33194 Do not use __unbounded.
33195 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33196 not use __ptrvalue.
33197 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33198 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33199 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33200 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33201 __ptrvalue or __unbounded.
33202 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33203 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33205 (__new_msgctl): Do not use __ptrvalue.
33206 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33208 (__libc_msgrcv): Do not use __ptrvalue.
33209 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33210 startup_info): Do not use __unbounded.
33211 (__libc_start_main): Likewise. Rename ubp_* variables and
33212 parameters. Remove argv definitions conditional on
33213 [__BOUNDED_POINTERS__].
33214 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33216 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33218 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33220 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33222 (__new_shmctl): Do not use __ptrvalue.
33223 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33224 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33226 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33228 (__libc_sigaction): Likewise.
33229 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33230 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33232 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33234 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33236 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33238 * string/mempcpy.c: Implement by calling memcpy.
33240 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33247 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33248 values in the mantissa.
33250 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33251 minimize writes to Z.
33252 (sub_magnitudes): Simplify code a bit.
33254 2013-02-12 Roland McGrath <roland@hack.frob.com>
33256 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33257 from the message. The linker prefixes all warnings with that already.
33259 2013-02-12 Andreas Schwab <schwab@suse.de>
33262 * posix/regexec.c (extend_buffers): Add parameter min_len.
33263 (check_matching): Pass minimum needed length.
33264 (clean_state_log_if_needed): Likewise.
33265 (get_subexp): Likewise.
33266 * posix/Makefile (tests): Add bug-regex34.
33267 (bug-regex34-ENV): Define.
33268 * posix/bug-regex34.c: New file.
33271 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33272 elements compare against the byte sequence of it, not its name.
33273 * posix/Makefile (tests): Add bug-regex35.
33274 (bug-regex35-ENV): Define.
33275 * posix/bug-regex35.c: New file.
33277 2013-02-11 Tom de Vries <tom@codesourcery.com>
33279 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33281 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33282 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33283 (CHECK_EOL): Add undef.
33285 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33287 * bits/stdlib-bsearch.h: New file.
33288 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33289 * stdlib/stdlib.h: Likewise.
33291 2013-02-11 Roland McGrath <roland@hack.frob.com>
33293 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33294 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33296 * manual/search.texi (Array Search Function): Add missing const in
33298 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33299 declaration to use rlim_t.
33300 (Basic Scheduling Functions): Remove erroneous const from
33301 sched_getparam prototype. Remove erroneous * from
33302 sched_get_priority_max and sched_get_priority_min prototypes.
33303 (Resource Usage): Fix summary @comment on vtimes to refer to
33304 sys/vtimes.h rather than vtimes.h.
33305 Add missing *s in vtimes prototype.
33306 (Limits on Resources): Fix ulimit prototype to return long int.
33307 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33308 prototypes to use long int rather than double.
33309 (BSD Random): Fix initstate and setstate to use char *, not void *.
33310 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33311 prototype to make second argument 'struct aiocb64 *const[]'.
33312 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33313 (Status of AIO Operations): Remove erroneous const in aio_return and
33314 aio_return64 prototypes.
33315 (Synchronizing I/O): Fix sync prototype to return void.
33316 * manual/startup.texi (Suboptions): Remove an erroneous const in
33317 getsubopt prototype.
33318 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33319 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33320 use size_t rather than int.
33321 (Scanning All Users): Likewise for getpwent_r.
33322 (Setting Groups): Add missing const to setgroups prototype.
33323 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33324 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33325 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33326 'const void *' rather than 'const char *'.
33327 (Host Address Functions): Likewise for inet_ntop.
33328 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33329 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33330 ssize_t for return value.
33331 (Sending Data): Likewise for send, sendto, sendmsg.
33332 (Socket Option Functions): Add a missing const in setsockopt prototype.
33333 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33334 use wchar_t for the argument.
33335 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33336 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33338 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33339 double/float/long double for second argument.
33340 Fix return types of significand, significandf, significandl.
33341 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33342 argument in fchmod prototype.
33343 (File Owner): Use uid_t and gid_t in fchown prototype.
33344 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33345 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33346 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33347 use 'const struct dirent **' as argument types to CMP function pointer
33349 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33350 (File Times): Fix summary magic @comment for struct utimbuf and utime
33351 to refer to utime.h, not time.h.
33352 * manual/string.texi (Argz Functions): Add missing const in
33353 argz_extract and argz_next prototypes.
33354 (Finding Tokens in a String): Likewise for basename.
33355 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33356 (Copying and Concatenation): Fix typo in wmemmove prototype.
33357 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33358 (Signal Stack): Remove erroneous const in sigstack prototype.
33359 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33361 (Simple Calendar Time): Likewise for stime.
33362 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33364 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33365 say sys/sysctl.h instead.
33366 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33367 and vsyslog prototypes.
33369 2013-02-11 Tom de Vries <tom@codesourcery.com>
33371 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33374 2013-02-11 Roland McGrath <roland@hack.frob.com>
33376 * misc/sys/mman.h: Fix typo in mremap comment.
33378 2013-02-08 Roland McGrath <roland@hack.frob.com>
33380 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33381 the '\0' terminator.
33383 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33386 * debug/segfault.c: Don't include <bp-checks.h>.
33387 * sysdeps/generic/bp-checks.h: Remove file.
33388 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33389 (__GETDENTS): Don't use CHECK_N.
33390 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33391 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33392 (__getgroups): Don't use CHECK_N.
33393 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33394 (setgroups): Don't use CHECK_N.
33395 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33396 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33397 (__libc_msgrcv): Don't use CHECK_N.
33398 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33399 (__libc_msgsnd): Don't use CHECK_N.
33400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33402 (__libc_pread): Don't use CHECK_N.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33404 include <bp-checks.h>.
33405 (__libc_pread64): Don't use CHECK_N.
33406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33407 include <bp-checks.h>.
33408 (__libc_pwrite): Don't use CHECK_N.
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33410 include <bp-checks.h>.
33411 (__libc_pwrite64): Don't use CHECK_N.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33414 (__libc_pread): Don't use CHECK_N.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33416 include <bp-checks.h>.
33417 (__libc_pread64): Don't use CHECK_N.
33418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33419 include <bp-checks.h>.
33420 (__libc_pwrite): Don't use CHECK_N.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33422 include <bp-checks.h>.
33423 (__libc_pwrite64): Don't use CHECK_N.
33424 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33425 (do_pread): Don't use CHECK_N.
33426 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33427 (do_pread64): Don't use CHECK_N.
33428 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33429 (do_pwrite): Don't use CHECK_N.
33430 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33431 (do_pwrite64): Don't use CHECK_N.
33432 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33433 (__libc_readv): Don't use CHECK_N.
33434 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33435 (semop): Don't use CHECK_N.
33436 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33438 (semtimedop): Don't use CHECK_N.
33439 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33440 (__libc_pread): Don't use CHECK_N.
33441 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33443 (__libc_pread64): Don't use CHECK_N.
33444 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33446 (__libc_pwrite): Don't use CHECK_N.
33447 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33449 (__libc_pwrite64): Don't use CHECK_N.
33450 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33452 (__libc_msgrcv): Don't use CHECK_N.
33453 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33454 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33455 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33456 (__libc_writev): Don't use CHECK_N.
33458 2013-02-08 Roland McGrath <roland@hack.frob.com>
33460 * string/strcpy.c: Removed unused variable.
33462 * Makeconfig (+sysdep-includes): Define with := rather than =.
33463 Use an existing include/ subdir of each sysdeps dir before it.
33465 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33467 * nscd/connection.c (register_traced_file): Comment function.
33468 [HAVE_INOTIFY] (union __inev): Define.
33469 [HAVE_INOTIFY] (inotify_check_files): New function.
33470 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33471 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33473 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33475 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33477 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33478 loaded if not already and that a failure is permanent.
33480 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33483 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33484 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33486 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33489 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33490 (CHECK_1_NULL_OK): Likewise.
33491 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33492 (__fxstat): Do not use CHECK_1.
33493 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33495 (___fxstat64): Do not use CHECK_1.
33496 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33498 (__fxstatat): Do not use CHECK_1.
33499 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33501 (__fxstatat64): Do not use CHECK_1.
33502 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33504 (__fxstat): Do not use CHECK_1.
33505 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33507 (__fxstatat): Do not use CHECK_1.
33508 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33510 (__getresgid): Do not use CHECK_1.
33511 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33513 (__getresuid): Do not use CHECK_1.
33514 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33516 (__lxstat): Do not use CHECK_1.
33517 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33519 (__old_msgctl): Do not use CHECK_1.
33520 (__new_msgctl): Likewise.
33521 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33523 (__new_setrlimit): Do not use CHECK_1.
33524 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33526 (__old_shmctl): Do not use CHECK_1.
33527 (__new_shmctl): Likewise.
33528 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33530 (__xstat): Do not use CHECK_1.
33531 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33532 (__lxstat): Do not use CHECK_1.
33533 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33535 (___lxstat64): Do not use CHECK_1.
33536 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33537 (__old_msgctl): Do not use CHECK_1.
33538 (__new_msgctl): Likewise.
33539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33541 (__gettimeofday): Do not use CHECK_1.
33542 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33543 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33544 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33546 (__gettimeofday): Do not use CHECK_1.
33547 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33548 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33549 (__new_shmctl): Do not use CHECK_1.
33550 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33552 (do_sigtimedwait): Do not use CHECK_1.
33553 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33555 (do_sigwaitinfo): Do not use CHECK_1.
33556 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33558 (msgctl): Do not use CHECK_1.
33559 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33561 (shmctl): Do not use CHECK_1.
33562 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33563 (ustat): Do not use CHECK_1.
33564 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33566 (__fxstat): Do not use CHECK_1.
33567 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33569 (__fxstatat): Do not use CHECK_1.
33570 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33572 (__lxstat): Do not use CHECK_1.
33573 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33575 (__xstat): Do not use CHECK_1.
33576 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33577 (__xstat): Do not use CHECK_1.
33578 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33579 (___xstat64): Do not use CHECK_1.
33582 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33584 (CHECK_BOUNDS_HIGH): Likewise.
33585 * string/strcpy.c: Do not include <bp-checks.h>.
33586 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33588 2013-02-07 Roland McGrath <roland@hack.frob.com>
33590 * nscd/nscd-client.h (__nscd_drop_map_ref):
33591 Add __attribute__ ((unused)).
33592 * nis/nss-nisplus.h (niserr2nss): Likewise.
33594 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33595 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33597 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33598 Remove inline keyword.
33599 * include/rounding-mode.h (round_away): Likewise.
33600 * libio/wfileops.c (adjust_wide_data): Likewise.
33601 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33602 (__m128i_strloadu_tolower): Likewise.
33603 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33604 (__m128i_strloadu_tolower): Likewise.
33605 * time/mktime.c (ydhms_diff): Likewise.
33606 * locale/elem-hash.h (elem_hash): Likewise.
33607 * locale/setlocale.c (setdata): Likewise.
33608 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33609 (re_string_wchar_at): Likewise.
33610 (bitset_not, bitset_merge, bitset_mask): Likewise.
33611 [!(__GNUC__ > 3)] (inline): Remove macro.
33612 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33613 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33614 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33615 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33616 * string/memcmp.c (memcmp_bytes): Likewise.
33617 * locale/programs/locarchive.c (compute_hashval): Likewise.
33618 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33619 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33620 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33621 * nss/getent.c (print_rpc, print_protocols): Likewise.
33622 (print_passwd, print_group, print_aliases): Likewise.
33623 * nis/nss-nisplus.h (niserr2nss): Likewise.
33624 * nscd/connections.c (restart_p): Likewise.
33625 Change return type to bool.
33627 2013-02-05 Roland McGrath <roland@hack.frob.com>
33629 * Makeconfig (all-Depend-files): Add existing
33630 $(sorted-subdirs:=/Depend) files.
33631 (all-subdirs): Remove nss.
33632 * sysdeps/unix/inet/Subdirs: Add it here instead.
33633 * hesiod/Depend: New file.
33635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33636 instead of calling alloca.
33638 * io/lseek.c (__lseek): Rename to __libc_lseek.
33639 Define __lseek as an alias.
33641 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33643 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33645 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33646 else clause and remove check for non-standard endianness.
33648 2013-02-04 David S. Miller <davem@davemloft.net>
33650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33652 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33655 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33656 (__ubp_memchr): Remove prototype.
33657 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33658 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33659 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33660 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33661 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33663 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33664 (__ubp_memchr): Likewise.
33665 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33666 (__ubp_memchr): Likewise.
33667 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33668 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33669 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33670 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33672 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33673 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33674 (__getcwd): Do not use CHECK_STRING.
33675 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33677 (__real_chown): Do not use CHECK_STRING.
33678 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33680 (fchownat): Do not use CHECK_STRING.
33681 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33683 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33685 (__lchown): Do not use CHECK_STRING.
33686 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33687 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33688 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33689 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33691 include <bp-checks.h>.
33692 (truncate64): Do not use CHECK_STRING.
33693 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33695 (__real_chown): Do not use CHECK_STRING.
33696 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33698 (__lchown): Do not use CHECK_STRING.
33699 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33701 (__chown): Do not use CHECK_STRING.
33702 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33704 (truncate64): Do not use CHECK_STRING.
33705 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33707 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33708 (__xmknod): Do not use CHECK_STRING.
33709 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33711 (__xmknodat): Do not use CHECK_STRING.
33712 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33713 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33715 2013-02-04 Andreas Schwab <schwab@suse.de>
33718 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33719 * include/netdb.h: Likewise for h_errno.
33720 * elf/tst-stackguard1.c: Include <tls.h>.
33722 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33724 * elf/link.h (struct link_map): Extend the l_addr comment.
33725 * include/link.h (struct link_map): Likewise.
33727 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33730 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33731 (BOUNDED_1): Remove macro.
33732 * debug/backtrace.c: Don't include <bp-checks.h>.
33733 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33734 (__backtrace): Likewise.
33735 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33737 (__backtrace): Don't use BOUNDED_1.
33738 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33740 (__backtrace): Don't use BOUNDED_1.
33741 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33742 (__backtrace): Don't use BOUNDED_1.
33743 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33744 (shmat): Don't use BOUNDED_N.
33746 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33749 * sysdeps/generic/bp-start.h: Remove file.
33750 * csu/libc-start.c: Don't include <bp-start.h>.
33751 (LIBC_START_MAIN): Set up __environ directly instead of using
33752 INIT_ARGV_and_ENVIRON.
33753 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33757 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33759 (CHECK_FCNTL): Likewise.
33760 (CHECK_N_PAGES): Likewise.
33763 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33765 (CHECK_SIGSET_NULL_OK): Likewise.
33766 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33768 (sigpending): Don't use CHECK_SIGSET.
33769 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33771 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33772 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33774 (do_sigsuspend): Don't use CHECK_SIGSET.
33775 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33777 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33778 (do_sigwait): Don't use CHECK_SIGSET.
33779 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33782 include <bp-checks.h>.
33783 (sigpending): Don't use CHECK_SIGSET.
33784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33785 include <bp-checks.h>.
33786 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33787 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33789 (sigpending): Don't use CHECK_SIGSET.
33790 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33792 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33795 * sysdeps/generic/bp-semctl.h: Remove file.
33796 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33797 <bp-checks.h> and <bp-semctl.h>.
33798 (__old_semctl): Don't use CHECK_SEMCTL.
33799 (__new_semctl): Likewise.
33800 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33802 (__old_semctl): Don't use CHECK_SEMCTL.
33803 (__new_semctl): Likewise.
33804 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33805 <bp-checks.h> and <bp-semctl.h>.
33806 (__old_semctl): Don't use CHECK_SEMCTL.
33807 (__new_semctl): Likewise.
33808 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33809 <bp-checks.h> and <bp-semctl.h>.
33810 (semctl): Don't use CHECK_SEMCTL.
33813 * Makerules (elide-bp-thunks): Remove variable.
33814 (elide-routines.oS): Don't use $(elide-bp-thunks).
33815 (elide-routines.os): Likewise.
33816 (elide-routines.o): Likewise.
33817 (elide-routines.op): Likewise.
33818 (elide-routines.og): Likewise.
33819 (objects): Don't use $(bp-thunks).
33820 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33822 (common-generated): Do not add s-proto-bp.d.
33823 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33826 Do not generate makefile rules for bounded-pointer thunks.
33827 * sysdeps/generic/bp-thunks.h: Remove file.
33828 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33829 * sysdeps/unix/s-proto-bp.S: Likewise.
33832 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33833 parts of result separately when argument is not close to line from
33834 -i to i and one part of argument is small.
33835 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33836 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33837 * math/libm-test.inc (cacos_test): Add more tests.
33838 (casin_test): Likewise.
33839 (casinh_test): Likewise.
33840 * sysdeps/i386/fpu/libm-test-ulps: Update.
33841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33843 2013-01-31 David S. Miller <davem@davemloft.net>
33845 * po/de.po: Update from translation team.
33847 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33849 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33851 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33853 * configure.in (_AC_PROG_CC_C89): New definition.
33854 * configure: Regenerate.
33856 * configure.in (AC_PROG_CPP): New definition.
33857 * configure: Regenerate.
33859 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33861 * debug/tst-backtrace.h: New file.
33862 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33863 (ret): Remove variable.
33865 (FAIL): Remove macro.
33866 (NO_INLINE): Likewise.
33867 (fn1): Use match function instead of strstr.
33868 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33869 (ret): Remove variable.
33871 (FAIL): Remove macro.
33872 (NO_INLINE): Likewise.
33873 (fn): Use match function instead of strstr.
33874 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33875 (ret): Remove variable.
33877 (FAIL): Remove macro.
33878 (NO_INLINE): Likewise.
33879 (handle_signal): Use match function instead of strstr.
33880 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33881 (ret): Remove variable.
33883 (FAIL): Remove macro.
33884 (NO_INLINE): Likewise.
33885 (handle_signal): Use match function instead of strstr.
33887 2013-01-23 Roland McGrath <roland@hack.frob.com>
33889 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33891 2013-01-23 David S. Miller <davem@davemloft.net>
33893 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33894 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33895 argument of CAS if possible.
33896 * sysdeps/sparc/sparc64/bits/atomic.h
33897 (__arch_compare_and_exchange_val_32_acq): Likewise.
33898 (__arch_compare_and_exchange_val_64_acq): Likewise.
33900 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33902 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33903 * sysdeps/posix/ulimit.c: ... this.
33904 Include <limits.h>.
33905 * sysdeps/unix/bsd/ulimit.c: Remove file.
33907 2013-01-23 Adam Conrad <adconrad@0c3.net>
33909 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33910 (LDFLAGS-tst-array5): Likewise.
33912 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33915 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33916 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33917 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33918 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33920 2013-01-21 David S. Miller <davem@davemloft.net>
33922 * sysdeps/sparc/backtrace.c: New file.
33923 * sysdeps/sparc/sparc32/backtrace.h: New file.
33924 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33925 * sysdeps/sparc/sparc64/backtrace.h: New file.
33926 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33927 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33930 2013-01-21 Andreas Schwab <schwab@suse.de>
33933 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33936 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33942 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33943 Mark Mitchell <mark@codesourcery.com>
33944 Tom de Vries <tom@codesourcery.com>
33945 Paul Pluzhnikov <ppluzhnikov@google.com>
33947 * debug/tst-backtrace2.c: New file.
33948 * debug/tst-backtrace3.c: Likewise.
33949 * debug/tst-backtrace4.c: Likewise.
33950 * debug/tst-backtrace5.c: Likewise.
33951 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33952 (CFLAGS-tst-backtrace3.c): Likewise.
33953 (CFLAGS-tst-backtrace4.c): Likewise.
33954 (CFLAGS-tst-backtrace5.c): Likewise.
33955 (LDFLAGS-tst-backtrace2): Likewise.
33956 (LDFLAGS-tst-backtrace3): Likewise.
33957 (LDFLAGS-tst-backtrace4): Likewise.
33958 (LDFLAGS-tst-backtrace5): Likewise.
33959 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33960 tst-backtrace4 and tst-backtrace5.
33962 2013-01-18 Anton Blanchard <anton@samba.org>
33963 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33965 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33966 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33967 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33968 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33970 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33971 "+r" and remove output regs list as redundant. Add explicit inline
33972 asm to specify register of return val to work around compiler codegen
33973 bug. Remove (int) cast on return value. Add return type parameter to
33974 use in macro so that this macro does not truncate return value for
33976 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33977 pass to INTERNAL_VSYSCALL_NCS.
33978 (INLINE_VSYSCALL): Add 'long int' as return type to
33979 INTERNAL_VSYSCALL_NCS macro invocation.
33980 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33981 INTERNAL_VSYSCALL_NCS macro invocation.
33982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33984 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33987 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33988 Fix application of SIMD FP exception mask.
33990 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33991 mp_no from a power of two.
33992 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33993 __mpexp_twomm1. Use __pow_mp.
33995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33998 2013-01-17 David S. Miller <davem@davemloft.net>
34000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34002 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34005 * include/complex.h: Condition contents on [!_COMPLEX_H].
34006 (__kernel_casinhf): New prototype.
34007 (__kernel_casinh): Likewise.
34008 (__kernel_casinhl): Likewise.
34009 * math/Makefile (libm_calls): Add k_casinh.
34010 * math/k_casinh.c: New file.
34011 * math/k_casinhf.c: Likewise.
34012 * math/k_casinhl.c: Likewise.
34013 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34014 finite nonzero arguments.
34015 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34016 finite nonzero arguments.
34017 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34018 finite nonzero arguments.
34019 * math/s_casinh.c: Do not include <float.h>.
34020 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34021 * math/s_casinhf.c: Do not include <float.h>.
34022 (__casinhf): Move code for finite nonzero arguments to
34024 * math/s_casinhl.c: Do not include <float.h>.
34025 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34027 (__casinhl): Move code for finite nonzero arguments to
34029 * math/libm-test.inc (cacos_test): Add more tests.
34030 * sysdeps/i386/fpu/libm-test-ulps: Update.
34031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34033 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34035 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34036 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34037 [!HAVE_MREMAP]: Remove [defined linux] case.
34038 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34040 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34042 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34044 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34046 * elf/elf.h (R_386_SIZE32): New relocation.
34047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34049 (elf_machine_rela): Likewise.
34050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34051 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34053 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34055 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34056 (FP_FAST_FMA): Do not define.
34057 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34058 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34059 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34060 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34061 !_SOFT_FLOAT]: Likewise.
34062 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34063 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34065 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34066 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34067 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34069 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34070 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34073 2013-01-16 Andreas Schwab <schwab@suse.de>
34076 * include/stdlib.h (__mktemp): Add declaration.
34077 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34078 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34080 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34082 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34084 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34085 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34086 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34088 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34089 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34091 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34093 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34094 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34095 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34097 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34098 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34100 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34102 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34104 2013-01-15 David S. Miller <davem@davemloft.net>
34106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34107 trunc{,f} to libm-sysdep_routes.
34108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34118 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34119 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34120 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34121 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34122 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34123 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34126 nearbyint{,f} to libm-sysdep_routes.
34127 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34138 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34140 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34144 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34145 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34147 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34148 libc_feholdexcept and libc_fesetenv.
34150 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34152 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34154 2013-01-14 David S. Miller <davem@davemloft.net>
34156 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34157 (SPARC_ASM_VIS2_IFUNC): Likewise.
34158 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34160 use of 'siam' instruction.
34161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34168 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34169 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34194 routines to libm-sysdep_routines.
34195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34198 fdim/fdimf to libm-sysdep_routines.
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34207 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34208 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34209 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34210 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34212 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34214 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34215 to optimize copies.
34217 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34222 local variable MPTWO.
34223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34226 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34228 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34231 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34233 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34235 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34237 * manual/pattern.texi (glob_t): Document gl_flags.
34238 (glob64_t): Likewise.
34240 2013-01-11 David S. Miller <davem@davemloft.net>
34242 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34243 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34244 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34245 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34246 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34247 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34248 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34249 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34250 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34251 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34252 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34253 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34254 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34256 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34257 sparc V9 rather than using V8 code.
34258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34261 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34263 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34266 2013-01-11 Roland McGrath <roland@hack.frob.com>
34268 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34269 not in the main loop.
34270 * configure: Regenerated.
34272 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34274 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34275 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34277 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34278 [!__GLIBC_HAVE_LONG_LONG] case.
34279 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34280 condition to just #else.
34281 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34282 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34283 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34284 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34286 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34287 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34288 #elif condition to just #else.
34289 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34290 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34291 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34292 #elif condition to just #else.
34294 2013-01-11 Steve Ellcey <sellcey@mips.com>
34296 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34297 (EF_MIPS_ARCH_64): Fix value.
34298 (EF_MIPS_ARCH_32R2): New.
34299 (EF_MIPS_ARCH_64R2): New.
34301 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34303 * Makeconfig (+link-pie-before-libc): New.
34304 (+link-pie-after-libc): Likewise.
34305 (+link-pie-tests): Likewise.
34306 (+link-pie): Rewritten.
34307 (link-before-libc): Remove $(config-LDFLAGS).
34308 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34309 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34310 (config-LDFLAGS): Renamed to ...
34311 (rtld-LDFLAGS): This.
34312 (rtld-tests-LDFLAGS): New macro.
34313 (link-libc-rpath-link): Likewise.
34314 (link-libc-tests-rpath-link): Likewise.
34315 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34316 (link-libc): Prepand $(link-libc-rpath-link).
34317 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34318 (test-program-prefix): New macro.
34319 (test-via-rtld-prefix): Likewise.
34320 (test-program-cmd): Likewise.
34321 (host-test-program-cmd): Likewise.
34322 * Makefile ($(common-objpfx)testrun.sh): Replace
34323 $(run-program-prefix) with $(test-program-prefix).
34324 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34326 ($(common-objpfx)shlib.lds): Likewise.
34327 (build-module-helper): Likewise.
34328 ($(common-objpfx)format.lds): Likewise.
34329 * Rules (binaries-pie-tests): New.
34330 (binaries-pie-notests): Likewise.
34331 (binaries-pie): Rewritten.
34332 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34333 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34334 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34335 (make-test-out): Replace $(host-built-program-cmd) with
34336 $(host-test-program-cmd).
34337 * config.make.in (build-hardcoded-path-in-tests): New variable.
34338 * configure.in (--enable-hardcoded-path-in-tests): New configure
34340 (hardcoded_path_in_tests): New AC_SUBST.
34341 * configure: Regenerated.
34342 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34343 $(built-program-cmd) with $(test-program-cmd).
34344 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34345 (test_program_cmd): This.
34346 * elf/Makefile ($(objpfx)order.out): Run test with
34347 $(test-program-prefix).
34348 ($(objpfx)order2.out): Likewise.
34349 ($(objpfx)tst-initorder.out): Likewise.
34350 ($(objpfx)tst-initorder2.out): Likewise.
34351 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34352 $(test-program-cmd).
34353 ($(objpfx)tst-array1-static.out): Likewise.
34354 ($(objpfx)tst-array2.out): Likewise.
34355 ($(objpfx)tst-array3.out): Likewise.
34356 ($(objpfx)tst-array4.out): Likewise.
34357 ($(objpfx)tst-array5.out): Likewise.
34358 ($(objpfx)tst-array5-static.out): Likewise.
34359 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34360 $(test-program-cmd).
34361 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34362 $(run-program-prefix) with $(test-program-prefix).
34363 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34364 (test_program_prefix): This.
34365 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34366 $(run-program-prefix) with $(test-program-prefix).
34367 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34368 (test_program_prefix): This.
34369 * iconvdata/tst-tables.sh: Likewise.
34370 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34371 $(run-program-prefix) with $(test-program-prefix).
34372 ($(objpfx)tst-translit.out): Likewise.
34373 ($(objpfx)tst-gettext2.out): Likewise.
34374 ($(objpfx)tst-gettext4.out): Likewise.
34375 ($(objpfx)tst-gettext6.out): Likewise.
34376 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34377 (test_program_prefix): This.
34378 * intl/tst-gettext2.sh: Likewise.
34379 * intl/tst-gettext4.sh Likewise.
34380 * intl/tst-gettext6.sh: Likewise.
34381 * intl/tst-translit.sh: Likewise.
34382 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34383 with $(test-program-cmd).
34384 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34385 $(run-program-prefix) with $(test-program-prefix).
34386 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34387 (test_program_prefix): This.
34388 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34389 $(run-program-prefix) with $(test-program-prefix).
34390 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34391 (test_program_prefix): This.
34392 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34393 * posix/Makefile ($(objpfx)globtest.out): Replace
34394 $(run-via-rtld-prefix) and $(test-wrapper) with
34395 $(test-program-prefix) and $(test-via-rtld-prefix).
34396 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34397 $(test-program-prefix).
34398 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34399 $(host-test-program-cmd).
34400 (tst-spawn-ARGS): Likewise.
34401 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34402 $(test-program-prefix).
34403 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34404 (test_via_rtld_prefix): This.
34405 (test_wrapper): Renamed to ...
34406 (test_program_prefix): This.
34407 (run_program_prefix): Replaced by test_program_prefix.
34408 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34409 (test_program_prefix): This.
34410 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34411 with $(host-test-program-cmd).
34412 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34413 $(run-program-prefix) with $(test-program-prefix).
34414 ($(objpfx)tst-printf.out): Likewise.
34415 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34416 $(test-program-cmd).
34417 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34418 (test_program_prefix): This.
34419 * stdio-common/tst-unbputc.sh: Likewise.
34420 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34421 $(run-program-prefix) with $(test-program-prefix).
34422 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34423 (test_program_prefix): This.
34424 * string/Makefile ($(objpfx)tst-svc.out): Replace
34425 $(built-program-cmd) with $(test-program-cmd).
34427 2013-01-11 Andreas Jaeger <aj@suse.de>
34430 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34431 value. Sync with Linux 3.7.
34433 2013-01-10 David S. Miller <davem@davemloft.net>
34435 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34436 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34437 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34439 2013-01-10 Roland McGrath <roland@hack.frob.com>
34441 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34443 * configure: Regenerated.
34445 2013-01-10 David S. Miller <davem@davemloft.net>
34447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34448 sparc V9 rather than using V8 code.
34449 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34450 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34452 2013-01-10 Roland McGrath <roland@hack.frob.com>
34454 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34455 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34456 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34457 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34458 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34459 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34460 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34461 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34462 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34463 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34464 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34465 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34466 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34467 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34468 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34469 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34470 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34471 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34472 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34473 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34474 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34475 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34476 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34477 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34478 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34479 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34480 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34482 2013-01-10 David S. Miller <davem@davemloft.net>
34484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34486 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34488 * posix/Makefile (tests-static): New variable.
34489 (tests): Add $(tests-static).
34490 (tst-exec-static-ARGS): New variable.
34491 (tst-spawn-static-ARGS): Likewise.
34492 * posix/tst-exec-static.c: New file.
34493 * posix/tst-spawn-static.c: Likewise.
34494 * posix/tst-exec.c: Support run directly.
34495 * posix/tst-spawn.c: Likewise.
34497 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34499 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34501 * math/bits/mathcalls.h (llrint): Likewise.
34502 (llround): Likewise.
34503 * stdlib/stdlib.h (struct drand48_data): Likewise.
34504 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34505 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34506 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34508 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34510 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34511 (elf_greg_t): Likewise.
34512 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34513 (__jmp_buf): Likewise.
34514 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34516 (llrint): Likewise, for all definitions.
34517 (llrintl): Likewise.
34519 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34520 Remove [__GNUC__] condition.
34521 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34522 condition to just [__USE_ISOC99].
34523 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34525 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34528 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34529 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34531 (_POSIX_V6_ILP32_OFF32): Likewise.
34532 (_XBS5_ILP32_OFF32): Likewise.
34533 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34534 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34536 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34538 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34541 doubles __mpexp_twomm1. Adjust usage.
34542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34545 2013-01-10 Andreas Schwab <schwab@suse.de>
34548 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34549 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34551 2013-01-09 David S. Miller <davem@davemloft.net>
34554 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34555 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34556 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34557 (TCP_FASTOPEN): Define.
34558 (tcp_repair_opt): New structure.
34559 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34561 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34562 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34563 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34564 (tcp_cookie_transactions): New structure.
34566 2013-01-09 Anton Blanchard <anton@samba.org>
34568 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34569 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34571 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34573 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34575 * include/features.h (__USE_ANSI): Remove.
34577 2013-01-09 Roland McGrath <roland@hack.frob.com>
34579 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34581 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34583 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34585 * sysdeps/s390/fpu/libm-test-ulps: Update.
34587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34589 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34593 (denorm): Likewise.
34594 (__mp_dbl): Likewise.
34595 (__dbl_mp): Likewise.
34596 (add_magnitudes): Likewise.
34597 (sub_magnitudes): Likewise.
34603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34607 (denorm): Likewise.
34608 (__mp_dbl): Likewise.
34609 (__dbl_mp): Likewise.
34610 (add_magnitudes): Likewise.
34611 (sub_magnitudes): Likewise.
34617 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34621 (denorm): Likewise.
34622 (__mp_dbl): Likewise.
34623 (__dbl_mp): Likewise.
34624 (add_magnitudes): Likewise.
34625 (sub_magnitudes): Likewise.
34632 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34634 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34635 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34636 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34637 2 && __USE_EXTERN_INLINES]: Likewise.
34639 2013-01-08 Andreas Jaeger <aj@suse.de>
34642 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34644 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34645 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34647 2013-01-07 Anton Blanchard <anton@samba.org>
34649 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34650 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34651 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34652 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34653 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34654 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34655 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34656 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34658 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34659 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34660 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34664 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34665 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34666 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34667 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34668 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34672 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34673 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34674 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34675 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34676 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34677 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34678 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34679 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34682 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34683 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34684 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34685 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34686 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34687 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34689 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34691 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34693 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34695 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34696 (__MALLOC_PMT): Likewise.
34697 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34698 [__GNUC__], only on [_LIBC].
34699 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34700 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34701 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34702 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34703 forward declaration.
34704 (realloc_hook_ini): Likewise.
34705 (memalign_hook_ini): Likewise.
34706 (__libc_memalign): Do not use __MALLOC_PMT in variable
34708 (__libc_valloc): Likewise.
34709 (__libc_pvalloc): Likewise.
34710 (__libc_calloc): Likewise.
34711 (__posix_memalign): Likewise.
34714 * math/s_casinh.c: Include <float.h>.
34715 (__casinh): Do not do computation with squaring and square root
34716 for large arguments.
34717 * math/s_casinhf.c: Include <float.h>.
34718 (__casinhf): Do not do computation with squaring and square root
34719 for large arguments.
34720 * math/s_casinhl.c: Include <float.h>.
34721 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34722 (__casinhl): Do not do computation with squaring and square root
34723 for large arguments.
34724 * math/libm-test.inc (casin_test): Add more tests.
34725 (casinh_test): Likewise.
34726 * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34731 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34732 (__x86_64_raw_data_cache_size): Likewise.
34733 (__x86_64_data_cache_size_half): Likewise.
34734 (__x86_64_raw_data_cache_size_half): Likewise.
34735 (__x86_64_shared_cache_size): Likewise.
34736 (__x86_64_raw_shared_cache_size): Likewise.
34737 (__x86_64_shared_cache_size_half): Likewise.
34738 (__x86_64_raw_shared_cache_size_half): Likewise.
34739 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34741 (__x86_data_cache_size): This.
34742 (__x86_64_raw_data_cache_size): Renamed to ...
34743 (__x86_raw_data_cache_size): This.
34744 (__x86_64_data_cache_size_half): Renamed to ...
34745 (__x86_data_cache_size_half): This.
34746 (__x86_64_raw_data_cache_size_half): Renamed to ...
34747 (__x86_raw_data_cache_size_half): This.
34748 (__x86_64_shared_cache_size): Renamed to ...
34749 (__x86_shared_cache_size): This.
34750 (__x86_64_raw_shared_cache_size): Renamed to ...
34751 (__x86_raw_shared_cache_size): This.
34752 (__x86_64_shared_cache_size_half): Renamed to ...
34753 (__x86_shared_cache_size_half): This.
34754 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34755 (__x86_raw_shared_cache_size_half): This.
34756 * sysdeps/x86_64/memcpy.S: Updated.
34757 * sysdeps/x86_64/memset.S: Likewise.
34758 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34762 2013-01-04 David S. Miller <davem@davemloft.net>
34764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34766 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34768 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34769 1 to avoid redefinition warning.
34770 (__USE_GNU): Don't define.
34771 (init_signaling_nan): Protoize.
34773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34775 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34777 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34779 (__cpymn): Likewise.
34780 (norm): Remove commented code.
34781 (denorm): Likewise.
34782 (__mp_dbl): Likewise.
34784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34785 (__cpymn): Likewise.
34786 (norm): Remove commented code.
34787 (denorm): Likewise.
34788 (__mp_dbl): Likewise.
34791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34792 mp_no value for 1.0 and 2.0.
34793 (norm): Use RADIXI instead of radixi.d.
34794 (denorm): Likewise.
34795 (__mul): Use 0.0 instead of zero.d.
34796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34797 mp_no value for 1.0 and 2.0.
34798 (norm): Use RADIXI instead of radixi.d.
34799 (denorm): Likewise.
34800 (__mul): Use 0.0 instead of zero.d.
34802 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34805 * math/s_casinh.c (__casinh): Reduce finite argument to first
34806 quadrant then set signs of results at the end.
34807 * math/s_casinhf.c (__casinhf): Likewise.
34808 * math/s_casinhl.c (__casinhl): Likewise.
34809 * math/libm-test.inc (casin_test): Add more tests.
34810 (casinh_test): Likewise.
34811 * sysdeps/i386/fpu/libm-test-ulps: Update.
34812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34814 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34816 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34818 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34820 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34822 (denorm): Likewise.
34823 (__mp_dbl): Likewise.
34826 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34827 and adjust the header comment.
34829 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34830 variable name from declaration.
34832 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34835 Initialize COMMON_CPUID_INDEX_7 element.
34836 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34837 (CPUID_RTM): Likewise.
34838 (HAS_RTM): Likewise.
34839 (COMMON_CPUID_INDEX_7): New enum.
34841 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34844 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34845 size is zero, record memory as freed.
34847 2013-01-03 Andreas Jaeger <aj@suse.de>
34849 * po/ia.po: Add new Interlingua translation.
34851 2012-01-03 Allan McRae <allan@archlinux.org>
34853 * locale/programs/localedef.c: Fix description of '--posix' flag.
34855 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34857 * NEWS: Update dates in second copyright notice.
34858 * README: Update copyright dates in example.
34859 * manual/libc.texinfo: Update copyright dates.
34860 * scripts/test-installation.pl: Update copyright date in --version
34863 * hurd/ctty-input.c: Fix copyright notice formatting.
34864 * hurd/ctty-output.c: Likewise.
34865 * hurd/dtable.c: Likewise.
34866 * hurd/hurd-raise.c: Likewise.
34867 * hurd/hurdprio.c: Likewise.
34868 * hurd/msgportdemux.c: Likewise.
34869 * misc/sys/file.h: Likewise.
34870 * misc/sys/ioctl.h: Likewise.
34871 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34872 * sysdeps/mach/hurd/chdir.c: Likewise.
34873 * sysdeps/mach/hurd/fchdir.c: Likewise.
34874 * sysdeps/mach/hurd/rename.c: Likewise.
34875 * sysdeps/mach/hurd/rmdir.c: Likewise.
34876 * sysdeps/mach/hurd/seekdir.c: Likewise.
34877 * sysdeps/mach/hurd/setsid.c: Likewise.
34878 * sysdeps/posix/wait3.c: Likewise.
34880 * All files with FSF copyright notices: Update copyright dates
34881 using scripts/update-copyrights.
34882 * intl/plural.c: Regenerated.
34883 * locale/programs/charmap-kw.h: Likewise.
34884 * locale/programs/locfile-kw.h: Likewise.
34886 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34888 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34891 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34892 calculation loop and add branch prediction.
34894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34895 check access beyond bounds of m1np.
34897 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34899 (__inv): Remove local variable MPTWO to use the global
34901 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34902 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34904 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34905 MP3HALFS static const.
34907 2013-01-01 David S. Miller <davem@davemloft.net>
34909 * po/ca.po: Update from translation team.
34911 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34913 * scripts/update-copyrights: New file.
34914 * Makeconfig: Reformat copyright notice.
34915 * ctype/ctype.h: Likewise.
34916 * debug/swprintf_chk.c: Likewise.
34917 * elf/dl-cache.c: Likewise.
34918 * elf/dl-debug.c: Likewise.
34919 * elf/dl-object.c: Likewise.
34920 * grp/initgroups.c: Likewise.
34921 * hurd/Makefile: Likewise.
34922 * hurd/hurd/signal.h: Likewise.
34923 * hurd/hurdfault.c: Likewise.
34924 * hurd/hurdioctl.c: Likewise.
34925 * hurd/hurdlookup.c: Likewise.
34926 * hurd/intr-msg.c: Likewise.
34927 * iconv/gconv_open.c: Likewise.
34928 * libio/swprintf.c: Likewise.
34929 * locale/lc-ctype.c: Likewise.
34930 * locale/nl_langinfo.c: Likewise.
34931 * mach/Machrules: Likewise.
34932 * mach/Makefile: Likewise.
34933 * malloc/obstack.h: Likewise.
34934 * manual/Makefile: Likewise.
34935 * manual/tsort.awk: Likewise.
34936 * misc/bits/stab.def: Likewise.
34937 * nis/nis_print_group_entry.c: Likewise.
34938 * nis/nis_table.c: Likewise.
34939 * nis/nss_compat/compat-pwd.c: Likewise.
34940 * nis/nss_compat/compat-spwd.c: Likewise.
34941 * po/Makefile: Likewise.
34942 * posix/fnmatch.c: Likewise.
34943 * posix/regex.h: Likewise.
34944 * resolv/Makefile: Likewise.
34945 * resolv/nss_dns/dns-network.c: Likewise.
34946 * resolv/res_hconf.c: Likewise.
34947 * scripts/gen-sorted.awk: Likewise.
34948 * soft-fp/soft-fp.h: Likewise.
34949 * stdio-common/printf.h: Likewise.
34950 * stdlib/monetary.h: Likewise.
34951 * stdlib/random.c: Likewise.
34952 * stdlib/random_r.c: Likewise.
34953 * sysdeps/generic/Makefile: Likewise.
34954 * sysdeps/gnu/Makefile: Likewise.
34955 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34957 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34965 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34966 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34968 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34969 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34970 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34971 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34972 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34975 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34976 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34977 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34983 * sysdeps/mach/hurd/errnos.awk: Likewise.
34984 * sysdeps/mach/hurd/fork.c: Likewise.
34985 * sysdeps/mach/hurd/getcwd.c: Likewise.
34986 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34987 * sysdeps/mach/hurd/mmap.c: Likewise.
34988 * sysdeps/mach/hurd/utimes.c: Likewise.
34989 * sysdeps/mach/hurd/xmknod.c: Likewise.
34990 * sysdeps/posix/profil.c: Likewise.
34991 * sysdeps/posix/readdir_r.c: Likewise.
34992 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34993 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34994 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34995 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34997 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34999 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35001 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35002 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35003 * sysdeps/pthread/lio_listio.c: Likewise.
35004 * sysdeps/sparc/dl-procinfo.h: Likewise.
35005 * sysdeps/unix/i386/sysdep.S: Likewise.
35006 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35007 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35008 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35009 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35011 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35012 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35013 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35014 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35015 * sysdeps/wordsize-32/divdi3.c: Likewise.
35016 * time/sys/time.h: Likewise.
35017 * wcsmbs/Makefile: Likewise.
35019 2013-01-01 David S. Miller <davem@davemloft.net>
35021 * po/fr.po: Update from translation team.
35023 * catgets/gencat.c: Update copyright year.
35024 * csu/version.c: Likewise.
35025 * debug/catchsegv.sh: Likewise.
35026 * debug/pcprofiledump.c: Likewise.
35027 * debug/xtrace.sh: Likewise.
35028 * elf/ldconfig.c: Likewise.
35029 * elf/ldd.bash.in: Likewise.
35030 * elf/pldd.c: Likewise.
35031 * elf/sotruss.ksh: Likewise.
35032 * elf/sprof.c: Likewise.
35033 * iconv/iconv_prog.c: Likewise.
35034 * iconv/iconvconfig.c: Likewise.
35035 * locale/programs/locale.c: Likewise.
35036 * locale/programs/localedef.c: Likewise.
35037 * login/programs/pt_chown.c: Likewise.
35038 * malloc/memusage.sh: Likewise.
35039 * malloc/memusagestat.c: Likewise.
35040 * malloc/mtrace.pl: Likewise.
35041 * nscd/nscd.c: Likewise.
35042 * nss/getent.c: Likewise.
35043 * nss/makedb.c: Likewise.
35044 * posix/getconf.c: Likewise.
35046 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35048 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35051 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35053 * math/bits/mathcalls.h (modf): Use __nonnull.
35055 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35057 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35058 (split): Use macro CN instead of the bare value.
35059 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35062 instead of the bare value.
35063 (power1): Likewise.
35065 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35067 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35069 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35071 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35073 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35074 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35075 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35076 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35078 2012-12-28 Andreas Jaeger <aj@suse.de>
35080 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35081 values are from Linux 3.7.
35083 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35084 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35086 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35088 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35091 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35093 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35094 variables with preprocessor constants.
35095 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35096 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35097 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35099 2012-12-27 Bruno Haible <bruno@clisp.org>
35102 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35105 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35108 and use variable directly.
35109 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35111 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35113 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35116 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35118 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35119 include directive. Remove local variable MPONE.
35120 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35121 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35122 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35124 2012-12-25 David S. Miller <davem@davemloft.net>
35126 * version.h (RELEASE): Set to "development".
35127 (VERSION): Set to "2.17.90".
35128 * NEWS: Add 2.18 section.
35130 2012-12-21 David S. Miller <davem@davemloft.net>
35132 * po/hr.po: Update from translation team.
35134 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35136 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35138 2012-12-19 Steve Ellcey <sellcey@mips.com>
35140 * NEWS: Mention new memcpy for MIPS.
35142 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35144 * manual/contrib.texi (Contributors): Spelling correction.
35146 2012-12-15 David S. Miller <davem@davemloft.net>
35148 * po/ru.po: Update from translation team.
35150 2012-12-13 David S. Miller <davem@davemloft.net>
35152 * NEWS: Mention IFUNC testsuite enhancements.
35154 * po/pl.po: Update from translation team.
35155 * po/bg.po: Likewise.
35157 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35158 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35160 2012-12-11 David S. Miller <davem@davemloft.net>
35162 * po/sv.po: Update from translation team.
35164 * po/vi.po: Update from translation team.
35166 * po/cs.po: Update from translation team.
35168 * po/de.po: Update from translation team.
35169 * po/eo.po: Likewise.
35170 * po/nl.po: Likewise.
35172 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35175 * manual/argp.texi (Argp Helper Functions): Move node to follow
35176 Argp Parsing State.
35179 * manual/conf.texi (Limits on File System Capacity): Mention if
35180 terminating null is included in the max size.
35182 2012-12-10 Andreas Jaeger <aj@suse.de>
35184 * po/cs.po: Update from translation team.
35186 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35188 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35189 void pointer and cast to uintptr_t.
35190 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35192 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35193 * sysdeps/s390/s390-64/memset.S: Likewise.
35195 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35198 * menual/message.texi (Message Translation): Fix typos.
35199 (Helper programs for gettext): Likewise.
35201 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35204 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35207 2012-12-07 David S. Miller <davem@davemloft.net>
35209 * po/libc.pot: Update.
35211 2012-12-07 Richard Henderson <rth@redhat.com>
35214 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35215 normal/normal case to before the switch.
35216 (_FP_DIV): Likewise.
35218 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35219 Mike Frysinger <vapier@gentoo.org>
35221 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35222 check for __NR_fadvise64_64.
35224 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35226 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35227 0, not just to plain "0" as a statement.
35228 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35231 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35233 * NEWS: Use sourceware.org in Bugzilla URL.
35235 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35238 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35240 * stdio-common/tst-put-error.c (do_test): Add newline to the
35241 padded test to ensure flush.
35243 2012-12-05 Jeff Law <law@redhat.com>
35245 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35247 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35249 * README: Don't refer to ports add-on as distributed separately.
35250 Mention AArch64 in list of systems supported in the ports add-on.
35252 * LICENSES: Add more non-FSF copyright and license notices.
35254 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35257 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35259 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35260 10000 as width of padded output.
35262 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35264 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35266 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35267 variable LX with __attribute__ ((unused)).
35268 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35270 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35272 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35273 with __attribute__ ((unused)).
35275 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35277 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35279 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35281 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35282 (CFLAGS-nldbl-acos.c): New variable.
35283 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35284 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35285 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35286 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35287 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35288 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35289 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35290 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35291 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35292 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35293 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35294 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35295 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35296 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35297 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35298 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35299 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35300 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35301 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35302 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35303 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35304 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35305 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35306 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35307 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35308 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35309 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35310 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35311 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35312 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35313 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35314 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35315 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35316 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35317 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35318 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35319 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35320 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35321 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35322 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35323 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35324 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35325 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35326 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35327 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35328 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35329 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35330 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35331 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35332 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35333 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35334 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35335 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35336 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35337 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35338 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35339 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35340 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35341 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35342 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35343 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35344 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35345 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35346 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35347 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35348 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35349 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35350 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35351 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35352 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35353 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35354 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35355 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35356 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35357 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35358 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35359 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35360 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35361 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35362 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35363 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35364 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35365 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35366 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35367 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35368 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35369 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35370 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35371 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35372 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35373 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35374 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35375 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35376 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35377 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35378 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35379 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35382 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35386 whole low double instead of just low 47 bits when splitting values
35389 2012-12-03 Allan McRae <allan@archlinux.org>
35391 * manual/stdio.texi (Predefined Printf Handlers): Remove
35392 @hsep and @vsep usage.
35394 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35396 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35397 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35399 2012-12-03 Jeff Law <law@redhat.com>
35401 * time/sys/time.h (settimeofday): Do not mark TV argument
35404 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35406 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35407 when currently writing and seek to current position when not.
35408 * libio/Makefile (tests): Remove bug-fclose1.
35409 * libio/bug-fclose1.c: Delete.
35411 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35413 * manual/arith.texi (feenableexcept): Fix typo.
35414 (fedisableexcept): Likewise.
35416 2012-11-30 Roland McGrath <roland@hack.frob.com>
35418 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35419 second, differently-typed declaration, rather than a cast.
35421 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35423 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35424 * include/rpc/svc.h: ... here.
35426 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35429 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35430 depending n and resplen2 to catch cases where answer
35433 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35435 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35436 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35438 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35442 2012-11-29 Roland McGrath <roland@hack.frob.com>
35444 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35446 2012-11-28 Jeff Law <law@redhat.com>
35449 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35450 dataset_temporary. Track alloca usage into alloca_used.
35451 If dataset is large allocate and release it via malloc/free.
35453 2012-06-04 Florian Weimer <fweimer@redhat.com>
35456 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35458 2012-11-28 David S. Miller <davem@davemloft.net>
35460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35462 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35465 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35466 of pi/2 rounded to nearest to 64 bits.
35467 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35468 nearest to 64 bits.
35469 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35472 2012-11-28 Jeff Law <law@redhat.com>
35473 Martin Osvald <mosvald@redhat.com>
35476 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35477 * sunrpc/svc.c: Include time.h.
35478 (__svc_accept_failed): New function.
35479 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35480 any reason other than EINTR, call __svc_accept_failed.
35481 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35482 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35484 2012-11-28 Andreas Schwab <schwab@suse.de>
35486 * scripts/abilist.awk: Also handle indirect functions in .opd
35489 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35492 * sysdeps/x86/fpu/powl_helper.c: New file.
35493 * sysdeps/x86/fpu/Makefile: Likewise.
35494 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35496 (__ieee754_powl): Use __powl_helper for finite arguments except
35497 integer exponents below 8.
35498 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35500 (__ieee754_powl): Use __powl_helper for finite arguments except
35501 integer exponents below 8.
35502 * math/libm-test.inc (pow_test): Add more tests and enable some
35503 previously disabled tests.
35504 * sysdeps/i386/fpu/libm-test-ulps: Update.
35505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35507 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35508 Carlos O'Donell <carlos_odonell@mentor.com>
35510 * nss/makedb.c (is_prime): Assert that input is odd and greater
35511 than 4. Note that fact in a comment too.
35512 (next_prime): Add 4 to input.
35514 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35517 * libio/Makefile (tests): Add test case tst-fwrite-error.
35518 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35519 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35520 * libio/tst-fwrite-error.c: New test case.
35522 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35524 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35525 before casting to void *.
35526 * include/libc-internal.h (__pointer_type): New macro.
35527 (__integer_if_pointer_type_sub): Likewise.
35528 (__integer_if_pointer_type): Likewise.
35529 (cast_to_integer): Likewise.
35530 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35531 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35532 before casting to atomic64_t.
35533 (atomic_exchange_acq): Likewise.
35534 (__arch_exchange_and_add_body): Likewise.
35535 (__arch_add_body): Likewise.
35536 (atomic_add_negative): Likewise.
35537 (atomic_add_zero): Likewise.
35539 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35541 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35542 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35543 (add_fdes): Likewise.
35544 (linear_search_fdes): Likewise.
35545 (binary_search_unencoded_fdes): Likewise.
35547 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35549 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35551 2012-11-24 Adam Conrad <adconrad@0c3.net>
35553 * configure.in: Autodetect C++ header directories.
35554 * configure: Regenerated.
35556 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35558 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35560 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35564 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35566 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35567 LDBL_MANT_DIG == 106]: Disable some tests.
35568 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35570 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35574 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35575 input for small inputs. Return +/- pi/2 for large inputs.
35576 * math/libm-test.inc (atan_test): Add more tests.
35578 * sysdeps/generic/unwind-dw2-fde-glibc.c
35579 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35580 __attribute__ ((unused)).
35583 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35584 x * y if x and y are nonzero and z is zero.
35587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35588 nonzero exponents with absolute value below 0x1p-117 to +/-
35592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35593 up arguments below 2**-450, not just those below 2**-500.
35594 * math/libm-test.inc (hypot_test): Add another test.
35597 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35598 Return a+b for ratio over 2**120, not 2**60.
35599 * math/libm-test.inc (hypot_test): Add another test.
35601 * math/libm-test.inc (clog_test): Use
35602 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35603 (clog10_test): Likewise.
35606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35608 2012-11-22 Andreas Schwab <schwab@suse.de>
35610 * sysdeps/i386/fpu/libm-test-ulps: Update.
35612 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35614 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35615 printf output with newline.
35617 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35620 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35621 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35622 -z nodlopen, -z initfirst and -z execstack support.
35623 * configure: Regenerated.
35625 * elf/elf.h (DF_1_NODIRECT): New macro.
35626 (DF_1_IGNMULDEF): Likewise.
35627 (DF_1_NOKSYMS): Likewise.
35628 (DF_1_NOHDR): Likewise.
35629 (DF_1_EDITED): Likewise.
35630 (DF_1_NORELOC): Likewise.
35631 (DF_1_SYMINTPOSE): Likewise.
35632 (DF_1_GLOBAUDIT): Likewise.
35633 (DF_1_SINGLETON): Likewise.
35634 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35635 DT_1_SUPPORTED_MASK bits.
35636 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35638 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35640 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35642 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35644 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35647 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35648 (sendmmsg): Move declarations...
35649 * socket/sys/socket.h: ... here.
35650 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35651 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35653 * socket/recvmmsg.c: ... this new file.
35654 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35655 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35656 definition of __sendmmsg hidden.
35657 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35658 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35659 Move ENOSYS stub into and include it from...
35660 * socket/sendmmsg.c: ... this new file.
35661 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35662 (sysdep_routines): Move recvmmsg and sendmmsg...
35663 * socket/Makefile (routines): ... here.
35664 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35665 (GLIBC_PRIVATE): Add __sendmmsg.
35666 * include/sys/socket.h (__sendmmsg): Add declarations.
35667 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35670 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35673 variable I1 with __attribute__ ((unused)).
35674 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35676 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35678 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35679 DUMMY variables with __attribute__ ((unused)).
35681 * bits/byteswap.h: Include <bits/types.h>.
35682 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35684 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35686 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35687 string_t. Do not manually set errno.
35688 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35689 length with __strnlen. Make sure to both set errno and return it on
35692 2012-11-19 David S. Miller <davem@davemloft.net>
35694 With help from Joseph Myers.
35695 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35696 very large arguments properly.
35697 * math/libm-test.inc (atan_test): New tests.
35698 (atan2_test): New tests.
35699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35702 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35705 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35708 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35709 [POSIX] (EADDRNOTAVAIL): Likewise.
35710 [POSIX] (EAFNOSUPPORT): Likewise.
35711 [POSIX] (EALREADY): Likewise.
35712 [POSIX] (ECONNABORTED): Likewise.
35713 [POSIX] (ECONNREFUSED): Likewise.
35714 [POSIX] (ECONNRESET): Likewise.
35715 [POSIX] (EDESTADDRREQ): Likewise.
35716 [POSIX] (EDQUOT): Likewise.
35717 [POSIX] (EHOSTUNREACH): Likewise.
35718 [POSIX] (EIDRM): Likewise.
35719 [POSIX] (EISCONN): Likewise.
35720 [POSIX] (ELOOP): Likewise.
35721 [POSIX] (EMULTIHOP): Likewise.
35722 [POSIX] (ENETDOWN): Likewise.
35723 [POSIX] (ENETUNREACH): Likewise.
35724 [POSIX] (ENOBUFS): Likewise.
35725 [POSIX] (ENODATA): Likewise.
35726 [POSIX] (ENOLINK): Likewise.
35727 [POSIX] (ENOMSG): Likewise.
35728 [POSIX] (ENOPROTOOPT): Likewise.
35729 [POSIX] (ENOSR): Likewise.
35730 [POSIX] (ENOSTR): Likewise.
35731 [POSIX] (ENOTCONN): Likewise.
35732 [POSIX] (ENOTSOCK): Likewise.
35733 [POSIX] (EOPNOTSUPP): Likewise.
35734 [POSIX] (EOVERFLOW): Likewise.
35735 [POSIX] (EPROTO): Likewise.
35736 [POSIX] (EPROTONOSUPPORT): Likewise.
35737 [POSIX] (EPROTOTYPE): Likewise.
35738 [POSIX] (ESTALE): Likewise.
35739 [POSIX] (ETIME): Likewise.
35740 [POSIX] (ETXTBSY): Likewise.
35741 [POSIX] (EWOULDBLOCK): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35743 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35744 [POSIX] (SEEK_CUR): Likewise.
35745 [POSIX] (SEEK_END): Likewise.
35746 [POSIX || UNIX98] (mode_t): Do not require.
35747 [POSIX] (off_t): Likewise.
35748 [POSIX] (pid_t): Likewise.
35749 [POSIX] (sys/stat.h): Do not allow header.
35750 [POSIX] (unistd.h): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35752 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35754 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35756 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35757 sigevent): Specify elements.
35758 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35760 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35761 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35763 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35764 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35765 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35766 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35767 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35768 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35769 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35770 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35772 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35773 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35774 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35775 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35776 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35778 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35780 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35782 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35784 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35785 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35786 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35787 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35788 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35789 Specify lower bound on value.
35790 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35791 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35792 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35793 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35794 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35795 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35796 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35797 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35799 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35801 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35802 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35803 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35804 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35805 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35806 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35809 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35810 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35811 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35812 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35813 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35814 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35815 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35816 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35818 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35820 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35821 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35822 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35823 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35824 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35825 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35827 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35829 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35830 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35831 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35832 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35833 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35835 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35837 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35838 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35839 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35840 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35841 specify as optional.
35842 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35843 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35844 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35845 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35846 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35847 [XPG3] (NL_LANGMAX): Likewise.
35848 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35849 [POSIX || XPG3] (NL_NMAX): Likewise.
35850 [POSIX || XPG3] (NL_SETMAX): Likewise.
35851 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35852 [XPG3] (NZERO): Likewise.
35853 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35854 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35855 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35856 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35857 (REG_ERANGE): Expect.
35858 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35860 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35861 Use (void) in prototype.
35862 [POSIX] (*_t): Allow.
35863 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35864 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35865 (WRDE_BADVAL): Expect.
35867 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35869 [XPG3 || XPG4] (O_RSYNC): Likewise.
35870 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35872 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35873 [XPG3 || XPG4] (sigqueue): Likewise.
35874 [XPG3 || XPG4] (sigtimedwait): Likewise.
35875 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35876 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35877 [XPG3 || XPG4] (vsnprintf): Likewise.
35878 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35880 [XPG3 || XPG4] (blksize_t): Likewise.
35881 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35883 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35884 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35885 [XPG3 || XPG4] (struct itimerspec): Likewise.
35886 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35887 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35888 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35889 [XPG3 || XPG4] (clockid_t): Likewise.
35890 [XPG3 || XPG4] (timer_t): Likewise.
35891 [XPG3 || XPG4] (clock_getres): Likewise.
35892 [XPG3 || XPG4] (clock_gettime): Likewise.
35893 [XPG3 || XPG4] (clock_settime): Likewise.
35894 [XPG3 || XPG4] (nanosleep): Likewise.
35895 [XPG3 || XPG4] (timer_create): Likewise.
35896 [XPG3 || XPG4] (timer_delete): Likewise.
35897 [XPG3 || XPG4] (timer_gettime): Likewise.
35898 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35899 [XPG3 || XPG4] (timer_settime): Likewise.
35900 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35901 [XPG3 || XPG4] (getlogin_r): Likewise.
35902 [XPG3 || XPG4] (pread): Likewise.
35903 [XPG3 || XPG4] (pthread_atfork): Likewise.
35904 [XPG3 || XPG4] (pwrite): Likewise.
35907 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35910 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35912 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35913 finalizing MALLSTREAM.
35915 * sysdeps/mach/hurd/syncfs.c: New file.
35917 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35920 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35921 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35922 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35923 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35924 (_nss_dns_gethostbyname4_r): Likewise.
35925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35926 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35928 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35931 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35933 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35935 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35936 * elf/cache.c (print_entry): Print ",AArch64" for
35939 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35940 * elf/cache.c (print_entry): Print ",hard-float" for
35943 2012-11-18 David S. Miller <davem@davemloft.net>
35945 With help from Joseph Myers.
35946 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35948 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35950 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35951 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35953 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35954 * math/libm-test.inc (y0_test): New tests.
35955 (y1_test): New tests.
35956 * sysdeps/i386/fpu/libm-test-ulps: Update.
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35960 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35962 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35964 * configure: Regenerated.
35966 2012-11-17 David S. Miller <davem@davemloft.net>
35969 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35970 nonzero exponents with absolute value below 0x1p-128 to +/-
35973 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35975 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35977 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35979 * posix/getconf-speclist.c: New file.
35980 * posix/posix-envs.def: Likewise.
35981 * posix/confstr.c (START_ENV_GROUP): New macro.
35982 (END_ENV_GROUP): Likewise.
35983 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35984 (KNOWN_PRESENT_ENV_STRING): Likewise.
35985 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35986 (UNKNOWN_ENVIRONMENT): Likewise.
35987 (confstr): Include posix-envs.def instead of handling
35988 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35989 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35990 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35991 (END_ENV_GROUP): Likewise.
35992 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35993 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35994 (UNKNOWN_ENVIRONMENT): Likewise.
35995 (__sysconf): Include posix-envs.def instead of handling associated
35996 cases directly here.
35997 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35998 preprocessing getconf-speclist.c rather than running getconf or
35999 generating empty file.
36001 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36003 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36005 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36008 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36010 2012-11-16 David S. Miller <davem@davemloft.net>
36012 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36013 smaller than LDBL_EPSILON/2.0L, just return xm1.
36015 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36017 * elf/tst-array1.c (init): Set constructor priority to 1000.
36018 (fini): Set destructor priority to 1000.
36019 * elf/tst-array2dep.c: Likewise.
36021 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36024 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36025 (_IO_new_file_xsputn): Also return EOF if none of the input
36026 data was written when overflow failed.
36027 * libio/iopadn.c (_IO_padn): Likewise.
36028 * libio/iowpadn.c (_IO_wpadn): Likewise.
36029 * stdio-common/tst-put-error.c: Add copyright notice.
36030 (do_test): Add case for printing padded string.
36031 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36032 _IO_padn returned error.
36033 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36034 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36037 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36039 * libio/libioP.h: Add comment note that the references to C++
36040 bits are now obsolete.
36042 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36044 * math/libm-test.inc (check_complex): Use asprintf.
36046 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36048 * debug/pcprofiledump.c (print_version): Update copyright year.
36049 * malloc/memusagestat.c (print_version): Likewise.
36051 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36054 * elf/Makefile (tests): Add tst-audit8.
36055 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36056 ($(objpfx)tst-audit8.out): New target.
36057 (tst-audit8-ENV): New variable.
36058 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36059 audit if l_reloc_result is NULL.
36060 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36061 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36062 * elf/tst-audit8.c: New file.
36064 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36066 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36067 * misc/Makefile (CFLAGS-select.c): Define.
36068 * posix/Makefile (CFLAGS-pause.c): Define.
36070 2012-11-13 David S. Miller <davem@davemloft.net>
36072 * crypt/Makefile: Move test targets after toplevel Rules
36073 inclusion. Grab any necessary sysdep routines when linking.
36074 * crypt/md5.c (md5_process_block): Remove define, we will always
36075 name it __md5_process_block.
36076 (md5_finish_ctx): Update md5_process_block call.
36077 (md5_stream): Likewise.
36078 (md5_process_bytes): Likewise.
36079 (md5_process_block): Rename to __md5_process_block and move to ...
36080 * crypt/md5-block.c: ... here.
36081 * crypt/sha256.c (sha256_process_block): Move to ...
36082 * crypt/sha256-block.c: ... here.
36083 * crypt/sha512.c (sha512_process_block): Move to ...
36084 * crypt/sha512-block.c: ... here.
36085 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36087 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36088 * sysdeps/sparc/sparc64/multiarch/Makefile
36089 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36091 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36094 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36095 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36096 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36097 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36098 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36099 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36100 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36101 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36102 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36104 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36109 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36111 * timezone/tzselect.ksh: Update from tzcode git revision
36112 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36113 * timezone/zdump.c: Likewise.
36114 * timezone/zic.c: Likewise.
36115 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36116 in TZVERSION setting, not $(PKGVERSION).
36117 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36118 REPORT_BUGS_TO settings.
36121 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36124 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36126 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36127 detection to immediately after _FP_ROUND().
36128 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36131 2012-11-11 David S. Miller <davem@davemloft.net>
36133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36135 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36136 __close rather than their public counterparts.
36138 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36140 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36142 [UNIX98] (sem_timedwait): Do not expect.
36143 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36144 [XPG4 || UNIX98] (sockatmark): Do not expect.
36145 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36146 (clock_getcpuclockid): Do not expect.
36147 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36148 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36150 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36151 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36152 [UNIX98] (vwscanf): Likewise.
36153 [UNIX98] (vswscanf): Likewise.
36155 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36157 * timezone/version.h: Remove file.
36158 * timezone/README: Do not refer to version.h.
36159 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36160 $(objpfx)version.h.
36161 ($(objpfx)zdump.o): Likewise.
36162 ($(objpfx)version.h): New target.
36164 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36166 * timezone/README: Don't mention modification to tzselect.ksh.
36167 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36168 work on unmodified tzselect.ksh. Substitute version numbers in
36171 * Makefile (format-me): Remove.
36172 (INSTALL): Adjust indentation. Use commands directly instead of
36173 using $(format-me).
36175 * aclocal.m4 (ACX_PKGVERSION): New macro.
36176 (ACX_BUGURL): Likewise.
36177 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36178 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36179 (REPORT_BUGS_TO): Likewise.
36180 * configure: Regenerated.
36181 * config.h.in (PKGVERSION): New macro.
36182 (REPORT_BUGS_TO): Likewise.
36183 * config.make.in (PKGVERSION): New variable.
36184 (PKGVERSION_TEXI): Likewise.
36185 (REPORT_BUGS_TO): Likewise.
36186 (REPORT_BUGS_TEXI): Likewise.
36187 * Makefile (format-me): Use -I$(common-objpfx)manual.
36188 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36189 ($(common-objpfx)manual/%): New target.
36190 (manual/%): Remove target.
36191 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36192 (print_version): Use PKGVERSION.
36193 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36194 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36195 and REPORT_BUGS_TO.
36196 ($(objpfx)xtrace): Likewise.
36197 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36198 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36199 (print_version): Use PKGVERSION.
36200 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36201 (do_version): Use PKGVERSION.
36202 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36204 (common-ldd-rewrite): Likewise.
36205 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36206 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36207 (print_version): Use PKGVERSION.
36208 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36209 * elf/pldd.c (argp_program_bug_address): Remove variable.
36210 (more_help): New function.
36211 (argp): Use more_help.
36212 (print_version): Use PKGVERSION.
36213 * elf/sln.c (main): Use PKGVERSION.
36214 (usage): Use REPORT_BUGS_TO.
36215 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36216 (top level): Use PKGVERSION.
36217 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36218 (print_version): Use PKGVERSION.
36219 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36220 (print_version): Use PKGVERSION.
36221 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36222 (print_version): Use PKGVERSION.
36223 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36224 (print_version): Use PKGVERSION.
36225 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36226 (print_version): Use PKGVERSION.
36227 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36228 (print_version): Use PKGVERSION.
36229 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36231 ($(objpfx)memusage): Likewise.
36232 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36233 (do_version): Use PKGVERSION.
36234 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36235 (print_version): Use PKGVERSION.
36236 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36237 ($PKGVERSION): New variable.
36238 ($REPORT_BUGS_TO): Likewise.
36239 (usage): Use $REPORT_BUGS_TO.
36240 (top level): Use $PKGVERSION.
36241 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36242 ($(objpfx)pkgvers.texi): New rule.
36243 ($(objpfx)stamp-pkgvers): Likewise.
36244 * manual/install.texi: Include pkgvers.texi.
36245 (--with-pkgversion): Document new configure option.
36246 (--with-bugurl): Likewise.
36247 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36248 than necessarily for this particular distribution. Use
36249 REPORT_BUGS_TO for where to report bugs.
36250 * INSTALL: Regenerated.
36251 * manual/libc.texinfo: Include pkgvers.texi.
36252 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36253 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36254 (print_version): Use PKGVERSION.
36255 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36256 (print_version): Use PKGVERSION.
36257 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36258 (print_version): Use PKGVERSION.
36259 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36260 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36262 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36263 (print_version): Use PKGVERSION.
36264 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36265 (print_version): Use PKGVERSION.
36266 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36269 * timezone/checktab.awk: Update from tzcode 2012i.
36270 * timezone/ialloc.c: Likewise.
36271 * timezone/private.h: Likewise.
36272 * timezone/scheck.c: Likewise.
36273 * timezone/tzfile.h: Likewise.
36274 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36275 (TZVERSION): Hardcode tzcode version number.
36276 * timezone/zdump.c: Update from tzcode 2012i.
36277 * timezone/zic.c: Likewise.
36278 * timezone/version.h: New file.
36279 * timezone/README: Describe version.h. Update upstream location.
36282 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36283 (mktemp): Enable declaration.
36284 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36286 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36291 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36293 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36295 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36301 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36302 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36303 for copies of such integer values.
36304 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36305 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36307 2012-11-09 Andreas Jaeger <aj@suse.de>
36309 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36310 definitions and declarations that are provided by
36311 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36313 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36315 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36316 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36317 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36320 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36322 * elf/elf.h: Update comment before AArch64 relocations.
36324 2012-11-07 David S. Miller <davem@davemloft.net>
36326 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36327 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36328 (__start_context): Declare.
36329 (__makecontext_ret): Delete.
36330 (__makecontext): Hook up __start_context instead of
36332 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36333 (sysdep_routines): Add __start_context when in stdlib.
36335 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36337 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36338 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36339 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36341 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36342 (READELF): New variable. Use it instead of hardcoded "readelf".
36344 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36346 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36347 * sysdeps/x86/Makefile: Here.
36348 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36349 * sysdeps/x86/tst-xmmymm.sh: This.
36351 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36353 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36355 [UNIX98] (pthread_barrier_t): Do not expect.
36356 [UNIX98] (pthread_barrierattr_t): Likewise.
36357 [UNIX98] (pthread_spinlock_t): Likewise.
36358 [UNIX98] (pthread_barrier_destroy): Likewise.
36359 [UNIX98] (pthread_barrier_init): Likewise.
36360 [UNIX98] (pthread_barrier_wait): Likewise.
36361 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36362 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36363 [UNIX98] (pthread_barrierattr_init): Likewise.
36364 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36365 [UNIX98] (pthread_getcpuclockid): Likewise.
36366 [UNIX98] (pthread_mutex_timedlock): Likewise.
36367 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36368 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36369 [UNIX98] (pthread_sigmask): Likewise.
36370 [UNIX98] (pthread_spin_destroy): Likewise.
36371 [UNIX98] (pthread_spin_init): Likewise.
36372 [UNIX98] (pthread_spin_lock): Likewise.
36373 [UNIX98] (pthread_spin_trylock): Likewise.
36374 [UNIX98] (pthread_spin_unlock): Likewise.
36375 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36377 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36378 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36379 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36380 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36381 [XPG3 || XPG4] (pthread_key_t): Likewise.
36382 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36383 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36384 [XPG3 || XPG4] (pthread_once_t): Likewise.
36385 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36386 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36387 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36388 [XPG3 || XPG4] (pthread_t): Likewise.
36390 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36392 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36394 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36395 Change function return type to int.
36397 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36398 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36399 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36400 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36401 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36402 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36403 [!POSIX] (posix_madvise): Likewise.
36404 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36406 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36407 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36408 (mode_t): Likewise.
36409 (posix_mem_offset): Likewise.
36410 (posix_typed_mem_get_info): Likewise.
36411 (posix_typed_mem_open): Likewise.
36413 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36414 Change condition to [XOPEN2K8].
36416 * conform/conformtest.pl: Preprocess allow-header data with -x c
36417 instead of from stdin.
36418 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36419 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36420 [C99-based standards] (cerfc): Likewise.
36421 [C99-based standards] (cexp2): Likewise.
36422 [C99-based standards] (cexpm1): Likewise.
36423 [C99-based standards] (clog10): Likewise.
36424 [C99-based standards] (clog1p): Likewise.
36425 [C99-based standards] (clog2): Likewise.
36426 [C99-based standards] (clgamma): Likewise.
36427 [C99-based standards] (ctgamma): Likewise.
36428 [C99-based standards] (cerff): Likewise.
36429 [C99-based standards] (cerfcf): Likewise.
36430 [C99-based standards] (cexp2f): Likewise.
36431 [C99-based standards] (cexpm1f): Likewise.
36432 [C99-based standards] (clog10f): Likewise.
36433 [C99-based standards] (clog1pf): Likewise.
36434 [C99-based standards] (clog2f): Likewise.
36435 [C99-based standards] (clgammaf): Likewise.
36436 [C99-based standards] (ctgammaf): Likewise.
36437 [C99-based standards] (cerfl): Likewise.
36438 [C99-based standards] (cerfcl): Likewise.
36439 [C99-based standards] (cexp2l): Likewise.
36440 [C99-based standards] (cexpm1l): Likewise.
36441 [C99-based standards] (clog10l): Likewise.
36442 [C99-based standards] (clog1pl): Likewise.
36443 [C99-based standards] (clog2l): Likewise.
36444 [C99-based standards] (clgammal): Likewise.
36445 [C99-based standards] (ctgammal): Likewise.
36446 * conform/data/inttypes.h-data [C99-based standards]: Include
36447 stdint.h-data. Remove all expectations for stdint.h contents.
36448 [C99-based standards] (PRI*): Do not allow.
36449 [C99-based standards] (SCN*): Likewise.
36450 [C99-based standards] (*_t): Likewise.
36451 [C99-based-standards] (PRId8): Expect macro.
36452 [C99-based-standards] (PRIi8): Likewise.
36453 [C99-based-standards] (PRIo8): Likewise.
36454 [C99-based-standards] (PRIu8): Likewise.
36455 [C99-based-standards] (PRIx8): Likewise.
36456 [C99-based-standards] (PRIX8): Likewise.
36457 [C99-based-standards] (SCNd8): Likewise.
36458 [C99-based-standards] (SCNi8): Likewise.
36459 [C99-based-standards] (SCNo8): Likewise.
36460 [C99-based-standards] (SCNu8): Likewise.
36461 [C99-based-standards] (SCNx8): Likewise.
36462 [C99-based-standards] (PRIdLEAST8): Likewise.
36463 [C99-based-standards] (PRIiLEAST8): Likewise.
36464 [C99-based-standards] (PRIoLEAST8): Likewise.
36465 [C99-based-standards] (PRIuLEAST8): Likewise.
36466 [C99-based-standards] (PRIxLEAST8): Likewise.
36467 [C99-based-standards] (PRIXLEAST8): Likewise.
36468 [C99-based-standards] (SCNdLEAST8): Likewise.
36469 [C99-based-standards] (SCNiLEAST8): Likewise.
36470 [C99-based-standards] (SCNoLEAST8): Likewise.
36471 [C99-based-standards] (SCNuLEAST8): Likewise.
36472 [C99-based-standards] (SCNxLEAST8): Likewise.
36473 [C99-based-standards] (PRIdFAST8): Likewise.
36474 [C99-based-standards] (PRIiFAST8): Likewise.
36475 [C99-based-standards] (PRIoFAST8): Likewise.
36476 [C99-based-standards] (PRIuFAST8): Likewise.
36477 [C99-based-standards] (PRIxFAST8): Likewise.
36478 [C99-based-standards] (PRIXFAST8): Likewise.
36479 [C99-based-standards] (SCNdFAST8): Likewise.
36480 [C99-based-standards] (SCNiFAST8): Likewise.
36481 [C99-based-standards] (SCNoFAST8): Likewise.
36482 [C99-based-standards] (SCNuFAST8): Likewise.
36483 [C99-based-standards] (SCNxFAST8): Likewise.
36484 [C99-based-standards] (PRId16): Likewise.
36485 [C99-based-standards] (PRIi16): Likewise.
36486 [C99-based-standards] (PRIo16): Likewise.
36487 [C99-based-standards] (PRIu16): Likewise.
36488 [C99-based-standards] (PRIx16): Likewise.
36489 [C99-based-standards] (PRIX16): Likewise.
36490 [C99-based-standards] (SCNd16): Likewise.
36491 [C99-based-standards] (SCNi16): Likewise.
36492 [C99-based-standards] (SCNo16): Likewise.
36493 [C99-based-standards] (SCNu16): Likewise.
36494 [C99-based-standards] (SCNx16): Likewise.
36495 [C99-based-standards] (PRIdLEAST16): Likewise.
36496 [C99-based-standards] (PRIiLEAST16): Likewise.
36497 [C99-based-standards] (PRIoLEAST16): Likewise.
36498 [C99-based-standards] (PRIuLEAST16): Likewise.
36499 [C99-based-standards] (PRIxLEAST16): Likewise.
36500 [C99-based-standards] (PRIXLEAST16): Likewise.
36501 [C99-based-standards] (SCNdLEAST16): Likewise.
36502 [C99-based-standards] (SCNiLEAST16): Likewise.
36503 [C99-based-standards] (SCNoLEAST16): Likewise.
36504 [C99-based-standards] (SCNuLEAST16): Likewise.
36505 [C99-based-standards] (SCNxLEAST16): Likewise.
36506 [C99-based-standards] (PRIdFAST16): Likewise.
36507 [C99-based-standards] (PRIiFAST16): Likewise.
36508 [C99-based-standards] (PRIoFAST16): Likewise.
36509 [C99-based-standards] (PRIuFAST16): Likewise.
36510 [C99-based-standards] (PRIxFAST16): Likewise.
36511 [C99-based-standards] (PRIXFAST16): Likewise.
36512 [C99-based-standards] (SCNdFAST16): Likewise.
36513 [C99-based-standards] (SCNiFAST16): Likewise.
36514 [C99-based-standards] (SCNoFAST16): Likewise.
36515 [C99-based-standards] (SCNuFAST16): Likewise.
36516 [C99-based-standards] (SCNxFAST16): Likewise.
36517 [C99-based-standards] (PRId32): Likewise.
36518 [C99-based-standards] (PRIi32): Likewise.
36519 [C99-based-standards] (PRIo32): Likewise.
36520 [C99-based-standards] (PRIu32): Likewise.
36521 [C99-based-standards] (PRIx32): Likewise.
36522 [C99-based-standards] (PRIX32): Likewise.
36523 [C99-based-standards] (SCNd32): Likewise.
36524 [C99-based-standards] (SCNi32): Likewise.
36525 [C99-based-standards] (SCNo32): Likewise.
36526 [C99-based-standards] (SCNu32): Likewise.
36527 [C99-based-standards] (SCNx32): Likewise.
36528 [C99-based-standards] (PRIdLEAST32): Likewise.
36529 [C99-based-standards] (PRIiLEAST32): Likewise.
36530 [C99-based-standards] (PRIoLEAST32): Likewise.
36531 [C99-based-standards] (PRIuLEAST32): Likewise.
36532 [C99-based-standards] (PRIxLEAST32): Likewise.
36533 [C99-based-standards] (PRIXLEAST32): Likewise.
36534 [C99-based-standards] (SCNdLEAST32): Likewise.
36535 [C99-based-standards] (SCNiLEAST32): Likewise.
36536 [C99-based-standards] (SCNoLEAST32): Likewise.
36537 [C99-based-standards] (SCNuLEAST32): Likewise.
36538 [C99-based-standards] (SCNxLEAST32): Likewise.
36539 [C99-based-standards] (PRIdFAST32): Likewise.
36540 [C99-based-standards] (PRIiFAST32): Likewise.
36541 [C99-based-standards] (PRIoFAST32): Likewise.
36542 [C99-based-standards] (PRIuFAST32): Likewise.
36543 [C99-based-standards] (PRIxFAST32): Likewise.
36544 [C99-based-standards] (PRIXFAST32): Likewise.
36545 [C99-based-standards] (SCNdFAST32): Likewise.
36546 [C99-based-standards] (SCNiFAST32): Likewise.
36547 [C99-based-standards] (SCNoFAST32): Likewise.
36548 [C99-based-standards] (SCNuFAST32): Likewise.
36549 [C99-based-standards] (SCNxFAST32): Likewise.
36550 [C99-based-standards] (PRId64): Likewise.
36551 [C99-based-standards] (PRIi64): Likewise.
36552 [C99-based-standards] (PRIo64): Likewise.
36553 [C99-based-standards] (PRIu64): Likewise.
36554 [C99-based-standards] (PRIx64): Likewise.
36555 [C99-based-standards] (PRIX64): Likewise.
36556 [C99-based-standards] (SCNd64): Likewise.
36557 [C99-based-standards] (SCNi64): Likewise.
36558 [C99-based-standards] (SCNo64): Likewise.
36559 [C99-based-standards] (SCNu64): Likewise.
36560 [C99-based-standards] (SCNx64): Likewise.
36561 [C99-based-standards] (PRIdLEAST64): Likewise.
36562 [C99-based-standards] (PRIiLEAST64): Likewise.
36563 [C99-based-standards] (PRIoLEAST64): Likewise.
36564 [C99-based-standards] (PRIuLEAST64): Likewise.
36565 [C99-based-standards] (PRIxLEAST64): Likewise.
36566 [C99-based-standards] (PRIXLEAST64): Likewise.
36567 [C99-based-standards] (SCNdLEAST64): Likewise.
36568 [C99-based-standards] (SCNiLEAST64): Likewise.
36569 [C99-based-standards] (SCNoLEAST64): Likewise.
36570 [C99-based-standards] (SCNuLEAST64): Likewise.
36571 [C99-based-standards] (SCNxLEAST64): Likewise.
36572 [C99-based-standards] (PRIdFAST64): Likewise.
36573 [C99-based-standards] (PRIiFAST64): Likewise.
36574 [C99-based-standards] (PRIoFAST64): Likewise.
36575 [C99-based-standards] (PRIuFAST64): Likewise.
36576 [C99-based-standards] (PRIxFAST64): Likewise.
36577 [C99-based-standards] (PRIXFAST64): Likewise.
36578 [C99-based-standards] (SCNdFAST64): Likewise.
36579 [C99-based-standards] (SCNiFAST64): Likewise.
36580 [C99-based-standards] (SCNoFAST64): Likewise.
36581 [C99-based-standards] (SCNuFAST64): Likewise.
36582 [C99-based-standards] (SCNxFAST64): Likewise.
36583 [C99-based-standards] (PRIdMAX): Likewise.
36584 [C99-based-standards] (PRIiMAX): Likewise.
36585 [C99-based-standards] (PRIoMAX): Likewise.
36586 [C99-based-standards] (PRIuMAX): Likewise.
36587 [C99-based-standards] (PRIxMAX): Likewise.
36588 [C99-based-standards] (PRIXMAX): Likewise.
36589 [C99-based-standards] (SCNdMAX): Likewise.
36590 [C99-based-standards] (SCNiMAX): Likewise.
36591 [C99-based-standards] (SCNoMAX): Likewise.
36592 [C99-based-standards] (SCNuMAX): Likewise.
36593 [C99-based-standards] (SCNxMAX): Likewise.
36594 [C99-based-standards] (PRIdPTR): Likewise.
36595 [C99-based-standards] (PRIiPTR): Likewise.
36596 [C99-based-standards] (PRIoPTR): Likewise.
36597 [C99-based-standards] (PRIuPTR): Likewise.
36598 [C99-based-standards] (PRIxPTR): Likewise.
36599 [C99-based-standards] (PRIXPTR): Likewise.
36600 [C99-based-standards] (SCNdPTR): Likewise.
36601 [C99-based-standards] (SCNiPTR): Likewise.
36602 [C99-based-standards] (SCNoPTR): Likewise.
36603 [C99-based-standards] (SCNuPTR): Likewise.
36604 [C99-based-standards] (SCNxPTR): Likewise.
36605 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36607 * conform/data/stdint.h-data: Update comments to clarify
36609 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36611 [C99-based standards] (INT8_MAX): Likewise.
36612 [C99-based standards] (INT16_MIN): Likewise.
36613 [C99-based standards] (INT16_MAX): Likewise.
36614 [C99-based standards] (INT32_MIN): Likewise.
36615 [C99-based standards] (INT32_MAX): Likewise.
36616 [C99-based standards] (INT64_MIN): Likewise.
36617 [C99-based standards] (INT64_MAX): Likewise.
36618 [C99-based standards] (UINT8_MAX): Likewise.
36619 [C99-based standards] (UINT16_MAX): Likewise.
36620 [C99-based standards] (UINT32_MAX): Likewise.
36621 [C99-based standards] (UINT64_MAX): Likewise.
36622 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36623 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36624 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36625 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36626 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36627 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36628 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36629 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36630 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36631 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36632 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36633 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36634 [C99-based standards] (INT_FAST8_MIN): Likewise.
36635 [C99-based standards] (INT_FAST8_MAX): Likewise.
36636 [C99-based standards] (INT_FAST16_MIN): Likewise.
36637 [C99-based standards] (INT_FAST16_MAX): Likewise.
36638 [C99-based standards] (INT_FAST32_MIN): Likewise.
36639 [C99-based standards] (INT_FAST32_MAX): Likewise.
36640 [C99-based standards] (INT_FAST64_MIN): Likewise.
36641 [C99-based standards] (INT_FAST64_MAX): Likewise.
36642 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36643 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36644 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36645 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36646 [C99-based standards] (INTPTR_MIN): Likewise.
36647 [C99-based standards] (INTPTR_MAX): Likewise.
36648 [C99-based standards] (UINTPTR_MAX): Likewise.
36649 [C99-based standards] (INTMAX_MIN): Likewise.
36650 [C99-based standards] (INTMAX_MAX): Likewise.
36651 [C99-based standards] (UINTMAX_MAX): Likewise.
36652 [C99-based standards] (PTRDIFF_MIN): Likewise.
36653 [C99-based standards] (PTRDIFF_MAX): Likewise.
36654 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36655 [C99-based standards] (SIZE_MAX): Likewise.
36656 [C99-based standards] (WCHAR_MAX): Likewise.
36657 [C99-based standards] (WINT_MAX): Likewise.
36658 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36659 constraint on value.
36660 [C99-based standards] (WCHAR_MIN): Likewise.
36661 [C99-based standards] (WINT_MIN): Likewise.
36662 [C99-based standards] (*_t): Allow.
36663 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36664 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36665 Include math.h-data and complex.h-data. Remove all expectations
36666 of math.h and complex.h contents.
36667 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36669 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36670 (struct tm): Expect tag.
36671 [C99-based-standards] (wcstof): Expect function.
36672 [C99-based-standards] (wcstold): Likewise.
36673 [C99-based-standards] (wcstoll): Likewise.
36674 [C99-based-standards] (wcstoull): Likewise.
36675 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36676 macro-int-constant. Specify type.
36677 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36678 constraint on value.
36679 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36681 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36683 [ISO C standards]: Do not allow headers.
36684 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36685 wcs[abcdefghijklmnopqrstuvwxyz]*.
36686 [ISO C standards] (*_t): Do not allow.
36687 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36689 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36690 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36692 [ISO C standards]: Do not allow headers.
36693 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36694 is[abcdefghijklmnopqrstuvwxyz]*.
36695 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36696 to[abcdefghijklmnopqrstuvwxyz]*.
36697 [ISO C standards] (*_t): Do not allow.
36698 * conform/data/stdalign.h-data: New file.
36699 * conform/data/stdbool.h-data: Likewise.
36700 * conform/data/stdnoreturn.h-data: Likewise.
36702 2012-11-07 Roland McGrath <roland@hack.frob.com>
36705 * manual/filesys.texi (Directory Entries): Typo fix.
36706 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36708 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36710 * elf/elf.h (EM_AARCH64): New macro.
36711 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36712 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36713 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36714 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36715 (R_AARCH64_TLSDESC): Likewise.
36716 (NT_ARM_TLS): Likewise.
36717 (NT_ARM_HW_BREAK): Likewise.
36718 (NT_ARM_HW_WATCH): Likewise.
36720 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36723 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36724 (__ieee754_powl): Saturate nonzero exponents with absolute value
36725 below 0x1p-79 to +/- 0x1p-79.
36726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36727 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36728 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36729 nonzero exponents with absolute value below 0x1p-32 to +/-
36731 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36732 (__ieee754_powl): Saturate nonzero exponents with absolute value
36733 below 0x1p-79 to +/- 0x1p-79.
36734 * math/libm-test.inc (pow_test): Add more tests.
36736 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36738 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36739 _dl_s390_cap_flags with kernel. Increase string length.
36740 (_dl_s390_platforms): Add z196 and zEC12.
36742 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36744 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36745 Change XOPEN21K to XOPEN2K.
36747 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36749 * string/memmove.c: Use memcpy when possible.
36751 2012-11-06 Andreas Jaeger <aj@suse.de>
36753 * po/eo.po: Update from translation team.
36755 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36759 exponent and small x and y exponents, scale x or y up. Increase
36760 by 2 the exponent used in scaling up.
36761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36763 * math/libm-test.inc (fma_test): Add more tests.
36764 (fma_test_towardzero): Likewise.
36765 (fma_test_downward): Likewise.
36766 (fma_test_upward): Likewise.
36768 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36771 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36775 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36776 namespace for names of struct fields.
36777 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36779 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36780 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36782 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36785 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36787 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36789 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36793 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36796 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36800 definitely overflow as x * y not x * y + z.
36801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36802 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36803 * math/libm-test.inc (fma_test): Add more tests.
36804 (fma_test_towardzero): Likewise.
36805 (fma_test_downward): Likewise.
36806 (fma_test_upward): Likewise.
36808 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36812 * include/stub-tag.h: Remove file.
36813 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36815 * manual/maint.texi (Porting): Don't reference it.
36816 * Makerules ($(objpfx)stubs): Likewise.
36817 * dirent/closedir.c: Don't include <stub-tag.h>.
36818 * dirent/dirfd.c: Likewise.
36819 * dirent/fdopendir.c: Likewise.
36820 * dirent/getdents.c: Likewise.
36821 * dirent/getdents64.c: Likewise.
36822 * dirent/opendir.c: Likewise.
36823 * dirent/readdir.c: Likewise.
36824 * dirent/readdir64.c: Likewise.
36825 * dirent/readdir64_r.c: Likewise.
36826 * dirent/readdir_r.c: Likewise.
36827 * dirent/rewinddir.c: Likewise.
36828 * dirent/seekdir.c: Likewise.
36829 * dirent/telldir.c: Likewise.
36830 * gmon/profil.c: Likewise.
36831 * grp/setgroups.c: Likewise.
36832 * inet/if_index.c: Likewise.
36833 * io/access.c: Likewise.
36834 * io/chdir.c: Likewise.
36835 * io/chmod.c: Likewise.
36836 * io/chown.c: Likewise.
36837 * io/close.c: Likewise.
36838 * io/dup.c: Likewise.
36839 * io/dup2.c: Likewise.
36840 * io/dup3.c: Likewise.
36841 * io/euidaccess.c: Likewise.
36842 * io/faccessat.c: Likewise.
36843 * io/fchdir.c: Likewise.
36844 * io/fchmod.c: Likewise.
36845 * io/fchmodat.c: Likewise.
36846 * io/fchown.c: Likewise.
36847 * io/fchownat.c: Likewise.
36848 * io/fcntl.c: Likewise.
36849 * io/flock.c: Likewise.
36850 * io/fstatfs.c: Likewise.
36851 * io/fstatfs64.c: Likewise.
36852 * io/fstatvfs.c: Likewise.
36853 * io/fstatvfs64.c: Likewise.
36854 * io/futimens.c: Likewise.
36855 * io/fxstat.c: Likewise.
36856 * io/fxstat64.c: Likewise.
36857 * io/fxstatat.c: Likewise.
36858 * io/fxstatat64.c: Likewise.
36859 * io/getcwd.c: Likewise.
36860 * io/isatty.c: Likewise.
36861 * io/lchmod.c: Likewise.
36862 * io/lchown.c: Likewise.
36863 * io/link.c: Likewise.
36864 * io/linkat.c: Likewise.
36865 * io/lseek.c: Likewise.
36866 * io/lseek64.c: Likewise.
36867 * io/lxstat64.c: Likewise.
36868 * io/mkdir.c: Likewise.
36869 * io/mkdirat.c: Likewise.
36870 * io/mkfifo.c: Likewise.
36871 * io/mkfifoat.c: Likewise.
36872 * io/open.c: Likewise.
36873 * io/open64.c: Likewise.
36874 * io/openat.c: Likewise.
36875 * io/openat64.c: Likewise.
36876 * io/pipe.c: Likewise.
36877 * io/pipe2.c: Likewise.
36878 * io/poll.c: Likewise.
36879 * io/posix_fadvise.c: Likewise.
36880 * io/posix_fadvise64.c: Likewise.
36881 * io/posix_fallocate.c: Likewise.
36882 * io/posix_fallocate64.c: Likewise.
36883 * io/read.c: Likewise.
36884 * io/readlink.c: Likewise.
36885 * io/readlinkat.c: Likewise.
36886 * io/rmdir.c: Likewise.
36887 * io/sendfile.c: Likewise.
36888 * io/sendfile64.c: Likewise.
36889 * io/statfs.c: Likewise.
36890 * io/statfs64.c: Likewise.
36891 * io/statvfs.c: Likewise.
36892 * io/statvfs64.c: Likewise.
36893 * io/symlink.c: Likewise.
36894 * io/symlinkat.c: Likewise.
36895 * io/ttyname.c: Likewise.
36896 * io/ttyname_r.c: Likewise.
36897 * io/umask.c: Likewise.
36898 * io/unlink.c: Likewise.
36899 * io/unlinkat.c: Likewise.
36900 * io/utime.c: Likewise.
36901 * io/utimensat.c: Likewise.
36902 * io/write.c: Likewise.
36903 * io/xmknod.c: Likewise.
36904 * io/xmknodat.c: Likewise.
36905 * io/xstat.c: Likewise.
36906 * io/xstat64.c: Likewise.
36907 * login/getpt.c: Likewise.
36908 * login/grantpt.c: Likewise.
36909 * login/unlockpt.c: Likewise.
36910 * math/e_acoshl.c: Likewise.
36911 * math/e_acosl.c: Likewise.
36912 * math/e_asinl.c: Likewise.
36913 * math/e_atan2l.c: Likewise.
36914 * math/e_atanhl.c: Likewise.
36915 * math/e_coshl.c: Likewise.
36916 * math/e_expl.c: Likewise.
36917 * math/e_fmodl.c: Likewise.
36918 * math/e_gammal_r.c: Likewise.
36919 * math/e_hypotl.c: Likewise.
36920 * math/e_j0l.c: Likewise.
36921 * math/e_j1l.c: Likewise.
36922 * math/e_jnl.c: Likewise.
36923 * math/e_lgammal_r.c: Likewise.
36924 * math/e_log10l.c: Likewise.
36925 * math/e_log2l.c: Likewise.
36926 * math/e_logl.c: Likewise.
36927 * math/e_powl.c: Likewise.
36928 * math/e_rem_pio2l.c: Likewise.
36929 * math/e_sinhl.c: Likewise.
36930 * math/e_sqrtl.c: Likewise.
36931 * math/fclrexcpt.c: Likewise.
36932 * math/fedisblxcpt.c: Likewise.
36933 * math/feenablxcpt.c: Likewise.
36934 * math/fegetenv.c: Likewise.
36935 * math/fegetexcept.c: Likewise.
36936 * math/fegetround.c: Likewise.
36937 * math/feholdexcpt.c: Likewise.
36938 * math/fesetenv.c: Likewise.
36939 * math/fesetround.c: Likewise.
36940 * math/feupdateenv.c: Likewise.
36941 * math/fgetexcptflg.c: Likewise.
36942 * math/fraiseexcpt.c: Likewise.
36943 * math/fsetexcptflg.c: Likewise.
36944 * math/ftestexcept.c: Likewise.
36945 * math/k_cosl.c: Likewise.
36946 * math/k_rem_pio2l.c: Likewise.
36947 * math/k_sinl.c: Likewise.
36948 * math/k_tanl.c: Likewise.
36949 * math/s_asinhl.c: Likewise.
36950 * math/s_atanl.c: Likewise.
36951 * math/s_cbrtl.c: Likewise.
36952 * math/s_erfl.c: Likewise.
36953 * math/s_expm1l.c: Likewise.
36954 * math/s_log1pl.c: Likewise.
36955 * math/s_tanhl.c: Likewise.
36956 * misc/acct.c: Likewise.
36957 * misc/brk.c: Likewise.
36958 * misc/chflags.c: Likewise.
36959 * misc/chroot.c: Likewise.
36960 * misc/fchflags.c: Likewise.
36961 * misc/fgetxattr.c: Likewise.
36962 * misc/flistxattr.c: Likewise.
36963 * misc/fremovexattr.c: Likewise.
36964 * misc/fsetxattr.c: Likewise.
36965 * misc/fsync.c: Likewise.
36966 * misc/ftruncate.c: Likewise.
36967 * misc/futimes.c: Likewise.
36968 * misc/futimesat.c: Likewise.
36969 * misc/getdomain.c: Likewise.
36970 * misc/getdtsz.c: Likewise.
36971 * misc/gethostid.c: Likewise.
36972 * misc/gethostname.c: Likewise.
36973 * misc/getloadavg.c: Likewise.
36974 * misc/getpagesize.c: Likewise.
36975 * misc/getsysstats.c: Likewise.
36976 * misc/getxattr.c: Likewise.
36977 * misc/gtty.c: Likewise.
36978 * misc/ioctl.c: Likewise.
36979 * misc/lgetxattr.c: Likewise.
36980 * misc/listxattr.c: Likewise.
36981 * misc/llistxattr.c: Likewise.
36982 * misc/lremovexattr.c: Likewise.
36983 * misc/lsetxattr.c: Likewise.
36984 * misc/lutimes.c: Likewise.
36985 * misc/madvise.c: Likewise.
36986 * misc/mincore.c: Likewise.
36987 * misc/mlock.c: Likewise.
36988 * misc/mlockall.c: Likewise.
36989 * misc/mmap.c: Likewise.
36990 * misc/mprotect.c: Likewise.
36991 * misc/msync.c: Likewise.
36992 * misc/munlock.c: Likewise.
36993 * misc/munlockall.c: Likewise.
36994 * misc/munmap.c: Likewise.
36995 * misc/preadv.c: Likewise.
36996 * misc/preadv64.c: Likewise.
36997 * misc/ptrace.c: Likewise.
36998 * misc/pwritev.c: Likewise.
36999 * misc/pwritev64.c: Likewise.
37000 * misc/readv.c: Likewise.
37001 * misc/reboot.c: Likewise.
37002 * misc/remap_file_pages.c: Likewise.
37003 * misc/removexattr.c: Likewise.
37004 * misc/revoke.c: Likewise.
37005 * misc/select.c: Likewise.
37006 * misc/setdomain.c: Likewise.
37007 * misc/setegid.c: Likewise.
37008 * misc/seteuid.c: Likewise.
37009 * misc/sethostid.c: Likewise.
37010 * misc/sethostname.c: Likewise.
37011 * misc/setregid.c: Likewise.
37012 * misc/setreuid.c: Likewise.
37013 * misc/setxattr.c: Likewise.
37014 * misc/sstk.c: Likewise.
37015 * misc/stty.c: Likewise.
37016 * misc/swapoff.c: Likewise.
37017 * misc/swapon.c: Likewise.
37018 * misc/sync.c: Likewise.
37019 * misc/syncfs.c: Likewise.
37020 * misc/syscall.c: Likewise.
37021 * misc/truncate.c: Likewise.
37022 * misc/ualarm.c: Likewise.
37023 * misc/usleep.c: Likewise.
37024 * misc/ustat.c: Likewise.
37025 * misc/utimes.c: Likewise.
37026 * misc/vhangup.c: Likewise.
37027 * misc/writev.c: Likewise.
37028 * posix/_exit.c: Likewise.
37029 * posix/alarm.c: Likewise.
37030 * posix/execve.c: Likewise.
37031 * posix/fexecve.c: Likewise.
37032 * posix/fork.c: Likewise.
37033 * posix/fpathconf.c: Likewise.
37034 * posix/getaddrinfo.c: Likewise.
37035 * posix/getegid.c: Likewise.
37036 * posix/geteuid.c: Likewise.
37037 * posix/getgid.c: Likewise.
37038 * posix/getgroups.c: Likewise.
37039 * posix/getlogin.c: Likewise.
37040 * posix/getlogin_r.c: Likewise.
37041 * posix/getpgid.c: Likewise.
37042 * posix/getpid.c: Likewise.
37043 * posix/getppid.c: Likewise.
37044 * posix/getresgid.c: Likewise.
37045 * posix/getresuid.c: Likewise.
37046 * posix/getsid.c: Likewise.
37047 * posix/getuid.c: Likewise.
37048 * posix/glob64.c: Likewise.
37049 * posix/nanosleep.c: Likewise.
37050 * posix/pathconf.c: Likewise.
37051 * posix/pause.c: Likewise.
37052 * posix/posix_madvise.c: Likewise.
37053 * posix/pread.c: Likewise.
37054 * posix/pread64.c: Likewise.
37055 * posix/pwrite.c: Likewise.
37056 * posix/pwrite64.c: Likewise.
37057 * posix/sched_getaffinity.c: Likewise.
37058 * posix/sched_getp.c: Likewise.
37059 * posix/sched_gets.c: Likewise.
37060 * posix/sched_primax.c: Likewise.
37061 * posix/sched_primin.c: Likewise.
37062 * posix/sched_rr_gi.c: Likewise.
37063 * posix/sched_setaffinity.c: Likewise.
37064 * posix/sched_setp.c: Likewise.
37065 * posix/sched_sets.c: Likewise.
37066 * posix/sched_yield.c: Likewise.
37067 * posix/setgid.c: Likewise.
37068 * posix/setlogin.c: Likewise.
37069 * posix/setpgid.c: Likewise.
37070 * posix/setresgid.c: Likewise.
37071 * posix/setresuid.c: Likewise.
37072 * posix/setsid.c: Likewise.
37073 * posix/setuid.c: Likewise.
37074 * posix/sleep.c: Likewise.
37075 * posix/spawni.c: Likewise.
37076 * posix/sysconf.c: Likewise.
37077 * posix/times.c: Likewise.
37078 * posix/wait.c: Likewise.
37079 * posix/wait3.c: Likewise.
37080 * posix/wait4.c: Likewise.
37081 * posix/waitpid.c: Likewise.
37082 * resolv/gai_sigqueue.c: Likewise.
37083 * resource/getpriority.c: Likewise.
37084 * resource/getrlimit.c: Likewise.
37085 * resource/getrusage.c: Likewise.
37086 * resource/nice.c: Likewise.
37087 * resource/setpriority.c: Likewise.
37088 * resource/setrlimit.c: Likewise.
37089 * resource/ulimit.c: Likewise.
37090 * rt/aio_cancel.c: Likewise.
37091 * rt/aio_fsync.c: Likewise.
37092 * rt/aio_read.c: Likewise.
37093 * rt/aio_sigqueue.c: Likewise.
37094 * rt/aio_suspend.c: Likewise.
37095 * rt/aio_write.c: Likewise.
37096 * rt/clock_getres.c: Likewise.
37097 * rt/clock_gettime.c: Likewise.
37098 * rt/clock_nanosleep.c: Likewise.
37099 * rt/clock_settime.c: Likewise.
37100 * rt/lio_listio.c: Likewise.
37101 * rt/mq_close.c: Likewise.
37102 * rt/mq_getattr.c: Likewise.
37103 * rt/mq_notify.c: Likewise.
37104 * rt/mq_open.c: Likewise.
37105 * rt/mq_receive.c: Likewise.
37106 * rt/mq_send.c: Likewise.
37107 * rt/mq_setattr.c: Likewise.
37108 * rt/mq_timedreceive.c: Likewise.
37109 * rt/mq_timedsend.c: Likewise.
37110 * rt/mq_unlink.c: Likewise.
37111 * rt/shm_open.c: Likewise.
37112 * rt/shm_unlink.c: Likewise.
37113 * rt/timer_create.c: Likewise.
37114 * rt/timer_delete.c: Likewise.
37115 * rt/timer_getoverr.c: Likewise.
37116 * rt/timer_gettime.c: Likewise.
37117 * rt/timer_settime.c: Likewise.
37118 * setjmp/__longjmp.c: Likewise.
37119 * setjmp/setjmp.c: Likewise.
37120 * signal/kill.c: Likewise.
37121 * signal/killpg.c: Likewise.
37122 * signal/raise.c: Likewise.
37123 * signal/sigaction.c: Likewise.
37124 * signal/sigaltstack.c: Likewise.
37125 * signal/sigblock.c: Likewise.
37126 * signal/sigignore.c: Likewise.
37127 * signal/sigintr.c: Likewise.
37128 * signal/signal.c: Likewise.
37129 * signal/sigpause.c: Likewise.
37130 * signal/sigpending.c: Likewise.
37131 * signal/sigqueue.c: Likewise.
37132 * signal/sigreturn.c: Likewise.
37133 * signal/sigset.c: Likewise.
37134 * signal/sigsetmask.c: Likewise.
37135 * signal/sigstack.c: Likewise.
37136 * signal/sigsuspend.c: Likewise.
37137 * signal/sigtimedwait.c: Likewise.
37138 * signal/sigvec.c: Likewise.
37139 * signal/sigwait.c: Likewise.
37140 * signal/sigwaitinfo.c: Likewise.
37141 * signal/sysv_signal.c: Likewise.
37142 * socket/accept.c: Likewise.
37143 * socket/accept4.c: Likewise.
37144 * socket/bind.c: Likewise.
37145 * socket/connect.c: Likewise.
37146 * socket/getpeername.c: Likewise.
37147 * socket/getsockname.c: Likewise.
37148 * socket/getsockopt.c: Likewise.
37149 * socket/isfdtype.c: Likewise.
37150 * socket/listen.c: Likewise.
37151 * socket/recv.c: Likewise.
37152 * socket/recvfrom.c: Likewise.
37153 * socket/recvmsg.c: Likewise.
37154 * socket/send.c: Likewise.
37155 * socket/sendmsg.c: Likewise.
37156 * socket/sendto.c: Likewise.
37157 * socket/setsockopt.c: Likewise.
37158 * socket/shutdown.c: Likewise.
37159 * socket/sockatmark.c: Likewise.
37160 * socket/socket.c: Likewise.
37161 * socket/socketpair.c: Likewise.
37162 * stdio-common/ctermid.c: Likewise.
37163 * stdio-common/cuserid.c: Likewise.
37164 * stdio-common/remove.c: Likewise.
37165 * stdio-common/rename.c: Likewise.
37166 * stdio-common/renameat.c: Likewise.
37167 * stdio-common/tempname.c: Likewise.
37168 * stdlib/getcontext.c: Likewise.
37169 * stdlib/makecontext.c: Likewise.
37170 * stdlib/setcontext.c: Likewise.
37171 * stdlib/swapcontext.c: Likewise.
37172 * stdlib/system.c: Likewise.
37173 * streams/fattach.c: Likewise.
37174 * streams/fdetach.c: Likewise.
37175 * streams/getmsg.c: Likewise.
37176 * streams/getpmsg.c: Likewise.
37177 * streams/putmsg.c: Likewise.
37178 * streams/putpmsg.c: Likewise.
37179 * sysdeps/unix/bsd/getpt.c: Likewise.
37180 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37181 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37182 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37185 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37186 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37187 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37188 * sysvipc/msgctl.c: Likewise.
37189 * sysvipc/msgget.c: Likewise.
37190 * sysvipc/msgrcv.c: Likewise.
37191 * sysvipc/msgsnd.c: Likewise.
37192 * sysvipc/semctl.c: Likewise.
37193 * sysvipc/semget.c: Likewise.
37194 * sysvipc/semop.c: Likewise.
37195 * sysvipc/semtimedop.c: Likewise.
37196 * sysvipc/shmat.c: Likewise.
37197 * sysvipc/shmctl.c: Likewise.
37198 * sysvipc/shmdt.c: Likewise.
37199 * sysvipc/shmget.c: Likewise.
37200 * termios/tcdrain.c: Likewise.
37201 * termios/tcflow.c: Likewise.
37202 * termios/tcflush.c: Likewise.
37203 * termios/tcgetattr.c: Likewise.
37204 * termios/tcgetpgrp.c: Likewise.
37205 * termios/tcsendbrk.c: Likewise.
37206 * termios/tcsetattr.c: Likewise.
37207 * termios/tcsetpgrp.c: Likewise.
37208 * time/adjtime.c: Likewise.
37209 * time/clock.c: Likewise.
37210 * time/getitimer.c: Likewise.
37211 * time/gettimeofday.c: Likewise.
37212 * time/setitimer.c: Likewise.
37213 * time/settimeofday.c: Likewise.
37214 * time/stime.c: Likewise.
37215 * time/time.c: Likewise.
37217 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37219 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37222 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37224 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37226 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37230 FE_TONEAREST before applying Dekker multiplication and Knuth
37231 addition. Clear inexact exceptions and check for exact zero
37232 results afterwards.
37233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37234 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37236 * math/libm-test.inc (fma_test): Add more tests.
37237 (fma_test_towardzero): Likewise.
37238 (fma_test_downward): Likewise.
37239 (fma_test_upward): Likewise.
37240 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37242 (libc_fesetround): New macro.
37243 (libc_fesetroundf): Likewise.
37244 (libc_fesetroundl): Likewise.
37245 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37247 (libc_fesetround_387): Likewise.
37248 (libc_fesetroundf): New macro.
37249 (libc_fesetround): Likewise.
37250 (libc_fesetroundl): Likewise.
37251 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37253 (libc_fesetroundf): New macro.
37254 (libc_fesetround): Likewise.
37255 (libc_fesetroundl): Likewise.
37256 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37257 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37258 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37260 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37261 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37263 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37264 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37266 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37270 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37271 integer constant usable in #if and use that to give value to enum
37273 (FE_DIVBYZERO): Likewise.
37274 (FE_UNDERFLOW): Likewise.
37275 (FE_OVERFLOW): Likewise.
37276 (FE_INVALID): Likewise.
37277 (FE_INVALID_SNAN): Likewise.
37278 (FE_INVALID_ISI): Likewise.
37279 (FE_INVALID_IDI): Likewise.
37280 (FE_INVALID_ZDZ): Likewise.
37281 (FE_INVALID_IMZ): Likewise.
37282 (FE_INVALID_COMPARE): Likewise.
37283 (FE_INVALID_SOFTWARE): Likewise.
37284 (FE_INVALID_SQRT): Likewise.
37285 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37286 (FE_TONEAREST): Likewise.
37287 (FE_TOWARDZERO): Likewise.
37288 (FE_UPWARD): Likewise.
37289 (FE_DOWNWARD): Likewise.
37290 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37291 (FE_DIVBYZERO): Likewise.
37292 (FE_OVERFLOW): Likewise.
37293 (FE_UNDERFLOW): Likewise.
37294 (FE_INEXACT): Likewise.
37295 (FE_TONEAREST): Likewise.
37296 (FE_DOWNWARD): Likewise.
37297 (FE_UPWARD): Likewise.
37298 (FE_TOWARDZERO): Likewise.
37299 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37300 (FE_UNDERFLOW): Likewise.
37301 (FE_OVERFLOW): Likewise.
37302 (FE_DIVBYZERO): Likewise.
37303 (FE_INVALID): Likewise.
37304 (FE_TONEAREST): Likewise.
37305 (FE_TOWARDZERO): Likewise.
37306 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37307 (FE_OVERFLOW): Likewise.
37308 (FE_UNDERFLOW): Likewise.
37309 (FE_DIVBYZERO): Likewise.
37310 (FE_INEXACT): Likewise.
37311 (FE_TONEAREST): Likewise.
37312 (FE_TOWARDZERO): Likewise.
37313 (FE_UPWARD): Likewise.
37314 (FE_DOWNWARD): Likewise.
37315 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37316 (FE_DIVBYZERO): Likewise.
37317 (FE_OVERFLOW): Likewise.
37318 (FE_UNDERFLOW): Likewise.
37319 (FE_INEXACT): Likewise.
37320 (FE_TONEAREST): Likewise.
37321 (FE_DOWNWARD): Likewise.
37322 (FE_UPWARD): Likewise.
37323 (FE_TOWARDZERO): Likewise.
37325 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37327 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37329 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37331 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37332 commands. Quote $PWD.
37333 (blacklist_exports): Don't use remove_newlines. Replace "declare
37335 (remove_newlines): Remove.
37337 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37339 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37340 * stdlib/stdlib.h (atof): Moved to ...
37341 * include/bits/stdlib-float.h: Here. New file.
37342 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37343 * stdlib/bits/stdlib-float.h: New file.
37344 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37349 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37351 * conform/conformtest.pl (@headers): Add fenv.h.
37352 * conform/data/fenv.h-data: New file.
37353 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37354 include of <math/fenv.h>.
37356 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37357 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37358 && !UNIX98]. Enables tests for XOPEN2K8.
37359 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37360 POSIX2008]: Likewise.
37362 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37363 (struct rusage): Do not expect type or its members.
37366 * math/math.h (FP_NAN): Define macro to integer constant usable in
37367 #if and use that to give value to enum constant.
37368 (FP_INFINITE): Likewise.
37369 (FP_ZERO): Likewise.
37370 (FP_SUBNORMAL): Likewise.
37371 (FP_NORMAL): Likewise.
37373 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37375 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37376 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37379 2012-11-02 Roland McGrath <roland@hack.frob.com>
37381 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37382 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37383 autoconf-time if not.
37384 * configure.in: Remove AC_PREREQ.
37386 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37388 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37389 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37390 of the internal implementation.
37392 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37394 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37395 except include of <misc/sys/syslog.h>.
37397 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37400 function returns with a NULL context exit with zero.
37402 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37404 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37406 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37408 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37409 (run_program_cmd): This.
37410 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37411 (tst_langinfo): New variable. Use it.
37413 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37415 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37416 floating point opcodes.
37418 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37420 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37423 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37425 * sysdeps/mach/hurd/powerpc: Remove directory.
37426 * sysdeps/mach/powerpc: Likewise.
37428 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37430 * scripts/check-local-headers.sh: Ignore c++ headers.
37432 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37434 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37435 __libc_cleanup_region_start argument.
37437 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37441 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37442 x * y using scaling, not as x * y + z.
37443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37444 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37445 * math/libm-test.inc (fma_test): Add more tests.
37446 (fma_test_towardzero): Likewise.
37447 (fma_test_downward): Likewise.
37448 (fma_test_upward): Likewise.
37450 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37452 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37454 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37456 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37459 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37461 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37463 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37470 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37473 Fix the order of the list for glibc 2.17.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37477 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37481 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37484 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37485 for low part of x being zero before using __atanl (y).
37486 * math/libm-test.inc (atan2_test): Add another test.
37488 * manual/install.texi (Configuring and compiling): Document
37489 general use of test-wrapper and test-wrapper-env.
37490 * INSTALL: Regenerated.
37492 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37493 (__fma): Do not extract and scale down low bits on after-rounding
37494 systems when result rounded to normal precision would have normal
37496 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37497 (__fmal): Do not extract and scale down low bits on after-rounding
37498 systems when result rounded to normal precision would have normal
37500 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37501 (__fmal): Do not extract and scale down low bits on after-rounding
37502 systems when result rounded to normal precision would have normal
37504 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37506 (fma_test): Add more tests.
37507 (fma_test_towardzero): Likewise.
37508 (fma_test_downward): Likewise.
37509 (fma_test_upward): Likewise.
37511 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37513 * sysdeps/i386/tininess.h: Renamed to ...
37514 * sysdeps/x86/tininess.h: This.
37515 * sysdeps/x86_64/tininess.h: Removed.
37517 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37519 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37520 input. Use $(build-program-cmd).
37521 ($(objpfx)tst-array1-static.out): Likewise.
37522 ($(objpfx)tst-array2.out): Likewise.
37523 ($(objpfx)tst-array3.out): Likewise.
37524 ($(objpfx)tst-array4.out): Likewise.
37525 ($(objpfx)tst-array5.out): Likewise.
37526 ($(objpfx)tst-array5-static.out): Likewise.
37528 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37530 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37533 * nss/nsswitch.h (nss_interface_function): Provide new
37534 macro for use with NSS functions.
37535 * grp/initgroups.c: Use new macro.
37536 * nss/getXXbyYY.c: Likewise.
37537 * nss/getXXbyYY_r.c: Likewise.
37538 * nss/getXXent.c: Likewise.
37539 * nss/getXXent_r.c: Likewise.
37540 * sysdeps/posix/getaddrinfo.c: Likewise.
37542 2012-10-30 Andreas Jaeger <aj@suse.de>
37544 * po/ru.po: Update Russion translation from translation project.
37546 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37551 result and shift together with sticky bit instead of replicating
37552 round-to-nearest rounding.
37553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37555 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37556 missing underflow exceptions.
37557 (fma_test_towardzero): Add more tests.
37558 (fma_test_downward): Likewise.
37559 (fma_test_upward): Likewise.
37562 * sysdeps/generic/tininess.h: New file.
37563 * sysdeps/i386/tininess.h: Likewise.
37564 * sysdeps/sh/tininess.h: Likewise.
37565 * sysdeps/x86_64/tininess.h: Likewise.
37566 * stdlib/tst-strtod-underflow.c: Likewise.
37567 * stdlib/tst-tininess.c: Likewise.
37568 * stdlib/strtod_l.c: Include <tininess.h>.
37569 (round_and_return): Do not set errno for exact underflow cases.
37570 Force an underflow exception when setting errno for underflow.
37571 Determine underflow based on rounding to normal precision if
37572 TININESS_AFTER_ROUNDING.
37573 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37574 ERANGE for exact underflow cases.
37575 * stdlib/Makefile (tests): Add tst-tininess and
37576 tst-strtod-underflow.
37577 ($(objpfx)tst-tininess): Use $(link-libm).
37578 ($(objpfx)tst-strtod-underflow): Likewise.
37580 2012-10-30 Andreas Jaeger <aj@suse.de>
37583 * elf/Makefile (tests): Remove conditional for have-initfini-array
37584 since this is now always required and the variable does not exist
37586 (tests-static): Likewise.
37587 (modules-names): Likewise.
37589 * po/eo.po: Add Esperanto translation from translation project.
37591 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37592 merged with constructor/destructor.
37593 (init_array): Likewise.
37594 * elf/tst-array2dep.c (fini_array): Likewise.
37595 (init_array): Likewise.
37597 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37599 * manual/message.texi: Delete @cartouche tags.
37601 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37603 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37605 * sysdeps/mach/hurd/fsync.c: Likewise.
37607 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37608 [_POSIX_REALTIME_SIGNALS]: Change condition to
37609 [_POSIX_REALTIME_SIGNALS > 0].
37611 2012-10-27 Andreas Jaeger <aj@suse.de>
37613 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37614 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37616 [__WORDSIZE != 64]: Likewise.
37618 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37620 * iconvdata/tst-table.sh: Remove ${SHELL}.
37621 * iconvdata/tst-tables.sh: Likewise.
37623 2012-10-25 David S. Miller <davem@davemloft.net>
37625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37626 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37632 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37633 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37636 2012-10-25 Roland McGrath <roland@hack.frob.com>
37638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37639 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37642 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37643 Jim Blandy <jimb@codesourcery.com>
37645 * scripts/cross-test-ssh.sh: New file.
37646 * manual/install.texi (Configuring and compiling): Document use of
37648 * INSTALL: Regenerated.
37650 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37652 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37655 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37657 * Makeconfig (run-program-prefix): Fix comment.
37659 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37660 Jim Blandy <jimb@codesourcery.com>
37662 * Makeconfig (test-wrapper): New variable,
37663 (test-wrapper-env): Likewise.
37664 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37665 (run-built-tests): Define to yes.
37666 (run-program-prefix): Use $(test-wrapper).
37667 (built-program-cmd): Likewise.
37668 * Rules (make-test-out): Use $(test-wrapper-env) and
37669 $(host-built-program-cmd).
37670 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37671 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37673 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37674 $(test-wrapper-env) to tst-rtld-load-self.sh.
37675 ($(objpfx)order2.out): Use $(test-wrapper).
37676 ($(objpfx)tst-initorder.out): Likewise.
37677 ($(objpfx)tst-initorder2.out): Likewise.
37678 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37679 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37680 (test_wrapper_env): New variable. Use it to run ld.so.
37681 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37682 Use it to run ld.so.
37683 (test_wrapper_env): Likewise.
37684 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37685 $(test-wrapper) to run-iconv-test.sh.
37686 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37687 (ICONV): Use $test_wrapper.
37688 * posix/Makefile ($(objpfx)globtest.out): Pass
37689 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37690 globtest.sh, not $(run-program-prefix).
37691 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37692 (test_wrapper): Likewise.
37693 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37694 set together with run_via_rtld_prefix.
37695 (run_program_prefix): Define in terms of test_wrapper and
37696 run_via_rtld_prefix.
37698 2012-10-24 Roland McGrath <roland@hack.frob.com>
37700 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37701 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37705 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37706 Declare __clock_getres, __clock_gettime, __clock_settime,
37707 __clock_nanosleep, and __clock_getcpuclockid.
37708 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37709 Remove librt_hidden_def (clock_gettime).
37710 * sysdeps/unix/clock_gettime.c: Likewise.
37711 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37713 * rt/clock_getres.c: Define __clock_getres as an alias.
37714 * sysdeps/posix/clock_getres.c: Likewise.
37715 * rt/clock_settime.c: Define __clock_settime as an alias.
37716 * sysdeps/unix/clock_settime.c: Likewise.
37717 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37718 * sysdeps/unix/clock_nanosleep.c: Likewise.
37719 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37720 * rt/clock-compat.c: New file.
37721 * rt/Makefile (librt-routines): Add clock-compat and move
37722 $(clock-routines) to ...
37723 (routines): ... here, new variable.
37724 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37725 Don't add get_clockfreq here.
37726 * rt/Versions (libc: GLIBC_2.17): New version set.
37727 Add clock_* symbols here.
37728 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37729 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37730 (GLIBC_2.17): Add clock_* symbols.
37731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37742 * NEWS: Mention the move.
37744 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37745 Use __open, __read, __close rather than their public counterparts.
37746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37747 (__get_clockfreq_via_cpuinfo): Likewise.
37748 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37749 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37751 * config.h.in (HAVE_IFUNC): New #undef.
37752 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37754 * configure: Regenerated.
37756 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37758 * configure.in: Move READELF check to start of file.
37759 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37760 libc_cv_asm_gnu_indirect_function in the process.
37761 * configure: Regenerated.
37763 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37765 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37766 send the output to /dev/null.
37767 (libc_cv_cc_with_libunwind): Likewise.
37768 (libc_cv_as_noexecstack): Likewise.
37769 * configure: Regenerate.
37771 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37773 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37775 * posix/globtest.sh (TMPDIR): Do not set.
37776 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37777 (testout): Likewise.
37779 2012-10-24 Andreas Jaeger <aj@suse.de>
37781 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37782 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37783 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37784 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37785 posix_fadvise64, posix_fallocate64.
37787 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37788 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37789 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37791 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37793 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37796 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37797 <bits/fcntl-linux.h>.
37798 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37801 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37802 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37803 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37804 [__WORDSIZE != 64]: Likewise.
37806 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37808 * Makeconfig (run-built-tests): New variable.
37809 * Rules [$(cross-compiling) = yes]: Change condition to
37810 [$(run-built-tests) = no].
37811 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37812 to [$(run-built-tests) = yes].
37813 * elf/Makefile [$(cross-compiling) = no]: Likewise
37814 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37815 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37816 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37817 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37818 * io/Makefile [$(cross-compiling) = no]: Likewise.
37819 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37820 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37821 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37822 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37823 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37824 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37825 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37826 * string/Makefile [$(cross-compiling) = no]: Likewise.
37828 * posix/Makefile ($(objpfx)globtest.out): Pass
37829 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37830 $(rtld-installed-name).
37831 * posix/globtest.sh (elf_objpfx): Remove variable.
37832 (rtld_installed_name): Likewise.
37833 (library_path): Likewise.
37834 (run_program_prefix): New variable. Use for running globtest
37837 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37838 Joseph Myers <joseph@codesourcery.com>
37840 * Makeconfig (host-built-program-cmd): New variable.
37841 * elf/Makefile (tst-stackguard1-ARGS): Use
37842 $(host-built-program-cmd).
37843 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37844 (tst-spawn-ARGS): Likewise.
37845 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37847 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37848 Jim Blandy <jimb@codesourcery.com>
37850 * Makeconfig (run-via-rtld-prefix): New variable.
37851 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37852 (built-program-cmd): Likewise.
37854 2012-10-22 Andreas Jaeger <aj@suse.de>
37856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37857 __O_RSYNC if it exists, otherwise to O_SYNC.
37859 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37860 Joseph Myers <joseph@codesourcery.com>
37862 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37864 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37866 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37869 2012-10-22 Andreas Jaeger <aj@suse.de>
37871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37876 bits/fcntl-linux.h.
37878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37879 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37886 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37887 Joseph Myers <joseph@codesourcery.com>
37889 * config.make.in (NM): New variable.
37891 2012-10-21 Andreas Jaeger <aj@suse.de>
37893 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37894 definitions and declarations that are provided by
37895 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37897 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37900 * elf/Makefile (tests-static): Add tst-leaks1-static.
37901 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37902 ($(objpfx)tst-leaks1-static): New rule.
37903 ($(objpfx)tst-leaks1-static-mem): Likewise.
37904 (tst-leaks1-static-ENV): New macro.
37905 * elf/dl-open.c (dl_open_worker): Check the main application
37906 only if SHARED is defined.
37907 * elf/tst-leaks1-static.c: New file.
37909 2012-10-20 Andreas Jaeger <aj@suse.de>
37911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37912 generic values for Linux.
37913 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37914 and declarations that are provided by <bits/fcntl-linux.h> and
37915 include <bits/fcntl-linux.h>.
37916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37919 2012-10-20 Roland McGrath <roland@hack.frob.com>
37921 * io/fcntl.h: Move include of <bits/types.h> to the top and
37922 include it unconditionally.
37924 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37926 * wcsmbs/Makefile (tests-ifunc): New variable.
37927 (tests): Add $(tests-ifunc).
37928 * wcsmbs/test-wcschr-ifunc.c: New file.
37929 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37930 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37931 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37932 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37933 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37935 * string/Makefile (tests-ifunc): New variable.
37936 (tests): Add $(tests-ifunc).
37937 * string/test-memccpy.c (TEST_NAME): New macro.
37938 * string/test-memchr.c (TEST_NAME): Likewise.
37939 * string/test-memcmp.c (TEST_NAME): Likewise.
37940 * string/test-memcpy.c (TEST_NAME): Likewise.
37941 * string/test-memmem.c (TEST_NAME): Likewise.
37942 * string/test-memmove.c (TEST_NAME): Likewise.
37943 * string/test-memset.c (TEST_NAME): Likewise.
37944 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37945 * string/test-stpcpy.c (TEST_NAME): Likewise.
37946 * string/test-stpncpy.c (TEST_NAME): Likewise.
37947 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37948 * string/test-strcasestr.c (TEST_NAME): Likewise.
37949 * string/test-strcat.c (TEST_NAME): Likewise.
37950 * string/test-strchr.c (TEST_NAME): Likewise.
37951 * string/test-strcmp.c(TEST_NAME): Likewise.
37952 * string/test-strcpy.c (TEST_NAME): Likewise.
37953 * string/test-strcspn.c (TEST_NAME): Likewise.
37954 * string/test-strlen.c (TEST_NAME): Likewise.
37955 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37956 * string/test-strncmp.c (TEST_NAME): Likewise.
37957 * string/test-strncpy.c (TEST_NAME): Likewise.
37958 * string/test-strnlen.c (TEST_NAME): Likewise.
37959 * string/test-strpbrk.c (TEST_NAME): Likewise.
37960 * string/test-strrchr.c (TEST_NAME): Likewise.
37961 * string/test-strspn.c (TEST_NAME): Likewise.
37962 * string/test-strstr.c (TEST_NAME): Likewise.
37963 * string/test-bcopy-ifunc.c: New file.
37964 * string/test-bzero-ifunc.c: Likewise.
37965 * string/test-memccpy-ifunc.c: Likewise.
37966 * string/test-memchr-ifunc.c: Likewise.
37967 * string/test-memcmp-ifunc.c: Likewise.
37968 * string/test-memcpy-ifunc.c: Likewise.
37969 * string/test-memmem-ifunc.c: Likewise.
37970 * string/test-memmove-ifunc.c: Likewise.
37971 * string/test-mempcpy-ifunc.c: Likewise.
37972 * string/test-memset-ifunc.c: Likewise.
37973 * string/test-rawmemchr-ifunc.c: Likewise.
37974 * string/test-stpcpy-ifunc.c: Likewise.
37975 * string/test-stpncpy-ifunc.c: Likewise.
37976 * string/test-strcasecmp-ifunc.c: Likewise.
37977 * string/test-strcasestr-ifunc.c: Likewise.
37978 * string/test-strcat-ifunc.c: Likewise.
37979 * string/test-strchr-ifunc.c: Likewise.
37980 * string/test-strchrnul-ifunc.c: Likewise.
37981 * string/test-strcmp-ifunc.c: Likewise.
37982 * string/test-strcpy-ifunc.c: Likewise.
37983 * string/test-strcspn-ifunc.c: Likewise.
37984 * string/test-strlen-ifunc.c: Likewise.
37985 * string/test-strncasecmp-ifunc.c: Likewise.
37986 * string/test-strncat-ifunc.c: Likewise.
37987 * string/test-strncmp-ifunc.c: Likewise.
37988 * string/test-strncpy-ifunc.c: Likewise.
37989 * string/test-strnlen-ifunc.c: Likewise.
37990 * string/test-strpbrk-ifunc.c: Likewise.
37991 * string/test-strrchr-ifunc.c: Likewise.
37992 * string/test-strspn-ifunc.c: Likewise.
37993 * string/test-strstr-ifunc.c: Likewise.
37995 * debug/Makefile (tests-ifunc): New variable.
37996 (tests): Add $(tests-ifunc).
37997 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37998 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37999 * debug/test-stpcpy_chk-ifunc.c: New file.
38000 * debug/test-strcpy_chk-ifunc.c: Likewise.
38002 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38005 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38006 header is not read in.
38008 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38010 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38011 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38012 directly. Pass built executable to script as
38013 $(built-program-cmd).
38014 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38015 $testprogram without using LD_LIBRARY_PATH and $ldso.
38017 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38018 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38019 $(rtld-installed-name).
38020 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38021 (rtld_installed_name): Likewise.
38022 (library_path): Likewise.
38023 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38024 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38025 $(run-program-prefix) to tst-tables.sh.
38026 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38027 it to run tst-table-from and tst-table-to.
38028 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38029 Pass it to tst-table.sh.
38030 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38031 $(run-program-prefix) to tst-gettext.sh.
38032 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38034 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38036 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38037 to run tst-gettext.
38038 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38039 to run tst-gettext2.
38040 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38041 to run tst-translit.
38042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38043 $(run-program-prefix) to tst-mtrace.sh.
38044 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38046 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38047 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38048 $(rtld-installed-name).
38049 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38050 (rtld_installed_name): Likewise.
38051 (run_program_prefix): New variable. Use it to run wordexp-test.
38053 * Makeconfig (ARCH): Remove all definitions.
38054 (machine): Likewise.
38055 [ARCH]: Remove conditional code.
38056 [!objdir]: Give error.
38057 [!objdir] (objpfx): Remove.
38058 [!objdir] (common-objpfx): Likewise.
38059 [!objdir] (common-objdir): Likewise.
38060 * configure.in (config_makefile): Remove. Hardcode Makefile in
38061 AC_CONFIG_FILES call.
38062 * configure: Regenerated.
38065 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38067 (testout): Likewise.
38069 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38070 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38071 $(rtld-installed-name).
38072 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38073 (rtld_installed_name): Likwise.
38074 (runit): Remove function.
38075 (run_getconf): New variable, Use it for running getconf binary.
38077 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38080 * string/test-memmem.c (check_result): New function.
38081 (do_one_test): Use it.
38082 (check1): New function.
38083 (test_main): Use it.
38085 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38087 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38089 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38091 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38092 (_G_LSEEK64): Likewise.
38093 (_G_MMAP64): Likewise.
38094 (_G_FSTAT64): Likewise.
38095 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38096 (_G_LSEEK64): Likewise.
38097 (_G_MMAP64): Likewise.
38098 (_G_FSTAT64): Likewise.
38099 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38100 unconditional. Call __mmap64 directly.
38101 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38102 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38103 __lseek64 directly.
38104 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38105 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38107 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38108 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38109 __lseek64 directly.
38110 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38111 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38112 __lseek64 directly.
38113 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38114 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38115 __lseek64 directly.
38116 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38117 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38118 __fxstat64 directly.
38119 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38120 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38122 (freopen64) [!_G_OPEN64]: Remove conditional code.
38123 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38125 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38126 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38128 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38129 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38131 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38132 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38134 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38135 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38137 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38138 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38140 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38141 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38143 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38145 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38148 * manual/memory.texi (Malloc Tunable Parameters): Add note
38149 about free list pointers overwriting some perturb bytes.
38150 Wording suggested by Roland McGrath.
38152 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38154 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38155 (lgamma_test): Likewise.
38156 (tgamma_test): Likewise.
38158 2012-10-16 Florian Weimer <fweimer@redhat.com>
38161 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38162 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38164 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38166 * NEWS: Mention BZ #14716.
38167 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38168 when removing AVAILABLE1_USES_J macro.
38170 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38172 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38173 (__bswap_64): __uint64_t for unsigned 64-bit int.
38175 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38177 * include/string.h (memmem): Declare libc hidden alias.
38178 * string/memmem.c (memmem): Define libc hidden alias.
38179 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38180 __read, __close instead of open, read, close.
38182 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38185 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38187 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38188 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38189 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38191 (__rawmemchr_sse2): Likewise.
38192 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38193 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38194 (__strchr_sse2): Likewise.
38195 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38196 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38197 (__strcasecmp_sse2): Likewise.
38198 (__strncasecmp_sse2): Likewise.
38199 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38200 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38201 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38202 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38203 (__strrchr_sse2): Likewise.
38204 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38206 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38207 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38208 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38209 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38210 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38211 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38212 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38214 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38215 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38216 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38217 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38218 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38219 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38220 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38221 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38222 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38223 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38224 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38225 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38226 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38227 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38228 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38229 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38230 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38232 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38233 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38234 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38235 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38237 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38239 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38240 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38241 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38242 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38244 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38246 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38247 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38248 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38249 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38251 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38252 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38253 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38254 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38255 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38256 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38257 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38258 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38259 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38260 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38261 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38262 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38263 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38264 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38265 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38267 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38268 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38269 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38270 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38272 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38273 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38274 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38275 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38276 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38277 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38278 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38279 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38280 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38281 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38282 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38283 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38284 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38285 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38286 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38287 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38288 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38289 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38290 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38291 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38293 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38294 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38295 * include/ifunc-impl-list.h: New file.
38296 * misc/ifunc-impl-list.c: Likewise.
38297 * misc/Makefile (routines): Add ifunc-impl-list.
38298 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38299 * string/test-string.h: Include <ifunc-impl-list.h>.
38300 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38301 TEST_NAME]: New variables.
38302 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38304 (test_init): Call __libc_ifunc_impl_list to initialize
38305 func_list if TEST_IFUNC and TEST_NAME are defined.
38307 * string/Makefile (strop-tests): Add bcopy and bzero.
38308 * string/test-bcopy.c: New file.
38309 * string/test-bzero.c: Likewise.
38310 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38312 * string/test-memset.c: Support bzero test if TEST_BZERO is
38314 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38316 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38318 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38321 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38323 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38324 * configure: Regenerated.
38326 * Makeconfig (+link-static-before-libc): Don't include
38327 $(link-static-libc).
38329 * libio/libio.h (_IO_pos_t): Remove.
38331 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38333 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38336 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38338 * crypt/crypt-entry.c: Include fips-private.h.
38339 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38340 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38341 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38342 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38344 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38346 * crypt/crypt-private.h: Include stdbool.h.
38347 (_ufc_setup_salt_r): Return bool.
38348 * crypt/crypt-entry.c: Include errno.h.
38349 (__crypt_r): Return NULL with EINVAL for bad salt.
38350 * crypt/crypt_util.c (bad_for_salt): New.
38351 (_ufc_setup_salt_r): Check that salt is long enough and within
38352 the specified alphabet.
38353 * crypt/badsalttest.c: New file.
38354 * crypt/Makefile (tests): Add it.
38355 ($(objpfx)badsalttest): New.
38357 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38359 * NEWS: Add entry for BZ #14602.
38361 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38363 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38365 * math/libm-test.inc: Update comment listing what functions and
38367 (isgreater_test): New function.
38368 (isgreaterequal_test): Likewise.
38369 (isless_test): Likewise.
38370 (islessequal_test): Likewise.
38371 (islessgreater_test): Likewise.
38372 (isunordered_test): Likewise.
38373 (main): Call the new functions.
38375 2012-10-09 Roland McGrath <roland@hack.frob.com>
38377 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38378 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38379 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38380 * sysdeps/i386/configure: Regenerated.
38381 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38382 * sysdeps/mach/configure: Regenerated.
38383 * sysdeps/mach/hurd/configure: Regenerated.
38384 * sysdeps/powerpc/configure: Regenerated.
38385 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38386 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38387 * sysdeps/s390/s390-32/configure: Regenerated.
38388 * sysdeps/s390/s390-64/configure: Regenerated.
38389 * sysdeps/sh/configure: Regenerated.
38390 * sysdeps/sparc/configure: Regenerated.
38391 * sysdeps/unix/sysv/linux/configure: Regenerated.
38392 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38393 * sysdeps/x86_64/configure: Regenerated.
38395 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38396 defined. Don't check if MAP is NULL.
38398 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38400 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38401 (_G_stat64): Likewise.
38402 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38403 (_G_stat64): Likewise.
38404 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38405 instead of struct _G_stat64.
38406 * libio/fileops.c (mmap_remap_check): Likewise.
38407 (decide_maybe_mmap): Likewise.
38408 (_IO_new_file_seekoff): Likewise.
38409 (_IO_file_stat): Likewise.
38410 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38412 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38413 instead of struct _G_stat64.
38414 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38416 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38419 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38421 (CHECK_EOL): New macro.
38422 (two_way_short_needle): Check beginning of haystack for EOL. Use
38424 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38425 Replace with CHECK_EOL.
38426 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38427 Replace with CHECK_EOL.
38429 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38431 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38433 * math/libm-test.inc: Update comment listing what functions and
38435 (finite_test): New function.
38436 (isinf_test): Likewise.
38437 (isnan_test): Likewise.
38438 (fpclassify_test): Test subnormal input.
38439 (isfinite_test): Likewise.
38440 (isnormal_test): Likewise.
38441 (main): Call the new functions.
38443 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38446 * Makerules (%.dynsym): Force C locale when running
38447 $(OBJDUMP) --dynamic-syms.
38449 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38451 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38454 2012-10-06 David S. Miller <davem@davemloft.net>
38456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38457 upper 32-bits of the length value in %o2 since we use branch-on-register
38458 tests which consider the entire 64-bit register.
38460 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38462 * string/test-strstr.c (check2): Add a test for page boundary.
38464 2012-10-05 David S. Miller <davem@davemloft.net>
38466 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38467 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38469 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38471 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38472 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38473 and bzero when HWCAP_SPARC_CRYPTO is present.
38475 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38478 * string/test-strstr.c (check2): New function.
38479 (test_main): Call check2.
38481 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38483 * string/bug-strcasestr1.c (do_test): Moved to ...
38484 * string/test-strcasestr.c (check1): Here. New function.
38485 (do_one_test): Break out result checking code into ...
38486 (check_result): This. New function.
38487 (do_one_test): Call check_result.
38488 (test_main): Call check1.
38489 * string/bug-strchr1.c (do_test): Moved to ...
38490 * string/test-strchr.c (check1): Here. New function.
38491 (do_one_test): Break out result checking code into ...
38492 (check_result): This. New function.
38493 (do_one_test): Call check_result.
38494 (test_main): Call check1.
38495 * string/bug-strstr1.c (main): Moved to ...
38496 * string/test-strstr.c (check1): Here. New function.
38497 (do_one_test): Break out result checking code into ...
38498 (check_result): This. New function.
38499 (do_one_test): Call check_result.
38500 (test_main): Call check1.
38501 * string/bug-strcasestr1.c: Removed.
38502 * string/bug-strchr1.c: Likewise.
38503 * string/bug-strstr1.c: Likewise.
38505 * elf/Makefile (dl-routines): Add hwcaps.
38506 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38507 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38508 (_dl_important_hwcaps): Moved to ...
38509 * elf/dl-hwcaps.c: Here. New file.
38510 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38513 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38514 if IS_IN_rtld isn't defined.
38516 * elf/dl-support.c (_dl_sysinfo_map): New.
38517 Include "get-dynamic-info.h" and "setup-vdso.h".
38518 (_dl_non_dynamic_init): Call setup_vdso.
38519 * elf/dynamic-link.h: Don't include <assert.h>.
38520 (elf_get_dynamic_info): Moved to ...
38521 * elf/get-dynamic-info.h: Here. New file.
38522 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38523 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38524 * elf/setup-vdso.h: Here. New file.
38525 * elf/rtld.c: Include "setup-vdso.h".
38526 (dl_main): Call setup_vdso.
38528 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38530 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38531 creal in comment listing functions tested. List finite, isinf,
38532 isnan, isless, islessequal, isgreater, isgreaterequal,
38533 islessgreater, isunordered, lgamma_r and pow10 as functions and
38534 macros not tested. Mention which functions not tested are aliases
38535 for other functions. Fix typo. Note that signs of NaNs are not
38538 * scripts/config.guess: Update from config.git.
38539 * scripts/config.sub: Likewise.
38541 2012-10-04 Roland McGrath <roland@hack.frob.com>
38543 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38544 * misc/madvise.c (madvise): Renamed to __madvise.
38545 Make madvise a weak alias.
38546 * include/sys/mman.h: Declare __madvise.
38547 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38548 * sysdeps/unix/syscalls.list
38549 (madvise): Make __madvise the strong name, and madvise a weak alias.
38550 * sysdeps/unix/sysv/linux/syscalls.list
38551 (madvise, mmap): Remove redundant entries.
38552 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38553 * malloc/malloc.c (mtrim): Likewise.
38554 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38556 2012-10-03 Roland McGrath <roland@hack.frob.com>
38558 * sysdeps/mach/hurd/dl-cache.c: File removed.
38559 * config.h.in (USE_LDCONFIG): New #undef.
38560 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38561 * configure: Regenerated.
38562 * elf/Makefile (dl-routines): Add dl-cache only under
38563 [$(use-ldconfig) = yes].
38564 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38565 cache on [USE_LDCONFIG].
38566 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38568 * elf/rtld.c (dl_main): Likewise.
38570 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38572 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38573 _SC_LEVEL4_CACHE_LINESIZE.
38575 2012-10-03 Roland McGrath <roland@hack.frob.com>
38577 * sysdeps/unix/bsd/confstr.h: File removed.
38579 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38581 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38584 2012-10-02 Roland McGrath <roland@hack.frob.com>
38586 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38587 Make 'mapoff' field ElfW(Off) rather than off_t.
38589 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38591 * nscd/Makefile: Remove nscd-cflags and all its users.
38592 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38593 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38596 * malloc.c (malloc_printerr): Clarify error message.
38598 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38602 Set bit_FMA_Usable if FMA is supported.
38603 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38605 (bit_FMA4_Usable): Updated.
38606 (index_FMA_Usable): New macro.
38607 (CPUID_FMA): Likewise
38608 (HAS_FMA): Defined with bit_FMA_Usable.
38610 2012-10-01 Roland McGrath <roland@hack.frob.com>
38612 * bits/types.h (__swblk_t): Type removed.
38613 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38614 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38616 (__SWBLK_T_TYPE): Likewise.
38617 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38618 (__SWBLK_T_TYPE): Likewise.
38619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38620 (__SWBLK_T_TYPE): Likewise.
38621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38622 (__SWBLK_T_TYPE): Likewise.
38624 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38625 Honza Horak <hhorak@redhat.com>
38627 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38628 (xdr_mapname): Use YPMAXMAP as maxsize.
38629 (xdr_peername): Use YPMAXPEER as maxsize.
38630 (xdr_keydat): Use YPAXRECORD as maxsize.
38631 (xdr_valdat): Use YPMAXRECORD as maxsize.
38633 2012-10-01 Roland McGrath <roland@hack.frob.com>
38635 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38637 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38638 * csu/init-first.c: ... here.
38639 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38640 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38641 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38642 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38643 * sysdeps/i386/init-first.c: File removed.
38644 * sysdeps/sh/init-first.c: File removed.
38646 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38650 if x * y might underflow to zero and z is zero.
38651 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38653 * math/libm-test.inc (min_subnorm_value): New variable.
38654 (fma_test): Add more tests.
38655 (fma_test_towardzero): Likewise.
38656 (fma_test_downward): Likewise
38657 (fma_test_upward): Likewise.
38658 (initialize): Set min_subnorm_value.
38660 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38666 mode for addition resulting in exact zero.
38667 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38670 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38672 * math/libm-test.inc (fma_test): Add more tests.
38673 (fma_test_towardzero): New function.
38674 (fma_test_downward): Likewise.
38675 (fma_test_upward): Likewise.
38676 (main): Call the new functions.
38678 2012-09-28 David S. Miller <davem@davemloft.net>
38680 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38682 2012-09-28 Roland McGrath <roland@hack.frob.com>
38684 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38685 instead of SIGALRM.
38687 * sysdeps/gnu/_G_config.h: Moved to ...
38688 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38689 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38690 * sysdeps/generic/_G_config.h: ... here.
38692 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38694 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38696 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38697 Conditionalize target on [libnss_test1.so-version].
38699 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38701 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38702 (elfobjdir): Move out of conditionals.
38704 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38705 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38706 (__nss_lookup_function): Conditionalize label remove_from_tree on
38707 [!DO_STATIC_NSS || SHARED], matching its only use.
38709 2012-09-28 David S. Miller <davem@davemloft.net>
38711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38718 when HWCAP_SPARC_CRYPTO is present.
38720 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38722 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38724 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38727 * stdio-common/vfprintf.c (process_string_arg): Revert
38730 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38732 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38734 * stdio-common/tst-sprintf.c: Include <locale.h>
38735 (main): Test sprintf's handling of incomplete multibyte
38738 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38740 * elf/dl-runtime.c (VERSYMIDX): Removed.
38741 * elf/dl-version.c (VERSYMIDX): Likewise.
38742 * elf/do-rel.h (VERSYMIDX): Likewise.
38743 (VALIDX): Likewise.
38744 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38745 * elf/rtld.c (VALIDX): Likewise.
38746 (ADDRIDX): Likewise.
38747 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38748 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38749 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38750 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38751 (VALIDX): Likewise.
38752 (ADDRIDX): Likewise.
38754 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38756 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38758 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38761 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38763 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38764 addresses are in the same scope as 192.0.2/24.
38765 * posix/gai.conf: Document new scope table defaults.
38767 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38770 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38771 for ftell. Compute offsets from write pointers instead.
38772 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38774 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38777 * libio/Makefile (tests): New test case tst-fseek.
38778 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38779 combination works in wide mode.
38780 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38781 state when the external buffer state changes.
38783 2012-09-27 David S. Miller <davem@davemloft.net>
38786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38787 pass reloc->r_addend in as the 'high' argument to
38788 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38792 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38794 * rt/tst-aio2.c: Include <pthread.h>.
38795 * rt/tst-aio3.c: Likewise.
38797 2012-09-27 Steve Ellcey <sellcey@mips.com>
38799 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38801 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38803 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38804 contents on [SHARED].
38806 2012-09-26 Marek Polacek <polacek@redhat.com>
38810 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38811 for C++ and GCC <4.3 as well as for non GCC compilers.
38813 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38817 2012-09-25 Roland McGrath <roland@hack.frob.com>
38819 * Makefile.in (all, install): Declare with .PHONY.
38820 Reported by Michael Hope <michael.hope@linaro.org>.
38822 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38824 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38825 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38827 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38829 (sydep_routines): Add the new and the internal functions.
38830 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38831 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38833 (GLIBC_2.17): Add the new function.
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38835 (GLIBC_2.17): Likewise.
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38837 (GLIBC_2.17): Likewise.
38838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38839 (GLIBC_2.17): Likewise.
38840 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38842 2012-09-25 Alan Modra <amodra@gmail.com>
38844 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38845 Add release barrier before setting once_control to say
38846 initialisation is done. Add hints on lwarx. Use macro in
38848 (clear_once_control): Add release barrier.
38850 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38853 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38855 * math/s_clog10.c (__clog10): Likewise.
38856 * math/s_clog10f.c (__clog10f): Likewise.
38857 * math/s_clog10l.c (__clog10l): Likewise.
38858 * math/s_clogf.c (__clogf): Likewise.
38859 * math/s_clogl.c (__clogl): Likewise.
38860 * math/Makefile (libm-calls): Add x2y2m1.
38861 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38862 (__x2y2m1): Likewise.
38863 (__x2y2m1l): Likewise.
38864 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38865 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38868 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38869 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38870 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38871 * sysdeps/i386/fpu/libm-test-ulps: Update.
38872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38875 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38876 int as type of variable DEPTH.
38877 (glob): Use size_t instead of int as type of variables NEWCOUNT
38880 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38882 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38883 Add s_sincosf-sse2.
38884 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38885 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38886 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38887 macros for using routine as __sincosf_ia32.
38888 Use macro for function declaration and weak_alias.
38889 * sysdeps/i386/fpu/libm-test-ulps: Update.
38891 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38894 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38895 subnormal argument.
38896 * math/s_cexpf.c (__cexpf): Likewise.
38897 * math/s_csinf.c (__csinf): Likewise.
38898 * math/s_csinhf.c (__csinhf): Likewise.
38899 * math/s_ctanf.c (__ctanf): Likewise.
38900 * math/s_ctanhf.c (__ctanhf): Likewise.
38901 * math/s_ccosh.c (__ccoshf): Likewise.
38902 * math/s_cexp.c (__cexpl): Likewise.
38903 * math/s_csin.c (__csin): Likewise.
38904 * math/s_csinh.c (__csinh): Likewise.
38905 * math/s_ctan.c (__ctan): Likewise.
38906 * math/s_ctanh.c (ctanh): Likewise.
38907 * math/s_ccoshl.c (__ccoshl): Likewise.
38908 * math/s_cexpl.c (__cexpl): Likewise.
38909 * math/s_csinl.c (__csinl): Likewise.
38910 * math/s_csinhl.c (__csinhl): Likewise.
38911 * math/s_ctanl.c (__ctanl): Likewise.
38912 * math/s_ctanhl.c (__ctanhl): Likewise.
38914 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38916 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38917 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38918 (_IO_off_t): Define to __off_t, not _G_off_t.
38919 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38920 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38921 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38922 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38923 type of __dummy and __dummy2 fields.
38924 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38925 (_G_ssize_t): Likewise.
38926 (_G_off_t): Likewise.
38927 (_G_pid_t): Likewise.
38928 (_G_uid_t): Likewise.
38929 (_G_wchar_t): Likewise.
38930 (_G_wint_t): Likewise.
38931 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38932 (_G_ssize_t): Likewise.
38933 (_G_off_t): Likewise.
38934 (_G_pid_t): Likewise.
38935 (_G_uid_t): Likewise.
38936 (_G_wchar_t): Likewise.
38937 (_G_wint_t): Likewise.
38938 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38939 (_G_ssize_t): Likewise.
38940 (_G_off_t): Likewise.
38941 (_G_pid_t): Likewise.
38942 (_G_uid_t): Likewise.
38943 (_G_wchar_t): Likewise.
38944 (_G_wint_t): Likewise.
38946 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38948 * malloc/arena.c: Include malloc-sysdep.h.
38949 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38950 is sufficient to shrink the heap or an unmap is needed.
38951 * sysdeps/generic/malloc-sysdep.h: New file. Define
38952 new function check_may_shrink_heap.
38953 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38954 new function check_may_shrink_heap.
38956 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38958 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38961 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38963 * catgets/test-gencat.sh: Add "set -e".
38964 * elf/tst-pathopt.sh: Likewise.
38965 * grp/tst_fgetgrent.sh: Likewise.
38966 * iconvdata/run-iconv-test.sh: Likewise.
38967 * intl/tst-gettext.sh: Likewise.
38968 * intl/tst-gettext2.sh: Likewise.
38969 * intl/tst-gettext4.sh: Likewise.
38970 * intl/tst-gettext6.sh: Likewise.
38971 * intl/tst-translit.sh: Likewise.
38972 * io/ftwtest-sh: Likewise.
38973 * libio/test-freopen.sh: Likewise.
38974 * malloc/tst-mtrace.sh: Likewise.
38975 * posix/globtest.sh: Likewise.
38976 * posix/tst-getconf.sh: Likewise.
38977 * posix/wordexp-tst.sh: Likewise.
38978 * stdio-common/tst-printf.sh: Likewise.
38979 * stdio-common/tst-unbputc.sh: Likewise.
38980 * stdlib/tst-fmtmsg.sh: Likewise.
38981 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38982 * catgets/Makefile: Do not specify -e option when running
38983 testsuite shell scripts.
38984 * elf/Makefile: Likewise.
38985 * grp/Makefile: Likewise.
38986 * iconvdata/Makefile: Likewise.
38987 * intl/Makefile: Likewise.
38988 * io/Makefile: Likewise.
38989 * libio/Makefile: Likewise.
38990 * malloc/Makefile: Likewise.
38991 * posix/Makefile: Likewise.
38992 * stdio-common/Makefile: Likewise.
38993 * stdlib/Makefile: Likewise.
38994 * sysdeps/x86_64/Makefile: Likewise.
38996 * io/ftwtest-sh: Add copyright header.
38997 * posix/globtest.sh: Likewise.
38998 * posix/tst-getconf.sh: Likewise.
38999 * posix/wordexp-tst.sh: Likewise.
39000 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39002 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39005 * Makeconfig (+link): Defined as $(+link-static) if
39006 $(build-shared) isn't yes.
39007 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39009 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39011 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39014 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39015 new chunk size with MALLOC_ALIGN_MASK.
39017 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39020 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39022 (__printf_fphex): Determine rounding using get_rounding_mode and
39024 * stdio-common/tst-printf-round.c (struct hex_test): New
39026 (hex_tests): New variable.
39027 (test_hex_in_one_mode): New function.
39028 (do_test): Also run tests for hex float output.
39030 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39032 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39033 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39034 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39035 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39037 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39038 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39039 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39041 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39043 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39044 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39045 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39046 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39048 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39051 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39053 * elf/tst-rtld-load-self.sh: New test.
39054 * elf/Makefile: Run it.
39056 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39058 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39059 (tst-writev-ENV): Remove.
39060 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39062 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39064 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39066 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39068 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39070 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39072 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39073 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39077 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39080 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39081 * config.make.in (have-cpp-asm-debuginfo): Removed.
39082 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39083 * configure: Regenerated.
39085 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39088 * stdio-common/printf_fp.c: Include <stdbool.h> and
39090 (___printf_fp): Determine rounding using get_rounding_mode and
39092 * stdio-common/tst-printf-round.c: New file.
39093 * stdio-common/Makefile (tests): Add tst-printf-round.
39094 (link-libm): New variable.
39095 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39097 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39100 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39101 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39103 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39106 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39108 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39109 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39110 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39111 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39113 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39116 * include/rounding-mode.h: New file.
39117 * sysdeps/generic/get-rounding-mode.h: Likewise.
39118 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39119 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39120 (MAX_VALUE): New macro.
39121 (MIN_VALUE): Likewise.
39122 (overflow_value): New function.
39123 (underflow_value): Likewise.
39124 (round_and_return): Use overflow_value and underflow_value to
39125 determine return values in overflow and underflow cases. Use
39126 round_away to determine rounding depending on rounding mode.
39127 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39128 determine return values in overflow and underflow cases.
39129 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39130 (struct test_results): New structure.
39131 (struct test): Use struct test_results to store expected results
39132 for all rounding modes.
39133 (TEST): Include expected results for all rounding modes.
39134 (test_in_one_mode): New function.
39135 (do_test): Use test_in_one_mode to compute and check results.
39136 Check results for all rounding modes.
39137 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39140 2012-12-09 Allan McRae <allan@archlinux.org>
39142 * sysdeps/i386/fpu/libm-test-ulps: Update
39144 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39146 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39147 (_G_int32_t): Likewise.
39148 (_G_uint16_t): Likewise.
39149 (_G_uint32_t): Likewise.
39150 (_G_HAVE_BOOL): Likewise.
39151 (_G_HAVE_ATEXIT): Likewise.
39152 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39153 (_G_HAVE_IO_FILE_OPEN): Likewise.
39154 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39155 (_G_int32_t): Likewise.
39156 (_G_uint16_t): Likewise.
39157 (_G_uint32_t): Likewise.
39158 (_G_HAVE_BOOL): Likewise.
39159 (_G_HAVE_ATEXIT): Likewise.
39160 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39161 (_G_HAVE_IO_FILE_OPEN): Likewise.
39162 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39163 (_G_int32_t): Likewise.
39164 (_G_uint16_t): Likewise.
39165 (_G_uint32_t): Likewise.
39166 (_G_HAVE_BOOL): Likewise.
39167 (_G_HAVE_ATEXIT): Likewise.
39168 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39169 (_G_HAVE_IO_FILE_OPEN): Likewise.
39171 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39173 * csu/libc-tls.c: Update copyright years.
39175 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39177 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39178 [!_G_USING_THUNKS]: Remove conditional code.
39179 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39180 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39182 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39183 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39184 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39185 (_G_VTABLE_LABEL_PREFIX): Likewise.
39186 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39187 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39188 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39189 (_G_VTABLE_LABEL_PREFIX): Likewise.
39190 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39191 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39192 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39193 (_G_VTABLE_LABEL_PREFIX): Likewise.
39194 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39196 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39198 * libio/Makefile: Include ../Makeconfig before tests.
39199 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39200 only if $(build-shared) is yes.
39202 * iconv/gconv_db.c: Update copyright years.
39204 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39206 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39207 unwind info if defined PIC. Fix special cases description.
39208 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39210 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39212 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39214 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39216 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39218 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39221 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39222 (LDLIBS-tst-chk4): This.
39223 (LDFLAGS-tst-chk5): Renamed to ...
39224 (LDLIBS-tst-chk5): This.
39225 (LDFLAGS-tst-chk6): Renamed to ...
39226 (LDLIBS-tst-chk6): This.
39227 (LDFLAGS-tst-lfschk4): Renamed to ...
39228 (LDLIBS-tst-lfschk4): This.
39229 (LDFLAGS-tst-lfschk5): Renamed to ...
39230 (LDLIBS-tst-lfschk5): This.
39231 (LDFLAGS-tst-lfschk6): Renamed to ...
39232 (LDLIBS-tst-lfschk6): This.
39234 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39235 on $(common-objpfx)soversions.mk.
39237 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39240 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39243 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39245 * malloc/arena.c (arena_get_retry): New function that gets
39246 another arena for the caller to try its request on.
39247 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39248 current arena cannot fulfill the request.
39249 (__libc_memalign): Likewise.
39250 (__libc_memalign): Likewise.
39251 (__libc_pvalloc): Likewise.
39252 (__libc_calloc): Likewise.
39254 2012-09-05 John Tobey <john.tobey@gmail.com>
39257 * manual/arith.texi (Operations on Complex): Fix description
39258 of carg branch cut.
39260 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39263 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39267 * manual/memory.texi (Memory): Make order of menu items match
39270 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39272 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39273 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39274 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39276 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39278 * csu/libc-tls.c (static_dtv): Renamed to ...
39279 (_dl_static_dtv): This. Make it global.
39280 (_dl_initial_dtv): Removed.
39281 (__libc_setup_tls): Updated.
39282 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39283 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39286 2012-09-06 Petr Machata <pmachata@redhat.com>
39288 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39289 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39290 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39291 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39293 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39296 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39297 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39300 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39303 * Makeconfig (link-static-before-libc): Replace $(+prector)
39305 (link-static-after-libc): Replace $(+postctor) with
39307 (link-bounded): Replace $(+prector)/$(+postctor) with
39308 $(+prectorT)/$(+postctorT).
39309 (+prectorT): New macro.
39310 (+postctorT): Likewise.
39312 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39314 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39315 (round_str): Handle values above the maximum for IBM long double
39317 * stdlib/tst-strtod-round.c (tests): Regenerated.
39319 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39321 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39323 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39324 zarch_nohighgprs around the zarch optimized routines.
39325 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39326 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39327 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39330 2012-09-05 David S. Miller <davem@davemloft.net>
39332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39334 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39335 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39336 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39337 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39342 * malloc/arena.c: Fold copyright years.
39343 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39345 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39347 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39349 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39351 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39353 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39355 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39356 change internal state upon failure.
39358 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39360 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39361 * malloc/memusage.c (mmap): Likewise.
39362 (mmap64, mremap): Likewise. Adjust name in comment.
39364 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39366 * libio/fileops.c: Fix typos in comments.
39367 * libio/oldfileops.c: Likewise.
39368 * libio/wfileops.c: Likewise.
39370 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39373 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39374 (tst-malloc-usable-ENV): Set environment for test case.
39375 * malloc/hooks.c (malloc_check_get_size): New function to get
39377 * malloc/malloc.c (musable): Use malloc_check_get_size.
39378 * malloc/tst-malloc-usable.c: New test case.
39380 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39382 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39384 2012-09-05 Allan McRae <allan@archlinux.org>
39387 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39388 determine header location.
39389 * configure: Regenerated.
39391 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39393 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39395 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39396 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39398 (test): Regenerate.
39400 2012-09-04 David S. Miller <davem@davemloft.net>
39402 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39403 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39404 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39406 2012-09-04 Florian Weimer <fweimer@redhat.com>
39408 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39411 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39413 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39416 * libio/iogetdelim.c: Include <limits.h>.
39417 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39418 + len + 1 would overflow.
39420 2012-09-03 Andreas Jaeger <aj@suse.de>
39422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39423 * sysdeps/i386/fpu/libm-test-ulps: Update.
39425 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39427 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39428 Add s_sinf-sse2, s_conf-sse2.
39430 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39431 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39432 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39433 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39435 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39436 for using routine as __sinf_ia32.
39437 Use macro for function declaration and weak_alias.
39438 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39439 for using routine as __cosf_ia32.
39440 Use macro for function declaration and weak_alias.
39442 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39443 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39445 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39446 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39449 * math/libm-test.inc (cos_test): Add more test cases.
39450 (sin_test): Likewise.
39451 (sincos_test): Likewise.
39453 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39456 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39458 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39460 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39463 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39464 first element of the GOT.
39465 (elf_machine_load_address): Return the difference between
39466 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39468 2012-09-01 Allan McRae <allan@archlinux.org>
39471 * configure.in (AWK): Require gawk version 3.0 or later.
39472 * configure: Regenerated.
39474 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39476 * sysdeps/unix/sysv/linux/kernel-features.h
39477 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39479 [__NR_clock_getres]: Make code unconditional.
39480 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39481 (clock_getcpuclockid): Remove code left unreachable by removal of
39483 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39484 code unconditional.
39485 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39486 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39487 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39488 Make code unconditional.
39489 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39490 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39491 * sysdeps/unix/sysv/linux/clock_settime.c
39492 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39494 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39495 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39497 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39500 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39501 scripts/test-installation.pl.
39503 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39504 and $ld_so_version if it is set.
39506 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39510 failure if reading from procfs failed.
39511 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39513 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39515 * sysdeps/unix/sysv/linux/kernel-features.h
39516 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39517 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39518 Remove conditional code.
39519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39521 Remove conditional code.
39522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39523 * sysdeps/unix/sysv/linux/i386/fxstat.c
39524 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39526 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39529 * sysdeps/unix/sysv/linux/i386/lxstat.c
39530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39532 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39533 Remove conditional code.
39534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39535 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39536 Remove conditional code.
39537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39538 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39539 <kernel-features.h>.
39540 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39542 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39543 Remove conditional code.
39544 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39545 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39546 Remove conditional.
39548 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39551 * NEWS: Add fixed bug number.
39553 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39556 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39557 underflowing exponent in case of negative sign.
39558 * stdlib/tst-strtod-round-data: Add more tests.
39559 * stdlib/tst-strtod-round.c (tests): Regenerated.
39562 * stdlib/strtod_l.c (NDIG): Remove.
39563 (HEXNDIG): Likewise.
39564 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39565 smallest representable value.
39566 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39567 lie within an exact representation of 1/2 ulp of the result.
39568 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39570 (TENS_P9_IDX): Define unconditionally.
39571 (TENS_P9_SIZE): Likewise.
39572 (TENS_P10_IDX): Likewise.
39573 (TENS_P10_SIZE): Likewise.
39574 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39575 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39576 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39577 entries for 10^2^13 and 10^2^14.
39578 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39579 (TENS_P13_IDX): Define.
39580 (TENS_P13_SIZE): Likewise.
39581 (TENS_P14_IDX): Likewise.
39582 (TENS_P14_SIZE): Likewise.
39583 (_fpioconst_pow10): Change array size to
39584 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39586 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39587 1024]: Add entries for 10^2^13 and 10^2^14.
39588 [LAST_POW10 > _LAST_POW10]: Remove #error.
39589 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39590 (_fpioconst_pow10): Change array size to
39591 FPIOCONST_POW10_ARRAY_SIZE.
39592 * stdlib/gen-fpioconst.c: New file.
39593 * stdlib/gen-tst-strtod-round.c: Likewise.
39594 * stdlib/tst-strtod-round-data: Likewise.
39595 * stdlib/tst-strtod-round.c: Likewise.
39596 * stdlib/Makefile (tests): Add tst-strtod-round.
39599 * stdlib/strtod_l.c: Include <stdint.h>.
39600 (NDEBUG): Do not define.
39601 (round_and_return): Change EXPONENT parameter to type intmax_t.
39602 Rearrange calculations to avoid internal overflow possibilities.
39603 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39604 Rearrange calculations to avoid internal overflow possibilities.
39605 Assert that number fits inside MPNSIZE limbs.
39606 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39607 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39608 calculations and add assertions to avoid internal overflow
39609 possibilities. Add casts to avoid signed/unsigned operations.
39610 * stdlib/tst-strtod-overflow.c: New file.
39611 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39613 2012-08-25 Marek Polacek <polacek@redhat.com>
39615 * time/time.h: Fix some typos in comments.
39617 2012-08-23 Roland McGrath <roland@hack.frob.com>
39619 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39620 * posix/tst-rfc3484-2.c: Likewise.
39621 * posix/tst-rfc3484-3.c: Likewise.
39623 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39625 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39626 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39628 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39630 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39631 #include of fxstatat64.c.
39633 2012-08-22 Roland McGrath <roland@hack.frob.com>
39635 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39636 * shadow/getspent_r.c: Likewise.
39637 * shadow/getspnam.c: Likewise.
39638 * shadow/getspnam_r.c: Likewise.
39639 * gshadow/getsgent.c: Likewise.
39640 * gshadow/getsgent_r.c: Likewise.
39641 * gshadow/getsgnam.c: Likewise.
39642 * gshadow/getsgnam_r.c: Likewise.
39643 * inet/getnetbyad.c: Likewise.
39644 * inet/getnetbyad_r.c: Likewise.
39645 * inet/getnetbynm.c: Likewise.
39646 * inet/getnetbynm_r.c: Likewise.
39647 * inet/getnetent.c: Likewise.
39648 * inet/getnetent_r.c: Likewise.
39649 * inet/getproto.c: Likewise.
39650 * inet/getproto_r.c: Likewise.
39651 * inet/getprtent.c: Likewise.
39652 * inet/getprtent_r.c: Likewise.
39653 * inet/getprtname.c: Likewise.
39654 * inet/getprtname_r.c: Likewise.
39655 * inet/getrpcbyname.c: Likewise.
39656 * inet/getrpcbyname_r.c: Likewise.
39657 * inet/getrpcbynumber.c: Likewise.
39658 * inet/getrpcbynumber_r.c: Likewise.
39659 * inet/getrpcent.c: Likewise.
39660 * inet/getrpcent_r.c: Likewise.
39661 * inet/getaliasent.c: Likewise.
39662 * inet/getaliasent_r.c: Likewise.
39663 * inet/getaliasname.c: Likewise.
39664 * inet/getaliasname_r.c: Likewise.
39665 * nscd/getgrgid_r.c: Likewise.
39666 * nscd/getgrnam_r.c: Likewise.
39667 * nscd/gethstbyad_r.c: Likewise.
39668 * nscd/gethstbynm3_r.c: Likewise.
39669 * nscd/getpwnam_r.c: Likewise.
39670 * nscd/getpwuid_r.c: Likewise.
39671 * nscd/getsrvbynm_r.c: Likewise.
39672 * nscd/getsrvbypt_r.c: Likewise.
39673 * nscd/gai.c: Likewise.
39675 * configure.in (build_nscd): New substituted variable, set
39676 by --disable-build-nscd and defaults to $use_nscd.
39677 * configure: Regenerated.
39678 * config.make.in (build-nscd): New substituted variable.
39679 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39680 Change conditional to require [$(build-nscd) = yes] as well.
39681 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39684 * configure.in (use_nscd): New substituted variable, set by
39685 --disable-nscd. If enabled, define USE_NSCD.
39686 * configure: Regenerated.
39687 * config.h.in: Add USE_NSCD.
39688 * config.make.in (use-nscd): New substituted variable.
39689 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39690 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39691 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39692 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39693 (CFLAGS-getgrnam_r.c): Likewise.
39694 (CFLAGS-initgroups.c): Likewise.
39695 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39696 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39698 * inet/getnetgrent_r.c
39699 (nscd_setnetgrent): New function, broken out of ...
39700 (setnetgrent): ... here. Call it.
39701 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39702 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39703 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39704 * nscd/Makefile (routines, aux): Move definitions after include of
39705 Makeconfig. Conditionalize on [$(use-nscd) != no].
39706 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39707 Conditionalize on [USE_NSCD].
39708 (is_nscd, nscd_init_cb): Likewise.
39709 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39710 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39711 * nss/nss_db/db-init.c: Likewise.
39712 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39714 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39715 (make_request): Use it.
39716 (cache_valid_p): New function.
39717 (__check_pf): Use it.
39718 * NEWS: Add item for --disable-nscd.
39720 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39722 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39723 to support sed >= 4.2.1-20-ga9bf076.
39724 * configure: Regenerated.
39726 2012-08-22 Roland McGrath <roland@hack.frob.com>
39728 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39729 Conditionalize whole body on [IREL].
39731 2012-08-22 Jeff Law <law@redhat.com>
39734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39735 if the family is PF_UNSPEC.
39737 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39739 * Makerules (lib-version): Rename from V.
39740 (install-lib-nosubdir): Change V to lib-version.
39742 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39745 * powerpc32/power6/wcschr.c: New file.
39746 * powerpc32/power6/wcscpy.c: New file.
39747 * powerpc32/power6/wcsrchr.c: New file.
39748 * powerpc64/power6/wcschr.c: New file.
39749 * powerpc64/power6/wcscpy.c: New file.
39750 * powerpc64/power6/wcsrchr.c: New file.
39752 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39754 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39755 (two_way_short_needle): Use it.
39756 * string/strstr.c (AVAILABLE1_USES_J): Define.
39757 * string/strcasestr.c: Likewise.
39759 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39761 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39764 * NEWS: Add an entry.
39765 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39766 define their defaults.
39767 (two_way_short_needle): Detect end-of-string on-the-fly.
39768 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39769 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39770 * string/bug-strcasestr1.c: New test.
39771 * string/Makefile: Run it.
39773 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39776 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39777 the first character.
39779 2012-08-21 Roland McGrath <roland@hack.frob.com>
39781 * csu/elf-init.c (__libc_csu_irel): Function removed.
39782 * csu/libc-start.c (apply_irel): New function.
39783 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39785 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39787 * sysdeps/unix/sysv/linux/kernel-features.h
39788 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39789 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39790 <kernel-features.h>.
39791 [__NR_fadvise64_64]: Make code unconditional.
39792 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39793 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39794 !__NR_fadvise64_64)]: Likewise.
39795 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39796 !__NR_fadvise64_64))]: Likewise.
39797 [__NR_fadvise64]: Make code unconditional.
39798 [!__NR_fadvise64]: Remove conditional code.
39799 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39800 <kernel-features.h>.
39801 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39803 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39806 not include <kernel-features.h>.
39807 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39809 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39811 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39812 include <kernel-features.h>.
39813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39818 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39820 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39821 slight instruction rearrangements per scrollpipe analysis.
39822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39824 2012-08-20 Roland McGrath <roland@hack.frob.com>
39826 * manual/syslog.texi (syslog; vsyslog, closelog):
39827 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39828 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39830 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39831 DSOCAPS to match condition on defining it.
39833 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39835 * sysdeps/unix/sysv/linux/kernel-features.h
39836 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39838 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39839 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39847 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39848 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39850 * sysdeps/unix/sysv/linux/kernel-features.h
39851 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39852 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39854 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39855 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39856 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39857 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39858 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39859 Make code unconditional.
39860 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39861 (__mmap64) [!__NR_mmap2]: Likewise.
39862 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39863 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39864 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39866 [__NR_mmap2]: Make code unconditional.
39867 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39868 (__mmap64) [!__NR_mmap2]: Likewise.
39870 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39872 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39874 2012-08-18 Andreas Jaeger <aj@suse.de>
39876 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39878 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39880 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39881 * include/unistd.h (__have_sock_cloexec): Likewise.
39882 (__have_pipe2): Likewise.
39883 (__have_dup3): Likewise.
39885 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39888 * include/unistd.h (__have_pipe2): Change define into an extern int.
39889 (__have_dup3): Likewise.
39890 * socket/have_sock_cloexec.c: Include fcntl.h.
39891 (__have_pipe2): New variable.
39892 (__have_dup3): Likewise.
39894 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39896 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39898 2012-08-17 Marek Polacek <polacek@redhat.com>
39900 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39901 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39903 2012-08-17 Roland McGrath <roland@hack.frob.com>
39905 * configure.in: Add AC_SUBST for sysheaders.
39906 * configure: Regenerated.
39907 * config.make.in (sysheaders): New substituted variable.
39909 * sysdeps/unix/mkfifo.c: Moved ...
39910 * sysdeps/posix/mkfifo.c: ... here.
39911 * sysdeps/unix/mkfifoat.c: Moved ...
39912 * sysdeps/posix/mkfifoat.c: ... here.
39914 * sysdeps/unix/utime.c: Moved ...
39915 * sysdeps/posix/utime.c: ... here.
39917 * sysdeps/unix/time.c: Moved ...
39918 * sysdeps/posix/time.c: ... here.
39919 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39920 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39922 * sysdeps/unix/nice.c: Moved ...
39923 * sysdeps/posix/nice.c: ... here.
39925 * sysdeps/unix/alarm.c: Moved ...
39926 * sysdeps/posix/alarm.c: ... here.
39928 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39930 2012-08-17 Jeff Law <law@redhat.com>
39932 * intl/Makefile (codeset_mo): New variable.
39933 ($(codeset_mo)): New target.
39934 (tst-codeset.out): Depend on that. Remove explicit rule.
39935 (tst-gettext3.out, tst-gettext5.out): Likewise.
39936 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39937 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39938 * intl/tst-codeset.sh: Remove.
39939 * intl/tst-gettext3.sh: Likewise.
39940 * intl/tst-gettext5.sh: Likewise.
39942 2012-08-17 Roland McGrath <roland@hack.frob.com>
39944 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39945 * sysdeps/unix/syscalls.list: ... here.
39947 * sysdeps/posix/getaddrinfo.c
39948 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39949 (gaiconf_init, gaiconf_reload): Use them.
39950 [!_STATBUF_ST_NSEC]
39951 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39952 Define using time_t rather than struct timespec.
39954 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39955 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39957 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39959 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39960 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39963 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39964 __libc_cleanup_push argument.
39966 * bits/param.h: New file.
39967 * misc/sys/param.h: New file.
39968 * include/sys/param.h: New file.
39969 * misc/Makefile (headers): Add bits/param.h.
39970 * sysdeps/generic/sys/param.h: File removed.
39971 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39972 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39973 * sysdeps/mach/hurd/bits/param.h: New file.
39974 * sysdeps/mach/hurd/sys/param.h: File removed.
39976 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39979 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39981 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39982 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39985 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39986 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39987 rather than -D_IO_MTSAFE_IO conditionally.
39988 * stdio-common/Makefile (CPPFLAGS): Likewise.
39989 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39990 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39991 Use $(libio-mtsafe).
39992 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39993 of -D_IO_MTSAFE_IO.
39994 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39995 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39996 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39997 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39998 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39999 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40000 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40001 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40002 (CFLAGS-fread_u_chk.c): Likewise.
40003 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40004 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40005 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40006 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40007 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40008 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40009 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40010 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40011 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40013 * libio/Makefile: Test [$(libc-reentrant) = yes]
40014 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40017 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40018 * sysdeps/pthread/configure: File removed.
40019 * sysdeps/pthread/Makeconfig: New file.
40020 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40021 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40023 2012-08-16 Gary Benson <gbenson@redhat.com>
40025 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40026 unmapping the first object in a namespace.
40028 2012-08-16 Roland McGrath <roland@hack.frob.com>
40030 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40031 (__internal_setnetgrent): ... this. Add internal_function to
40032 definition. Add libc_hidden_def.
40033 (setnetgrent): Update caller.
40034 (internal_endnetgrent): Renamed to ...
40035 (__internal_endnetgrent): ... this. Add internal_function to
40036 definition. Add libc_hidden_def.
40037 (endnetgrent): Update caller.
40038 (internal_getnetgrent_r): Renamed to ...
40039 (__internal_getnetgrent_r): ... this. Add internal_function to
40040 definition. Add libc_hidden_def.
40041 (__getnetgrent_r): Update caller.
40042 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40044 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40046 * stdlib/longlong.h: Update from GCC.
40048 2012-08-16 Roland McGrath <roland@hack.frob.com>
40050 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40051 on _QL, which is set by umul_ppmm but never used.
40052 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40053 variables, which are set by GMP macros but never used.
40054 * stdio-common/_itowa.c (_itowa): Likewise.
40055 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40056 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40058 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40060 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40061 struct La_sh_regs is not constant.
40062 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40063 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40064 and struct La_sparc64_regs are not constant.
40066 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40068 * sysdeps/unix/sysv/linux/kernel-features.h
40069 (__ASSUME_POSIX_TIMERS): Remove.
40070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40071 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40072 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40073 Make code unconditional.
40074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40075 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40076 Make code unconditional.
40077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40078 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40079 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40081 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40082 Make code unconditional.
40083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40084 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40085 (__libc_missing_posix_timers): Remove.
40087 2012-08-15 Roland McGrath <roland@hack.frob.com>
40089 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40090 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40092 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40094 * elf/dl-sym.c: Include <stdlib.h>.
40096 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40097 constants, which avoids warnings in 32-bit builds.
40099 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40100 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40102 * misc/lseek.c: File moved to ...
40103 * io/lseek.c: ... here.
40105 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40107 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40108 shifting LEN more than 31 bits at once.
40110 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40113 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40114 segmentation fault for a case of two empty input strings.
40115 * string/test-strncasecmp.c (check1): Renamed to...
40116 (bz12205): ...this.
40117 (bz14195): Add new testcase for two empty input strings and N > 0.
40118 (test_main): Call new testcase, adapt for renamed function.
40120 2012-08-15 Andreas Jaeger <aj@suse.de>
40123 * crypt/md5test2.c: New test, based on test supplied by Serge
40124 Belyshev <belyshev@depni.sinp.msu.ru>.
40125 * crypt/Makefile (xtests): Add md5test-giant..
40126 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40128 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40131 * crypt/md5.c (md5_process_block): Don't assume the buffer
40132 length is less than 2**32.
40133 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40134 length is less than 2**64.
40136 2012-08-15 Roland McGrath <roland@hack.frob.com>
40138 * string/str-two-way.h: Include <sys/param.h>.
40139 (MAX): Macro removed.
40141 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40142 Move #define and #undef of memmove to just before and after
40143 including <string.h>.
40145 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40146 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40147 and after including <string.h>. Move declarations of
40148 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40149 to before #include "string/memmove.c".
40151 * include/dirent.h: Declare __getdirentries.
40153 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40154 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40156 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40158 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40159 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40160 * sysdeps/i386/configure: Regenerated.
40161 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40162 STABS_CURRENT_FILE, and STABS_FUN.
40163 (END): Remove call to STABS_FUN_END.
40164 (STABS_CURRENT_FILE1): Delete.
40165 (STABS_CURRENT_FILE): Likewise.
40166 (STABS_FUN): Likewise.
40167 (STABS_FUN_END): Likewise.
40168 (STABS_FUN2): Likewise.
40169 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40170 * sysdeps/x86_64/configure: Regenerated.
40172 2012-08-14 Roland McGrath <roland@hack.frob.com>
40174 * elf/dl-open.c: Include <atomic.h>.
40175 * elf/dl-lookup.c: Likewise.
40177 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40179 * sysdeps/unix/sysv/linux/kernel-features.h
40180 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40181 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40183 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40185 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40186 condition on __ASSUME_CLONE_THREAD_FLAGS.
40188 2012-08-14 Andreas Jaeger <aj@suse.de>
40190 * sysdeps/i386/fpu/libm-test-ulps: Update.
40192 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40194 * include/atomic.h (atomic_exchange_and_add): Split into ...
40195 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40198 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40202 2012-08-13 Jeff Law <law@redhat.com>
40204 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40205 null byte in the output string.
40207 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40209 * sysdeps/unix/sysv/linux/kernel-features.h
40210 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40211 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40212 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40214 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40215 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40216 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40218 2012-08-09 Jeff Law <law@redhat.com>
40221 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40222 When avoid_arena is set, don't retry in the that arena. Pick the
40223 next one, whatever it might be.
40224 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40225 (arena_lock): Pass in new parameter to arena_get2.
40226 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40228 (__libc_malloc): Unify retrying after main arena failure with
40229 __libc_memalign version.
40230 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40232 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40235 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40236 to __redirect_strstr.
40237 (__strstr_sse42): Use typeof __redirect_strstr.
40238 (__strstr_ia32): Likewise.
40239 (__libc_strstr): New prototype.
40240 (strstr): Renamed to ...
40241 (__libc_strstr): This.
40242 (strstr): New strong alias of __libc_strstr.
40243 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40244 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40247 (__libc_time): New prototype.
40248 (time_ifunc): Replace time with __libc_time.
40249 (time): New strong alias and hidden definition of __libc_time.
40250 (__GI_time): Remove strong alias.
40251 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40252 Include <stddef.h>.
40253 (memmove): Redefined to __redirect_memmove.
40254 (__memmove_sse2): Use typeof __redirect_memmove.
40255 (__memmove_ssse3): Likewise.
40256 (__memmove_ssse3_back): Likewise.
40257 (__libc_memmove): New prototype.
40258 (memmove): Renamed to ...
40259 (__libc_memmove): This.
40260 (memmove): New strong alias of __libc_memmove.
40262 2012-08-08 Mark Salter <msalter@redhat.com>
40265 (R_MN10300_TLS_GD): Define.
40266 (R_MN10300_TLS_LD): Likewise.
40267 (R_MN10300_TLS_LDO): Likewise.
40268 (R_MN10300_TLS_GOTIE): Likewise.
40269 (R_MN10300_TLS_IE): Likewise.
40270 (R_MN10300_TLS_LE): Likewise.
40271 (R_MN10300_TLS_DTPMOD): Likewise.
40272 (R_MN10300_TLS_DTPOFF): Likewise.
40273 (R_MN10300_TLS_TPOFF): Likewise.
40274 (R_MN10300_SYM_DIFF): Likewise.
40275 (R_MN10300_ALIGN): Likewise.
40276 (R_MN10300_NUM): Update.
40278 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40283 2012-08-08 Roland McGrath <roland@hack.frob.com>
40285 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40287 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40288 sysdeps/unix -> sysdeps/posix move.
40289 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40291 2012-08-07 Allan McRae <allan@archlinux.org>
40294 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40295 (SUNOS_CPP): Likewise.
40296 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40298 (open_input): Call CPP using execvp.
40300 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40302 * sysdeps/unix/sysv/linux/kernel-features.h
40303 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40304 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40305 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40306 (__ASSUME_WAITID_SYSCALL): Likewise.
40307 * sysdeps/unix/sysv/linux/dl-execstack.c
40308 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40309 code unconditional.
40310 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40312 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40313 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40314 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40316 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40318 [__ASSUME_WAITID_SYSCALL]: Likewise.
40319 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40321 2012-08-07 Roland McGrath <roland@hack.frob.com>
40323 * sysdeps/unix/closedir.c: Renamed to ...
40324 * sysdeps/posix/closedir.c: ... here.
40325 * sysdeps/unix/dirfd.c: Renamed to ...
40326 * sysdeps/posix/dirfd.c: ... here.
40327 * sysdeps/unix/dirstream.h: Renamed to ...
40328 * sysdeps/posix/dirstream.h: ... here.
40329 * sysdeps/unix/fdopendir.c: Renamed to ...
40330 * sysdeps/posix/fdopendir.c: ... here.
40331 * sysdeps/unix/opendir.c: Renamed to ...
40332 * sysdeps/posix/opendir.c: ... here.
40333 * sysdeps/unix/readdir.c: Renamed to ...
40334 * sysdeps/posix/readdir.c: ... here.
40335 * sysdeps/unix/readdir_r.c: Renamed to ...
40336 * sysdeps/posix/readdir_r.c: ... here.
40337 * sysdeps/unix/rewinddir.c: Renamed to ...
40338 * sysdeps/posix/rewinddir.c: ... here.
40339 * sysdeps/unix/seekdir.c: Renamed to ...
40340 * sysdeps/posix/seekdir.c: ... here.
40341 * sysdeps/unix/telldir.c: Renamed to ...
40342 * sysdeps/posix/telldir.c: ... here.
40343 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40344 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40345 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40346 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40348 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40349 * bits/fcntl.h: ... here.
40351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40353 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40354 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40355 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40356 (struct flock): Move l_start, l_len to the beginning.
40357 Use __pid_t for l_pid.
40358 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40359 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40360 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40361 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40362 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40363 [__USE_LARGEFILE64] (struct flock64): New type.
40364 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40366 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40367 * bits/dirent.h: ... here.
40369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40370 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40372 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40374 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40375 Change from 2.6.0 to 2.6.16.
40376 * sysdeps/unix/sysv/linux/configure: Regenerated.
40377 * sysdeps/unix/sysv/linux/kernel-features.h
40378 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40379 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40381 (__ASSUME_UTIMES): Likewise.
40382 (__ASSUME_CLONE_STOPPED): Remove.
40383 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40384 architectures, not kernel version.
40385 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40386 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40387 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40388 (__ASSUME_WAITID_SYSCALL): Likewise.
40389 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40390 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40391 * README: State 2.6.16 as minimum Linux kernel version. Do not
40392 refer to older versions.
40394 2012-08-06 Roland McGrath <roland@hack.frob.com>
40396 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40397 Define alphasort64 as an alias.
40398 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40399 Define versionsort64 as an alias.
40400 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40401 Define scandir64 as an alias.
40402 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40403 Define scandirat64 as an alias.
40404 * dirent/alphasort64.c (alphasort64):
40405 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40406 * dirent/versionsort64.c: Likewise.
40407 * dirent/scandir64.c: Likewise.
40408 * dirent/scandirat64.c: Likewise.
40409 * sysdeps/wordsize-64/alphasort.c: File removed.
40410 * sysdeps/wordsize-64/alphasort64.c: File removed.
40411 * sysdeps/wordsize-64/scandir.c: File removed.
40412 * sysdeps/wordsize-64/scandir64.c: File removed.
40413 * sysdeps/wordsize-64/scandirat.c: File removed.
40414 * sysdeps/wordsize-64/scandirat64.c: File removed.
40415 * sysdeps/wordsize-64/versionsort.c: File removed.
40416 * sysdeps/wordsize-64/versionsort64.c: File removed.
40417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40418 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40419 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40420 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40421 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40422 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40423 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40424 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40426 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40428 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40430 [defined __arch64__ || defined __sparcv9]
40431 (__INO_T_MATCHES_INO64_T): New macro.
40432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40433 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40434 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40435 * sysdeps/unix/sysv/linux/bits/dirent.h
40436 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40437 (_DIRENT_MATCHES_DIRENT64): New macro.
40439 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40440 Define lockf64 as an alias.
40441 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40442 Define fseeko64 as an alias.
40443 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40444 Define ftello64 as an alias.
40445 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40446 Define _IO_fgetpos64 and fgetpos64 as aliases.
40447 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40448 Define _IO_fsetpos64 and fsetpos64 as aliases.
40449 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40450 Conditionalize body on this.
40451 * libio/fseeko64.c: Likewise.
40452 * libio/ftello64.c: Likewise.
40453 * libio/iofgetpos64.c: Likewise.
40454 * libio/iofsetpos64.c: Likewise.
40455 * sysdeps/wordsize-64/lockf.c: File removed.
40456 * sysdeps/wordsize-64/lockf64.c: File removed.
40457 * sysdeps/wordsize-64/fseeko.c: File removed.
40458 * sysdeps/wordsize-64/fseeko64.c: File removed.
40459 * sysdeps/wordsize-64/ftello.c: File removed.
40460 * sysdeps/wordsize-64/ftello64.c: File removed.
40461 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40462 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40463 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40464 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40465 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40466 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40467 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40468 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40469 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40470 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40471 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40472 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40473 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40474 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40476 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40478 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40480 [defined __arch64__ || defined __sparcv9]
40481 (__OFF_T_MATCHES_OFF64_T): New macro.
40482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40483 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40485 (__OFF_T_MATCHES_OFF64_T): New macro.
40487 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40489 * stdlib/secure-getenv.c (__secure_getenv): Replace
40490 GLIBC_2_16 with GLIBC_2_17.
40492 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40494 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40495 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40497 2012-08-03 David S. Miller <davem@davemloft.net>
40499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40501 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40503 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40505 (__ASSUME_CORRECT_SI_PID): Likewise.
40506 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40507 (__ASSUME_TMPFS_NAME): Likewise.
40508 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40509 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40510 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40511 (HAVE_AUX_SECURE): Make definition unconditional.
40512 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40513 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40515 2012-08-03 Roland McGrath <roland@hack.frob.com>
40517 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40518 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40519 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40520 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40521 __eloop_threshold instead of SYMLOOP_MAX.
40523 * sysdeps/generic/eloop-threshold.h: New file.
40524 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40526 * elf/chroot_canon.c (chroot_canon): Likewise.
40528 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40532 Change to 2.6.0 everywhere.
40533 * sysdeps/unix/sysv/linux/configure: Regenerated.
40534 * sysdeps/unix/sysv/linux/kernel-features.h
40535 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40536 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40538 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40539 (__ASSUME_FUTEX_REQUEUE): Remove.
40540 (__ASSUME_STATFS64): Define unconditionally.
40541 (__ASSUME_AT_SECURE): Likewise.
40542 (__ASSUME_CORRECT_SI_PID): Likewise.
40543 (__ASSUME_TGKILL): Define without depending on kernel version for
40545 (__ASSUME_UTIMES): Likewise.
40546 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40548 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40549 (__ASSUME_TMPFS_NAME): Likewise.
40550 * README: Update reference to Linux kernel versions.
40552 2012-08-02 Marek Polacek <polacek@redhat.com>
40555 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40556 libc_cv_asm_type_prefix with %.
40557 * configure: Regenerated.
40558 * include/libc-symbols.h: Remove comment about
40559 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40560 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40561 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40562 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40563 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40564 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40565 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40566 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40567 * elf/tst-unique2mod1.c: Likewise.
40568 * elf/tst-unique1mod2.c: Likewise.
40569 * elf/tst-unique1mod1.c: Likewise.
40570 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40571 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40572 Replace ASM_TYPE_DIRECTIVE with .type.
40573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40574 * sysdeps/i386/sysdep.h: Likewise.
40575 * sysdeps/x86_64/sysdep.h: Likewise.
40576 * sysdeps/sh/sysdep.h: Likewise.
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40578 Do not define ASM_TYPE_DIRECTIVE.
40579 * sysdeps/powerpc/sysdep.h: Likewise.
40580 * sysdeps/powerpc/powerpc32/sysdep.h:
40581 Replace ASM_TYPE_DIRECTIVE with .type.
40582 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40583 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40584 * sysdeps/i386/fpu/e_powf.S: Likewise.
40585 * sysdeps/i386/fpu/e_expl.S: Likewise.
40586 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40587 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40588 * sysdeps/i386/fpu/e_pow.S: Likewise.
40589 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40590 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40591 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40592 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40593 * sysdeps/i386/fpu/e_log2.S: Likewise.
40594 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40595 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40596 * sysdeps/i386/fpu/e_powl.S: Likewise.
40597 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40598 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40599 * sysdeps/i386/fpu/e_logl.S: Likewise.
40600 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40601 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40602 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40603 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40604 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40605 * sysdeps/i386/fpu/e_log.S: Likewise.
40606 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40607 * sysdeps/i386/fpu/e_logf.S: Likewise.
40608 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40610 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40611 * sysdeps/i386/fpu/e_log10.S: Likewise.
40612 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40614 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40615 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40616 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40618 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40619 * sysdeps/i386/i686/strtok.S: Likewise.
40620 * sysdeps/i386/i386-mcount.S: Likewise.
40621 * sysdeps/i386/strtok.S: Likewise.
40622 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40623 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40625 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40626 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40627 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40628 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40629 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40630 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40631 * sysdeps/x86_64/_mcount.S: Likewise.
40632 * sysdeps/x86_64/strtok.S: Likewise.
40633 * sysdeps/sh/_mcount.S: Likewise.
40635 2012-08-01 Roland McGrath <roland@hack.frob.com>
40637 * libio/iofopen.c: Include <fcntl.h>.
40638 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40639 (_IO_fopen64, fopen64): Define as aliases.
40640 * libio/iofopen64.c: Include <fcntl.h>.
40641 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40642 Conditionalize body on this.
40643 * sysdeps/wordsize-64/iofopen.c: File removed.
40644 * sysdeps/wordsize-64/iofopen64.c: File removed.
40646 2012-08-01 Marek Polacek <polacek@redhat.com>
40648 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40649 Use dlfcn directly instead of a variable.
40650 (binfmt-subdir): Do not define.
40653 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40655 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40656 Remove all definitions.
40657 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40658 <kernel-features.h>.
40659 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40660 (miss_F_GETOWN_EX): Remove all definitions.
40661 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40663 [!__ASSUME_FCNTL64]: Remove conditional code.
40664 [__ASSUME_FCNTL64]: Make code unconditional.
40665 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40666 <kernel-features.h>.
40667 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40668 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40669 (lockf64) [__NR_fcntl64]: Make code unconditional.
40670 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40672 * sysdeps/unix/sysv/linux/kernel-features.h
40673 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40674 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40675 Make code unconditional.
40676 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40677 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40679 [__NR_vfork]: Make code unconditional.
40680 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40681 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40683 [__NR_vfork]: Make code unconditional.
40684 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40685 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40687 2012-08-01 Roland McGrath <roland@hack.frob.com>
40689 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40690 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40692 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40693 Define mkstemp64 as an alias.
40694 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40695 Define mkstemps64 as an alias.
40696 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40697 Define mkostemp64 as an alias.
40698 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40699 Define mkostemps64 as an alias.
40700 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40701 Conditionalize body on this.
40702 * misc/mkostemp64.c: Likewise.
40703 * misc/mkostemps64.c: Likewise.
40704 * misc/mkstemps64.c: Likewise.
40705 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40706 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40707 * sysdeps/wordsize-64/mkostemp.c: File removed.
40708 * sysdeps/wordsize-64/mkstemp.c: File removed.
40709 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40711 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40715 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40716 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40717 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40718 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40720 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40721 compat_symbol macros from <shlib-compat.h> rather than the underlying
40722 default_symbol_version and symbol_version macros, so that DEFAULT
40723 lines in shlib-versions are respected.
40724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40726 2012-08-01 Florian Weimer <fweimer@redhat.com>
40728 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40729 Declare with warn_unused_result.
40730 (setgid, setregid, setegid, setresgid): Likewise.
40731 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40733 * WUR-REPORT: Remove set*id functions.
40735 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40737 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40739 2012-07-31 Roland McGrath <roland@hack.frob.com>
40742 * include/sys/socket.h (__libc_accept, __libc_accept4):
40743 Add attribute_hidden.
40744 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40746 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40748 * inet/getnetgrent_r.c (setup): Likewise.
40750 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40752 2012-07-31 David S. Miller <davem@davemloft.net>
40754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40756 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40759 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40760 value between 1.0 and 2.0 and smaller part has absolute value less
40762 * math/s_clog10.c (__clog10): Likewise.
40763 * math/s_clog10f.c (__clog10f): Likewise.
40764 * math/s_clog10l.c (__clog10l): Likewise.
40765 * math/s_clogf.c (__clogf): Likewise.
40766 * math/s_clogl.c (__clogl): Likewise.
40767 * math/libm-test.inc (clog_test): Add more tests.
40768 (clog10_test): Likewise.
40769 * sysdeps/i386/fpu/libm-test-ulps: Update.
40770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40772 2012-07-31 Florian Weimer <fweimer@redhat.com>
40774 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40775 Exit with zero in case no suitable GID is found, and write a
40776 message to standard error.
40778 2012-07-30 Roland McGrath <roland@hack.frob.com>
40780 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40782 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40783 (MAXPATHLEN): Removed.
40784 (NOGROUP, NODEV): New macros.
40785 (setbit, clrbit, isset, isclr): New macros.
40786 (howmany, roundup, powerof2): New macros.
40787 (DEV_BSIZE): New macro.
40789 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40790 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40792 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40793 definition on [!__NO_LONG_DOUBLE_MATH].
40795 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40796 PTR_MANGLE and PTR_DEMANGLE.
40798 * socket/accept4.c (accept4): Rename to __libc_accept4.
40799 Define accept4 as a weak alias.
40801 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40802 on [_DIRENT_HAVE_D_TYPE].
40803 * io/ftw.c (ftw_dir): Likewise.
40805 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40807 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40809 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40810 Use the BSD numbers rather than the arbitrary ones we had.
40811 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40812 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40813 (SIGXCPU, SIGXFSZ): New macros.
40816 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40817 initializer on [_LIBC_REENTRANT].
40819 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40820 definitions inside [_POSIX_MAPPED_FILES].
40822 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40824 * dirent/opendir.c: Include <fcntl.h>.
40826 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40827 (__libc_getspecific): Likewise.
40828 (__libc_key_create): Likewise.
40830 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40831 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40832 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40833 (tmpfile64): Define as alias.
40834 * sysdeps/wordsize-64/tmpfile.c: File removed.
40835 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40837 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40839 * stdio-common/vfscanf.c: Include <stdbool.h>.
40840 * nss/makedb.c: Likewise.
40841 * stdio-common/_i18n_number.h: Likewise.
40842 * argp/argp-help.c: Likewise.
40843 * posix/wordexp.c: Likewise.
40844 * sysdeps/posix/spawni.c: Likewise.
40845 * nss/nss_files/files-initgroups.c: Likewise.
40846 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40847 * nss/nss_files/files-initgroups.c: Likewise.
40848 * nss/nss_db/db-netgrp.c: Likewise.
40849 * nss/nss_db/db-initgroups.c: Likewise.
40850 * io/fchmodat.c: Include <sys/stat.h>.
40852 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40853 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40855 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40858 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40859 Add multiple inclusion protection.
40861 2012-07-27 David S. Miller <davem@davemloft.net>
40863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40865 2012-07-27 Gary Benson <gbenson@redhat.com>
40868 * elf/rtld.c: Include <stap-probe.h>.
40869 (dl_main): Added static probes "init_start" and "init_complete".
40870 * elf/dl-load.c: Include <stap-probe.h>.
40871 (lose): Take new parameter "nsid".
40872 Added static probe "map_failed".
40873 (_dl_map_object_from_fd): Pass namespace id to lose.
40874 Added static probe "map_start".
40875 (open_verify): Pass namespace id to lose.
40876 * elf/dl-open.c: Include <stap-probe.h>.
40877 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40878 and "reloc_complete".
40879 * elf/dl-close.c: Include <stap-probe.h>.
40880 (_dl_close_worker): Added static probes "unmap_start" and
40882 * elf/rtld-debugger-interface.txt: New file documenting the above.
40884 2012-07-26 Roland McGrath <roland@hack.frob.com>
40886 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40887 rather than a string variable.
40888 * sunrpc/rpc_main.c (h_output): Likewise.
40889 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40891 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40893 * inet/check_native.c: New file.
40895 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40898 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40899 if larger part has absolute value 1.0.
40900 * math/s_clog10.c (__clog10): Likewise.
40901 * math/s_clog10f.c (__clog10f): Likewise.
40902 * math/s_clog10l.c (__clog10l): Likewise.
40903 * math/s_clogf.c (__clogf): Likewise.
40904 * math/s_clogl.c (__clogl): Likewise.
40905 * math/libm-test.inc (clog_test): Add more tests.
40906 (clog10_test): Likewise.
40907 * sysdeps/i386/fpu/libm-test-ulps: Update.
40908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40910 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40911 (pltexit): Likewise.
40912 (La_regs): Likewise.
40913 (La_retval): Likewise.
40914 (int_retval): Likewise.
40915 Update #error for removed macros to refer only to definitions in
40917 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40919 (pltexit): Likewise.
40920 (La_regs): Likewise.
40921 (La_retval): Likewise.
40922 (int_retval): Likewise.
40923 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40925 (pltexit): Likewise.
40926 (La_regs): Likewise.
40927 (La_retval): Likewise.
40928 (int_retval): Likewise.
40929 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40931 (pltexit): Likewise.
40932 (La_regs): Likewise.
40933 (La_retval): Likewise.
40934 (int_retval): Likewise.
40935 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40937 (pltexit): Likewise.
40938 (La_regs): Likewise.
40939 (La_retval): Likewise.
40940 (int_retval): Likewise.
40941 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40943 (pltexit): Likewise.
40944 (La_regs): Likewise.
40945 (La_retval): Likewise.
40946 (int_retval): Likewise.
40947 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40949 (pltexit): Likewise.
40950 (La_regs): Likewise.
40951 (La_retval): Likewise.
40952 (int_retval): Likewise.
40953 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40954 macro definitions in tst-audit.h.
40955 * sysdeps/i386/tst-audit.h: New file.
40956 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40957 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40958 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40959 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40960 * sysdeps/sh/tst-audit.h: Likewise.
40961 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40962 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40963 * sysdeps/x86_64/tst-audit.h: Likewise.
40965 2012-07-26 Andreas Jaeger <aj@suse.de>
40967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40970 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40971 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40972 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40974 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40975 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40976 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40978 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40981 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40983 (si_call_addr, si_syscall, si_arch): Define new macro.
40984 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40986 (si_call_addr, si_syscall, si_arch): Define new marcro.
40987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40989 (si_call_addr, si_syscall, si_arch): Define new macro.
40990 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40992 (si_call_addr, si_syscall, si_arch): Define new macro.
40994 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40997 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40998 Change to 2.4.21 where previously 2.4.1.
40999 * sysdeps/unix/sysv/linux/configure: Regenerated.
41000 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41001 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41002 Linux kernel version.
41003 (__ASSUME_STD_AUXV): Remove.
41004 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41006 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41007 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41008 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41009 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41010 (__ASSUME_NETLINK_SUPPORT): Likewise.
41011 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41012 (__no_netlink_support): Remove conditional definition.
41013 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41015 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41016 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41017 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41018 (if_nameindex_ioctl): Remove.
41019 (if_nameindex_netlink): Do not handle __no_netlink_support.
41020 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41022 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41023 Remove conditional code.
41024 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41026 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41028 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41029 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41030 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41032 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41033 [!__ASSUME_STD_AUXV]: Remove conditional code.
41034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41035 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41036 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41038 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41039 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41041 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41043 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41044 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41046 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41048 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41051 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41054 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41055 code unconditional.
41056 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41058 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41060 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41063 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41065 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41068 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41069 code unconditional.
41070 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41072 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41074 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41077 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41078 code unconditional.
41079 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41081 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41083 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41086 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41088 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41089 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41090 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41091 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41092 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41093 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41094 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41095 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41096 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41097 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41098 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41099 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41100 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41101 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41103 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41104 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41106 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41108 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41109 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41110 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41112 2012-07-25 Florian Weimer <fweimer@redhat.com>
41114 * Versions.def: Add GLIBC_2.17.
41115 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41116 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41117 Introduce __libc_secure_getenv.
41118 * stdlib/Versions (2.17): Add secure_getenv
41119 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41120 * stdlib/secure-getenv.c: Rename __secure_getenv to
41121 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41122 symbol __secure_getenv for GLIBC_2.0.
41123 * stdlib/tst-secure-getenv.c: New.
41124 * stdlib/Makefile (tests): Add testcase.
41125 * manual/startup.texi (Environment Access): Document
41127 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41128 __libc_secure_getenv.
41129 * inet/ruserpass.c (ruserpass): Likewise.
41130 * malloc/mtrace.c (mtrace): Likewise.
41131 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41132 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41133 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41134 * sysdeps/posix/tempname.c: Likewise. Evaluate
41135 HAVE_SECURE_GETENV.
41136 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41137 __secure_getenv to __libc_secure_getenv.
41138 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41151 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41153 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41154 (struct La_i86_retval): Likewise.
41155 (struct La_x86_64_regs): Likewise.
41156 (struct La_x86_64_retval): Likewise.
41157 (struct La_x32_regs): Likewise.
41158 (struct La_x32_retval): Likewise.
41159 (struct La_ppc32_regs): Likewise.
41160 (struct La_ppc32_retval): Likewise.
41161 (struct La_ppc64_regs): Likewise.
41162 (struct La_ppc64_retval): Likewise.
41163 (struct La_sh_regs): Likewise.
41164 (struct La_sh_retval): Likewise.
41165 (struct La_s390_32_regs): Likewise.
41166 (struct La_s390_32_retval): Likewise.
41167 (struct La_s390_64_regs): Likewise.
41168 (struct La_s390_64_retval): Likewise.
41169 (struct La_sparc32_regs): Likewise.
41170 (struct La_sparc32_retval): Likewise.
41171 (struct La_sparc64_regs): Likewise.
41172 (struct La_sparc64_retval): Likewise.
41173 (struct audit_ifaces): Remove architecture-specific pltenter and
41175 * sysdeps/i386/ldsodefs.h: New file.
41176 * sysdeps/powerpc/ldsodefs.h: Likewise.
41177 * sysdeps/s390/ldsodefs.h: Likewise.
41178 * sysdeps/sh/ldsodefs.h: Likewise.
41179 * sysdeps/sparc/ldsodefs.h: Likewise.
41180 * sysdeps/x86_64/ldsodefs.h: Likewise.
41182 2012-07-25 Marek Polacek <polacek@redhat.com>
41185 * math/libm-test.inc (yn_test): Add another test.
41186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41187 to ERANGE when the result is +-Inf.
41188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41189 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41190 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41191 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41193 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41195 * conform/data/time.h-data (NULL): Use macro-constant. Require
41197 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41199 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41201 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41203 * configure.in <sysdeps resolving>: Correct printing
41205 * configure: Regenerate.
41207 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41209 * math/w_ilogb.c: Include <limits.h>.
41210 * math/w_ilogbl.c: Likewise.
41212 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41214 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41215 va_copy. Document allowing for unavailable va_copy only as
41216 pre-C99 compatibility.
41217 * manual/string.texi (Copying and Concatenation): Use va_copy
41218 instead of __va_copy in concat example.
41220 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41222 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41223 (__sendto): Use create_address_port. Initialize APORT and deallocate
41226 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41227 with O_NOLINK passed to __file_name_lookup.
41229 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41230 with O_NOLINK passed to __file_name_lookup.
41232 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41233 negative N or less than NGIDS.
41235 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41236 type to string_t. Set ERANGE as errno and return it if NAME is not big
41237 enough. Use memcpy instead of strncpy.
41239 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41241 * elf/Makefile (check-data): Remove.
41242 (localplt.data): New vpath directive.
41243 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41244 instead of $(check-data).
41245 * scripts/data/localplt-generic.data: Move to ...
41246 * sysdeps/generic/localplt.data: ... here.
41247 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41248 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41249 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41252 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41255 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41258 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41261 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41264 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41268 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41270 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41271 PPC32 and PPC64 files.
41272 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41273 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41275 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41277 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41278 __makecontext_ret to ...
41279 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41280 ... here and call exit if uc_link is NULL. New file.
41281 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41282 __makecontext_ret.S.
41283 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41284 __makecontext_ret to ...
41285 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41286 ... here and call exit if uc_link is NULL. New file.
41287 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41288 __makecontext_ret.S.
41290 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41292 * elf/elf.h (R_390_IRELATIVE): New definition.
41293 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41294 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41295 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41296 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41297 (elf_machine_lazy_rel): Likewise.
41298 * sysdeps/s390/dl-irel.h: New file.
41299 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41300 * sysdeps/s390/s390-64/memset.S: New asm code.
41301 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41302 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41303 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41304 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41305 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41306 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41308 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41309 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41310 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41311 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41312 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41313 * sysdeps/s390/s390-32/memset.S: New asm code.
41314 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41316 2012-07-17 Marek Polacek <polacek@redhat.com>
41319 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41320 * sysdeps/s390/s390-64/configure.in: Likewise.
41321 * sysdeps/sparc/configure.in: Likewise.
41322 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41323 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41324 * sysdeps/i386/configure.in: Likewise.
41325 * sysdeps/x86_64/configure.in: Likewise.
41326 * sysdeps/sh/configure.in: Likewise.
41327 * sysdeps/s390/s390-32/configure: Regenerated.
41328 * sysdeps/s390/s390-64/configure: Likewise.
41329 * sysdeps/x86_64/configure: Likewise.
41330 * sysdeps/sh/configure: Likewise.
41331 * sysdeps/powerpc/powerpc64/configure: Likewise.
41332 * sysdeps/powerpc/powerpc32/configure: Likewise.
41333 * sysdeps/sparc/configure: Likwise.
41334 * sysdeps/i386/configure: Likewise.
41336 * elf/dl-open.c: Comment fixes.
41338 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41340 * Makefile [CXX] (check-data): Remove.
41341 [CXX] (c++-types.data): New vpath directive.
41342 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41343 vpath. Do not allow for C++ type data being missing.
41344 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41345 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41346 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41347 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41348 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41349 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41350 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41353 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41356 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41359 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41362 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41365 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41368 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41371 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41374 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41375 definitions to architecture-specific files.
41376 (TLS_IE): Likewise.
41377 (TLS_LD): Likewise.
41378 (TLS_GD): Likewise.
41379 * sysdeps/i386/tls-macros.h: New file.
41380 * sysdeps/powerpc/tls-macros.h: Likewise.
41381 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41382 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41383 * sysdeps/sh/tls-macros.h: Likewise.
41384 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41385 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41386 * sysdeps/x86_64/tls-macros.h: Likewise.
41388 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41391 zero value for regular exit case.
41393 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41394 (__start_context): Preserve zero value for regular exit case.
41396 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41397 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41399 * manual/setjmp.texi (setcontext): Clarify normal process
41400 termination when uc_link is the null pointer.
41401 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41404 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41406 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41407 preprocessor. Test for each exception mask separately.
41409 2012-07-16 Andreas Jaeger <aj@suse.de>
41411 * po/ru.po: Update from translation team.
41413 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41415 * conform/data/string.h-data (NULL): Use macro-constant. Require
41417 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41418 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41419 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41420 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41423 2012-07-13 Andreas Jaeger <aj@suse.de>
41425 * po/fr.po: Update from translation team.
41427 2012-07-12 Marek Polacek <polacek@redhat.com>
41430 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41434 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41437 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41438 Change to 2.4.1 where previously 2.4.0.
41439 * sysdeps/unix/sysv/linux/configure: Regenerated.
41440 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41441 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41443 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41444 (__ASSUME_AT_CLKTCK): Remove.
41445 (__ASSUME_AT_PAGESIZE): Likewise.
41446 (__ASSUME_AT_XID): Likewise.
41447 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41448 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41449 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41451 (HAVE_AUX_PAGESIZE): Likewise.
41452 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41453 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41454 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41456 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41460 the temporary buffer used to invoke __gethostbyname2_r,
41461 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41462 host_data / struct gaih_addrtuple.
41463 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41464 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41465 header file nss/nsswitch.h.
41466 * nss/nsswitch.h (global scope): Add definition of implementation
41467 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41468 resolv/nss_dns/dns-host.c).
41470 2012-07-11 Andreas Jaeger <aj@suse.de>
41472 * po/fr.po: Update from translation team.
41474 * po/sv.po: Update from translation team
41475 * po/fr.po: Another update from translation team.
41477 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41479 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41480 for subnormals or multiply small sinh result by itself.
41481 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41484 2012-07-11 David S. Miller <davem@davemloft.net>
41486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41488 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41491 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41492 (INTERNAL_MARK): Shift it here.
41494 2012-07-10 Marek Polacek <polacek@redhat.com>
41497 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41498 libc_cv_asm_global_directive with .globl.
41499 * configure: Regenerated.
41500 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41502 * sysdeps/i386/configure: Regenerated.
41503 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41505 * sysdeps/x86_64/configure: Regenerated.
41506 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41507 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41508 * elf/tst-unique2mod2.c: Likewise.
41509 * elf/tst-unique2mod1.c: Likewise.
41510 * elf/tst-unique1mod2.c: Likewise.
41511 * elf/tst-unique1mod1.c: Likewise.
41512 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41513 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41515 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41516 * sysdeps/mach/sysdep.h: Likewise.
41517 * sysdeps/i386/sysdep.h: Likewise.
41518 * sysdeps/i386/i386-mcount.S: Likewise.
41519 * sysdeps/x86_64/_mcount.S: Likewise.
41520 * sysdeps/x86_64/sysdep.h: Likewise.
41521 * sysdeps/sh/_mcount.S: Likewise.
41522 * sysdeps/sh/sysdep.h: Likewise.
41523 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41524 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41525 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41526 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41527 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41528 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41529 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41530 * locale/localeinfo.h: Likewise.
41531 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41532 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41534 2012-07-09 Roland McGrath <roland@hack.frob.com>
41537 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41539 * manual/message.texi (The Uniforum approach): Likewise.
41540 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41541 (glibc iconv Implementation): Likewise.
41543 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41546 * math/s_clog.c (__clog): Avoid scaling a value down where that
41547 could result in underflow.
41548 * math/s_clog10.c (__clog10): Likewise.
41549 * math/s_clog10f.c (__clog10f): Likewise.
41550 * math/s_clog10l.c (__clog10l): Likewise.
41551 * math/s_clogf.c (__clogf): Likewise.
41552 * math/s_clogl.c (__clogl): Likewise.
41553 * math/libm-test.inc (clog_test): Add more tests.
41554 (clog10_test): Likewise.
41555 * sysdeps/i386/fpu/libm-test-ulps: Update.
41556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41558 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41561 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41562 by 7 not 8 to examine high bit of fractional part.
41565 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41566 for call to __mcount_internal.
41567 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41568 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41569 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41571 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41574 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41575 approximation for values within 0x1p-13f of an odd multiple of
41577 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41578 exception. Add more tests.
41579 * sysdeps/i386/fpu/libm-test-ulps: Update.
41582 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41583 inputs and return -1 for them. Do not check for +Inf in case not
41584 reachable for +Inf.
41585 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41586 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41587 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41588 and return -1 for them. Do not check for +Inf in case not
41589 reachable for +Inf.
41590 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41592 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41593 and return -1 for them. Do not check for +Inf in case not
41594 reachable for +Inf.
41595 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41596 spurious underflow.
41597 * sysdeps/i386/fpu/libm-test-ulps: Update.
41598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41600 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41602 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41604 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41608 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41609 could result in spurious underflow. Scale down values above
41610 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41611 * math/s_csqrtf.c (__csqrtf): Likewise.
41612 * math/s_csqrtl.c (__csqrtl): Likewise.
41613 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41614 spurious underflow.
41615 * sysdeps/i386/fpu/libm-test-ulps: Update.
41616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41618 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41620 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41622 * catgets/xopen-msg.awk: New file.
41623 * catgets/xopen-msg.sed: Removed.
41625 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41627 * intl/po2test.awk: New file.
41628 * intl/po2test.sed: Removed.
41630 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41633 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41634 or multiply small sinh result by itself.
41635 * math/s_ctanf.c (__ctanf): Likewise.
41636 * math/s_ctanh.c (__ctanh): Likewise.
41637 * math/s_ctanhf.c (__ctanhf): Likewise.
41638 * math/s_ctanhl.c (__ctanhl): Likewise.
41639 * math/s_ctanl.c (__ctanl): Likewise.
41640 * math/libm-test.inc (ctan_test_tonearest): New function.
41641 (ctan_test_towardzero): Likewise.
41642 (ctan_test_downward): Likewise.
41643 (ctan_test_upward): Likewise.
41644 (ctanh_test_tonearest): Likewise.
41645 (ctanh_test_towardzero): Likewise.
41646 (ctanh_test_downward): Likewise.
41647 (ctanh_test_upward): Likewise.
41648 (main): Call these new functions.
41649 * sysdeps/i386/fpu/libm-test-ulps: Update.
41650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41652 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41654 * .gitignore: Delete /ports entry.
41656 2012-07-03 Andreas Jaeger <aj@suse.de>
41658 * po/bg.po: Update from translation team.
41659 * po/cs.po: Likewise.
41660 * po/de.po: Likewise.
41661 * po/hr.po: Likewise.
41662 * po/nl.pl: Likewise.
41663 * po/pl.po: Likewise.
41664 * po/vi.po: Likewise.
41666 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41668 * Makeconfig [!+link] (+link-before-libc): New variable.
41669 [!+link] (+link-after-libc): Likewise.
41670 [!+link] (+link-tests): Likewise.
41671 [!+link] (+link): Define in terms of $(+link-before-libc) and
41672 $(+link-after-libc).
41673 [!+link-static] (+link-static-before-libc): New variable.
41674 [!+link-static] (+link-static-after-libc): Likewise.
41675 [!+link-static] (+link-static-tests): Likewise.
41676 [!+link-static] (+link-static): Define in terms of
41677 $(+link-static-before-libc) and $(+link-static-after-libc).
41678 [build-shared] (link-libc-before-gnulib): New variable.
41679 [build-shared] (link-libc-tests): Likewise.
41680 [build-shared] (link-libc): Define in terms of
41681 $(link-libc-before-gnulib).
41682 [!build-shared] (link-libc-tests): New variable.
41683 (link-libc-static-tests): New variable.
41684 [!gnulib] (gnulib-arch): New variable.
41685 [!gnulib] (gnulib-tests): Likewise.
41686 [!gnulib] (static-gnulib-arch): Likewise.
41687 [!gnulib] (static-gnulib-tests): Likewise.
41688 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41689 Define with "=" instead of ":=".
41690 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41691 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41692 * Rules (binaries-all-notests): New variable.
41693 (binaries-all-tests): Likewise.
41694 (binaries-static-notests): Likewise.
41695 (binaries-static-tests): Likewise.
41696 (binaries-all): Define using $(binaries-all-notests) and
41697 $(binaries-all-tests).
41698 (binaries-static): Define using $(binaries-static-notests) and
41699 $(binaries-static-tests).
41700 (binaries-shared-tests): New variable.
41701 (binaries-shared-notests): Likewise.
41702 (binaries-shared): Remove variable.
41703 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41704 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41705 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41706 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41707 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41708 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41709 * elf/Makefile (sln-modules): New variable.
41710 (extra-objs): Add $(sln-modules:=.o).
41711 (ldconfig-modules): Add static-stubs.
41712 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41713 * elf/static-stubs.c: New file.
41716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41717 by 7 not 8 to examine high bit of fractional part. Use volatile
41718 variables when splitting into final array of floats if
41719 __FLT_EVAL_METHOD__ != 0.
41720 * math/libm-test.inc (cos_test): Add another test.
41721 (sin_test): Likewise.
41722 * sysdeps/i386/fpu/libm-test-ulps: Update.
41725 * math/libm-test.inc (cosh_test): Add more tests.
41727 * version.h (RELEASE): Set to "development".
41728 (VERSION): Set to "2.16.90".
41730 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41732 * NEWS: Update copyright. Remove last-updated date.
41733 Mention math library bug fixes and timezone data changes.
41734 * README: Mention GNU/Hurd, x32, and HPPA support status.
41736 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41738 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41740 2012-06-27 Andreas Jaeger <aj@suse.de>
41742 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41744 2012-06-25 Andreas Jaeger <aj@suse.de>
41746 * sysdeps/s390/fpu/libm-test-ulps: Update.
41748 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41749 Thomas Schwinge <thomas@codesourcery.com>
41751 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41752 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41753 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41756 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41758 * sysdeps/mach/start.c: Remove file.
41759 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41760 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41761 * sysdeps/sh/init-first.c: Likewise.
41763 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41764 registers for frame unwinding purposes, add CFI directives.
41765 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41767 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41770 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41771 __fortify_fail returning.
41772 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41774 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41775 sysdeps/sh/____longjmp_chk.S.
41776 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41777 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41778 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41779 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41781 * sysdeps/sh/abort-instr.h: New file.
41782 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41783 process in case exit returns.
41785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41786 initialize the GOT register before use.
41788 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41789 calculation of ARGC > 4.
41791 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41792 meaningful names to some local labels.
41794 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41795 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41797 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41798 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41799 (__arch_compare_and_exchange_val_16_acq): Likewise.
41800 (__arch_compare_and_exchange_val_32_acq): Likewise.
41801 (atomic_exchange_and_add): Fix gUSA sequence.
41802 (atomic_add): Likewise.
41803 (atomic_add_negative): Likewise.
41804 (atomic_add_zero): Likewise.
41805 (atomic_bit_test_set): Likewise.
41807 2012-06-22 Andreas Schwab <schwab@redhat.com>
41810 * include/link.h (struct link_map): Add l_free_initfini.
41811 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41813 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41814 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41815 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41818 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41820 * configure.in: Use AC_LANG_SOURCE.
41821 * configure: Regenerate.
41823 2012-06-22 Roland McGrath <roland@hack.frob.com>
41825 * configure.in (libc_cv_localstatedir): New substituted variable.
41826 * configure: Regenerated.
41827 * config.make.in (localstatedir): New variable, substituted from
41828 libc_cv_localstatedir.
41829 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41830 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41831 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41832 * sysdeps/gnu/configure: Regenerated.
41834 2012-06-21 Jeff Law <law@redhat.com>
41837 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41838 free. Simplify list management for _LIBC case.
41840 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41843 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41844 Clear sign bit of 64-bit integer value before comparing against
41847 * sysdeps/mach/configure: Regenerated.
41849 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41852 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41854 2012-06-21 Jeff Law <law@redhat.com>
41857 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41858 uint16_t for elements in the "seen" array to avoid char overflows.
41859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41860 * elf/dl-open.c (dl_open_worker): Likewise.
41862 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41864 * scripts/list-sources.sh: Scan PORTS for translations.
41865 * po/libc.pot: Regenerated.
41867 2012-06-21 Andreas Jaeger <aj@suse.de>
41870 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41872 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41873 * bits/byteswap-16.h (__bswap_16): Likewise.
41874 * bits/byteswap.h (__bswap_constant_16): Likewise.
41876 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41879 * sysdeps/i386/fpu_control.h: Removed.
41880 * sysdeps/x86_64/fpu_control.h: Moved to ...
41881 * sysdeps/x86/fpu_control.h: Here.
41883 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41884 (_FPU_SETCW): Likewise.
41886 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41889 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41890 * sysdeps/x86/fpu/bits/mathinline.h: This.
41891 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41895 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41896 functions if __x86_64__ is defined.
41898 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41900 * string/endian.h: Add !__ASSEMBLER__ condition for including
41901 conversion interfaces.
41903 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41907 of ABS(x) in calculating zero to negative powers other than odd
41909 * math/libm-test.inc (pow_test): Add more tests.
41911 2012-06-15 Andreas Jaeger <aj@suse.de>
41913 * manual/contrib.texi (Contributors): Update entry of Liubov
41914 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41917 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41919 * string/string.h: Add __wur to GNU version of strerror_r.
41921 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41924 * string/Makefile (tests): Add tst-strtok_r.
41925 * string/tst-strtok_r.c: New file.
41926 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41927 RAX_LP/RDX_LP on SAVE_PTR.
41929 2012-06-14 Roland McGrath <roland@hack.frob.com>
41931 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41933 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41935 * libm_test.inc (csqrt_test): Allow more spurious underflow
41937 (j0_test): Likewise.
41938 (j1_test): Likewise.
41939 (y0_test): Likewise.
41940 (y1_test): Likewise.
41942 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41944 * po/Makefile (libc.pot): Use UTF-8 charset.
41946 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41949 Suppress sign-conversion warning from FD_SET.
41950 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41951 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41952 not unsigned long int.
41953 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41955 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41959 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41960 __extern_always_inline instead of __extern_inline.
41961 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41962 (__signbit): Likewise.
41963 (__signbitl): Support C++ namespace.
41964 (lrintf): New inline function.
41966 (llrintf): Likewise.
41967 (llrint): Likewise.
41977 (floorf): Likewise.
41978 (nearbyint): Likewise.
41979 (nearbyintf): Likewise.
41981 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41984 non-default versions.
41986 2012-06-11 Roland McGrath <roland@hack.frob.com>
41989 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41991 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41993 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41994 (FE_UPWARD, FE_DOWNWARD): Don't define.
41995 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41996 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41998 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42000 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42001 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42003 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42005 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42007 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42008 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42010 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42013 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42014 * sysdeps/i386/fpu/Implies: New file.
42015 * sysdeps/x86_64/fpu/Implies: Likewise.
42016 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42017 * sysdeps/x86/fpu/bits/fenv.h: This.
42019 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42022 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42025 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42026 character 0xffff that matches the last element of the
42029 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42034 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42037 values higher than 25.6283.
42039 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42042 subnormal exponent extraction and add some __builtin_expect.
42043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42044 Fix for subnormal mantissa calculation.
42046 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42048 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42049 cpu2 is -1 and errno is not ENOSYS.
42051 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42054 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42055 * sysdeps/x86/bits/string.h: This.
42056 * sysdeps/x86_64/bits/string.h: Removed.
42058 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42059 if not compiling for x86-64, but compiling for >= i486.
42061 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42062 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42065 New macro from Linux kernel 3.4.0.
42066 (FP_XSTATE_MAGIC2): Likewise.
42067 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42068 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42069 (struct _fpx_sw_bytes): New struct.
42070 (struct _xsave_hdr): Likewise.
42071 (struct _ymmh_state): Likewise.
42072 (struct _xstate): Likewise.
42074 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42075 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42076 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42077 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42078 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42079 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42081 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42082 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42083 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42084 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42085 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42086 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42088 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42091 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42092 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42093 (sysdep_headers): Include sys/platform/ppc.h.
42094 * sysdeps/powerpc/test-gettimebase.c: Test for
42095 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42096 * manual/Makefile (appendices): Include platform.texi.
42097 * manual/contrib.texi (Contributors): Update @node pointers.
42098 * manual/maint.texi (Maintenance): Likewise.
42099 (Platform): New node.
42100 * manual/platform.texi: New file. Document the new features.
42102 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42103 Jakub Jelinek <jakub@redhat.com>
42106 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42107 where __builtin_expect is unavailable.
42109 2012-06-03 David S. Miller <davem@davemloft.net>
42111 * stdlib/longlong.h: Updated from GCC.
42113 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42116 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42117 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42120 (GLIBC_2.16): Likewise.
42122 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42124 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42126 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42129 (default-abi): New variable.
42130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42131 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42133 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42135 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42137 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42140 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42141 definition. Document in comment.
42143 2012-06-01 David S. Miller <davem@davemloft.net>
42145 * stdlib/longlong.h: Updated from GCC.
42147 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42150 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42151 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42152 sys/debugreg.h sys/io.h here.
42153 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42154 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42156 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42157 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42158 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42159 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42160 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42161 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42163 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42164 Define only if __x86_64__ is defined.
42166 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42170 Use int64_t for variable i.
42171 * math/libm-test.inc (fmod_test): Add more tests.
42173 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42174 z computation is not scheduled after fetestexcept.
42175 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42176 Use math_force_eval instead of asm to ensure calculation scheduled
42177 before exception test.
42178 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42179 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42181 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42184 computation is not scheduled after fetestexcept.
42186 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42189 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42190 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42192 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42194 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42197 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42200 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42202 (__WCHAR_MIN): Support __WORDSIZE == 64.
42203 (__WCHAR_MAX): Likewise.
42205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42206 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42209 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42210 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42213 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42214 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42216 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42217 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42220 Defined to 1 if __x86_64__ isn't defined.
42221 (_STAT_VER_LINUX_OLD): New.
42222 (st_atime): Remove duplicate.
42223 (st_mtime): Likewise.
42224 (st_ctime): Likewise.
42226 2012-05-31 David S. Miller <davem@davemloft.net>
42228 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42231 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42233 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42237 * elf/dl-reloc.c: Include <_itoa.h>.
42238 (_dl_reloc_bad_type): Remove use of INTUSE.
42239 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42240 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42241 * stdio-common/psiginfo.c (psiginfo): Likewise.
42242 * stdio-common/psignal.c (psignal): Likewise.
42243 * string/strsignal.c (strsignal): Likewise.
42244 * include/signal.h (_sys_siglist): Declare hidden proto.
42245 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42246 INTVARDEF with libc_hidden_data_def.
42247 * stdio-common/itoa-udigits.c: Likewise.
42248 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42249 (_itoa_lower_digits_internal): Remove declaration.
42250 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42251 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42252 (_sys_sigabbrev_internal): Remove aliases.
42253 (_sys_siglist): Define hidden alias.
42255 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42260 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42263 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42264 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42266 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42267 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42268 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42269 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42271 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42273 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42274 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42277 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42286 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42287 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42290 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42291 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42292 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42293 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42294 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42296 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42297 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42299 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42300 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42304 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42306 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42307 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42309 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42311 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42312 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42313 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42315 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42317 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42319 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42321 * math/math.h (M_El): Use two more decimal places.
42322 (M_LOG2El): Likewise.
42323 (M_LOG10El): Likewise.
42324 (M_LN2l): Likewise.
42325 (M_LN10l): Likewise.
42327 (M_PI_2l): Likewise.
42328 (M_PI_4l): Likewise.
42329 (M_1_PIl): Likewise.
42330 (M_2_PIl): Likewise.
42331 (M_2_SQRTPIl): Likewise.
42332 (M_SQRT2l): Likewise.
42333 (M_SQRT1_2l): Likewise.
42335 2012-05-31 David S. Miller <davem@davemloft.net>
42337 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42338 values between float registers.
42339 * sysdeps/sparc/sparc64/memset.S: Likewise.
42340 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42342 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42344 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42345 -D_FORTIFY_SOURCE=1.
42346 (CPPFLAGS-tst-longjmp_chk.c): Define.
42347 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42348 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42349 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42350 CFLAGS-tst-wchar-h.c.
42352 2012-05-31 Marek Polacek <polacek@redhat.com>
42355 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42356 __endmntent_internal): Remove declaration.
42357 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42358 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42359 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42361 2012-05-30 David S. Miller <davem@davemloft.net>
42363 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42364 (___Q_simulate_exceptions): Use real FP ops rather than writing
42366 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42369 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42372 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42373 * sysdeps/x86/bits/xtitypes.h: This.
42375 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42376 * sysdeps/x86/bits/wordsize.h: This.
42378 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42379 * sysdeps/x86/bits/huge_vall.h: This.
42381 * sysdeps/i386/bits/select.h: Removed.
42382 * sysdeps/x86_64/bits/select.h: Renamed to ...
42383 * sysdeps/x86/bits/select.h: This.
42385 * sysdeps/i386/bits/setjmp.h: Removed.
42386 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42387 * sysdeps/x86/bits/setjmp.h: This.
42389 * sysdeps/i386/bits/mathdef.h: Removed.
42390 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42391 * sysdeps/x86/bits/mathdef.h: This.
42393 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42396 * include/sys/socket.h (__connect_internal)
42397 (__libc_sa_len_internal): Remove declaration.
42398 (__connect, __libc_sa_len): Declare hidden_proto.
42399 (SA_LEN): Remove use of INTUSE.
42400 * socket/connect.c: Add libc_hidden_def.
42401 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42402 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42403 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42405 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42406 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42407 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42408 of adding _internal alias.
42410 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42413 * sysdeps/i386/bits/link.h: Removed.
42414 * sysdeps/i386/bits/linkmap.h: Likewise.
42415 * sysdeps/x86_64/bits/link.h: Renamed to ...
42416 * sysdeps/x86/bits/link.h: This.
42417 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42418 * sysdeps/x86/bits/linkmap.h: This.
42420 * sysdeps/i386/bits/endian.h: Removed.
42421 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42422 * sysdeps/x86/bits/endian.h: This.
42424 * sysdeps/i386/bits/byteswap.h: Removed.
42425 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42426 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42427 * sysdeps/x86/bits/byteswap.h: This.
42428 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42429 * sysdeps/x86/bits/byteswap-16.h: This.
42430 * sysdeps/i386/Implies: Add x86.
42431 * sysdeps/x86_64/Implies: Likewise.
42433 2012-05-30 David S. Miller <davem@davemloft.net>
42435 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42436 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42438 (FP_TRAPPING_EXCEPTIONS): Define.
42439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42440 (FP_TRAPPING_EXCEPTIONS): Define.
42441 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42442 subnormals only when inexact has been signalled or underflow
42443 exceptions are enabled.
42444 (_FP_PACK_CANONICAL): Likewise.
42446 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42450 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42452 2012-05-30 Richard Henderson <rth@twiddle.net>
42454 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42455 with #ifndef NOT_IN_libc.
42457 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42458 marked to avoid plt entry.
42460 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42463 * Makeconfig (default-abi): New macro.
42464 (abi-includes): Likewise.
42465 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42466 $(abi-$(default-abi)-lib-soname) for soname if defined.
42467 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42469 * Makefile (installed-stubs): Likewise.
42470 * include/stubs-biarch.h: Removed.
42471 * scripts/lib-names.awk: Only handle one library at a time.
42472 * scripts/soversions.awk: Remove WORDSIZE support.
42473 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42475 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42477 (syscall-list-default-condition): Likewise.
42478 (syscall-list-default-condition): Likewise.
42479 (syscall-list-includes): Likewise.
42480 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42481 syscall-list-* with abi-*. Handle undefined abi-variants.
42482 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42483 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42484 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42485 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42486 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42487 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42489 (syscall-list-32-options): Likewise.
42490 (syscall-list-32-condition): Likewise.
42491 (syscall-list-64-options): Likewise.
42492 (syscall-list-64-condition): Likewise.
42493 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42495 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42498 (abi-64-ld-soname): New macro.
42499 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42500 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42503 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42504 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42506 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42508 * sysdeps/unix/sysv/linux/kernel-features.h
42509 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42510 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42511 include <kernel-features.h>.
42512 [!__NR_ftruncate64]: Remove conditional code.
42513 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42514 [__NR_ftruncate64]: Make code unconditional.
42515 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42516 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42517 include <kernel-features.h>.
42518 [!__NR_ftruncate64]: Remove conditional code.
42519 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42520 [__NR_ftruncate64]: Make code unconditional.
42521 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42523 include <kernel-features.h>.
42524 [!__NR_ftruncate64]: Remove conditional code.
42525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42526 [__NR_ftruncate64]: Make code unconditional.
42527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42529 include <kernel-features.h>.
42530 [!__NR_ftruncate64]: Remove conditional code.
42531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42532 [__NR_ftruncate64]: Make code unconditional.
42533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42535 * configure.in (libc_cv_fpie): Weaken to a compile test using
42536 LIBC_TRY_CC_OPTION.
42537 * configure: Regenerated.
42539 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42554 2012-05-27 David S. Miller <davem@davemloft.net>
42556 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42558 (__Q_simulate_exceptions): Return void. Change to simulate
42559 exceptions by writing into the %fsr.
42560 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42561 (__Qp_handle_exceptions): Likewise.
42563 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42564 __Qp_handle_exceptions.
42565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42566 __Qp_handle_exceptions.
42567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42568 as unused and give dummy FP_RND_NEAREST initializer.
42569 (FP_INHIBIT_RESULTS): Define.
42570 (___Q_simulate_exceptions): Update declaration.
42571 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42574 as unused and give dummy FP_RND_NEAREST initializer.
42575 (__Qp_handle_exceptions): Update declaration.
42576 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42579 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42581 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42582 the temporary FPU control word.
42583 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42584 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42586 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42588 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42589 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42590 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42591 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42592 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42593 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42595 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42597 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42600 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42602 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42603 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42604 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42605 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42607 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42608 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42611 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42613 * po/h.po: Update from translation team.
42615 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42617 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42619 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42620 handling of denormals.
42621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42622 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42623 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42630 2012-05-26 Marek Polacek <polacek@redhat.com>
42633 * math/libm-test.inc (fma_test): Don't always expect underflow
42636 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42639 * elf/tst-execstack.c: Include stackinfo.h.
42640 (do_test): Adjust test case to ensure that pthread_getattr_np
42641 behaviour remains the same after marking stack executable.
42643 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42645 * sysdeps/unix/sysv/linux/kernel-features.h
42646 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42647 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42649 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42650 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42651 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42653 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42654 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42656 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42658 * configure.in: Define the default includes to being none.
42659 * configure: Regenerated.
42661 2012-05-25 Roland McGrath <roland@hack.frob.com>
42663 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42664 * sysdeps/x86_64/setjmp.S: Likewise.
42665 * sysdeps/i386/bsd-setjmp.S: Likewise.
42666 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42667 * sysdeps/i386/setjmp.S: Likewise.
42668 * sysdeps/i386/__longjmp.S: Likewise.
42669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42670 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42672 * include/stap-probe.h: New file.
42673 * configure.in: Handle --enable-systemtap.
42674 * configure: Regenerated.
42675 * config.h.in (USE_STAP_PROBE): New #undef.
42676 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42677 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42678 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42680 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42684 to 2.4.0 where earlier.
42685 * sysdeps/unix/sysv/linux/configure: Regenerated.
42686 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42687 <kernel-features.h>.
42688 [__ASSUME_32BITUIDS]: Make code unconditional.
42689 [!__ASSUME_32BITUIDS]: Remove conditional code.
42690 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42691 <kernel-features.h>.
42692 [__ASSUME_32BITUIDS]: Make code unconditional.
42693 [!__ASSUME_32BITUIDS]: Remove conditional code.
42694 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42695 [__ASSUME_32BITUIDS]: Make code unconditional.
42696 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42697 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42698 <kernel-features.h>.
42699 [__ASSUME_32BITUIDS]: Make code unconditional.
42700 [!__ASSUME_32BITUIDS]: Remove conditional code.
42701 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42702 <kernel-features.h>.
42703 [__ASSUME_32BITUIDS]: Make code unconditional.
42704 [!__ASSUME_32BITUIDS]: Remove conditional code.
42705 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
42714 <kernel-features.h>.
42715 [__ASSUME_32BITUIDS]: Make code unconditional.
42716 [!__ASSUME_32BITUIDS]: Remove conditional code.
42717 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42718 <kernel-features.h>.
42719 [__ASSUME_32BITUIDS]: Make code unconditional.
42720 [!__ASSUME_32BITUIDS]: Remove conditional code.
42721 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42722 <kernel-features.h>.
42723 [__ASSUME_32BITUIDS]: Make code unconditional.
42724 [!__ASSUME_32BITUIDS]: Remove conditional code.
42725 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42726 <kernel-features.h>.
42727 [__ASSUME_32BITUIDS]: Make code unconditional.
42728 [!__ASSUME_32BITUIDS]: Remove conditional code.
42729 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42730 <kernel-features.h>.
42731 [__ASSUME_32BITUIDS]: Make code unconditional.
42732 [!__ASSUME_32BITUIDS]: Remove conditional code.
42733 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42734 <kernel-features.h>.
42735 [__ASSUME_32BITUIDS]: Make code unconditional.
42736 [!__ASSUME_32BITUIDS]: Remove conditional code.
42737 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42738 <kernel-features.h>.
42739 [__NR_setresgid] (__setresgid): Do not declare.
42740 [__ASSUME_32BITUIDS]: Make code unconditional.
42741 [!__ASSUME_32BITUIDS]: Remove conditional code.
42742 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42743 <kernel-features.h>.
42744 [__NR_setresuid] (__setresuid): Do not declare.
42745 [__ASSUME_32BITUIDS]: Make code unconditional.
42746 [!__ASSUME_32BITUIDS]: Remove conditional code.
42747 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42748 <kernel-features.h>.
42749 [__ASSUME_32BITUIDS]: Make code unconditional.
42750 [!__ASSUME_32BITUIDS]: Remove conditional code.
42751 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42752 <kernel-features.h>.
42753 [__ASSUME_32BITUIDS]: Make code unconditional.
42754 [!__ASSUME_32BITUIDS]: Remove conditional code.
42755 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42756 <kernel-features.h>.
42757 [__ASSUME_32BITUIDS]: Make code unconditional.
42758 [!__ASSUME_32BITUIDS]: Remove conditional code.
42759 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42760 <kernel-features.h>.
42761 [__ASSUME_32BITUIDS]: Make code unconditional.
42762 [!__ASSUME_32BITUIDS]: Remove conditional code.
42763 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42764 <kernel-features.h>.
42765 [__ASSUME_32BITUIDS]: Make code unconditional.
42766 [!__ASSUME_32BITUIDS]: Remove conditional code.
42767 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42768 <kernel-features.h>.
42769 [__ASSUME_32BITUIDS]: Make code unconditional.
42770 [!__ASSUME_32BITUIDS]: Remove conditional code.
42771 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42772 <kernel-features.h>.
42773 [__ASSUME_32BITUIDS]: Make code unconditional.
42774 [!__ASSUME_32BITUIDS]: Remove conditional code.
42775 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42776 <kernel-features.h>.
42777 [__ASSUME_32BITUIDS]: Make code unconditional.
42778 [!__ASSUME_32BITUIDS]: Remove conditional code.
42779 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42780 <kernel-features.h>.
42781 [__ASSUME_32BITUIDS]: Make code unconditional.
42782 [!__ASSUME_32BITUIDS]: Remove conditional code.
42783 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42784 <kernel-features.h>.
42785 [__ASSUME_32BITUIDS]: Make code unconditional.
42786 [!__ASSUME_32BITUIDS]: Remove conditional code.
42787 * sysdeps/unix/sysv/linux/kernel-features.h
42788 (__ASSUME_SETRESUID_SYSCALL): Remove.
42789 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42790 (__ASSUME_32BITUIDS): Likewise.
42791 (__ASSUME_LDT_WORKS): Likewise.
42792 (__ASSUME_O_DIRECTORY): Likewise.
42793 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42794 architecture but not kernel version.
42795 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42796 (__ASSUME_MMAP2_SYSCALL): Likewise.
42797 (__ASSUME_STAT64_SYSCALL): Likewise.
42798 (__ASSUME_IPC64): Likewise.
42799 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42800 <kernel-features.h>.
42801 [__ASSUME_32BITUIDS]: Make code unconditional.
42802 [!__ASSUME_32BITUIDS]: Remove conditional code.
42803 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42804 <kernel-features.h>.
42805 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42806 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42807 132096]: Remove conditional code.
42808 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42809 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42810 <kernel-features.h>.
42811 [__ASSUME_32BITUIDS]: Make code unconditional.
42812 [!__ASSUME_32BITUIDS]: Remove conditional code.
42813 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42814 <kernel-features.h>.
42815 [__ASSUME_32BITUIDS]: Make code unconditional.
42816 [!__ASSUME_32BITUIDS]: Remove conditional code.
42817 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42818 <kernel-features.h>.
42819 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42821 (__setresgid): Do not declare.
42822 [__ASSUME_32BITUIDS]: Make code unconditional.
42823 [!__ASSUME_32BITUIDS]: Remove conditional code.
42824 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42825 <kernel-features.h>.
42826 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42828 (__setresuid): Do not declare.
42829 [__ASSUME_32BITUIDS]: Make code unconditional.
42830 [!__ASSUME_32BITUIDS]: Remove conditional code.
42831 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42832 <kernel-features.h>.
42833 [__ASSUME_32BITUIDS]: Make code unconditional.
42834 [!__ASSUME_32BITUIDS]: Remove conditional code.
42835 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42836 <kernel-features.h>.
42837 [__ASSUME_32BITUIDS]: Make code unconditional.
42838 [!__ASSUME_32BITUIDS]: Remove conditional code.
42840 2012-05-25 Richard Henderson <rth@twiddle.net>
42842 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42843 dl_hwcap to ifunc resolver.
42844 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42846 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42847 dl_hwcap to ifunc resolver.
42848 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42850 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42853 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42854 for |x| <= 2**-26, not 2**-57.
42855 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42858 2012-05-24 Jeff Law <law@redhat.com>
42860 * stdio-common/Makefile (tests): Add bug25.
42861 * stdio-common/bug25.c: New test.
42863 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42866 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42867 multiple of MALLOC_ALIGNMENT in size.
42868 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42870 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42872 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42874 (FILENAME_MAX): Use macro-int-constant.
42875 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42876 (_IOFBF): Use macro-int-constant.
42877 (_IOLBF): Likewise.
42878 (_IONBF): Likewise.
42879 (SEEK_CUR): Likewise.
42880 (SEEK_END): Likewise.
42881 (SEEK_SET): Likewise.
42882 (TMP_MAX): Likewise.
42883 (EOF): Use macro-int-constant. Require < 0.
42884 (NULL): Use macro-constant. Require == 0.
42885 (stdin): Require type to be FILE *.
42886 (stdout): Likewise.
42887 (stderr): Likewise.
42888 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42889 macro-int-constant.
42890 (EXIT_SUCCESS): Likewise.
42891 (NULL): Use macro-constant. Require == 0.
42892 (RAND_MAX): Use macro-int-constant.
42893 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42894 [C99-based standards] (strtof): Require function.
42895 [C99-based standards] (strtold): Likewise.
42896 [C99-based standards] (strtoll): Likewise.
42897 [C99-based standards] (strtoull): Likewise.
42898 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42899 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42900 [ISO || ISO99 || ISO11] (math.h): Likewise.
42901 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42902 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42905 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42908 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42909 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42910 * intl/dgettext.c (DCGETTEXT): Likewise.
42911 * intl/gettext.c (DCGETTEXT): Likewise.
42912 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42913 * posix/regex_internal.h (gettext): Likewise.
42914 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42915 Remove declaration.
42916 * include/argz.h (__argz_count_internal)
42917 (__argz_stringify_internal): Remove declaration.
42918 (__argz_count, __argz_stringify): Declare hidden proto.
42919 * intl/dcgettext.c: Remove use of INTDEF.
42920 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42921 * string/argz-stringify.c: Likewise.
42922 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42923 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42924 Declare hidden proto.
42925 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42926 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42927 Declare hidden proto.
42928 * include/stdio.h (__asprintf_internal): Don't declare.
42929 (__asprintf): Don't define as macro. Declare hidden proto.
42930 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42931 (__fsetlocking): Declare hidden proto.
42932 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42933 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42935 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42936 (_IO_setlinebuf): Remove use of INTUSE.
42937 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42938 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42939 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42940 Remove declaration.
42941 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42942 (_IO_do_flush): Remove use of INTUSE.
42943 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42944 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42945 (_IO_adjust_column, _IO_least_wmarker)
42946 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42947 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42948 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42949 (_IO_default_doallocate, _IO_wdefault_doallocate)
42950 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42951 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42952 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42953 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42954 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42955 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42956 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42957 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42958 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42959 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42960 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42961 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42962 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42964 (_IO_flush_all_internal, _IO_adjust_column_internal)
42965 (_IO_default_uflow_internal, _IO_default_finish_internal)
42966 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42967 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42968 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42969 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42970 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42971 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42972 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42973 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42974 (_IO_file_close_internal, _IO_file_close_it_internal)
42975 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42976 (_IO_file_init_internal, _IO_file_attach_internal)
42977 (_IO_file_fopen_internal, _IO_file_read_internal)
42978 (_IO_file_sync_internal, _IO_file_seek_internal)
42979 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42980 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42981 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42982 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42983 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42984 (_IO_list_all_internal, _IO_link_in_internal)
42985 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42986 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42987 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42988 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42989 (_IO_do_write_internal, _IO_padn_internal)
42990 (_IO_getline_info_internal, _IO_getline_internal)
42991 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42992 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42993 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42994 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42995 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42996 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42997 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42998 with libc_hidden_ver, remove use of INTUSE.
42999 * libio/genops.c: Likewise.
43000 * libio/freopen.c: Likewise.
43001 * libio/freopen64.c: Likewise.
43002 * libio/iofclose.c: Likewise.
43003 * libio/iofdopen.c: Likewise.
43004 * libio/iofflush.c: Likewise.
43005 * libio/iofflush_u.c: Likewise.
43006 * libio/iofgets.c: Likewise.
43007 * libio/iofgets_u.c: Likewise.
43008 * libio/iofopen.c: Likewise.
43009 * libio/iofopncook.c: Likewise.
43010 * libio/iofread.c: Likewise.
43011 * libio/iofread_u.c: Likewise.
43012 * libio/ioftell.c: Likewise.
43013 * libio/iofwrite.c: Likewise.
43014 * libio/iogetline.c: Likewise.
43015 * libio/iogets.c: Likewise.
43016 * libio/iogetwline.c: Likewise.
43017 * libio/iopadn.c: Likewise.
43018 * libio/iopopen.c: Likewise.
43019 * libio/ioseekoff.c: Likewise.
43020 * libio/ioseekpos.c: Likewise.
43021 * libio/iosetbuffer.c: Likewise.
43022 * libio/iosetvbuf.c: Likewise.
43023 * libio/ioungetc.c: Likewise.
43024 * libio/ioungetwc.c: Likewise.
43025 * libio/iovdprintf.c: Likewise.
43026 * libio/iovsprintf.c: Likewise.
43027 * libio/iovsscanf.c: Likewise.
43028 * libio/memstream.c: Likewise.
43029 * libio/obprintf.c: Likewise.
43030 * libio/oldfileops.c: Likewise.
43031 * libio/oldiofclose.c: Likewise.
43032 * libio/oldiofdopen.c: Likewise.
43033 * libio/oldiofopen.c: Likewise.
43034 * libio/oldiopopen.c: Likewise.
43035 * libio/oldstdfiles.c: Likewise.
43036 * libio/putc.c: Likewise.
43037 * libio/setbuf.c: Likewise.
43038 * libio/setlinebuf.c: Likewise.
43039 * libio/stdfiles.c: Likewise.
43040 * libio/strops.c: Likewise.
43041 * libio/vasprintf.c: Likewise.
43042 * libio/vscanf.c: Likewise.
43043 * libio/vsnprintf.c: Likewise.
43044 * libio/vswprintf.c: Likewise.
43045 * libio/wfiledoalloc.c: Likewise.
43046 * libio/wfileops.c: Likewise.
43047 * libio/wgenops.c: Likewise.
43048 * libio/wmemstream.c: Likewise.
43049 * libio/wstrops.c: Likewise.
43050 * libio/__fpurge.c: Likewise.
43051 * libio/__fsetlocking.c: Likewise.
43052 * assert/assert.c: Likewise.
43053 * debug/fgets_chk.c: Likewise.
43054 * debug/fgets_u_chk.c: Likewise.
43055 * debug/fread_chk.c: Likewise.
43056 * debug/fread_u_chk.c: Likewise.
43057 * debug/gets_chk.c: Likewise.
43058 * debug/obprintf_chk.c: Likewise.
43059 * debug/vasprintf_chk.c: Likewise.
43060 * debug/vdprintf_chk.c: Likewise.
43061 * debug/vsnprintf_chk.c: Likewise.
43062 * debug/vsprintf_chk.c: Likewise.
43063 * malloc/mtrace.c: Likewise.
43064 * misc/error.c: Likewise.
43065 * misc/syslog.c: Likewise.
43066 * stdio-common/asprintf.c: Likewise.
43067 * stdio-common/fxprintf.c: Likewise.
43068 * stdio-common/getw.c: Likewise.
43069 * stdio-common/isoc99_fscanf.c: Likewise.
43070 * stdio-common/isoc99_scanf.c: Likewise.
43071 * stdio-common/isoc99_vfscanf.c: Likewise.
43072 * stdio-common/isoc99_vscanf.c: Likewise.
43073 * stdio-common/isoc99_vsscanf.c: Likewise.
43074 * stdio-common/printf-prs.c: Likewise.
43075 * stdio-common/printf_fp.c: Likewise.
43076 * stdio-common/printf_fphex.c: Likewise.
43077 * stdio-common/printf_size.c: Likewise.
43078 * stdio-common/putw.c: Likewise.
43079 * stdio-common/scanf.c: Likewise.
43080 * stdio-common/sprintf.c: Likewise.
43081 * stdio-common/tmpfile.c: Likewise.
43082 * stdio-common/vfprintf.c: Likewise.
43083 * stdio-common/vfscanf.c: Likewise.
43084 * stdlib/strfmon_l.c: Likewise.
43085 * sunrpc/openchild.c: Likewise.
43086 * sunrpc/xdr_stdio.c: Likewise.
43087 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43088 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43090 2012-05-24 Roland McGrath <roland@hack.frob.com>
43092 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43094 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43095 in the third column, to generate for the shared library an IFUNC
43096 that uses _dl_vdso_vsym.
43097 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43098 * Makeconfig (object-suffixes-noshared): New variable.
43100 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43101 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43102 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43103 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43106 * include/sys/time.h (__gettimeofday): Remove macro.
43107 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43108 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43110 (__gettimeofday): Add libc_hidden_def.
43111 (gettimeofday): Add libc_hidden_weak.
43112 * sysdeps/mach/gettimeofday.c: Likewise.
43113 * sysdeps/posix/gettimeofday.c: Likewise.
43114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43115 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43116 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43117 (__gettimeofday_internal): Remove strong_alias.
43118 (__gettimeofday): Add libc_hidden_def.
43119 (gettimeofday): Add libc_hidden_weak.
43120 * sysdeps/unix/syscalls.list (gettimeofday):
43121 Remove __gettimeofday_internal alias.
43123 2012-05-24 Daniel Jacobowitz <drow@false.org>
43124 H.J. Lu <hongjiu.lu@intel.com>
43127 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43128 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43129 (largebin_index_32_big): New.
43130 (largebin_index): Use it for 16-byte alignment.
43131 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43132 correction with front_misalign.
43134 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43162 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43163 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43165 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43169 * math/libm-test.inc (exp_test): Add test from bug 14036.
43170 (pow_test): Add test from bug 10846.
43172 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43174 (special_function): Do not include flags in test name.
43175 (parse_args): Likewise.
43176 * sysdeps/i386/fpu/libm-test-ulps: Update.
43177 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43178 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43179 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43182 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43184 * math/libm-test.inc ("Philosophy"): Update comment about
43186 (UNDERFLOW_EXCEPTION): New macro.
43187 (UNDERFLOW_EXCEPTION_OK): Likewise.
43188 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43189 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43190 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43191 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43192 (INVALID_EXCEPTION_OK): Update value.
43193 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43194 (OVERFLOW_EXCEPTION_OK): Likewise.
43195 (IGNORE_ZERO_INF_SIGN): Likewise.
43196 (test_exceptions): Handle underflow exceptions.
43197 (acos_test): Update for underflow exception expectations.
43198 (cexp_test): Likewise.
43199 (clog_test): Likewise.
43200 (clog10_test): Likewise.
43201 (csqrt_test): Likewise.
43202 (ctan_test): Likewise.
43203 (ctanh_test): Likewise.
43204 (exp_test): Likewise.
43205 (exp10_test): Likewise.
43206 (exp2_test): Likewise.
43207 (expm1_test): Likewise.
43208 (fma_test): Likewise.
43209 (j0_test): Likewise.
43210 (jn_test): Likewise.
43211 (nexttoward_test): Likewise.
43212 (pow_test): Likewise.
43213 (scalbn_test): Likewise.
43214 (scalbln_test): Likewise.
43215 (tan_test): Likewise.
43216 (y1_test): Likewise.
43217 * sysdeps/i386/fpu/libm-test-ulps: Update.
43218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220 2012-05-23 David S. Miller <davem@davemloft.net>
43222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43223 (__libc_sigaction): Remove unused local variables.
43225 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43227 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43229 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43231 mktime: avoid signed integer overflow
43232 * time/mktime.c (__mktime_internal): Do not mishandle the case
43233 where diff == INT_MIN.
43235 mktime: simplify computation of average
43236 * time/mktime.c (ranged_convert): Use new time_t_avg function
43237 instead of rolling our own (probably-slower) code.
43239 mktime: do not assume signed right shift propagates sign bit
43240 * time/mktime.c (isdst_differ): New static function.
43241 (__mktime_internal): No need to normalize tm_isdst now.
43242 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43245 mktime: merge another wrapv change from gnulib
43246 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43247 from some compilers.
43249 mktime: remove incorrect attempt at unusual arithmetics
43250 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43251 The code didn't really work on such machines anyway.
43252 (TYPE_MINIMUM): Assume two's complement.
43253 (twos_complement_arithmetic): Verify that long_int and time_t
43254 are two's complement (or unsigned, in the latter case).
43256 mktime: check signed shifts on long_int and time_t, too
43257 * time/mktime.c (SHR): Check that shifts work as desired
43258 on the types long_int and time_t too, as SHR is used on
43261 mktime: do not assume 'long' is wide enough
43262 * time/mktime.c (verify): Move decl up.
43263 (long_int): New type.
43264 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43265 to remove assumption in the code that 'long' is wide enough to
43266 store year values. This assumption is not true on x32 and on
43267 some non-glibc platforms.
43269 mktime: merge wrapv change from gnulib
43270 * time/mktime.c (WRAPV): New macro.
43271 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43272 (guess_time_tm, __mktime_internal): Do not assume that signed
43273 integer overflow wraps around; modern compilers generate code
43274 where this assumption is no longer valid.
43276 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43278 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43279 Replace "jmp L(pseudo_end)" with "ret".
43280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43283 2012-05-23 Andreas Jaeger <aj@suse.de>
43285 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43286 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43288 2012-05-23 Andreas Jaeger <aj@suse.de>
43289 Maximilian Attems <max@stro.at>
43291 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43294 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43296 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43297 code so that pseudo_end is just ret and the stack pointer is
43298 correct also for static library in error case.
43300 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43302 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43303 move to syscalls.list.
43304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43309 * manual/install.texi (Running make install): Do not mention Linux
43310 kernel version for which pt_chown is not needed.
43311 (Linux): Do not mention problems with nscd with 2.0 kernels.
43312 * INSTALL: Regenerated.
43314 2012-05-23 Andreas Jaeger <aj@suse.de>
43316 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43317 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43319 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43320 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43321 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43322 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43323 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43324 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43325 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43326 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43328 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43329 * sysdeps/unix/sysv/linux/bits/in.h
43330 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43332 2012-05-22 Roland McGrath <roland@hack.frob.com>
43334 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43335 (PREPARE_VERSION): Just use assert instead, it will be elided
43336 under [NDEBUG] anyway.
43338 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43340 * sysdeps/unix/sysv/linux/Makefile: Include
43341 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43342 (sysdep_routines): Remove sysctl.
43343 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43344 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43345 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43346 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43347 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43349 2012-05-22 Andreas Jaeger <aj@suse.de>
43351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43352 that pseudo_end is just ret and the stack pointer is correct also
43353 for static library in error case.
43355 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43358 * nss/nsswitch.c (defconfig_entries): New variable.
43359 (__nss_database_lookup): Don't leak defconfig entries.
43360 (nss_parse_service_list): Don't leak on error paths.
43361 (free_database_entries): New function.
43362 (free_defconfig): New function.
43363 (free_mem): Move common code to free_database_entries.
43365 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43367 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43369 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43371 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43372 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43375 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43376 (INTERNAL_SYSCALL_TYPES): Likewise.
43377 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43378 (LOAD_REGS_TYPES_[1-6]): Likewise.
43379 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43380 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43382 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43384 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43385 copysignl for GLIBC_2_0.
43386 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43387 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43389 logbl for GLIBC_2_0.
43390 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43391 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43393 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43396 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43398 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43401 * time/mktime.c: Update copyright years.
43403 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43405 mktime: merge comment-quoting-style change from gnulib
43406 * time/mktime.c: Quote 'like this' in comments.
43407 The GNU coding standards suggest that we no longer quote `like this',
43408 as "`" and "'" are typically rendered asymmetrically nowadays.
43409 The typical gnulib style is to quote 'like this' when quoting
43410 code, and "like this" when quoting English.
43412 * time/mktime.c (compile-command): Add "-I.".
43414 mktime: merge mktime-internal.h change from gnulib
43415 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43417 mktime: merge time_r change from gnulib
43418 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43420 mktime: merge DEBUG change from gnulib
43421 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43422 case system <time.h> has a #define.
43424 mktime: merge <sys/types.h> change from gnulib
43425 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43426 since <time.t> is now guaranteed to define time_t.
43428 mktime: merge HAVE_CONFIG_H change from gnulib
43429 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43431 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43436 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43438 (struct rusage): Use anonymous union to pad each field to
43441 2012-05-21 David S. Miller <davem@davemloft.net>
43443 * Makefules (o-iterator): Remove .s cases.
43444 (compile-command.s): Delete.
43445 (COMPILE.s): Delete.
43446 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43448 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43450 * configure.in (libc_cv_predef_stack_protector): Only consider
43451 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43452 * configure: Regenerated.
43454 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43457 New macro. Use R*LP on int and pointer.
43458 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43459 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43460 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43461 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43463 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43464 [__WORDSIZE_TIME64_COMPAT32] instead of
43465 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43466 (struct utmp): Likewise.
43467 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43468 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43470 (__WORDSIZE_TIME64_COMPAT32): This.
43471 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43472 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43473 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43474 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43475 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43476 (__WORDSIZE_TIME64_COMPAT32): New macro.
43478 2012-05-21 Andreas Jaeger <aj@suse.de>
43480 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43481 only if [SHARED]. Add prototype for __wcschr_ia32.
43483 2012-05-21 Roland McGrath <roland@hack.frob.com>
43485 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43486 of %rbp unmolested in the jmp_buf while mangling the low bits.
43487 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43488 unmolested high bits of %rbp while demangling the low bits.
43489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43491 2012-05-21 Andreas Jaeger <aj@suse.de>
43493 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43494 * sunrpc/svc_simple.c: Use it for registerrpc.
43495 * sunrpc/xcrypt.c: Use it for passwd2des.
43497 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43499 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43501 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43502 Don't define if [__SYSCALL_WORDSIZE != 32].
43503 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43506 2012-05-21 Bruno Haible <bruno@clisp.org>
43507 Andreas Jaeger <aj@suse.de>
43509 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43510 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43511 inptr and inend for must_buffer_ch.
43512 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43513 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43514 * stdio-common/Makefile (tests): Remove bug15.
43515 (bug15-ENV): Remove macro.
43516 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43519 2012-05-19 Andreas Jaeger <aj@suse.de>
43520 Roland McGrath <roland@hack.frob.com>
43522 * manual/contrib.texi: Completely rewritten. It contains now an
43523 alphabetical list of contributors and their contributions.
43525 2012-05-21 Richard Henderson <rth@twiddle.net>
43527 * misc/getauxval.c (__getauxval): Use unsigned long int.
43528 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43529 (getauxval): Use unsigned long int.
43531 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43533 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43535 2012-05-21 Roland McGrath <roland@hack.frob.com>
43537 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43538 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43539 __alignof__ (long double).
43541 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43545 2012-05-20 Richard Henderson <rth@twiddle.net>
43547 * misc/getauxval.c: New file.
43548 * misc/sys/auxv.h: New file.
43549 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43550 (routines): Add getauxval.
43551 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43553 * elf/dl-sysdep.c (_dl_auxv): Remove.
43554 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43555 * elf/dl-support.c (_dl_auxv): New variable.
43556 (_dl_aux_init): Initialize it.
43557 * manual/startup.texi (Auxiliary Vector): New node.
43558 * sysdeps/generic/bits/hwcap.h: New file.
43559 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43560 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43561 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43562 * sysdeps/sparc/sysdep.h: ... here. Include it.
43563 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43576 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43580 2012-05-19 David S. Miller <davem@davemloft.net>
43582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43584 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43587 * math/s_ccosh.c: Include <float.h>
43588 (__ccosh): Avoid internal overflow calculating sinh and cosh
43589 values before multiplying by sin and cos values.
43590 * math/s_ccoshf.c: Likewise.
43591 * math/s_ccoshl.c: Likewise.
43592 * math/s_csin.c: Likewise.
43593 * math/s_csinf.c: Likewise.
43594 * math/s_csinl.c: Likewise.
43595 * math/s_csinh.c: Likewise.
43596 * math/s_csinhf.c: Likewise.
43597 * math/s_csinhl.c: Likewise.
43598 * math/libm-test.inc (ccos_test): Add more tests.
43599 (ccosh_test): Likewise.
43600 (csin_test): Likewise.
43601 (csinh_test): Likewise.
43602 * sysdeps/i386/fpu/libm-test-ulps: Update.
43603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43605 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43607 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43608 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43610 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43612 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43614 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43615 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43616 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43617 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43618 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43619 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43620 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43621 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43622 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43623 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43624 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43625 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43626 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43627 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43628 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43629 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43630 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43631 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43632 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43633 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43634 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43635 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43636 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43637 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43638 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43639 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43640 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43641 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43642 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43643 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43644 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43646 2012-05-18 Andreas Jaeger <aj@suse.de>
43648 * csu/.gitignore: Delete.
43650 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43652 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43653 (timex): Use __syscall_slong_t.
43655 2012-05-18 Andreas Jaeger <aj@suse.de>
43656 Carlos O'Donell <carlos_odonell@mentor.com>
43658 * manual/install.texi (Configuring and compiling): Update
43659 description about files modified in the source directory.
43660 * INSTALL: Regenerated.
43662 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43664 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43665 value. Use "or" to set return value to -1.
43666 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43667 negate return value.
43669 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43671 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43672 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43673 failure if the compiler has Graphite support disabled.
43674 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43676 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43677 (CFLAGS-memmove.c): Likewise.
43678 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43681 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43683 * sysdeps/x86_64/x32/_itoa.h: New file.
43685 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43686 getdents system call only if kernel and user dirents have the
43687 same d_ino and d_off.
43689 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43690 LLONG_MAX != LONG_MAX.
43691 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43692 (_fitoa_word): Likewise.
43694 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43696 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43697 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43698 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43701 include <bits/wordsize.h>. Check __x86_64__ instead of
43703 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43704 if __x86_64__ is defined. Use anonymous union on fpstate.
43706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43709 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43711 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43712 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43713 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43714 Refer to _rtld_local_ro instead of _rtld_global_ro.
43715 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43717 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43719 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43721 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43722 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43723 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43725 * sysdeps/powerpc/powerpc32/dl-machine.c
43726 (__elf_machine_runtime_setup) [PROF]: Don't reference
43729 2012-05-18 Andreas Jaeger <aj@suse.de>
43731 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43732 function only available for GCCs before 3.4 since GCC 3.4
43733 introduced a builtin.
43735 (llrintf): Likewise.
43736 (llrint): Likewise.
43743 (nearbyint): Likewise.
43744 (nearbyintf): Likewise.
43748 (floorf): Likewise.
43750 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43752 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43753 on both fields and cast pointer to __syscall_ulong_t.
43755 * bits/types.h (__fsword_t): New type.
43756 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43757 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43759 (__FSWORD_T_TYPE): Likewise.
43760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43761 (__FSWORD_T_TYPE): Likewise.
43762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43763 (__FSWORD_T_TYPE): Likewise.
43764 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43765 (__FSWORD_T_TYPE): Likewise.
43766 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43767 __SWORD_TYPE with __fsword_t.
43768 (statfs64): Likewise.
43770 2012-05-17 David S. Miller <davem@davemloft.net>
43772 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43774 2012-05-17 Andreas Jaeger <aj@suse.de>
43776 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43779 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43781 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43783 2012-05-17 Andreas Jaeger <aj@suse.de>
43785 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43788 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43790 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43792 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43794 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43795 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43797 2012-05-17 Andreas Jaeger <aj@suse.de>
43798 Carlos O'Donell <carlos_odonell@mentor.com>
43801 * sysdeps/x86_64/multiarch/init-arch.h
43802 (bit_YMM_Usable): Rename to...
43803 (bit_AVX_Usable): ... this.
43804 (bit_FMA4_Usable): New macro.
43805 (bit_XMM_state): New macro.
43806 (bit_YMM_state): New macro.
43807 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43808 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43809 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43810 (CPUID_OSXSAVE): New macro.
43811 (CPUID_AVX): New macro.
43812 (CPUID_FMA4): New macro.
43813 (index_YMM_Usable): Rename to...
43814 (index_AVX_Usable): ... this.
43815 (HAS_AVX): Use HAS_ARCH_FEATURE.
43816 (HAS_FMA4): Likewise.
43817 (HAS_YMM_USABLE): Remove.
43818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43819 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43821 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43822 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43823 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43824 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43825 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43827 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43829 * math/libm-test.c: Support platforms without multiple rounding modes.
43830 * math/bug-nextafter.c: Support platforms without FP exceptions.
43831 * math/bug-nexttoward.c: Likewise.
43832 * math/test-fenv.c: Likewise.
43833 * math/test-misc.c: Likewise.
43834 * stdlib/bug-getcontext.c: Likewise.
43836 2012-05-17 Andreas Jaeger <aj@suse.de>
43838 * manual/examples/search.c (critter_cmp): Change signature to
43840 * manual/string.texi (Collation Functions): Likewise.
43842 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43844 * bits/types.h: Fold copyright years.
43845 * bits/typesizes.h: Likewise.
43846 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43847 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43850 * time/time.h: Likewise.
43852 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43855 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43856 in instead of returning them. Return void.
43857 (__libc_mallinfo): Accumulate over all arenas.
43858 (__malloc_stats): Adjust for change in int_mallinfo interface.
43860 2012-05-16 Roland McGrath <roland@hack.frob.com>
43863 * configure.in (NM): Add AC_CHECK_TOOL for it.
43864 (libc_extra_cflags): New substituted variable.
43865 Check for -fstack-protector being used implicitly.
43866 * configure: Regenerated.
43867 * config.make.in (config-extra-cflags): New variable,
43868 gets @libc_extra_cflags@.
43869 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43872 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43873 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43874 * configure: Regenerated.
43875 * config.make.in (CPPUNDEFS): New substituted variable.
43876 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43877 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43878 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43880 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43882 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43883 (mq_attr): Use __syscall_slong_t.
43885 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43887 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43888 Check __x86_64__ instead of __WORDSIZE.
43889 (_STAT_VER_LINUX): Likewise.
43890 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43891 __syscall_ulong_t and __syscall_slong_t.
43892 (stat64): Likewise.
43894 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43898 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43900 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43902 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43904 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43907 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43908 include <bits/wordsize.h>. Check __x86_64__ instead of
43910 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43912 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43914 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43915 include <bits/wordsize.h>. Check __x86_64__ instead of
43917 (user_regs_struct): Use "__extension__ unsigned long long"
43918 instead of "unsigned long" if __x86_64__ is defined.
43919 (user): Likewise. Pad after pointer field if __ILP32__ is
43922 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43924 * configure.in (makeinfo): Require version 4.5 or later. Allow
43926 * configure: Regenerated.
43927 * manual/install.texi (texinfo): Increase version requirement to
43929 * INSTALL: Regenerated.
43931 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43933 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43935 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43937 * sysdeps/x86_64/x32/ffs.c: New file.
43939 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43941 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43942 defined. Use __syscall_ulong_t.
43943 (shminfo): Use __syscall_ulong_t.
43944 (shm_info): Likewise.
43946 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43949 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43951 (msgqnum_t): Use __syscall_ulong_t.
43952 (msglen_t): Likewise.
43953 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43956 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43959 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43961 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43962 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43964 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43968 include <bits/wordsize.h>. Check __x86_64__ instead of
43971 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43972 "unsigned long long int" if __x86_64__ is defined.
43973 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43976 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43977 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43979 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43981 (GET_PC): Cast to uintptr_t first.
43982 (GET_FRAME): Likewise.
43983 (GET_STACK): Likewise.
43985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43987 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43988 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43989 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43990 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43991 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43992 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43993 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43994 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43995 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43996 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43997 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43998 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43999 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44000 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44001 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44002 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44003 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44004 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44005 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44012 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44013 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44015 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44017 * Makerules (+depfiles): Also collect depfiles from .oS in
44019 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44020 .oS, $(libnldbl-routines)).
44022 * Makerules (native-compile-mkdep-flags): Define.
44023 * sunrpc/Makefile (extra-objs): Add $(addprefix
44024 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44025 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44026 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44027 calling $(make-target-directory).
44029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44031 * bits/types.h (__snseconds_t): Removed.
44032 * time/time.h (struct timespec): Replace __snseconds_t with
44034 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44035 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44038 (__SNSECONDS_T_TYPE): Likewise.
44039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44040 (__SNSECONDS_T_TYPE): Likewise.
44041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44042 (__SNSECONDS_T_TYPE): Likewise.
44044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44046 * sysdeps/mach/hurd/bits/typesizes.h
44047 (__SYSCALL_SLONG_TYPE): New macro.
44048 (__SYSCALL_ULONG_TYPE): Likewise.
44050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44052 * bits/types.h (__syscall_slong_t): New type.
44053 (__syscall_ulong_t): Likewise.
44055 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44056 (__SYSCALL_ULONG_TYPE): Likewise.
44057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44058 (__SYSCALL_SLONG_TYPE): Likewise.
44059 (__SYSCALL_ULONG_TYPE): Likewise.
44060 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44061 (__SYSCALL_SLONG_TYPE): Likewise.
44062 (__SYSCALL_ULONG_TYPE): Likewise.
44063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44064 (__SYSCALL_SLONG_TYPE): Likewise.
44065 (__SYSCALL_ULONG_TYPE): Likewise.
44067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44069 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44070 Add sigaltstack-offsets.sym.
44071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44072 <sigaltstack-offsets.h>.
44073 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44074 longjmp_msg pointer.
44075 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44076 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44078 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44080 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44082 * elf/stackguard-macros.h: Remove file.
44083 * sysdeps/generic/stackguard-macros.h: New file.
44084 * sysdeps/i386/stackguard-macros.h: Likewise.
44085 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44086 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44087 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44088 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44089 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44090 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44091 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44092 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44093 <elf/stackguard-macros.h>.
44096 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44097 __aligned__ in attribute.
44098 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44099 (gregset_t): Likewise.
44101 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44103 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44104 * sysdeps/x86_64/64/Implies-after: Here. New file.
44105 * sysdeps/x86_64/x32/Implies-after: New file.
44107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44109 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44110 and access return value for _dl_profile_fixup. Use R10_LP to
44113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44115 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44119 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44120 * sysdeps/x86_64/x32/sysdep.h: New file.
44122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44124 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44125 * sysdeps/x86_64/setjmp.S: Likewise.
44127 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44129 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44130 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44131 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44133 remove unused global constant.
44135 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44137 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44138 include of <not-cancel.h>.
44140 2012-05-15 Roland McGrath <roland@hack.frob.com>
44142 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44144 2012-05-15 Jeff Law <law@redhat.com>
44145 Andreas Jaeger <aj@suse.de>
44148 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44150 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44151 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44152 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44153 code changing __hst_map_handle.map.
44155 2012-05-15 Roland McGrath <roland@hack.frob.com>
44157 * configure.in (sysnames): Look for Implies-before and Implies-after
44159 * configure: Regenerated.
44161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44163 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44164 8-byte data alignment with LP_SIZE alignment.
44166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44168 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44173 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44177 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44178 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44179 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44181 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44185 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44186 (stackinfo_sub_sp): Likewise.
44188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44195 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44200 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44205 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44207 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44209 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44210 into R11_LP and load __x86_64_shared_cache_size_half into
44213 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44215 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44218 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44227 powerpc32/power7/fpu/s_logb.c via #include.
44228 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44229 powerpc32/power7/fpu/s_logbf.c via #include.
44230 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44231 powerpc32/power7/fpu/s_logbl.c via #include.
44233 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44235 * README.libm: Remove file.
44237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44239 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44240 count for x32. Use R*_LP and omit operand-size suffix.
44242 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44244 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44245 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44246 * sysdeps/x86_64/x32/shlib-versions: New file.
44248 2012-05-14 Roland McGrath <roland@hack.frob.com>
44250 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44251 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44252 Use _dl_fatal_printf instead.
44254 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44256 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44257 set if not set by the user. Do not allow for being unset.
44258 * sysdeps/unix/sysv/linux/configure: Regenerated.
44260 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44262 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44263 the `q' suffix from lea and replace .quad with ASM_ADDR.
44265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44268 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44270 (PTR_DEMANGLE): Likewise.
44272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44274 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44276 (ASM_ADDR): Likewise.
44277 (RAX_LP): Likewise.
44278 (RBP_LP): Likewise.
44279 (RBX_LP): Likewise.
44280 (RCX_LP): Likewise.
44281 (RDI_LP): Likewise.
44282 (RSI_LP): Likewise.
44283 (RSP_LP): Likewise.
44286 (R10_LP): Likewise.
44287 (R10_LP): Likewise.
44288 (R11_LP): Likewise.
44289 (R12_LP): Likewise.
44290 (R13_LP): Likewise.
44291 (R14_LP): Likewise.
44292 (R15_LP): Likewise.
44294 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44296 * sysdeps/x86_64/x32/dl-machine.h: New file.
44298 2012-05-14 Andreas Jaeger <aj@suse.de>
44300 * manual/Makefile (subdir): Remove export of subdir.
44301 (all): Remove target.
44302 (.PHONY): Remove all from list.
44303 (mkinstalldirs): Remove.
44304 (.PHONY): Remove installdirs from list.
44305 ($(inst_infodir)/libc.info): Use make-target-directory.
44306 (installdirs): Remove.
44307 (subdir_%): Remove.
44308 (glibc-targets): Remove.
44311 ($(objpfx)stubs ../po/manual.pot): Remove.
44312 ($(objpfx)stamp%): Remove.
44313 (make-target-directory): Remove.
44314 (subdir_install): Remove.
44315 (routines): Remove.
44322 * manual/.gitignore: Remove, it's not needed anymore.
44323 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44325 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44327 (texis): Renamed to $(objpfx)texis.
44328 (texis-path): New, contains path to generated files.
44329 (chapters.%): Use texis-path for complete path, add extra argument
44331 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44332 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44333 (summary,texi, stamp-summary): Use complete path of
44334 files. Generate files in build dir.
44335 (dir-add.texi): Build in build dir.
44336 (libm-err.texi,stamp-libm-err): Likewise.
44337 (version.texi, stamp-version): Likewise.
44338 (.%c.texi): Likewise.
44339 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44340 (mostlyclean): Remove target.
44341 (realclean): Remove target.
44342 (generated): Add new variable with contents from mostlyclean and
44343 realclean, remove entries duplicated in common-mostlyclean, add
44344 stamp-libm-err and stamp-version.
44345 (generated-dirs): Add libc directory.
44346 ($(inst_infodir)/libc.info): Install files from build dir.
44348 * manual/install.texi (Configuring and compiling): Adjust since
44349 the info files are not part of the tar ball anymore.
44351 2012-05-14 Andreas Jaeger <aj@suse.de>
44353 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44356 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44359 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44360 to 2.2.0 where earlier.
44361 * sysdeps/unix/sysv/linux/configure: Regenerated.
44362 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44363 Remove conditional code.
44364 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44365 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44366 Remove conditional code.
44367 [!__NR_lchown]: Likewise.
44368 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44369 [__NR_lchown]: Likewise.
44370 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44371 comment referencing __ASSUME_LCHOWN_SYSCALL.
44372 * sysdeps/unix/sysv/linux/i386/sigaction.c
44373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44375 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44376 Remove conditional code.
44377 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44378 (__protocol_available): Remove #if 0 code.
44379 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44381 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44382 * sysdeps/unix/sysv/linux/kernel-features.h
44383 (__ASSUME_GETCWD_SYSCALL): Don't define.
44384 (__ASSUME_REALTIME_SIGNALS): Likewise.
44385 (__ASSUME_PREAD_SYSCALL): Likewise.
44386 (__ASSUME_PWRITE_SYSCALL): Likewise.
44387 (__ASSUME_POLL_SYSCALL): Likewise.
44388 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44389 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44391 (__ASSUME_SIOCGIFNAME): Don't define.
44392 (__ASSUME_MSG_NOSIGNAL): Likewise.
44393 (__ASSUME_SENDFILE): Define unconditionally.
44394 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44395 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44397 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44398 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44399 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44400 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44401 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44402 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44403 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44405 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44408 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44411 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44417 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44423 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44428 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44429 Remove conditional code.
44430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44431 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44432 Remove conditional code.
44433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44434 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44435 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44436 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44437 Remove conditional code.
44438 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44439 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44440 Remove conditional code.
44441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44442 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44443 Remove conditional code.
44444 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44445 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44446 Remove conditional code.
44447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44448 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44449 Remove conditional code.
44450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44451 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44454 * sysdeps/unix/sysv/linux/sigaction.c
44455 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44456 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44457 * sysdeps/unix/sysv/linux/sigpending.c
44458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44460 * sysdeps/unix/sysv/linux/sigprocmask.c
44461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44463 * sysdeps/unix/sysv/linux/sigsuspend.c
44464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44466 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44467 (__libc_missing_rt_sigs): Remove.
44468 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44469 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44470 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44471 Remove conditional code.
44472 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44473 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44475 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44476 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44477 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44478 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44480 2012-05-14 Andreas Jaeger <aj@suse.de>
44482 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44483 it's not used in glibc.
44484 (__coshm1): Likewise.
44485 (__acosh1p): Likewise.
44488 * manual/string.texi (Copying and Concatenation): Add missing
44489 variable in concat example.
44490 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44492 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44496 __builtin_clzl with __builtin_clzll.
44498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44501 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44504 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44506 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44507 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44508 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44509 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44511 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44513 * NEWS: Update ia64 info.
44515 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44517 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44520 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44522 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44523 * sysdeps/unix/syscalls.list (dup3): Likewise.
44524 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44525 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44527 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44529 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44530 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44532 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44534 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44536 (TLS_IE): Use mov/add instead of movq/addq to load thread
44538 (TLS_GD_PREFIX): New.
44541 2012-05-11 David S. Miller <davem@davemloft.net>
44543 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44544 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44545 (_FPU_SETCW): Likewise.
44547 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44549 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44550 is 32-byte aligned.
44552 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44555 * iconvdata/gb18030.c: Update tables.
44556 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44557 characters specially.
44558 (BODY for TO_LOOP): Add encoding of missing ranges.
44560 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44563 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44564 * sysdeps/mach/hurd/dup3.c: Likewise.
44565 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44566 * sysdeps/powerpc/memmove.c:: Likewise.
44568 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44571 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44573 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44575 * elf/elf.h (R_X86_64_RELATIVE64): New.
44576 (R_X86_64_NUM): Updated.
44577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44578 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44579 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44580 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44581 tst-quad1pie tst-quad2pie
44582 (modules-names): Add tst-quadmod1 tst-quadmod2.
44583 ($(objpfx)tst-quad1): New dependency.
44584 ($(objpfx)tst-quad2): Likewise.
44585 ($(objpfx)tst-quad1pie): Likewise.
44586 ($(objpfx)tst-quad2pie): Likewise.
44587 * sysdeps/x86_64/tst-quad1.c: New file.
44588 * sysdeps/x86_64/tst-quad1pie.c: New file.
44589 * sysdeps/x86_64/tst-quad2.c: Likewise.
44590 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44591 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44592 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44593 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44594 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44596 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44598 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44599 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44600 * streams/stropts.h (t_scalar_t): Define type.
44602 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44603 (_PATH_PRESERVE): Set to "/var/lib".
44604 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44606 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44609 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44610 if __dir_mkfile succeeded.
44612 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44613 checking for _hurd_dtablesize. Unlock it right after having
44614 finished _hurd_dtable allocation.
44616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44618 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44619 * sysdeps/mach/hurd/configure: Regenerated.
44620 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44621 special-casing to...
44622 * sysdeps/gnu/configure.in: ... this new file.
44623 * sysdeps/unix/sysv/linux/configure: Regenerated.
44624 * sysdeps/gnu/configure: New generated file.
44626 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44627 for Linux: use nsec instead of usec, as well as:
44628 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44629 members of type struct timespec.
44630 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44632 (struct stat64): Likewise.
44633 (_STATBUF_ST_NSEC): New macro.
44634 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44636 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44637 __strtoul_internal rather than strtoul.
44639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44641 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44646 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44647 which preserves existing values.
44648 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44650 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44652 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44653 TIMEOUT values. Return EINVAL for NFDS values either negative or
44654 greater than FD_SETSIZE.
44656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44658 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44659 allocated, call __vm_protect to finish enabling the existing space, and
44660 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44661 allocate the remainder.
44663 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44665 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44666 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44670 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44671 sysdeps/mach/hurd/readlink.c.
44673 * posix/tst-sysconf.c (posix_options): Only use
44674 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44675 _POSIX_SYNCHRONIZED_IO when they are defined
44676 * sysdeps/mach/hurd/bits/posix_opt.h:
44677 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44678 (_XOPEN_REALTIME): Undefine macro.
44679 (_XOPEN_REALTIME_THREADS): Undefine macro.
44680 (_XOPEN_SHM): Undefine macro.
44681 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44683 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44685 (_POSIX_ASYNC_IO): Undefine macro.
44686 (_POSIX_PRIORITIZED_IO): Undefine macro.
44687 (_POSIX_SPIN_LOCKS): Define macro to -1.
44689 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44690 SA_NODEFER, SA_RESETHAND.
44691 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44692 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44695 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44697 * elf/Makefile (pldd-modules): Define unconditionally.
44699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44701 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44705 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44706 Return ENOENT when name is empty.
44707 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44709 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44711 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44713 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44717 Fix mlock in all cases except non-readable pages.
44718 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44719 instead of VM_PROT_ALL as parameter to __vm_wire function.
44721 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44722 (__mkdir): When path is `/', just fail with EEXIST.
44723 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44727 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44728 <sys/uio.h> (for writev).
44729 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44730 and <sys/param.h> (for MIN).
44732 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44734 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44735 REQUESTED_TIME. Properly set the remaining time and return EINTR
44738 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44740 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44741 Depend on against $(link-rpcuserlibs).
44743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44745 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44746 (__libc_stack_end): Do not use attribute_relro.
44747 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44748 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44749 to libthread-provided value.
44750 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44753 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44756 * bits/libc-lock.h (__libc_once_get): New macro.
44757 * sysdeps/mach/bits/libc-lock.h: Likewise.
44758 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44760 instead of using implementation details.
44762 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44763 * libio/freopen.c: Likewise.
44764 * libio/freopen64.c: Likewise.
44765 * misc/syslog.c: Likewise.
44766 * nscd/connections.c: Likewise.
44767 * nscd/netgroupcache.c: Likewise.
44768 * sysdeps/posix/getcwd.c: Likewise.
44770 2012-05-10 Roland McGrath <roland@hack.frob.com>
44772 * math/w_ilogbf.c: Add #include <limits.h>.
44774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44776 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44777 path instead of returning without unlocking.
44779 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44780 immediate-write ioctls.
44781 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44785 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44786 __builtin_frame_address instead of making assumptions about the
44787 location of the return address relative to DATA. Force early load of
44788 the return address.
44789 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44790 __builtin_frame_address.
44793 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44794 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44795 implement dup3 and do some further code clean-ups.
44796 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44797 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44801 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44803 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44804 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44805 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44806 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44807 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44810 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44811 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44812 when handler == SIG_ERR, not when handler != SIG_ERR.
44814 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44816 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44817 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44820 accept4 for GNU Hurd.
44821 * include/sys/socket.h (__libc_accept4): New prototype.
44822 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44823 to implement __libc_accept4.
44824 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44826 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44828 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44829 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44830 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44831 signal-defines.sym.
44833 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44835 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44839 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44840 assertion on O_CLOEXEC flag.
44841 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44842 * hurd/intern-fd.c: Likewise.
44843 * hurd/port2fd.c: Likewise.
44845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44848 * bits/in.h (IPV6_PKTINFO): Define new macro.
44849 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44851 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44856 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44858 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44859 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44861 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44862 * math/libm-test.inc (logb_test) : Additional logb tests.
44864 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44865 Andreas Jaeger <aj@suse.de>
44867 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44868 * configure: Regenerated.
44869 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44870 * config.make.in (link-obsolete-rpc): New substituted variable.
44871 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44872 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44873 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44874 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44875 so that libc.a contains the symbols.
44876 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44877 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44878 * sunrpc/auth_none.c: Likewise.
44879 * sunrpc/auth_unix.c: Likewise.
44880 * sunrpc/authdes_prot.c: Likewise.
44881 * sunrpc/authuxprot.c: Likewise.
44882 * sunrpc/clnt_gen.c: Likewise.
44883 * sunrpc/clnt_perr.c: Likewise.
44884 * sunrpc/clnt_raw.c: Likewise.
44885 * sunrpc/clnt_simp.c: Likewise.
44886 * sunrpc/clnt_tcp.c: Likewise.
44887 * sunrpc/clnt_udp.c: Likewise.
44888 * sunrpc/clnt_unix.c: Likewise.
44889 * sunrpc/des_crypt.c: Likewise.
44890 * sunrpc/des_soft.c: Likewise.
44891 * sunrpc/get_myaddr.c: Likewise.
44892 * sunrpc/key_call.c: Likewise.
44893 * sunrpc/key_prot.c: Likewise.
44894 * sunrpc/netname.c: Likewise.
44895 * sunrpc/pm_getmaps.c: Likewise.
44896 * sunrpc/pm_getport.c: Likewise.
44897 * sunrpc/pmap_clnt.c: Likewise.
44898 * sunrpc/pmap_prot.c: Likewise.
44899 * sunrpc/pmap_prot2.c: Likewise.
44900 * sunrpc/pmap_rmt.c: Likewise.
44901 * sunrpc/publickey.c: Likewise.
44902 * sunrpc/rpc_cmsg.c: Likewise.
44903 * sunrpc/rpc_common.c: Likewise.
44904 * sunrpc/rpc_dtable.c: Likewise.
44905 * sunrpc/rpc_prot.c: Likewise.
44906 * sunrpc/rpc_thread.c: Likewise.
44907 * sunrpc/rtime.c: Likewise.
44908 * sunrpc/svc.c: Likewise.
44909 * sunrpc/svc_auth.c: Likewise.
44910 * sunrpc/svc_raw.c: Likewise.
44911 * sunrpc/svc_run.c: Likewise.
44912 * sunrpc/svc_tcp.c: Likewise.
44913 * sunrpc/svc_udp.c: Likewise.
44914 * sunrpc/svc_unix.c: Likewise.
44915 * sunrpc/svcauth_des.c: Likewise.
44916 * sunrpc/xcrypt.c: Likewise.
44917 * sunrpc/xdr.c: Likewise.
44918 * sunrpc/xdr_array.c: Likewise.
44919 * sunrpc/xdr_float.c: Likewise.
44920 * sunrpc/xdr_intXX_t.c: Likewise.
44921 * sunrpc/xdr_mem.c: Likewise.
44922 * sunrpc/xdr_rec.c: Likewise.
44923 * sunrpc/xdr_ref.c: Likewise.
44924 * sunrpc/xdr_sizeof.c: Likewise.
44925 * sunrpc/xdr_stdio.c: Likewise.
44927 2012-05-10 Roland McGrath <roland@hack.frob.com>
44929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44930 change. Update copyright years.
44932 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44934 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44936 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44937 Joseph Myers <joseph@codesourcery.com>
44938 Paul Pluzhnikov <ppluzhnikov@google.com>
44941 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44943 [cross-compiling] (extra-libs): Likewise.
44944 [cross-compiling] (extra-libs-others): Likewise.
44945 [cross-compiling] (librpcsvc-routines): Likewise.
44946 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44947 [cross-compiling] (omit-deps): Likewise.
44948 (sunrpc-CPPFLAGS): New variable.
44949 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44950 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44951 (cross-rpcgen-objs): New variable.
44952 (extra-objs): Append $(cross-rpcgen-objs).
44953 ($(cross-rpcgen-objs)): New rule.
44954 ($(objpfx)cross-rpcgen): Likewise.
44955 (rpcgen-cmd): Define to use $(built-program-file). Expand
44957 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44958 ($(objpfx)x%.stmp): Likewise.
44959 * sunrpc/proto.h [IS_IN_build] (_): Define.
44960 [IS_IN_build] (_libc_intl_domainname): Likewise.
44962 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44965 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44966 and R_X86_64_TPOFF64.
44968 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44970 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44971 sysdeps/unix/sysv/syscalls.list.
44974 * sysdeps/unix/sysv/syscalls.list: Remove file.
44976 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44979 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44980 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44981 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44982 (__LC_IDENTIFICATION): Make these macros useful in #if
44983 expressions, as required by C99.
44985 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44987 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44988 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44991 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44993 * stdlib/longlong.h: Updated from GCC.
44995 2012-05-09 Andreas Jaeger <aj@suse.de>
44997 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44998 default is first entry.
44999 (run_mode): Set type.
45000 (main): Remove informal message about syslog.
45001 (options): Fix typo.
45004 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45007 (llrintf): Likewise.
45008 (llrint): Likewise.
45011 (nearbyint): Likewise.
45012 (nearbyintf): Likewise.
45014 2012-05-09 Andreas Jaeger <aj@suse.de>
45015 Pedro Alves <palves@redhat.com>
45017 * nscd/nscd.c (run_mode): Use enum.
45018 (main): Cleanup coding style issue.
45020 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45021 Andreas Jaeger <aj@suse.de>
45023 * nscd/nscd.c (go_background): Replaced with...
45024 (run_mode): ... this.
45025 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45026 (options): Add -F --foreground.
45027 (main): Implement it.
45028 (parse_opt): Parse it.
45030 2012-05-09 Andreas Jaeger <aj@suse.de>
45033 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45034 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45035 -Wconversion warning.
45036 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45039 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45041 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45043 (LC_ALL): Use macro-int-constant.
45044 (LC_COLLATE): Likewise.
45045 (LC_CTYPE): Likewise.
45046 (LC_MESSAGES): Likewise.
45047 (LC_MONETARY): Likewise.
45048 (LC_NUMERIC): Likewise.
45049 (LC_TIME): Likewise.
45050 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45051 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45052 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45053 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45055 [C99-based standards] (float_t): Expect type.
45056 [C99-based standards] (double_t): Expect type.
45057 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45059 [C99-based standards] (HUGE_VALL): Likewise.
45060 [C99-based standards] (INFINITY): Likewise.
45061 [C99-based standards] (NAN): Likewise.
45062 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45063 [C99-based standards] (FP_NAN): Likewise.
45064 [C99-based standards] (FP_NORMAL): Likewise.
45065 [C99-based standards] (FP_SUBNORMAL): Likewise.
45066 [C99-based standards] (FP_ZERO): Likewise.
45067 [C99-based standards] (FP_FAST_FMA): Use
45068 optional-macro-int-constant. Specify type. Require == 1.
45069 [C99-based standards] (FP_FAST_FMAF): Likewise.
45070 [C99-based standards] (FP_FAST_FMAL): Likewise.
45071 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45072 [C99-based standards] (FP_ILOGBNAN): Likewise.
45073 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45075 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45076 [C99-based standards] (math_errhandling): Specify type.
45077 [ISO99 || ISO11] (signgam): Do not allow.
45078 [non-C99-based standards] (copysignf): Do not allow.
45079 [non-C99-based standards] (exp2f): Likewise.
45080 [non-C99-based standards] (log2f): Likewise.
45081 [non-C99-based standards] (modff): Allow.
45082 [non-C99-based standards] (erff): Do not allow.
45083 [non-C99-based standards] (erfcf): Likewise.
45084 [non-C99-based standards] (gammaf): Likewise.
45085 [non-C99-based standards] (hypotf): Likewise.
45086 [non-C99-based standards] (j0f): Likewise.
45087 [non-C99-based standards] (j1f): Likewise.
45088 [non-C99-based standards] (jnf): Likewise.
45089 [non-C99-based standards] (lgammaf): Likewise.
45090 [non-C99-based standards] (tgammaf): Likewise.
45091 [non-C99-based standards] (y0f): Likewise.
45092 [non-C99-based standards] (y1f): Likewise.
45093 [non-C99-based standards] (ynf): Likewise.
45094 [non-C99-based standards] (isnanf): Likewise.
45095 [non-C99-based standards] (acoshf): Likewise.
45096 [non-C99-based standards] (asinhf): Likewise.
45097 [non-C99-based standards] (atanhf): Likewise.
45098 [non-C99-based standards] (cbrtf): Likewise.
45099 [non-C99-based standards] (expm1f): Likewise.
45100 [non-C99-based standards] (ilogbf): Likewise.
45101 [non-C99-based standards] (log1pf): Likewise.
45102 [non-C99-based standards] (logbf): Likewise.
45103 [non-C99-based standards] (nextafterf): Likewise.
45104 [non-C99-based standards] (remainderf): Likewise.
45105 [non-C99-based standards] (rintf): Likewise.
45106 [non-C99-based standards] (scalbf): Likewise.
45107 [non-C99-based standards] (copysignl): Likewise.
45108 [non-C99-based standards] (exp2l): Likewise.
45109 [non-C99-based standards] (log2l): Likewise.
45110 [non-C99-based standards] (modfl): Allow.
45111 [non-C99-based standards] (erfl): Do not allow.
45112 [non-C99-based standards] (erfcl): Likewise.
45113 [non-C99-based standards] (gammal): Likewise.
45114 [non-C99-based standards] (hypotl): Likewise.
45115 [non-C99-based standards] (j0l): Likewise.
45116 [non-C99-based standards] (j1l): Likewise.
45117 [non-C99-based standards] (jnl): Likewise.
45118 [non-C99-based standards] (lgammal): Likewise.
45119 [non-C99-based standards] (tgammal): Likewise.
45120 [non-C99-based standards] (y0l): Likewise.
45121 [non-C99-based standards] (y1l): Likewise.
45122 [non-C99-based standards] (ynl): Likewise.
45123 [non-C99-based standards] (isnanl): Likewise.
45124 [non-C99-based standards] (acoshl): Likewise.
45125 [non-C99-based standards] (asinhl): Likewise.
45126 [non-C99-based standards] (atanhl): Likewise.
45127 [non-C99-based standards] (cbrtl): Likewise.
45128 [non-C99-based standards] (expm1l): Likewise.
45129 [non-C99-based standards] (ilogbl): Likewise.
45130 [non-C99-based standards] (log1pl): Likewise.
45131 [non-C99-based standards] (logbl): Likewise.
45132 [non-C99-based standards] (nextafterl): Likewise.
45133 [non-C99-based standards] (remainderl): Likewise.
45134 [non-C99-based standards] (rintl): Likewise.
45135 [non-C99-based standards] (scalbl): Likewise.
45136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45137 [non-C99-based standards] (FP_*): Do not allow.
45138 [C99-based standards] (FP_*): Change to
45139 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45140 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45142 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45143 (SIG_ERR): Likewise.
45144 [X/Open-based standards] (SIG_HOLD): Likewise.
45145 (SIG_IGN): Likewise.
45146 (SIGABRT): Use macro-int-constant. Specify type. Require
45148 (SIGFPE): Likewise.
45149 (SIGILL): Likewise.
45150 (SIGINT): Likewise.
45151 (SIGSEGV): Likewise.
45152 (SIGTER): Likewise.
45153 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45154 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45155 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45156 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45157 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45158 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45159 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45160 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45161 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45162 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45163 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45164 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45165 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45166 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45167 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45168 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45169 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45170 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45171 [X/Open-based standards] (SIGTRAP): Likewise.
45172 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45173 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45174 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45175 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45176 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45179 2012-05-08 Ian Wienand <ianw@vmware.com>
45182 * time/tzset.c (__tzset_parse_tz): Update default rules for
45183 daylight time changes in the Energy Policy Act of 2005.
45185 2012-05-09 Andreas Jaeger <aj@suse.de>
45188 * elf/ldconfig.c (parse_conf): Change string to make clear that
45189 ldconfig only issued a warning if ld.so.conf does not exist.
45191 2012-05-08 David S. Miller <davem@davemloft.net>
45193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45194 movxtod instead of popping the value on the stack.
45196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45198 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45200 * config.h.in: Add HAVE_ARM_PCS_VFP.
45202 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45205 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45206 checking but the checks are disabled for any reason.
45208 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45210 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45211 and ELF64_R_TYPE with ELFW(R_TYPE).
45213 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45215 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45216 (ulimit): Likewise.
45218 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45219 (settimeofday): Likewise.
45221 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45223 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45224 a struct th_u2 inside the union, and move tu_block/tu_code into
45225 a new th_u3 union of tu_block/tu_code inside of that. Move
45226 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45227 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45228 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45229 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45230 (th_stuff): Change to th_u1.tu_stuff.
45232 (th_msg): Change to th_u1.th_u2.tu_data.
45234 2012-05-07 David S. Miller <davem@davemloft.net>
45236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45239 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45240 (SETUP_PIC_REG): Use it.
45241 (SETUP_PIC_REG_LEAF): Use it.
45243 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45247 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45249 (EXPL_FINITE): Likewise.
45250 (FLDLOG): Likewise.
45251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45252 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45256 (EXPL_FINITE): Likewise.
45257 (FLDLOG): Likewise.
45258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45259 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45261 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45262 test of -max_value argument for long double.
45263 * sysdeps/i386/fpu/libm-test-ulps: Update.
45264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45266 2012-05-06 David S. Miller <davem@davemloft.net>
45268 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45269 quad soft-float symbols whose references which are compiler
45271 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45273 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45277 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45279 (EXPL_FINITE): Likewise.
45280 (FLDLOG): Likewise.
45283 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45284 Adjust comments for base varying.
45285 (__expl_finite): Change alias to EXPL_FINITE.
45286 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45288 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45289 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45291 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45292 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45294 (EXPL_FINITE): Likewise.
45295 (FLDLOG): Likewise.
45298 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45299 Adjust comments for base varying.
45300 (__expl_finite): Change alias to EXPL_FINITE.
45301 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45306 * math/libm-test.inc (check_float_internal): Correct ulp
45307 calculation for subnormal expected results.
45309 2012-05-06 Andreas Jaeger <aj@suse.de>
45311 * Makeconfig (+math-flags): New, set to -frounding-math.
45312 (+cflags): Add +math-flags so that all of glibc gets compiled with
45315 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45317 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45319 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45325 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45326 (__ieee754_expl): Allow for and saturate large arguments.
45327 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45328 (u_threshold): Likewise.
45329 (__exp): Call __ieee754_exp before checking for overflow and
45331 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45332 (u_threshold): Likewise.
45333 (__expf): Call __ieee754_expf before checking for overflow and
45335 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45336 (u_threshold): Likewise.
45337 (__expl): Call __ieee754_expl before checking for overflow and
45339 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45340 (__ieee754_expl): Allow for and saturate large arguments.
45341 * math/libm-test.inc (exp_test): Add another test. Do not allow
45342 missing overflow exception on overflow.
45343 (expm1_test): Do not allow missing overflow exception on overflow.
45345 * sysdeps/i386/fpu/e_expl.c: Move to ...
45346 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45347 rather than using inline asm.
45348 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45349 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45350 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45352 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45355 (signal): Likewise.
45359 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45361 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45362 sysdeps/unix/common/syscalls.list.
45363 (fchmod): Likewise.
45364 (fchown): Likewise.
45365 (ftruncate): Likewise.
45366 (getrusage): Likewise.
45367 (gettimeofday): Likewise.
45368 (setpgid): Likewise.
45369 (setregid): Likewise.
45370 (setreuid): Likewise.
45371 (sigaction): Likewise.
45372 (truncate): Likewise.
45373 (vhangup): Likewise.
45374 * sysdeps/unix/common/syscalls.list: Remove file.
45375 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45376 * sysdeps/unix/sysv/linux/Implies: Likewise.
45378 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45380 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45382 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45386 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45389 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45392 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45395 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45398 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45401 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45404 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45408 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45412 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45415 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45419 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45423 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45425 * sysdeps/unix/common/bits/dirent.h: Remove file.
45426 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45428 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45429 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45430 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45431 * sysdeps/unix/bsd/isatty.c: Likewise.
45432 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45433 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45434 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45436 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45439 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45440 long double comparison inaccuracies.
45441 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45444 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45446 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45447 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45449 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45452 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45453 nonzero digits before rounding a hex value.
45454 * stdlib/tst-strtod.c (tests): Add another test.
45456 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45458 * sysdeps/s390/fpu/libm-test-ulps: Update.
45460 2012-05-03 Andreas Jaeger <aj@suse.de>
45462 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45463 does not get optimized out.
45464 (malloc_opt_barrier): New.
45466 2012-05-03 Andreas Jaeger <aj@suse.de>
45467 Roland McGrath <roland@hack.frob.com>
45469 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45470 intermediate file deletion.
45471 (generated): Add .symlist files.
45473 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45476 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45477 Redirect under this condition.
45478 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45479 [__USE_GNU] (__dprintf_chk): Not under this condition.
45480 [__USE_GNU] (__vdprintf_chk): Likewise.
45481 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45482 under this condition.
45483 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45484 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45485 [__USE_XOPEN2K8] (vdprintf): Likewise.
45486 [__USE_GNU] (__dprintf_chk): Not under this condition.
45487 [__USE_GNU] (__vdprintf_chk): Likewise.
45488 [__USE_GNU] (dprintf): Likewise.
45489 [__USE_GNU] (vdprintf): Likewise.
45491 2012-05-03 Roland McGrath <roland@hack.frob.com>
45493 * elf/Makefile (common-generated): Set this instead of generated for
45494 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45495 $(all-built-dso)-derived lists.
45497 2012-05-03 Andreas Jaeger <aj@suse.de>
45499 * sysdeps/i386/fpu/libm-test-ulps: Update.
45502 * FAQ.in: Likewise.
45503 * scripts/gen-FAQ.pl: Likewise.
45504 * manual/install.texi (Installation): Point to online location of
45506 * Makefile (files-for-dist): Remove FAQ.
45509 2012-05-02 Allan McRae <allan@archlinux.org>
45511 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45512 (LDFLAGS-reldepmod5.so): Likewise.
45513 (LDFLAGS-reldep6mod1.so): Likewise.
45514 (LDFLAGS-reldep6mod4.so): Likewise.
45515 (LDFLAGS-reldep8mod3.so): Likewise.
45516 (LDFLAGS-unload4mod1.so): Likewise.
45517 (LDFLAGS-unload4mod2.so): Likewise.
45518 (LDFLAGS-tst-initorder): Likewise.
45519 (LDFLAGS-tst-initordera2.so): Likewise.
45520 (LDFLAGS-tst-initordera3.so): Likewise.
45521 (LDFLAGS-tst-initordera4.so): Likewise.
45522 (LDFLAGS-tst-initorderb2.so): Likewise.
45523 (LDFLAGS-noload): Likewise.
45524 (LDFLAGS-next): Likewise.
45525 (LDFLAGS-order2mod1.so): Likewise.
45526 (LDFLAGS-order2mod2.so): Likewise.
45527 (LDFLAGS-tst-initorder2): Likewise.
45528 (LDFLAGS-tst-initorder2a.so): Likewise.
45529 (LDFLAGS-tst-initorder2b.so): Likewise.
45530 (LDFLAGS-tst-initorder2c.so): Likewise.
45531 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45533 2012-05-02 David S. Miller <davem@davemloft.net>
45535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45537 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45540 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45542 2012-05-02 Andreas Jaeger <aj@suse.de>
45544 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45545 since we manipulate rounding mode.
45546 (CPPFLAGS-test-idouble.c): Likewise.
45547 (CPPFLAGS-test-ifloat.c): Likewise.
45548 (CFLAGS-test-ldouble.c): Likewise.
45549 (CFLAGS-test-double.c): Likewise.
45550 (CFLAGS-test-float.c): Likewise.
45551 (CFLAGS-test-misc.c): Likewise.
45552 (CFLAGS-test-test-fenv.c): Likewise.
45554 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45559 comparisons to determine direction to adjust input.
45561 2012-05-01 Roland McGrath <roland@hack.frob.com>
45563 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45564 output to the target.
45566 * scripts/localplt.awk: New file.
45567 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45568 (check-localplt-CFLAGS): Variable removed.
45569 ($(all-built-dso:=.jmprel)): New static pattern rule.
45570 (generated): Add those targets.
45571 (localplt-built-dso): New variable.
45572 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45574 * elf/check-localplt.c: File removed.
45576 * scripts/check-execstack.awk: New file.
45577 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45578 (check-execstack-CFLAGS): Variable removed.
45579 ($(objpfx)check-execstack.h): Target removed.
45580 ($(objpfx)execstack-default): New target.
45581 (generated): Add that instead of check-execstack.h.
45582 ($(all-built-dso:=.phdr)): New static pattern rule.
45583 (generated): Add those targets.
45584 * elf/check-execstack.c: File removed.
45586 * scripts/check-textrel.awk: New file.
45587 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45588 (check-textrel-CFLAGS): Variable removed.
45589 (all-built-dso): Use := to define.o
45590 ($(all-built-dso:=.dyn)): New static pattern rule.
45591 (generated): Add those targets.
45592 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45593 * config.make.in (READELF): New substituted variable.
45594 * elf/check-textrel.c: File removed.
45596 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45598 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45600 * conform/data/ctype.h-data [C99-based standards] (isblank):
45602 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45603 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45604 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45605 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45606 Specify type. Require positive value.
45607 (EILSEQ): Likewise.
45608 (ERANGE): Likewise.
45609 [ISO || POSIX] (EILSEQ): Do not expect.
45610 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45611 Specify type. Require positive value.
45612 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45613 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45614 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45615 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45616 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45617 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45618 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45619 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45620 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45621 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45622 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45623 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45624 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45625 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45626 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45627 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45628 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45629 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45630 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45631 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45632 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45633 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45634 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45635 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45636 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45637 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45638 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45639 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45640 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45641 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45642 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45643 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45644 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45645 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45646 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45647 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45648 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45649 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45650 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45651 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45652 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45653 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45654 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45655 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45656 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45657 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45658 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45659 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45660 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45661 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45662 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45663 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45664 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45665 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45666 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45667 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45668 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45669 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45670 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45671 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45672 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45673 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45674 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45675 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45676 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45677 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45678 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45679 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45680 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45681 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45682 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45683 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45684 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45685 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45686 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45687 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45688 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45690 (FLT_ROUNDS): Expect as macro, not constant.
45691 (FLT_MANT_DIG): Use macro-int-constant.
45692 (DBL_MANT_DIG): Likewise.
45693 (LDBL_MANT_DIG): Likewise.
45694 (FLT_DIG): Likewise.
45695 (DBL_DIG): Likewise.
45696 (LDBL_DIG): Likewise.
45697 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45698 (DBL_MIN_EXP): Likewise.
45699 (LDBL_MIN_EXP): Likewise.
45700 (FLT_MAX_EXP): Use macro-int-constant.
45701 (DBL_MAX_EXP): Likewise.
45702 (LDBL_MAX_EXP): Likewise.
45703 (FLT_MAX_10_EXP): Likewise.
45704 (DBL_MAX_10_EXP): Likewise.
45705 (LDBL_MAX_10_EXP): Likewise.
45706 (FLT_MAX): Use macro-constant.
45707 (DBL_MAX): Likewise.
45708 (LDBL_MAX): Likewise.
45709 (FLT_EPSILON): Use macro-constant. Give upper bound.
45710 (DBL_EPSILON): Likewise.
45711 (LDBL_EPSILON): Likewise.
45712 (FLT_MIN): Likewise.
45713 (DBL_MIN): Likewise.
45714 (LDBL_MIN): Likewise.
45715 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45716 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45717 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45718 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45719 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45720 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45721 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45722 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45723 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45724 [ISO11] (FLT_TRUE_MIN): Likewise.
45725 [ISO11] (LDBL_TRUE_MIN): Likewise.
45726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45727 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45728 (SCHAR_MIN): Use macro-int-constant. Specify type.
45729 (SCHAR_MAX): Likewise.
45730 (UCHAR_MAX): Likewise.
45731 (CHAR_MIN): Likewise.
45732 (CHAR_MAX): Likewise.
45733 (MB_LEN_MAX): Use macro-int-constant.
45734 (SHRT_MIN): Use macro-int-constant. Specify type.
45735 (SHRT_MAX): Likewise.
45736 (USHRT_MAX): Likewise.
45737 (INT_MAX): Likewise.
45738 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45740 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45742 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45744 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45745 bound negative. Suffix upper bound with "L".
45746 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45748 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45750 [C99-based standards] (LLONG_MAX): Likewise.
45751 [C99-based standards] (ULLONG_MAX): Likewise.
45752 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45754 [ISO11] (max_align_t): Require type.
45755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45757 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45758 from $CFLAGS, without defining away __attribute__ calls.
45759 (checknamespace): Use $CFLAGS_namespace.
45761 * conform/conformtest.pl (@keywords): Only include C99 keywords
45762 for standards based on C99 or C11.
45764 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45766 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45769 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45770 usability of symbols in #if.
45772 * conform/conformtest.pl: If macro or constant types start
45773 "promoted:", expect the symbol to be of the following type
45774 promoted by the integer promotions.
45776 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45777 in one place. Also handle "macro-constant".
45779 * conform/conformtest.pl: Only accept expected macro values with
45780 "==". Parse all "macro" lines in one place.
45781 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45783 * conform/conformtest.pl: Handle braced types on "constant" lines
45784 instead of handling "typed-constant".
45785 * conform/data/signal.h-data: Use "constant" instead of
45788 * conform/conformtest.pl: Handle "optional-" at start of lines in
45789 one place rather than duplicating several cases. Handle each
45790 format of "macro" line with initial "optional-".
45792 * conform/conformtest.pl: Only accept expected constant or
45793 optional-constant values with "==". Parse all "constant" lines in
45794 one place. Parse all "optional-constant" lines in one place.
45795 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45796 * conform/data/fmtmsg.h-data: Likewise.
45797 * conform/data/netinet/in.h-data: Likewise.
45798 * conform/data/tar.h-data: Likewise.
45799 * conform/data/limits.h-data: Use "==" form on "constant" and
45800 "optional-constant" lines.
45802 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45803 Use -std=c99 for XOPEN2K.
45804 (@knownproblems): Remove.
45805 (newtoken): Don't check %isknown.
45807 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45808 Do not expect macro.
45809 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45810 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45811 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45812 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45813 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45814 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45815 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45816 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45817 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45818 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45819 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45820 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45821 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45822 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45823 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45824 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45825 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45826 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45827 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45828 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45829 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45830 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45831 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45832 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45833 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45834 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45835 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45836 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45837 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45838 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45839 [XPG3] (acosh): Likewise.
45840 [XPG3] (asinh): Likewise.
45841 [XPG3] (atanh): Likewise.
45842 [XPG3] (cbrt): Likewise.
45843 [XPG3] (expm1): Likewise.
45844 [XPG3] (ilogb): Likewise.
45845 [XPG3] (log1p): Likewise.
45846 [XPG3] (logb): Likewise.
45847 [XPG3] (nextafter): Likewise.
45848 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45849 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45850 [XPG3] (remainder): Likewise.
45851 [XPG3] (rint): Likewise.
45852 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45853 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45854 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45855 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45856 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45857 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45858 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45859 [UNIX98 || XOPEN2K] (scalb): Expect.
45860 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45861 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45862 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45863 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45864 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45865 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45866 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45867 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45868 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45869 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45870 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45871 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45872 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45873 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45874 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45875 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45876 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45877 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45878 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45879 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45880 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45881 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45882 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45883 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45884 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45885 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45886 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45887 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45888 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45889 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45890 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45891 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45892 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45893 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45894 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45895 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45896 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45897 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45898 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45899 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45900 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45901 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45902 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45903 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45904 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45905 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45906 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45907 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45908 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45909 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45910 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45911 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45912 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45913 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45914 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45915 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45916 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45917 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45918 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45919 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45920 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45921 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45922 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45923 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45924 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45925 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45926 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45927 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45928 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45929 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45930 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45931 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45932 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45933 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45934 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45935 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45936 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45937 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45938 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45939 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45940 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45941 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45942 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45943 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45944 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45945 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45946 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45947 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45948 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45949 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45950 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45951 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45952 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45953 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45954 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45955 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45956 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45957 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45958 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45959 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45960 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45961 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45962 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45963 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45964 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45965 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45966 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45967 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45968 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45969 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45970 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45971 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45972 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45973 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45974 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45975 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45976 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45977 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45978 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45979 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45980 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45981 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45982 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45983 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45984 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45985 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45986 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45987 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45988 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45989 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45990 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45991 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45992 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45993 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45994 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45995 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45996 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45998 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45999 _XOPEN_SOURCE_EXTENDED for XPG4.
46001 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46003 * Makeconfig (localtime): Remove variable.
46004 (inst_localtime-file): Likewise.
46006 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46027 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46031 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46032 comparisons to determine direction to adjust input.
46033 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46034 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46035 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46041 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46044 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46046 * math/libm-test.inc (nexttoward_test): Add more tests.
46048 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46051 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46052 in version GLIBC_2.1, not GLIBC_2.0.
46053 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46056 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46059 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46061 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46062 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46063 * math/libm-test.inc (acos_test): Add more tests.
46064 (asin_test): Likewise.
46065 * sysdeps/i386/fpu/libm-test-ulps: Update.
46066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46069 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46071 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46072 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46073 * math/libm-test.inc (acos_test_tonearest): New function.
46074 (acos_test_towardzero): Likewise.
46075 (acos_test_downward): Likewise.
46076 (acos_test_upward): Likewise.
46077 (asin_test_tonearest): Likewise.
46078 (asin_test_towardzero): Likewise.
46079 (asin_test_downward): Likewise.
46080 (asin_test_upward): Likewise.
46081 (main): Call the new functions.
46082 * sysdeps/i386/fpu/libm-test-ulps: Update.
46083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46087 * math/e_exp10.c: Include <float.h>.
46088 (__ieee754_exp10): Handle underflow here rather than multiplying
46089 large negative argument by M_LN10.
46090 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46092 * math/e_exp10l.c: Include <float.h>.
46093 (__ieee754_exp10l): Handle underflow here rather than multiplying
46094 large negative argument by M_LN10l.
46095 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46096 spurious overflow exception on underflow.
46098 2012-04-29 Marek Polacek <polacek@redhat.com>
46100 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46101 (__fortify_function): New macro.
46102 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46103 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46104 __extern_always_inline.
46105 * libio/bits/stdio2.h: Likewise.
46106 * libio/bits/stdio.h: Likewise.
46107 * string/string.h: Likewise.
46108 * string/bits/string3.h: Likewise.
46109 * include/stdio.h: Likewise.
46110 * stdlib/bits/stdlib.h: Likewise.
46111 * stdlib/stdlib.h: Likewise.
46112 * rt/bits/mqueue2.h: Likewise.
46113 * rt/mqueue.h: Likewise.
46114 * posix/bits/unistd.h: Likewise.
46115 * posix/unistd.h: Likewise.
46116 * io/bits/poll2.h: Likewise.
46117 * io/bits/fcntl2.h: Likewise.
46118 * io/fcntl.h: Likewise.
46119 * io/sys/poll.h: Likewise.
46120 * misc/bits/syslog.h: Likewise.
46121 * misc/bits/syslog-ldbl.h: Likewise.
46122 * misc/sys/syslog.h: Likewise.
46123 * socket/bits/socket2.h: Likewise.
46124 * socket/sys/socket.h: Likewise.
46125 * debug/tst-chk1.c: Likewise.
46126 * wcsmbs/bits/wchar2.h: Likewise.
46127 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46128 * wcsmbs/wchar.h: Likewise.
46130 2012-04-29 Andreas Jaeger <aj@suse.de>
46132 * Makerules (tests): Remove enable-check-abi protection.
46133 (check-abi-warn): Remove.
46134 (check-abi-%): Remove check-abi-warn usage.
46136 * configure.in: Remove check-abi configure option.
46137 * configure: Regenerated.
46138 * config.make.in (enable-check-abi): Remove.
46140 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46143 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46144 double functions to double *_finite functions.
46147 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46148 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46150 * stdio-common/Makefile (tests): Add tst-sprintf3.
46151 * stdio-common/tst-sprintf3.c: New file.
46153 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46154 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46156 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46158 * conform/conformtest.pl: Remove duplicate typed-constant
46161 2012-04-28 David S. Miller <davem@davemloft.net>
46163 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46164 (check-abi-%): Remove AWK script prerequisite and explicit
46166 (check-abi): Rewrite to just diff the symlist with the abilist.
46167 (config-tls, config-abi-config): Delete, no longer used.
46168 (update-abi-%): Remove AWK script and explicit abilist directory.
46169 (update-abi): Rewrite to simply compare and conditionally copy the
46170 symlist and the sysdep abilist file. Remove update-abi-config
46172 * abilist/ld.abilist: Remove.
46173 * abilist/libBrokenLocale.abilist: Remove.
46174 * abilist/libanl.abilist: Remove.
46175 * abilist/libcrypt.abilist: Remove.
46176 * abilist/libdl.abilist: Remove.
46177 * abilist/librt.abilist: Remove.
46178 * abilist/libthread_db.abilist: Remove.
46179 * abilist/libutil.abilist: Remove.
46180 * scripts/extract-abilist.awk: Remove.
46181 * scripts/merge-abilist.awk: Remove.
46182 * sysdeps/generic/libcidn.abilist: New file.
46183 * sysdeps/generic/libnss_compat.abilist: New file.
46184 * sysdeps/generic/libnss_db.abilist: New file.
46185 * sysdeps/generic/libnss_dns.abilist: New file.
46186 * sysdeps/generic/libnss_files.abilist: New file.
46187 * sysdeps/generic/libnss_hesiod.abilist: New file.
46188 * sysdeps/generic/libnss_nis.abilist: New file.
46189 * sysdeps/generic/libnss_nisplus.abilist: New file.
46190 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46191 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46192 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46195 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46196 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46197 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46198 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46199 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46200 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46201 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46202 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46204 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46205 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46206 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46207 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46209 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46210 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46211 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46212 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46214 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46217 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46220 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46323 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46324 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46325 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46328 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46329 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46330 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46331 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46333 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46334 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46335 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46336 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46388 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46390 * conform/conformtest.pl: Fix typo in handling typed-constant from
46393 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46395 * README: Cut down references to pre-2.6 Linux kernels and
46396 Linuxthreads. Update lists of configurations in libc and ports
46397 and sort alphabetically. Say "or newer" with Linux kernel version
46400 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46402 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46405 * math/libm-test.inc (logb_test_downward): New test to expose
46406 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46409 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46412 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46414 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46415 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46417 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46419 * sysdeps/unix/i386/brk.S: Remove file.
46420 * sysdeps/unix/i386/dl-brk.S: Likewise.
46421 * sysdeps/unix/i386/pipe.S: Likewise.
46422 * sysdeps/unix/i386/sigreturn.S: Likewise.
46423 * sysdeps/unix/i386/syscall.S: Likewise.
46424 * sysdeps/unix/i386/vfork.S: Likewise.
46425 * sysdeps/unix/i386/wait.S: Likewise.
46427 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46428 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46430 * configure.in (arm*-none*): Do not allow without
46431 --enable-hacker-mode.
46432 (netbsd*): Remove case setting base_os.
46433 (386bsd*): Likewise.
46434 (freebsd*): Likewise.
46437 (sunos*): Likewise.
46438 (ultrix*): Likewise.
46439 (newsos*): Likewise.
46440 (dynix*): Likewise.
46446 (minix*): Likewise.
46447 (irix4*): Likewise.
46448 (irix6*): Likewise.
46449 (solaris[2-9]*): Likewise.
46451 * configure: Regenerated.
46453 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46456 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46457 overflow or cancellation in calculating denominator.
46458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46460 down expression to avoid unexpected rounding in newer GCCs.
46461 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46463 2012-04-26 David S. Miller <davem@davemloft.net>
46465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46466 long-double compat symbols.
46467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46481 2012-04-25 David S. Miller <davem@davemloft.net>
46483 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46484 HWCAP_* values only after the memory barriers have been defined.
46485 (atomic_full_barrier): Define.
46486 (atomic_read_barrier): Define.
46487 (atomic_write_barrier): Define.
46489 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46491 * shlib-versions: Add libgcc_s version information.
46492 * sysdeps/generic/libgcc_s.h: Remove.
46493 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46495 * sysdeps/gnu/unwind-resume.c: Likewise.
46496 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46498 2012-04-25 David S. Miller <davem@davemloft.net>
46500 * sysdeps/unix/sparc/brk.S: Delete.
46501 * sysdeps/unix/sparc/dl-brk.S: Delete.
46502 * sysdeps/unix/sparc/pipe.S: Delete.
46503 * sysdeps/unix/sparc/sysdep.S: Delete.
46504 * sysdeps/unix/sparc/sysdep.h: Delete.
46505 * sysdeps/unix/sparc/vfork.S: Delete.
46506 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46507 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46509 (ret_ERRVAL, r0, r1, MOVE): Define.
46510 (JUMPTARGET): Remove.
46511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46512 sysdeps/unix/sparc/sysdep.h
46513 (ENTRY, END): Remove.
46514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46516 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46518 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46519 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46522 * timezone/README: Update upstream location and email address for
46524 * timezone/zdump.c: Update from tzcode 2012b.
46525 * timezone/zic.c: Likewise.
46527 * configure.in (libc_cv_as_needed): Remove test.
46528 * configure: Regenerated.
46529 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46530 conditional definition.
46531 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46532 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46533 * config.make.in (have-as-needed): Remove variable.
46535 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46536 Paul Pluzhnikov <ppluzhnikov@google.com>
46538 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46541 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46543 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46544 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46545 * sysdeps/sh/strlen.S: Likewise.
46547 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46549 * sysdeps/unix/fork.S: Remove file.
46550 * sysdeps/unix/i386/fork.S: Likewise.
46551 * sysdeps/unix/sparc/fork.S: Likewise.
46553 * sysdeps/unix/system.c: Remove file.
46554 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46556 * sysdeps/unix/getegid.S: Remove file.
46557 * sysdeps/unix/geteuid.S: Likewise.
46559 2012-04-24 Roland McGrath <roland@hack.frob.com>
46561 * scripts/check-localplt.awk: New file.
46562 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46564 * scripts/data/localplt-generic.data: Add a comment.
46566 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46567 NODE when __dir_mkfile failed.
46568 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46569 Reported by Ludovic Courtès <ludo@gnu.org>.
46571 2012-04-24 Andreas Jaeger <aj@suse.de>
46573 * Makerules (common-clean): Also remove gen-as-const-headers
46576 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46578 * Makerules (native-compile): Do not change working directory for
46579 build. Use $(OUTPUT_OPTION) in command.
46580 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46582 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46585 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46586 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46587 * math/libm-test.inc (floor_test): Add more tests.
46588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46590 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46592 * sysdeps/unix/getdents.c: Remove file.
46593 * sysdeps/unix/sysv/getdents.c: Likewise.
46594 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46596 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46597 sysdeps/unix/mman/syscalls.list.
46599 (mprotect): Likewise.
46601 (munmap): Likewise.
46602 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46603 * sysdeps/unix/mman/syscalls.list: Remove.
46604 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46606 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46607 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46608 * configure: Regenerated.
46609 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46610 $(libgcc_s_suffix).
46611 * config.make.in (libgcc_s_suffix): Remove variable.
46613 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46615 * sysdeps/unix/sysv/gethostname.c: Move to ...
46616 * sysdeps/posix/gethostname.c: ... here.
46618 * sysdeps/unix/execve.S: Remove file.
46620 * sysdeps/unix/_exit.S: Remove file.
46622 2012-04-23 Andreas Jaeger <aj@suse.de>
46625 * manual/Makefile: Remove make dist support, there's no
46626 need for a stand-alone documentation tar ball.
46627 (TEXI2DVI): Define always, it's not in Makeconfig.
46630 (edition): Removed.
46631 (glibc-doc-$(edition).tar): Removed
46635 (ETAGS): Remove, it's in Makeconfig.
46636 (move-if-change): Remove, it's in Makeconfig.
46638 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46641 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46642 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46643 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46644 (strtod_l, strtof_l, strtold_l): Remove __wur.
46645 It is not necessarily an error to ignore strtol's return value.
46646 One can reliably look at the stored endptr to decide whether
46647 the number had valid syntax.
46649 2012-04-21 Andreas Jaeger <aj@suse.de>
46652 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46654 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46656 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46657 * sysdeps/unix/sysv/Versions: Remove file.
46659 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46664 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46668 version from __vm86.
46670 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46672 * sysdeps/unix/common/lxstat.c: Remove file.
46673 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46675 * sysdeps/unix/sysv/Makefile: Remove file.
46677 * sysdeps/unix/sysv/direct.h: Remove file.
46679 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46680 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46681 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46682 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46683 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46684 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46685 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46687 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46689 * sysdeps/unix/xmknod.c: Remove file.
46690 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46692 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46694 * sysdeps/unix/sysv/i386/time.S: Remove file.
46696 * sysdeps/unix/fxstat.c: Remove file.
46697 * sysdeps/unix/xstat.c: Likewise.
46698 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46700 * sysdeps/unix/sysv/sigaction.c: Remove file.
46702 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46703 (sysdep_headers): Remove variable.
46704 [termio.h not in sysdep_headers] (generated): Likewise.
46705 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46706 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46707 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46708 * sysdeps/unix/sysv/tcflow.c: Likewise.
46709 * sysdeps/unix/sysv/tcflush.c: Likewise.
46710 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46711 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46712 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46713 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46714 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46716 * sysdeps/unix/siglist.c: Remove file.
46718 * sysdeps/unix/getppid.S: Remove file.
46720 * sysdeps/unix/mkdir.c: Remove file.
46721 * sysdeps/unix/rmdir.c: Likewise.
46723 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46725 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46727 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46728 errlist-compat value.
46730 2012-04-18 David S. Miller <davem@davemloft.net>
46732 * sysdeps/generic/memcopy.h (reg_char): Delete.
46733 * debug/strcat_chk.c: Use char, not reg_char.
46734 * debug/strcpy_chk.c: Likewise.
46735 * debug/strncat_chk.c: Likewise.
46736 * debug/strncpy_chk.c: Likewise.
46737 * string/memchr.c: Likewise.
46738 * string/memrchr.c: Likewise.
46739 * string/rawmemchr.c: Likewise.
46740 * string/strcat.c: Likewise.
46741 * string/strchr.c: Likewise.
46742 * string/strchrnul.c: Likewise.
46743 * string/strcmp.c: Likewise.
46744 * string/strcpy.c: Likewise.
46745 * string/strncat.c: Likewise.
46746 * string/strncmp.c: Likewise.
46747 * string/strncpy.c: Likewise.
46749 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46751 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46752 __builtin_memcopy is called when src and dest ranges are known to not
46755 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46757 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46758 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46759 fwd_align_merge macro call.
46760 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46761 bwd_align_merge macro call.
46762 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46764 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46767 bwd_align_merge macros.
46768 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46769 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46772 2012-04-18 David S. Miller <davem@davemloft.net>
46774 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46776 2012-04-18 Andreas Jaeger <aj@suse.de>
46779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46780 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46781 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46784 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46785 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46787 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46788 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46789 Adjust for changed ldbl-128 files.
46791 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46792 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46793 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46795 2012-04-17 David S. Miller <davem@davemloft.net>
46797 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46799 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46801 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46802 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46803 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46804 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46805 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46806 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46808 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46811 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46812 * math/libm-test.inc: Add ilogb errno and exception tests.
46813 * math/w_ilogb.c: New file: ilogb wrapper.
46814 * math/w_ilogbf.c: New file: ilogbf wrapper.
46815 * math/w_ilogbl.c: New file: ilogbl wrapper.
46816 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46817 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46818 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46819 exception being thrown with 0.0 as argument.
46820 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46821 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46822 exception being thrown with 0.0 as argument.
46823 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46824 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46825 exception being thrown with 0.0 as argument.
46826 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46827 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46828 exception being thrown with 0.0 as argument.
46829 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46830 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46832 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46833 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46834 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46835 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46836 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46837 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46839 2012-04-17 Petr Baudis <pasky@ucw.cz>
46841 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46844 2012-04-16 Marek Polacek <polacek@redhat.com>
46846 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46848 2012-04-16 Marek Polacek <polacek@redhat.com>
46850 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46851 operands of fdivp instruction.
46853 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46855 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46856 * elf/tst-auditmod3b.c: Likewise.
46857 * elf/tst-auditmod4b.c: Likewise.
46858 * elf/tst-auditmod5b.c: Likewise.
46859 * elf/tst-auditmod6b.c: Likewise.
46860 * elf/tst-auditmod6c.c: Likewise.
46861 * elf/tst-auditmod7b.c: Likewise.
46862 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46863 * sysdeps/x86_64/preconfigure.in: Likewise.
46864 * sysdeps/x86_64/preconfigure: Regenerated.
46866 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46868 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46871 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46874 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46876 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46879 * locale/iso-639.def: Fix gl language name. Spotted by
46882 2012-04-12 Roland McGrath <roland@hack.frob.com>
46885 * libio/libio.h (__io_write_fn): Update comment.
46887 2012-04-12 Petr Baudis <pasky@ucw.cz>
46890 * stdio.texi (Hook Functions): The user provided writer function
46891 is not allowed to return -1.
46893 2012-04-11 David S. Miller <davem@davemloft.net>
46895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46897 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46899 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46900 Add a leading slash to rtkaio.
46902 2012-04-11 Jim Meyering <meyering@redhat.com>
46905 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46906 It is not necessarily an error to ignore fwrite's return
46907 value. One can reliably use ferror to test for errors after
46910 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46912 * bits/types.h (__snseconds_t): New type.
46913 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46915 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46917 (__SNSECONDS_T_TYPE): Likewise.
46918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46919 (__SNSECONDS_T_TYPE): Likewise.
46920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46921 (__SNSECONDS_T_TYPE): Likewise.
46923 2012-04-10 Andreas Jaeger <aj@suse.de>
46926 * manual/time.texi (Processor Time): Return type of times is
46927 elapsed real time since an arbitrary point in the past.
46928 (CPU Time): Move CLK_TCK from here...
46929 (Processor Time): ...to here. Correct description.
46930 * manual/conf.texi (Constants for Sysconf): Correct description of
46933 2012-04-10 David S. Miller <davem@davemloft.net>
46936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46937 where the is a gap between DT_REL(A) and DT_JMPREL.
46939 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46941 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46942 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46943 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46945 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46947 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46948 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46949 (dl_main): Handle --inhibit-cache.
46950 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46952 * elf/dl-load.c (_dl_map_object): Use it.
46953 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46955 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46958 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46959 (__ieee754_powl): Saturate large exponents rather than testing for
46960 overflow of y*log2(x).
46961 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46962 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46966 * math/s_ctan.c: Include <float.h>.
46967 (__ctan): Avoid internal overflow or cancellation in calculating
46969 * math/s_ctanf.c: Likewise.
46970 * math/s_ctanl.c: Likewise.
46971 * math/s_ctanh.c: Likewise.
46972 * math/s_ctanhf.c: Likewise.
46973 * math/s_ctanhl.c: Likewise.
46974 * math/libm-test.inc (ctan_test): Add more tests.
46975 (ctanh_test): Likewise.
46976 * sysdeps/i386/fpu/libm-test-ulps: Update.
46977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46979 2012-04-09 Andreas Jaeger <aj@suse.de>
46982 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46983 is an optional BSD extension.
46986 * manual/stdio.texi (Opening Streams): Document additional fopen
46989 2012-04-09 Roland McGrath <roland@hack.frob.com>
46991 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46992 %eax without telling the compiler.
46994 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46997 * manual/install.texi: Use sourceware.org.
46999 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47002 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47003 (__ieee754_pow): Generate overflow and underflow using huge*huge
47004 and tiny*tiny rather than just returning constant infinity or zero
47005 for large exponents.
47006 * math/libm-test.inc (pow_test): Require overflow exceptions for
47007 applicable cases of large exponents.
47010 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47011 (__ieee754_pow): Use iterative multiplication algorithm only for
47012 integer exponents with absolute value below 1024. Check for odd
47013 integer exponents when using algorithm for real exponents.
47014 * math/libm-test.inc (pow_test): Add more tests.
47015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47017 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47020 * math/libm-test.inc (exp_test): Do not allow overflow exception
47023 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47026 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47027 instead of __kernel_standard_f.
47029 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47031 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47032 * sysdeps/x86_64/memset_chk.S: Likewise.
47034 2012-04-08 Andreas Jaeger <aj@suse.de>
47037 * manual/startup.texi (Environment Access): Describe return value
47038 for putenv and setenv.
47041 * manual/filesys.texi (Directory Entries): Add description for
47045 * manual/filesys.texi (Directory Entries): Clarify that it's file
47046 system not operating system in the description of DT_UNKNOWN.
47049 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47051 2012-04-08 Stephen Compall <s11@member.fsf.org>
47054 * manual/llio.texi (Opening and Closing Files): Add cross
47055 reference to explain mode argument.
47057 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47059 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47060 * sysdeps/x86_64/memset_chk.S: Likewise.
47062 2012-04-07 David S. Miller <davem@davemloft.net>
47064 * elf/elf.h (R_SPARC_WDISP10): Define.
47065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47068 R_SPARC_SIZE64 and R_SPARC_H34.
47070 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47072 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47073 conditions and remove no longer applicable assertion.
47075 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47077 * bits/byteswap.h: Include <features.h>.
47078 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47079 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47081 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47083 * bits/byteswap.h (__bswap_16): Removed.
47084 Include <bits/byteswap-16.h> to get __bswap_16.
47085 * sysdeps/i386/bits/byteswap.h: Likewise.
47086 * sysdeps/s390/bits/byteswap.h: Likewise.
47087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47088 * bits/byteswap-16.h: New file.
47089 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47090 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47091 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47092 * string/Makefile (headers): Add bits/byteswap-16.h.
47094 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47097 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47099 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47100 * nss/tst-nss-static.c: New.
47102 2012-04-06 Robert Millan <rmh@gnu.org>
47105 * manual/llio.texi (File Position Primitive): lseek
47106 refers to WHENCE when it really means OFFSET.
47108 2012-04-06 Andreas Jaeger <aj@suse.de>
47110 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47111 strncmp declarations.
47113 * abilist/libc.abilist: Add __poll and __ppoll.
47115 2012-04-05 David S. Miller <davem@davemloft.net>
47117 * scripts/check-local-headers.sh: Accept a host triplet in the
47118 path matched by the exclude regexp.
47120 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47122 * sysdeps/powerpc/powerpc32/dl-machine.h
47123 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47124 * sysdeps/s390/s390-32/dl-machine.h
47125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47126 * sysdeps/sparc/sparc32/dl-machine.h
47127 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47128 * sysdeps/sparc/sparc64/dl-machine.h
47129 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47131 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47133 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47134 undefined symbol errors.
47136 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47139 2012-04-05 Michael Matz <matz@suse.de>
47142 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47144 2012-04-05 Andreas Jaeger <aj@suse.de>
47147 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47153 which ROUND is no valid rounding mode.
47155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47157 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47159 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47163 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47164 an exception using FPU order intentionally.
47166 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47168 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47169 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47170 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47171 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47173 2012-04-05 Simon Josefsson <simon@josefsson.org>
47176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47177 EINVAL when BUFLEN is too smal.
47179 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47182 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47183 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47185 2012-04-03 Andreas Jaeger <aj@suse.de>
47188 * manual/setjmp.texi (System V contexts): Fix sentence.
47191 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47192 New macro for this case.
47193 [!__GNUC__] (__bswap_64): New inline function for this case.
47194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47195 * bits/byteswap.h: Likewise.
47196 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47197 ull, guard with __GLIBC_HAVE_LONG_LONG.
47199 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47200 __GLIBC_HAVE_LONG_LONG.
47202 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47203 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47205 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47208 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47209 inptr and inend, rather than using last_ch.
47211 2012-04-02 David S. Miller <davem@davemloft.net>
47213 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47214 * stdio-common/printf-parse.h (read_int): Change return type to
47215 'int', return -1 on INT_MAX overflow.
47216 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47217 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47218 overflows INT_MAX. Check for overflow of in-format-string precision
47219 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47220 SIZE_MAX not INT_MAX for integer overflow test.
47221 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47222 skip the construct in the format string but do not record anything.
47223 * stdio-common/bug22.c: Adjust to test both width/prevision
47224 INT_MAX overflow as well as total length INT_MAX overflow. Check
47225 explicitly for proper errno values.
47227 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47229 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47231 * string/test-strcmp.c [! WIDE]: Likewise.
47232 * time/tst-mktime2.c: Likewise for INT_MAX.
47233 * string/test-string.h: #include <sys/param.h> for MIN.
47235 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47236 * sysdeps/i386/init-first.c (init): Likewise.
47237 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47238 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47239 * sysdeps/sh/init-first.c (init): Likewise.
47241 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47243 * po/ru.po: Update from translation team.
47244 * po/vi.po: Likewise.
47246 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47248 * resolv/nss_dns/dns-host.c: Merge copyright years.
47250 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47253 Optimize memcpy with prefetch if
47254 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47255 src, dst pointers have unequal 16 byte alignments.
47257 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47260 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47261 from a CNAME entry and return the minimum ttl for the query.
47262 (gaih_getanswer_slice): Likewise.
47264 2012-03-30 Jeff Law <law@redhat.com>
47266 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47268 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47269 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47271 * resolv/nss_dns/dns-host.c: Update copyright year.
47273 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47275 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47276 requests to save a system call. Fix check that all bytes are sent.
47278 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47279 comments for sendmmsg.
47281 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47284 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47285 with only 1 character between 0x0041 and 0x01b0.
47286 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47287 * wcsmbs/tst-mbsnrtowcs.c: New file.
47289 2012-03-29 David S. Miller <davem@davemloft.net>
47291 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47292 small copies by hand.
47294 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47297 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47298 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47301 2012-03-28 David S. Miller <davem@davemloft.net>
47303 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47304 that branches into memcpy.
47305 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47306 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47308 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47311 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47312 implementation too.
47313 * sysdeps/sparc/mempcpy.S: New file.
47315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47316 the IFUNC routine in the libc case.
47317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47319 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47320 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47321 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47322 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47323 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47324 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47325 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47326 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47328 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47329 loop to 256 bytes instead of 64 bytes and fix test signedness.
47331 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47332 * sysdeps/sparc/sparc32/Makefile: rather than here...
47333 * sysdeps/sparc/sparc64/Makefile: and here.
47335 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47337 * malloc/mallocbug.c: Avoid warnings about unused variables.
47339 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47342 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47343 in the right place. Discard and retry query if response is
47344 larger than input buffer size.
47346 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47351 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47352 x for large integer exponent.
47353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47354 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47355 sign of result as needed afterwards.
47356 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47358 result for underflowing pow the same as for overflow.
47359 (__kernel_standard_l): Handle powl overflow and underflow here
47360 rather than calling __kernel_standard.
47361 * math/libm-test.inc (pow_test): Add more tests.
47376 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47377 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47378 (__kernel_standard_l): New function.
47379 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47381 * math/w_acosl.c (__acosl): Likewise.
47382 * math/w_asinl.c (__asinl): Likewise.
47383 * math/w_atan2l.c (__atan2l): Likewise.
47384 * math/w_atanhl.c (__atanhl): Likewise.
47385 * math/w_coshl.c (__coshl): Likewise.
47386 * math/w_exp10l.c (__exp10l): Likewise.
47387 * math/w_exp2l.c (__exp2l): Likewise.
47388 * math/w_fmodl.c (__fmodl): Likewise.
47389 * math/w_hypotl.c (__hypotl): Likewise.
47390 * math/w_j0l.c (__j0l, __y0l): Likewise.
47391 * math/w_j1l.c (__j1l, __y1l): Likewise.
47392 * math/w_jnl.c (__jnl, __ynl): Likewise.
47393 * math/w_lgammal.c (__lgammal): Likewise.
47394 * math/w_log10l.c (__log10l): Likewise.
47395 * math/w_log2l.c (__log2l): Likewise.
47396 * math/w_logl.c (__logl): Likewise.
47397 * math/w_powl.c (__powl): Likewise.
47398 * math/w_remainderl.c (__remainderl): Likewise.
47399 * math/w_scalbl.c (sysv_scalbl): Likewise.
47400 * math/w_sinhl.c (__sinhl): Likewise.
47401 * math/w_sqrtl.c (__sqrtl): Likewise.
47402 * math/w_tgammal.c (__tgammal): Likewise.
47403 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47404 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47405 * math/libm-test.inc (acos_test): Add more tests.
47406 (acosh_test): Likewise.
47407 (asin_test): Likewise.
47408 (atanh_test): Likewise.
47409 (exp_test): Likewise.
47410 (exp10_test): Likewise.
47411 (exp2_test): Likewise.
47412 (expm1_test): Likewise.
47413 (lgamma_test): Likewise.
47414 (log_test): Likewise.
47415 (log10_test): Likewise.
47416 (log1p_test): Likewise.
47417 (log2_test): Likewise.
47418 (pow_test): Do not allow some spurious overflow exceptions.
47419 (sqrt_test): Add more tests.
47420 (tgamma_test): Likewise.
47421 (y0_test): Likewise.
47422 (y1_test): Likewise.
47423 (yn_test): Likewise.
47425 2012-03-27 Anton Blanchard <anton@samba.org>
47427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47429 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47430 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47433 2012-03-27 David S. Miller <davem@davemloft.net>
47435 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47437 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47438 have-as-vis3 check.
47440 2012-03-27 Andreas Jaeger <aj@suse.de>
47442 * sysdeps/x86_64/elf/configure.in: Moved to ...
47443 * sysdeps/x86_64/configure.in: ... here.
47444 * sysdeps/x86_64/elf/start.S: Moved to ...
47445 * sysdeps/x86_64/start.S: ... here.
47446 * sysdeps/x86_64/elf/configure: Delete.
47448 * sysdeps/x86_64/configure.in: Merge contents from
47449 sysdeps/i386/configure.in (without i686 check).
47451 * sysdeps/i386/elf/Versions: Merge into ...
47452 * sysdeps/i386/Versions: ... this.
47453 * sysdeps/i386/elf/Versions: Delete file.
47454 * sysdeps/i386/elf/start.S: Moved to ...
47455 * sysdeps/i386/start.S: ...here.
47456 * sysdeps/i386/elf/configure.in: Merge into...
47457 * sysdeps/i386/configure.in: ...here.
47458 * sysdeps/i386/elf/configure.in: Delete file.
47459 * sysdeps/i386/elf/configure: Delete file.
47461 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47462 * debug/backtracesyms.c: ... here.
47463 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47464 * debug/backtracesymsfd.c: ... here.
47465 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47466 * sysdeps/generic/ifunc-sel.h: ... here.
47468 * sysdeps/unix/i386/start.c: Delete file.
47469 * sysdeps/unix/sparc/start.c: Delete file.
47470 * sysdeps/unix/start.c: Delete file.
47472 * sysdeps/sh/elf/configure.in: Moved to ...
47473 * sysdeps/sh/configure.in: ... here.
47474 * sysdeps/sh/elf/start.S: Moved to ...
47475 * sysdeps/sh/start.S: ... here.
47476 * sysdeps/sh/elf/configure: Delete file.
47478 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47479 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47480 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47481 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47482 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47483 * sysdeps/powerpc/powerpc64/start.S: here.
47484 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47485 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47486 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47487 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47488 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47490 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47491 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47492 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47493 * sysdeps/powerpc/powerpc32/start.S: ... here.
47494 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47495 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47496 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47498 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47499 * sysdeps/powerpc/ifunc-sel.h: ... here.
47500 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47501 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47503 * sysdeps/sparc/elf/configure.in: Moved to ...
47504 * sysdeps/sparc/configure.in: ... here.
47505 * sysdeps/sparc/elf/configure: Delete file.
47506 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47507 * sysdeps/sparc/sparc32/start.S: ... here.
47508 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47509 * sysdeps/sparc/sparc64/start.S: ... here.
47510 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47511 * sysdeps/sparc/sparc32/Makefile: ... this.
47512 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47513 * sysdeps/sparc/sparc64/Makefile: ... this.
47515 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47516 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47517 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47518 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47519 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47520 * sysdeps/s390/s390-32/setjmp.S: ... here.
47521 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47522 * sysdeps/s390/s390-32/configure.in: ... here.
47523 * sysdeps/s390/s390-32/elf/configure: Delete file.
47524 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47525 * sysdeps/s390/s390-32/start.S: ... here.
47527 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47528 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47529 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47530 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47531 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47532 * sysdeps/s390/s390-64/setjmp.S: ... here.
47533 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47534 * sysdeps/s390/s390-64/configure.in: ... here
47535 * sysdeps/s390/s390-64/elf/configure: Delete file.
47536 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47537 * sysdeps/s390/s390-64/start.S: ... here.
47538 * sysdeps/s390/s390-64/elf/configure: Delete.
47540 * configure.in: Remove support for elf directories in sysdeps.
47542 * configure: Regenerated.
47543 * sysdeps/i386/configure: Regenerated.
47544 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47545 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47546 * sysdeps/s390/s390-32/configure: Regenerated.
47547 * sysdeps/s390/s390-64/configure: Regenerated.
47548 * sysdeps/sh/configure: Regenerated.
47549 * sysdeps/sparc/configure: Regenerated.
47550 * sysdeps/x86_64/configure: Regenerated.
47552 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47557 denormal result into account.
47559 2012-03-25 Roland McGrath <roland@hack.frob.com>
47561 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47562 Reported by Allan McRae <allan@archlinux.org>.
47564 2012-03-23 Jeff Law <law@redhat.com>
47566 * nss/getnssent.c (__nss_getent): Fix typo.
47568 2012-03-23 David S. Miller <davem@davemloft.net>
47570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47572 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47574 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47575 to pad to uint64_t for each field.
47576 (dl_tls_index): Replace unsigned long with uint64_t.
47578 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47579 Paul Pluzhnikov <ppluzhnikov@google.com>
47582 * grp/Makefile (otherlibs): Don't set it.
47583 * inet/Makefile (otherlibs): Likewise.
47584 * login/Makefile (otherlibs): Likewise.
47585 * nscd/Makefile (otherlibs): Likewise.
47586 * posix/Makefile (otherlibs): Likewise.
47587 * pwd/Makefile (otherlibs): Likewise.
47588 * rt/Makefile (otherlibs): Likewise.
47589 * sunrpc/Makefile (otherlibs): Likewise.
47590 * nss/Makefile (otherlibs): Likewise.
47591 Add libnss_files to routines and static-only-routines.
47592 ($(objpfx)getent): Remove rule.
47593 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47594 static-only-routines.
47596 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47599 * math/s_cexp.c: Include <float.h>.
47600 (__cexp): Handle exp result overflowing not necessarily
47601 overflowing both real and imaginary parts of result.
47602 * math/s_cexpf.c: Likewise.
47603 * math/s_cexpl.c: Likewise.
47604 * math/libm-test.inc (cexp_test): Add more tests.
47605 * sysdeps/i386/fpu/libm-test-ulps: Update.
47606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47608 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47610 * include/link.h (ELFW): New macro.
47611 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47612 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47616 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47619 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47621 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47623 (struct La_x32_retval): Likewise.
47625 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47627 * sysdeps/x86_64/preconfigure.in: New file.
47628 * sysdeps/x86_64/preconfigure: New generated file.
47630 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47633 * math/e_exp2l.c: Include <float.h>.
47634 (__ieee754_exp2l): Handle overflow and underflow cases
47635 separately. Only pass fractional part of argument to
47637 * math/libm-test.inc (exp2_test): Add more tests.
47639 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47640 negating x to take absolute value.
47641 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47643 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47646 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47647 computing low part if x was negated.
47648 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47650 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47652 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47653 la_x32_gnu_pltexit.
47654 (pltexit): Cast int_retval to ptrdiff_t.
47655 * elf/tst-auditmod3b.c: Likewise.
47656 * elf/tst-auditmod4b.c: Likewise.
47657 * elf/tst-auditmod5b.c: Likewise.
47658 * elf/tst-auditmod6b.c: Likewise.
47659 * elf/tst-auditmod6c.c: Likewise.
47660 * elf/tst-auditmod7b.c: Likewise.
47662 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47663 and x32_gnu_pltexit.
47665 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47666 __ELF_NATIVE_CLASS.
47667 (La_x32_regs): New macro.
47668 (La_x32_retval): Likewise.
47669 (la_x32_gnu_pltenter): New function prototype.
47670 (la_x32_gnu_pltexit): Likewise.
47672 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47679 * configure.in (libc_cv_cc_nofma): Check for option to disable
47680 generation of FMA instructions.
47681 * configure: Regenerate.
47682 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47683 * sysdeps/ieee754/dbl-64/Makefile: New file.
47684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47685 Remove brandred-fma4.
47686 (CFLAGS-brandred-fma4.c): Remove.
47687 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47688 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47693 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47695 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47696 LLONG_MAX != LONG_MAX.
47697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47698 (_fitoa_word): Likewise.
47699 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47700 LLONG_MAX != LONG_MAX.
47701 * stdio-common/_itowa.h: Include <_itoa.h>.
47702 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47703 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47704 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47705 only if not defined.
47706 (_ITOA_WORD_TYPE): Likewise.
47707 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47708 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47710 2012-03-21 David S. Miller <davem@davemloft.net>
47712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47714 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47716 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47717 of x86_64 when setting libc_cv_slibdir, libdir and
47719 * sysdeps/unix/sysv/linux/configure: Regenerated.
47721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47723 * manual/lang.texi (Old Varargs): Remove section.
47724 (How Variadic): Update menu.
47725 (va_start): Do not mention varargs.h.
47727 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47728 Joseph Myers <joseph@codesourcery.com>
47730 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47732 * configure: Regenerated.
47734 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47736 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47737 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47740 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47743 * Makefile (files-for-dist): Remove NOTES.
47744 (NOTES): Remove rule.
47745 * README: Don't refer to NOTES.
47746 * manual/creature.texi: Don't include macros.texi.
47747 * manual/intro.texi (creature.texi): Remove comment referring to
47750 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47751 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47752 * configure: Regenerated.
47753 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47754 LIBC_TRY_CC_OPTION.
47755 (libc_cv_as_i686): Likewise.
47756 (libc_cv_cc_avx): Likewise.
47757 (libc_cv_cc_sse2avx): Likewise.
47758 (libc_cv_cc_fma4): Likewise.
47759 (libc_cv_cc_novzeroupper): Likewise.
47760 * sysdeps/i386/configure: Regenerated.
47763 * sysdeps/i386/fpu/s_cexp.S: Remove.
47764 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47765 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47766 * math/libm-test.inc (cexp_test): Add more tests.
47767 * sysdeps/i386/fpu/libm-test-ulps: Update.
47768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47770 2012-03-21 Allan McRae <allan@archlinux.org>
47772 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47774 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47777 * math/w_exp2.c: Do not include <float.h>.
47778 (o_threshold, u_threshold): Remove.
47779 (__exp2): Calculate result before checking finiteness and calling
47781 * math/w_exp2f.c: Likewise.
47782 * math/w_exp2l.c: Likewise.
47783 * math/libm-test.inc (exp2_test): Require overflow exception for
47787 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47788 range of signed 64-bit integers before using fistpll. Remove
47789 checks for whether integers fit in mantissa bits.
47790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47791 the range of signed 32-bit integers before using fistpl. Remove
47792 checks for whether integers fit in mantissa bits.
47793 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47794 (__ieee754_powl): Test for y outside the range of signed 64-bit
47795 integers before using fistpll. Reduce 64-bit values to 63-bit
47797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47798 divide-by-zero is raised for zero to large negative powers.
47799 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47800 (__ieee754_powl): Test for y outside the range of signed 64-bit
47801 integers before using fistpll. Reduce 64-bit values to 63-bit
47803 * math/libm-test.inc (pow_test): Add more tests.
47805 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47807 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47808 <stdio-common/_itoa.h>.
47809 * debug/segfault.c: Likewise.
47810 * elf/dl-cache.c: Likewise.
47811 * elf/dl-minimal.c: Likewise.
47812 * elf/dl-misc.c: Likewise.
47813 * elf/dl-sysdep.c: Likewise.
47814 * elf/dl-version.c: Likewise.
47815 * elf/rtld.c: Likewise.
47816 * hurd/hurdsock.c: Likewise.
47817 * hurd/lookup-retry.c: Likewise.
47818 * malloc/malloc.c: Likewise.
47819 * malloc/mtrace.c: Likewise.
47820 * nscd/nscd_getgr_r.c: Likewise.
47821 * nscd/nscd_getpw_r.c: Likewise.
47822 * nscd/nscd_getserv_r.c: Likewise.
47823 * posix/getopt_init.c: Likewise.
47824 * posix/wordexp.c: Likewise.
47825 * stdio-common/_itoa.c: Likewise.
47826 * stdio-common/printf_fphex.c: Likewise.
47827 * stdio-common/vfprintf.c: Likewise.
47828 * string/_strerror.c: Likewise.
47829 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47830 * sysdeps/i386/i686/hp-timing.h: Likewise.
47831 * sysdeps/mach/_strerror.c: Likewise.
47832 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47833 * sysdeps/mach/hurd/sethostid.c: Likewise.
47834 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47835 * sysdeps/mach/xpg-strerror.c: Likewise.
47836 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47838 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47839 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47840 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47841 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47842 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47843 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47844 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47845 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47846 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47847 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47848 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47849 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47851 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47852 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47853 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47854 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47855 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47856 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47858 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47860 * stdio-common/_itoa.h: Moved to ...
47861 * sysdeps/generic/_itoa.h: Here.
47863 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47865 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47866 instead of "_itoa.h" and "_itowa.h".
47867 * stdio-common/vfprintf.: Likewise.
47869 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47871 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47873 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47874 (__signbit): Likwise.
47875 (llrintf): Likwise.
47878 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47880 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47883 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47885 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47886 OVERFLOW_EXCEPTION_OK.
47887 * math/libm-test.inc ("Philosophy"): Update comment about
47889 (OVERFLOW_EXCEPTION): Define.
47890 (OVERFLOW_EXCEPTION_OK): Likewise.
47891 (INVALID_EXCEPTION_OK): Renumber.
47892 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47893 (IGNORE_ZERO_INF_SIGN): Likewise.
47894 (test_exceptions): Handle FE_OVERFLOW.
47895 (exp10_test): Expect overflow exceptions.
47896 (exp2_test): Likewise.
47897 (expm1_test): Likewise.
47898 (nextafter_test): Likewise.
47899 (pow_test): Likewise.
47900 (scalbn_test): Likewise.
47901 (scalbln_test): Likewise.
47903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47905 * sysdeps/x86_64/bits/atomic.h
47906 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47908 (atomic_exchange_acq): Likewise.
47909 (__arch_exchange_and_add_body): Likewise.
47910 (__arch_add_body): Likewise.
47911 (atomic_add_negative): Likewise.
47912 (atomic_add_zero): Likewise.
47914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47916 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47917 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47921 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47922 Check __x86_64__ instead of __WORDSIZE.
47924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47926 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47928 2012-03-19 David S. Miller <davem@davemloft.net>
47930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47932 * sysdeps/sparc/fpu/fenv_private.h: New file.
47933 * sysdeps/sparc/fpu/math_private.h: Use it.
47934 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47936 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47937 (libc_feholdexcept_setroundl): Remove.
47938 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47940 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47941 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47943 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47945 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47946 int64_t instead of long int.
47947 (INSERT_WORDS64): Likwise.
47949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47951 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47952 _Unwind_GetCFA return to _Unwind_Ptr first.
47954 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47957 * math/s_clog.c: Include <float.h>.
47958 (__clog): Scale large or subnormal inputs.
47959 * math/s_clogf.c: Likewise.
47960 * math/s_clogl.c: Likewise.
47961 * math/s_clog10.c: Include <float.h>.
47962 (M_LOG10_2): Define.
47963 (__clog10): Scale large or subnormal inputs.
47964 * math/s_clog10f.c: Likewise.
47965 * math/s_clog10l.c: Likewise.
47966 * math/libm-test.inc (clog_test): Add more tests.
47967 (clog10_test): Likewise.
47968 * sysdeps/i386/fpu/libm-test-ulps: Update.
47969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47972 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47974 * math/libm-test.inc (atan2_test): Add another test.
47976 * Makerules (common-objdir-compile): Remove.
47977 * sysdeps/unix/Makefile (config-generated): Do not add
47978 $(unix-generated) to variable.
47979 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47980 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47982 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47984 [generic bits/local_lim.h] (before-compile): Do not append to
47986 [generic bits/local_lim.h] (common-generated): Likewise.
47987 [generic sys/param.h] (before-compile): Do not append to variable.
47988 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47989 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47990 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47991 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47993 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47994 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47995 [generic sys/param.h] ($(addprefix
47996 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47997 [generic sys/param.h] (common-generated): Do not append to
47999 [generic sys/param.h] (sysdep_headers): Likewise.
48000 [generic bits/errno.h] (before-compile): Do not append to
48002 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48004 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48005 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48006 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48007 [generic bits/errno.h] (common-generated): Do not append to
48009 [generic bits/ioctls.h] (before-compile): Do not append to
48011 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48013 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48014 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48015 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48017 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48018 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48019 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48020 [generic bits/ioctls.h] (common-generated): Do not append to
48022 [generic sys/syscall.h] (syscall.h): Remove variable.
48023 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48025 [generic sys/syscall.h] (before-compile): Do not append to
48027 [generic sys/syscall.h] (common-generated): Likewise.
48028 * sysdeps/unix/errnos-tmpl.c: Remove file.
48029 * sysdeps/unix/errnos.awk: Likewise.
48030 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48031 * sysdeps/unix/ioctls.awk: Likewise.
48032 * sysdeps/unix/mk-local_lim.c: Likewise.
48033 * sysdeps/unix/snarf-ioctls: Likewise.
48035 2012-03-19 Richard Henderson <rth@twiddle.net>
48037 * sysdeps/i386/fpu/fenv_private.h: New file.
48038 * sysdeps/i386/fpu/math_private.h: Use it.
48039 (math_opt_barrier, math_force_eval): Remove.
48040 (libc_feholdexcept_setround_53bit): Remove.
48041 (libc_feupdateenv_53bit): Remove.
48042 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48043 (math_opt_barrier, math_force_eval): Remove.
48044 (libc_feholdexcept): Remove.
48045 (libc_feholdexcept_setround): Remove.
48046 (libc_fetestexcept, libc_fesetenv): Remove.
48047 (libc_feupdateenv_test): Remove.
48048 (libc_feupdateenv, libc_feholdsetround): Remove.
48049 (libc_feresetround): Remove.
48051 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48052 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48054 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48055 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48056 (libc_feupdateenv_testl): New.
48057 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48058 (libc_feupdateenv_testf): New.
48059 (libc_feupdateenv): Use libc_feupdateenv_test.
48060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48063 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48064 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48065 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48066 (libc_feresetround_noex): New.
48067 (libc_feresetround_noexf): New.
48068 (libc_feresetround_noexl): New.
48069 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48070 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48071 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48072 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48077 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48078 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48079 SET_RESTORE_ROUND_NOEX.
48080 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48081 SET_RESTORE_ROUND_NOEXF.
48082 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48083 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48084 (libc_feholdsetroundf): New.
48085 (libc_feresetround, libc_feresetroundf): New.
48087 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48088 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48089 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48091 * sysdeps/generic/math_private.h: Include <fenv.h>.
48092 (default_libc_feholdexcept): New.
48093 (default_libc_feholdexcept_setround): New.
48094 (default_libc_fesetenv, default_libc_feupdateenv): New.
48095 (libc_feholdexcept): Only define if undefined.
48096 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48097 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48098 (libc_feholdexcept_setroundl): Likewise.
48099 (libc_feholdexcept_setround_53bit): Likewise.
48100 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48101 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48102 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48103 (libc_feupdateenv_53bit): Likewise.
48104 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48105 (libc_feholdexcept): Convert from macro to inline function.
48106 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48107 (libc_fesetenv, libc_feupdateenv): Likewise.
48109 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48110 not previously defined.
48111 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48112 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48113 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48114 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48115 * sysdeps/ieee754/flt-32/math_private.h: New file.
48116 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48117 math_private.h below SET_FLOAT_WORD.
48118 (__isnan, __isinf_ns, __finite): Remove.
48119 (__isnanf, __isinf_nsf, __finitef): Remove.
48121 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48125 2012-03-17 David S. Miller <davem@davemloft.net>
48128 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48131 2012-03-16 David S. Miller <davem@davemloft.net>
48133 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48137 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48139 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48140 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48141 sysdep_routines when subdir is sysvipc.
48142 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48143 __getshmlba helper.
48145 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48149 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48152 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48154 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48155 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48156 (__lround): Renamed to ...
48157 (__llround): This. Replace long int with long long int.
48158 Define lround functions as aliases of llround functions.
48159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48161 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48163 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48164 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48165 adresses to uintptr_t. Replace "long int" and "unsigned long
48166 int" with "greg_t" on va_arg.
48168 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48170 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48171 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48173 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48174 Move e_machine check before EI_CLASS check. Handle x32
48175 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48176 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48177 SKIP_EM_IA_64 and include
48178 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48180 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48181 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48182 (add_system_dir): New macro.
48184 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48185 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48187 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48198 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48200 * math/w_j0f.c (j0f): Likewise.
48202 * math/w_j0l.c (__j0l): Likewise.
48204 * math/w_j1.c (j1): Likewise.
48206 * math/w_j1f.c (j1f): Likewise.
48208 * math/w_j1l.c (__j1l): Likewise.
48210 * math/w_jn.c (jn): Likewise.
48212 * math/w_jnf.c (jnf): Likewise.
48214 * math/w_jnl.c (__jnl): Likewise.
48216 * math/libm-test.inc (j0_test): Add more tests.
48217 (j1_test): Likewise.
48218 (jn_test): Likewise. Add trailing semicolon to existing test.
48219 (y0_test): Likewise.
48220 (y1_test): Likewise.
48221 * sysdeps/i386/fpu/libm-test-ulps: Update.
48222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48227 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48228 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48230 (__tanl): Set errno for infinite argument.
48231 * sysdeps/i386/fpu/mptan.c: Remove.
48232 * sysdeps/i386/fpu/s_tan.S: Likewise.
48233 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48234 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48235 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48236 * math/libm-test.inc (tan_test): Add more tests and enable more
48237 tests for double and long double.
48238 * sysdeps/i386/fpu/libm-test-ulps: Update.
48239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48241 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48243 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48244 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48246 2012-03-16 Roland McGrath <roland@hack.frob.com>
48248 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48249 * configure.in: Use it for both main tree and add-ons.
48250 * configure: Regenerated.
48252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48254 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48256 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48258 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48262 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48263 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48268 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48270 != 0 for prec == 2.
48271 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48272 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48273 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48274 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48275 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48276 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48277 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48278 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48279 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48280 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48281 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48282 * math/libm-test.inc (cos_test): Add more tests and enable more
48283 tests for long double.
48284 (sin_test): Likewise.
48285 (sincos_test): Likewise.
48286 * sysdeps/i386/fpu/libm-test-ulps: Update.
48287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48289 2012-03-16 David S. Miller <davem@davemloft.net>
48291 * sysdeps/sparc/fpu/math_private.h: New file.
48293 2012-03-15 David S. Miller <davem@davemloft.net>
48295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48309 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48310 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48312 * sysdeps/sparc/sparc-ifunc.h: New file.
48313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48358 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48360 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48364 2012-03-15 Andreas Jaeger <aj@suse.de>
48367 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48368 ieee754/flt-32 implementation for sin, cos and sincos.
48369 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48370 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48371 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48372 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48373 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48374 ieee754/flt-32 implementation for tan.
48376 * math/libm-test.inc (cos_test): Enable some large input tests for
48378 (sin_test): Likewise.
48379 (sincos_test): Likewise.
48380 (tan_test): Add tests for large input.
48382 * sysdeps/i386/fpu/libm-test-ulps: Update.
48384 2012-03-15 Andreas Jaeger <aj@suse.de>
48387 * math/libm-test.inc (cos_test): Add more test cases.
48388 (sin_test): Likewise.
48389 (sincos_test): Likewise.
48391 2012-03-15 Andreas Jaeger <aj@suse.de>
48394 * math/libm-test.inc (cos_test): Add a test case for large input
48396 (sin_test): Likewise.
48397 (sincos_test): Likewise.
48399 2012-03-15 Andreas Jaeger <aj@suse.de>
48400 Joseph Myers <joseph@codesourcery.com>
48403 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48404 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48405 * sysdeps/i386/fpu/branred.c: Likewise.
48406 * sysdeps/i386/fpu/dosincos.c: Likewise.
48407 * sysdeps/i386/fpu/mpa.c: Likewise.
48408 * sysdeps/i386/fpu/s_cos.S: Likewise.
48409 * sysdeps/i386/fpu/s_sin.S: Likewise.
48410 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48411 * sysdeps/i386/fpu/sincos32.c: Likewise.
48413 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48415 (libc_feupdateenv_53bit): Define.
48416 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48418 (libc_feupdateenv_53bit): Define.
48420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48421 53 bit (without extend i386 double precision).
48423 * math/libm-test.inc (sincos_test): Add tests for large input.
48427 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48429 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48433 2012-03-15 David S. Miller <davem@davemloft.net>
48435 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48436 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48437 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48438 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48463 fmin/fmax sysdep routines.
48464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48466 2012-03-14 David S. Miller <davem@davemloft.net>
48468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48545 * sysdeps/sparc/configure.in: New file.
48546 * sysdeps/sparc/configure: Generate.
48547 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48548 * configure: Regenerate.
48549 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48550 * config.make.in (have-as-vis3): New.
48551 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48552 available use -Av9d instead of -Av9a.
48553 * sysdeps/sparc/sparc64/Makefile: Likewise.
48554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48564 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48569 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48570 fzeros/fnegs to load 0x80000000 into a float register instead of
48572 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48574 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48578 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48579 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48580 ($(inst_includedir)/bits/syscall.h): Remove rule.
48581 ($(objpfx)bits/syscall.d): Include instead of
48582 $(objpfx)syscall-list.d.
48583 (generated): Change syscall-list.h and syscall-list.d to
48584 bits/syscall.h and bits/syscall.d.
48586 2012-03-14 Roland McGrath <roland@hack.frob.com>
48589 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48591 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48594 * math/s_csqrt.c: Include <float.h>.
48595 (__csqrt): Scale large or subnormal inputs.
48596 * math/s_csqrtf.c: Likewise.
48597 * math/s_csqrtl.c: Likewise.
48598 * math/libm-test.inc (csqrt_test): Add more tests.
48599 * sysdeps/i386/fpu/libm-test-ulps: Update.
48600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48603 * math/libm-test.inc (hypot_test): Add more tests.
48605 2012-03-13 David S. Miller <davem@davemloft.net>
48608 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48609 double-precision for the calculation instead of scaling.
48611 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48613 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48614 manipulate bits before adding and subtracting TWO52[sx].
48615 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48620 2012-03-13 David S. Miller <davem@davemloft.net>
48622 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48623 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48625 rtld-global-offsets.h
48626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48628 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48631 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48633 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48634 'err' in the ifdef scope in which it is actually used.
48636 * nss/nss_db/db-init.c: Include string.h
48638 2012-03-12 David S. Miller <davem@davemloft.net>
48640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48641 masking out of the most significant byte of random value used.
48642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48643 Fix coding style in previous change.
48645 * sysdeps/unix/sysv/linux/kernel-features.h
48646 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48647 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48649 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48652 2012-03-11 David S. Miller <davem@davemloft.net>
48654 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48655 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48657 for 'resultvar' otherwise things get truncated on 64-bit.
48659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48660 Fix masking out of the most significant byte of random value used.
48662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48664 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48668 2012-03-09 David S. Miller <davem@davemloft.net>
48670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48671 variables with appropriate CPP guards.
48672 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48673 from the frame pointer, not the stack pointer. Correct layout
48674 comments. Fix test on resulting framesize and the management of
48675 the outregs buffer for pltexit. Preserve floating point return
48676 values across _dl_call_pltexit call.
48677 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48678 framesize and the management of the outregs buffer for pltexit.
48679 Preserve floating point return values across _dl_call_pltexit
48681 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48682 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48683 (la_sparc64_gnu_pltexit): New functions.
48684 (print_exit): Fix format string for return register value.
48686 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48688 * sunrpc/Makefile (others): Add rpcgen.
48689 ($(objpfx)rpcgen): Remove special build rule and dependency on
48691 * sunrpc/rpcgen.c: New file.
48693 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48696 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48697 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48698 * sysdeps/i386/crti.S: Likewise.
48699 * sysdeps/i386/crtn.S: Likewise.
48700 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48701 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48702 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48703 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48704 * sysdeps/sh/crti.S: Likewise.
48705 * sysdeps/sh/crtn.S: Likewise.
48706 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48709 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48711 * locale/programs/locfile-kw.gperf: Likewise.
48712 * locale/programs/charmap-kw.h: Regenerated.
48713 * locale/programs/locfile-kw.h: Likewise.
48716 * intl/plural.y: Replace FSF snail mail address with URL.
48717 * intl/plural.c: Regenerated.
48719 2012-03-09 Richard Henderson <rth@twiddle.net>
48721 * include/math_private.h: Remove file.
48722 * math/math_private.h: Move file ...
48723 * sysdeps/generic/math_private.h: ... here.
48725 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48726 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48727 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48729 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48730 and <math_private.h>.
48731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48736 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48739 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48742 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48743 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48744 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48745 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48746 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48747 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48748 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48749 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48750 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48753 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48755 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48756 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48757 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48761 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48762 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48763 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48764 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48765 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48766 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48767 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48768 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48769 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48771 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48772 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48773 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48777 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48778 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48779 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48780 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48781 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48782 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48783 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48784 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48785 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48787 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48788 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48789 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48790 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48791 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48792 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48794 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48795 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48796 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48797 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48798 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48799 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48801 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48802 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48803 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48809 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48810 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48811 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48812 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48813 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48817 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48818 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48819 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48820 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48821 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48822 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48824 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48825 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48826 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48828 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48829 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48830 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48831 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48832 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48833 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48834 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48836 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48837 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48838 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48843 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48845 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48846 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48847 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48848 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48849 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48851 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48852 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48853 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48854 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48856 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48857 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48858 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48859 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48860 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48861 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48862 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48864 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48865 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48866 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48867 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48868 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48869 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48870 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48872 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48873 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48874 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48875 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48876 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48877 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48878 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48879 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48880 * sysdeps/ieee754/k_standard.c: Likewise.
48881 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48882 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48883 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48884 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48885 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48886 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48888 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48889 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48890 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48891 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48892 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48893 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48894 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48895 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48896 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48898 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48900 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48901 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48902 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48903 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48904 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48905 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48906 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48907 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48908 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48909 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48912 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48913 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48914 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48915 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48916 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48917 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48918 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48919 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48920 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48921 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48922 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48923 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48924 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48925 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48926 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48927 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48929 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48932 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48933 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48934 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48937 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48938 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48942 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48943 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48944 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48945 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48947 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48948 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48954 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48955 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48957 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48960 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48961 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48962 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48963 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48964 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48965 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48966 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48967 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48969 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48971 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48972 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48973 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48974 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48977 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48984 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48985 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48993 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48994 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48995 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48996 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48997 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48998 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48999 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49000 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49002 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49003 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49005 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49006 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49008 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49011 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49013 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49014 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49015 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49016 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49017 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49018 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49019 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49020 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49021 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49023 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49024 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49028 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49029 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49030 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49031 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49033 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49034 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49035 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49036 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49038 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49040 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49041 * sysdeps/ieee754/s_lib_version.c: Likewise.
49042 * sysdeps/ieee754/s_matherr.c: Likewise.
49043 * sysdeps/ieee754/s_signgam.c: Likewise.
49044 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49045 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49046 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49047 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49048 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49049 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49050 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49051 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49052 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49053 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49054 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49055 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49056 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49057 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49058 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49059 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49060 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49063 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49064 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49066 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49068 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49069 * sunrpc/rpc_main.c: Likewise.
49070 * sunrpc/rpc_svcout.c: Likewise.
49072 2012-03-09 David S. Miller <davem@davemloft.net>
49074 * include/math_private.h: New file.
49076 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49078 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49079 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49080 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49081 from <bits/socket_type.h>.
49082 (enum __socket_type): Don't define here.
49083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49085 bits/socket_type.h.
49088 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49089 checking __USE_GNU.
49091 * Makerules ($(inst_includedir)/%.h): New rule.
49092 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49093 (install-others): Remove variable setting.
49094 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49096 2012-03-08 Richard Henderson <rth@twiddle.net>
49098 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49099 from macro to inline function; merge with the
49100 !__LIBC_INTERNAL_MATH_INLINES version.
49101 (__ieee754_sqrtf): Likewise.
49103 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49104 to inline function.
49105 (__rintf, __floor, __floorf): Likewise.
49107 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49108 macro to inline function.
49109 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49112 not <math/math_private.h>.
49114 2012-03-08 David S. Miller <davem@davemloft.net>
49116 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49118 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49120 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49122 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49124 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49125 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49127 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49129 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49130 be defined individually, they must be defined as a block. Define
49131 S for printing a string instead of hidint the different by using a
49132 macro for adding the 'l'.
49133 * stdio-common/tst-fphex-wide.c: Adjust.
49135 2012-03-07 Marek Polacek <polacek@redhat.com>
49137 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49139 2012-03-08 Marek Polacek <polacek@redhat.com>
49142 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49143 * stdio-common/tst-fphex.c: Define a few macros to make the
49144 test reusable. Use them.
49145 * stdio-common/tst-fphex-wide.c: New file.
49147 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49150 * manual/macros.texi (gnusystems): New macro.
49151 (nongnusystems): Likewise.
49152 (gnulinuxhurdsystems): Likewise.
49153 (gnuhurdsystems): Likewise..
49154 (gnulinuxsystems): Likewise.
49155 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49156 variants of the GNU system, not "GNU system".
49157 * manual/conf.texi: Likewise.
49158 * manual/errno.texi: Likewise. Update example of errno macro
49160 * manual/filesys.texi: Likewise.
49161 (getumask): Document as specific to GNU/Hurd.
49162 * manual/install.texi: Likewise. Reword some references to
49164 * manual/intro.texi: Likewise.
49165 * manual/io.texi: Likewise.
49166 (File Name Portability): Detail which constraints are inapplicable
49167 to all GNU systems and which are only inapplicable to GNU/Hurd.
49168 * manual/job.texi: Likewise.
49169 * manual/llio.texi: Likewise.
49170 (O_NOCTTY): Document as present on GNU/Linux.
49171 * manual/maint.texi: Likewise.
49172 * manual/memory.texi: Likewise.
49173 * manual/pattern.texi: Likewise.
49174 * manual/pipe.texi: Likewise.
49175 * manual/process.texi: Likewise.
49176 * manual/resource.texi: Likewise.
49177 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49179 * manual/setjmp.texi: Likewise.
49180 * manual/signal.texi: Likewise.
49181 * manual/startup.texi: Likewise.
49182 * manual/stdio.texi: Likewise.
49183 * manual/terminal.texi: Likewise.
49184 (ONLCR): Document as POSIX.
49185 (OXTABS): Document availability on GNU/Linux as XTABS.
49186 (ONOEOT): Document availability separately from other bits.
49187 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49188 * manual/time.texi: Likewise.
49189 * manual/users.texi: Likewise.
49190 * INSTALL: Regenerated.
49191 * sysdeps/gnu/errlist.c: Regenerated.
49193 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49194 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49195 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49197 * configure: Regenerated.
49199 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49201 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49202 default includes instead of AC_HEADER_CHECK.
49203 * sysdeps/i386/configure: Regenerated.
49206 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49207 * math/s_cacoshf.c (__cacoshf): Likewise.
49208 * math/s_cacoshl.c (__cacoshl): Likewise.
49209 * math/s_casinh.c (__casinh): Set signs of result from argument.
49210 * math/s_casinhf.c (__casinhf): Likewise.
49211 * math/s_casinhl.c (__casinhl): Likewise.
49212 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49213 (casinh_test): Add more tests.
49214 * sysdeps/i386/fpu/libm-test-ulps: Update.
49215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49217 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49219 * po/zh_TW.po: Update from translation team.
49221 * login/Makefile (distribute): Remove variable.
49222 * catgets/Makefile: Likewise.
49223 * mach/Makefile: Likewise.
49224 * malloc/Makefile: Likewise.
49225 * misc/Makefile: Likewise.
49226 * iconv/Makefile: Likewise.
49227 * nscd/Makefile: Likewise.
49228 * hurd/Makefile: Likewise.
49229 * manual/Makefile: Likewise.
49230 * locale/Makefile: Likewise.
49231 * intl/Makefile: Likewise.
49232 * conform/Makefile: Likewise.
49233 * nss/Makefile: Likewise.
49234 * time/Makefile: Likewise.
49235 * soft-fp/Makefile: Likewise.
49236 * dirent/Makefile: Likewise.
49237 * gmon/Makefile: Likewise.
49238 * po/Makefile: Likewise.
49239 * rt/Makefile: Likewise.
49240 * socket/Makefile: Likewise.
49241 * math/Makefile: Likewise.
49242 * signal/Makefile: Likewise.
49243 * debug/Makefile: Likewise.
49244 * elf/Makefile: Likewise.
49245 * timezone/Makefile: Likewise.
49246 * stdlib/Makefile: Likewise.
49247 * iconvdata/Makefile: Likewise.
49248 * sunrpc/Makefile: Likewise.
49249 * io/Makefile: Likewise.
49250 * argp/Makefile: Likewise.
49251 * inet/Makefile: Likewise.
49252 * hesiod/Makefile: Likewise.
49253 * grp/Makefile: Likewise.
49254 * csu/Makefile: Likewise.
49255 * wctype/Makefile: Likewise.
49256 * crypt/Makefile: Likewise.
49257 * libio/Makefile: Likewise.
49258 * string/Makefile: Likewise.
49259 * nis/Makefile: Likewise.
49260 * resolv/Makefile: Likewise.
49261 * stdio-common/Makefile: Likewise.
49262 * wcsmbs/Makefile: Likewise.
49263 * dlfcn/Makefile: Likewise.
49264 * posix/Makefile: Likewise.
49267 * timezone/Makefile: Don't install timezone files, just the programs
49270 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49272 * nss/databases.def: Add missing gshadow entry.
49274 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49276 2012-03-06 Marek Polacek <polacek@redhat.com>
49279 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49280 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49281 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49282 * stdio-common/tst-long-dbl-fphex.c: New file.
49284 2012-03-06 David S. Miller <davem@davemloft.net>
49286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49287 (set_obp_int): New function.
49288 (get_obp_int): New function.
49289 (__get_clockfreq_via_dev_openprom): Likewise.
49290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49291 Avoid unused variable warnings on 'val' and use builtin_expect.
49292 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49294 (INLINE_CLONE_SYSCALL): Likewise.
49296 2012-03-05 David S. Miller <davem@davemloft.net>
49298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49300 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49304 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49305 only for |x| >= 40.
49306 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49308 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49311 Replace gettimeofday with __vdso_gettimeofday.
49313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49314 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49315 __vdso_clock_gettime and __vdso_getcpu.
49317 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49318 time with __vdso_time.
49320 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49322 * manual/lang.texi (size_t): Note types to which size_t may be
49323 equivalent with the GNU C Library, but do not describe when
49324 differences between them are significant.
49326 2012-03-05 Andreas Jaeger <aj@suse.de>
49328 * sysdeps/i386/fpu/libm-test-ulps: Update.
49330 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49333 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49334 (__ieee754_pow): Save and restore rounding mode and use
49335 round-to-nearest for main computations.
49336 * math/libm-test.inc (pow_test_tonearest): New function.
49337 (pow_test_towardzero): Likewise.
49338 (pow_test_downward): Likewise.
49339 (pow_test_upward): Likewise.
49340 (main): Call the new functions.
49341 * sysdeps/i386/fpu/libm-test-ulps: Update.
49342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49345 * math/libm-test.inc (cosh_test_tonearest): New function.
49346 (cosh_test_towardzero): Likewise.
49347 (cosh_test_downward): Likewise.
49348 (cosh_test_upward): Likewise.
49349 (sinh_test_tonearest): Likewise.
49350 (sinh_test_towardzero): Likewise.
49351 (sinh_test_downward): Likewise.
49352 (sinh_test_upward): Likewise.
49353 (main): Call the new functions.
49354 * sysdeps/i386/fpu/libm-test-ulps: Update.
49355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49357 2012-03-05 Tom de Vries <tom@codesourcery.com>
49359 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49360 default stack guard is set in last bytes.
49361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49363 2012-03-05 Kees Cook <keescook@chromium.org>
49365 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49368 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49369 possibly allocate from heap instead of stack.
49370 * stdio-common/bug-vfprintf-nargs.c: New file.
49371 * stdio-common/Makefile (tests): Add nargs overflow test.
49373 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49377 2012-03-03 Marek Polacek <polacek@redhat.com>
49379 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49380 * math/math_private.h: Likewise.
49381 * stdlib/tst-strtod.c: Likewise.
49382 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49383 * sysdeps/x86_64/bits/atomic.h: Likewise.
49385 2012-03-02 David S. Miller <davem@davemloft.net>
49387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49391 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49392 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49393 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49394 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49396 2012-03-02 Roland McGrath <roland@hack.frob.com>
49399 * manual/examples/README: New file, says the example source files
49400 can be used under GPL>=2.
49401 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49402 line containing just "*/".
49403 * manual/examples/add.c: Add copyright header (GPL>=2).
49404 * manual/examples/argp-ex1.c: Likewise.
49405 * manual/examples/argp-ex2.c: Likewise.
49406 * manual/examples/argp-ex3.c: Likewise.
49407 * manual/examples/argp-ex4.c: Likewise.
49408 * manual/examples/atexit.c: Likewise.
49409 * manual/examples/db.c: Likewise.
49410 * manual/examples/dir.c: Likewise.
49411 * manual/examples/dir2.c: Likewise.
49412 * manual/examples/execinfo.c: Likewise.
49413 * manual/examples/filecli.c: Likewise.
49414 * manual/examples/filesrv.c: Likewise.
49415 * manual/examples/fmtmsgexpl.c: Likewise.
49416 * manual/examples/genpass.c: Likewise.
49417 * manual/examples/inetcli.c: Likewise.
49418 * manual/examples/inetsrv.c: Likewise.
49419 * manual/examples/isockad.c: Likewise.
49420 * manual/examples/longopt.c: Likewise.
49421 * manual/examples/memopen.c: Likewise.
49422 * manual/examples/memstrm.c: Likewise.
49423 * manual/examples/mkfsock.c: Likewise.
49424 * manual/examples/mkisock.c: Likewise.
49425 * manual/examples/mygetpass.c: Likewise.
49426 * manual/examples/pipe.c: Likewise.
49427 * manual/examples/popen.c: Likewise.
49428 * manual/examples/rprintf.c: Likewise.
49429 * manual/examples/search.c: Likewise.
49430 * manual/examples/select.c: Likewise.
49431 * manual/examples/setjmp.c: Likewise.
49432 * manual/examples/sigh1.c: Likewise.
49433 * manual/examples/sigusr.c: Likewise.
49434 * manual/examples/stpcpy.c: Likewise.
49435 * manual/examples/strdupa.c: Likewise.
49436 * manual/examples/strftim.c: Likewise.
49437 * manual/examples/strncat.c: Likewise.
49438 * manual/examples/subopt.c: Likewise.
49439 * manual/examples/swapcontext.c: Likewise.
49440 * manual/examples/termios.c: Likewise.
49441 * manual/examples/testopt.c: Likewise.
49442 * manual/examples/testpass.c: Likewise.
49443 * manual/examples/timeval_subtract.c: Likewise.
49446 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49448 * manual/timeval_subtract.c.texi: ... here, new file.
49450 2012-03-02 David S. Miller <davem@davemloft.net>
49452 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49454 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49457 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49458 (__sin): Save and restore rounding mode and use round-to-nearest
49459 for all computations.
49460 (__cos): Save and restore rounding mode and use round-to-nearest
49461 for all computations.
49462 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49464 (tan): Save and restore rounding mode and use round-to-nearest for
49466 * math/libm-test.inc (cos_test_tonearest): New function.
49467 (cos_test_towardzero): Likewise.
49468 (cos_test_downward): Likewise.
49469 (cos_test_upward): Likewise.
49470 (sin_test_tonearest): Likewise.
49471 (sin_test_towardzero): Likewise.
49472 (sin_test_downward): Likewise.
49473 (sin_test_upward): Likewise.
49474 (tan_test_tonearest): Likewise.
49475 (tan_test_towardzero): Likewise.
49476 (tan_test_downward): Likewise.
49477 (tan_test_upward): Likewise.
49478 (main): Call the new functions.
49479 * sysdeps/i386/fpu/libm-test-ulps: Update.
49480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49483 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49484 small n, then large n, before computing and testing k+n.
49485 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49490 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49491 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49492 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49493 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49496 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49497 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49498 * math/libm-test.inc (scalbn_test): Add more tests.
49499 (scalbln_test): Likewise.
49501 * manual/filesys.texi (mode_t): Describe constraints on size and
49502 signedness, not exact equivalence to a particular type.
49504 (ino64_t): Likewise.
49506 (nlink_t): Likewise.
49507 (blkcnt_t): Likewise.
49508 (blkcnt64_t): Likewise.
49509 * manual/llio.texi (off_t): Likewise.
49512 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49513 (__ieee754_exp): Save and restore rounding mode and use
49514 round-to-nearest for all computations.
49515 * math/libm-test.inc (exp_test_tonearest): New function.
49516 (exp_test_towardzero): Likewise.
49517 (exp_test_downward): Likewise.
49518 (exp_test_upward): Likewise.
49519 (main): Call the new functions.
49520 * sysdeps/i386/fpu/libm-test-ulps: Update.
49521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49523 2012-03-01 Chris Demetriou <cgd@google.com>
49525 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49526 have predictable order.
49528 2012-03-01 David S. Miller <davem@davemloft.net>
49530 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49532 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49533 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49534 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49535 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49537 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49538 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49539 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49541 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49542 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49543 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49544 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49545 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49550 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49551 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49553 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49554 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49555 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49556 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49557 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49559 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49560 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49561 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49562 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49563 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49564 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49569 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49570 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49571 * sysdeps/sparc/elf/configure: Regenerated.
49573 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49575 * configure.in (AS, LD): Require binutils 2.20 or later.
49576 * configure: Regenerated.
49577 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49578 as required minimum version.
49579 * INSTALL: Regenerated.
49583 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49584 before squaring exponent.
49585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49586 bottom long double and 27 bits of top long double before squaring
49588 * math/libm-test.inc (erfc_test): Add more tests.
49589 * sysdeps/i386/fpu/libm-test-ulps: Update.
49590 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49593 2012-03-01 Kai Tietz <ktietz@redhat.com>
49595 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49596 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49597 containing bit-fields.
49598 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49599 * soft-fp/single.h (_FP_UNION_S): Likewise.
49600 * soft-fp/double.h (_FP_UNION_D): Likewise.
49602 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49605 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49606 not include ../strcmp.S.
49607 [USE_AS_STRNCASECMP_L]: Likewise.
49608 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49609 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49610 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49611 (__strncasecmp_l_ia32): Define as alias to
49612 __strncasecmp_l_nonascii.
49615 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49616 * sysdeps/i386/fpu/libm-test-ulps: Update.
49617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49619 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49622 2012-02-29 Jeff Law <law@redhat.com>
49624 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49625 out of bounds read.
49627 2012-02-29 Marek Polacek <polacek@redhat.com>
49630 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49631 * elf/Makefile: Add rules to run tst-unused-dep.out.
49633 2012-02-28 David S. Miller <davem@davemloft.net>
49635 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49636 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49638 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49639 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49640 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49642 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49644 * math/libm-test.inc (llround_test): Move one test from
49645 lround_test. Use TEST_f_L in moved test.
49646 (lround_test): Move misplaced test to llround_test. Add testcase
49649 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49651 * sysdeps/x86_64/fpu/e_expf.S: New file.
49652 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49654 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49657 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49658 of remain_len that may cause incomplete multi-byte character and
49660 * posix/bug-regex33.c: New file.
49661 * posix/Makefile (tests): Add bug-regex33.
49663 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49665 * manual/macros.texi: New file.
49666 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49667 * manual/libc.texinfo: Include macros.texi.
49668 * manual/creatute.texi: Likewise.
49669 * manual/install.texi: Likewise.
49670 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49671 @glibcadj{} in references to the GNU C Library.
49672 * manual/charset.texi: Likewise.
49673 * manual/conf.texi: Likewise.
49674 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49675 when not using those macros.
49676 * manual/creature.texi: Likewise.
49677 * manual/crypt.texi: Likewise.
49678 * manual/errno.texi: Likewise.
49679 * manual/filesys.texi: Likewise.
49680 * manual/header.texi: Likewise.
49681 * manual/install.texi: Likewise.
49682 * manual/intro.texi: Likewise.
49683 * manual/io.texi: Likewise.
49684 * manual/job.texi: Likewise.
49685 * manual/lang.texi: Likewise.
49686 * manual/libc.texiinfo: Likewise.
49687 * manual/llio.texi: Likewise.
49688 * manual/locale.texi: Likewise.
49689 * manual/maint.texi: Likewise.
49690 * manual/math.texi: Likewise.
49691 * manual/memory.texi: Likewise.
49692 * manual/message.texi: Likewise.
49693 * manual/nss.texi: Likewise.
49694 * manual/pattern.texi: Likewise.
49695 * manual/process.texi: Likewise.
49696 * manual/resource.texi: Likewise.
49697 * manual/search.texi: Likewise.
49698 * manual/setjmp.texi: Likewise.
49699 * manual/signal.texi: Likewise.
49700 * manual/socket.texi: Likewise.
49701 * manual/startup.texi: Likewise.
49702 * manual/stdio.texi: Likewise.
49703 * manual/string.texi: Likewise.
49704 * manual/sysinfo.texi: Likewise.
49705 * manual/syslog.texi: Likewise.
49706 * manual/terminal.texi: Likewise.
49707 * manual/time.texi: Likewise.
49708 * manual/users.texi: Likewise.
49709 * INSTALL: Regenerated.
49710 * NOTES: Regenerated.
49711 * sysdeps/gnu/errlist.c: Regenerated.
49713 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49715 * include/dirent.h: Include <dirstream.h> before
49718 2012-02-28 David S. Miller <davem@davemloft.net>
49720 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49721 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49722 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49723 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49725 2012-02-27 David S. Miller <davem@davemloft.net>
49727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49729 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49730 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49733 frame pointer instead of stack pointer relative arg slot.
49734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49735 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49736 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49738 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49741 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49743 2012-02-27 David S. Miller <davem@davemloft.net>
49745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49751 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49754 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49756 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49757 later. Allow versions 5-9.
49758 * configure: Regenerated.
49759 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49760 required minimum version and 4.6 as recommended version. Do not
49761 mention bugs in GCC 2.7 and 2.8.
49762 * INSTALL: Regenerated.
49764 2012-02-27 David S. Miller <davem@davemloft.net>
49766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49772 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49773 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49776 manipulate bits before adding and subtracting TWO112[sx].
49777 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49779 2012-02-27 Roland McGrath <roland@hack.frob.com>
49782 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49783 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49784 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49785 being in POSIX, because they are in 1003.1-2008.
49787 * rt/tst-aio.c: Include <fcntl.h>.
49788 * rt/tst-aio7.c: Likewise.
49789 * rt/tst-aio64.c: Likewise.
49791 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49793 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49795 * manual/install.texi (--with-headers): Describe headers as
49796 interface headers, not private headers.
49797 (Specific advice for GNU/Linux systems): Describe use of headers
49798 from "make headers_install", not private headers from older
49800 * INSTALL: Regenerated.
49801 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49803 * sysdeps/unix/sysv/linux/configure: Regenerated.
49805 * manual/llio.texi (fclean): Remove documentation.
49807 * manual/Makefile (libc-texi-generated): New variable. Include
49809 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49810 $(libc-texi-generated), not duplicated list of files.
49811 (version.texi, stamp-version): New rules.
49812 (realclean): Remove $(libc-texi-generated), not individual files
49813 from that list. Do not remove dir-add.texinfo.
49814 * manual/libc.texinfo: Comment out uses of edition numbers and
49815 references to printed manual. Remove last-updated dates.
49816 (EDITION): Comment out.
49818 (VERSION, UPDATED): Remove.
49819 (version.texi): Include.
49821 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49823 * sysdeps/posix/spawni.c: Include <signal.h>.
49824 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49825 * sysdeps/pthread/aio_fsync.c: Likewise.
49827 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49829 * conform/Makefile (tests): Run only when not cross-compiling and
49830 when fast-check is not defined.
49832 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49833 * conform/data/limits.h-data: Fixes for POSIX2008.
49834 * conform/run-conformtest.sh: Run all tests.
49835 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49837 * include/bits/dlfcn.h: Likewise.
49838 * include/langinfo.h: Likewise.
49839 * include/monetary.h: Likewise.
49840 * include/sys/poll.h: Likewise.
49842 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49844 * posix/spawn.h: Define __need_sigset_t.
49845 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49846 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49847 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49848 to get sigevent_t only.
49849 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49850 only for __USE_GNU.
49851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49852 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49853 process_vm_writev only for __USE_GNU.
49854 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49856 * conform/Makefile: For now ignore errors from run-conformtest.
49857 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49858 POSIX to avoid namespace pollution. Don't prepend headers.
49859 * conform/data/aio.h-data: Fixes for POSIX testing.
49860 * conform/data/fcntl.h-data: Likewise.
49861 * conform/data/glob.h-data: Likewise.
49862 * conform/data/grp.h-data: Likewise.
49863 * conform/data/pthread.h-data: Likewise.
49864 * conform/data/pwd.h-data: Likewise.
49865 * conform/data/signal.h-data: Likewise.
49866 * conform/data/spawn.h-data: Likewise.
49867 * conform/data/stdio.h-data: Likewise.
49868 * conform/data/stdlib.h-data: Likewise.
49869 * conform/data/stropts.h-data: Likewise.
49870 * conform/data/sys/mman.h-data: Likewise.
49871 * conform/data/sys/stat.h-data: Likewise.
49872 * conform/data/sys/types.h-data: Likewise.
49873 * conform/data/sys/wait.h-data: Likewise.
49874 * conform/data/time.h-data: Likewise.
49875 * conform/data/unistd.h-data: Likewise.
49876 * conform/data/utime.h-data: Likewise.
49878 * io/sys/stat.h: fchmod was always in POSIX.
49879 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49880 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49881 * rt/aio.h: Define __need_timespec before including <time.h>.
49882 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49883 struct. Add forward declaration of pthread_attr_t and use it in
49885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49886 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49887 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49888 always remove CLK_TCK definition.
49890 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49892 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49894 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49896 * conform/run-conformtest.sh: New file.
49897 * conform/Makefile: Run run-conformtest for tests.
49898 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49901 * conform/data/uchar.h-data: New file.
49902 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49903 * conform/data/arpa/inet.h-data: Likewise.
49904 * conform/data/assert.h-data: Likewise.
49905 * conform/data/complex.h-data: Likewise.
49906 * conform/data/cpio.h-data: Likewise.
49907 * conform/data/ctype.h-data: Likewise.
49908 * conform/data/dirent.h-data: Likewise.
49909 * conform/data/dlfcn.h-data: Likewise.
49910 * conform/data/errno.h-data: Likewise.
49911 * conform/data/fcntl.h-data: Likewise.
49912 * conform/data/float.h-data: Likewise.
49913 * conform/data/fmtmsg.h-data: Likewise.
49914 * conform/data/fnmatch.h-data: Likewise.
49915 * conform/data/ftw.h-data: Likewise.
49916 * conform/data/glob.h-data: Likewise.
49917 * conform/data/grp.h-data: Likewise.
49918 * conform/data/iconv.h-data: Likewise.
49919 * conform/data/inttypes.h-data: Likewise.
49920 * conform/data/langinfo.h-data: Likewise.
49921 * conform/data/libgen.h-data: Likewise.
49922 * conform/data/limits.h-data: Likewise.
49923 * conform/data/locale.h-data: Likewise.
49924 * conform/data/math.h-data: Likewise.
49925 * conform/data/monetary.h-data: Likewise.
49926 * conform/data/mqueue.h-data: Likewise.
49927 * conform/data/ndbm.h-data: Likewise.
49928 * conform/data/net/if.h-data: Likewise.
49929 * conform/data/netdb.h-data: Likewise.
49930 * conform/data/netinet/in.h-data: Likewise.
49931 * conform/data/nl_types.h-data: Likewise.
49932 * conform/data/poll.h-data: Likewise.
49933 * conform/data/pthread.h-data: Likewise.
49934 * conform/data/pwd.h-data: Likewise.
49935 * conform/data/regex.h-data: Likewise.
49936 * conform/data/sched.h-data: Likewise.
49937 * conform/data/search.h-data: Likewise.
49938 * conform/data/semaphore.h-data: Likewise.
49939 * conform/data/setjmp.h-data: Likewise.
49940 * conform/data/signal.h-data: Likewise.
49941 * conform/data/spawn.h-data: Likewise.
49942 * conform/data/stdarg.h-data: Likewise.
49943 * conform/data/stdio.h-data: Likewise.
49944 * conform/data/stdlib.h-data: Likewise.
49945 * conform/data/string.h-data: Likewise.
49946 * conform/data/strings.h-data: Likewise.
49947 * conform/data/stropts.h-data: Likewise.
49948 * conform/data/sys/ipc.h-data: Likewise.
49949 * conform/data/sys/mman.h-data: Likewise.
49950 * conform/data/sys/msg.h-data: Likewise.
49951 * conform/data/sys/resource.h-data: Likewise.
49952 * conform/data/sys/select.h-data: Likewise.
49953 * conform/data/sys/sem.h-data: Likewise.
49954 * conform/data/sys/shm.h-data: Likewise.
49955 * conform/data/sys/socket.h-data: Likewise.
49956 * conform/data/sys/stat.h-data: Likewise.
49957 * conform/data/sys/statvfs.h-data: Likewise.
49958 * conform/data/sys/time.h-data: Likewise.
49959 * conform/data/sys/timeb.h-data: Likewise.
49960 * conform/data/sys/times.h-data: Likewise.
49961 * conform/data/sys/types.h-data: Likewise.
49962 * conform/data/sys/uio.h-data: Likewise.
49963 * conform/data/sys/un.h-data: Likewise.
49964 * conform/data/sys/utsname.h-data: Likewise.
49965 * conform/data/sys/wait.h-data: Likewise.
49966 * conform/data/syslog.h-data: Likewise.
49967 * conform/data/tar.h-data: Likewise.
49968 * conform/data/termios.h-data: Likewise.
49969 * conform/data/utime.h-data: Likewise.
49970 * conform/data/utmpx.h-data: Likewise.
49971 * conform/data/varargs.h-data: Likewise.
49972 * conform/data/wchar.h-data: Likewise.
49973 * conform/data/wctype.h-data: Likewise.
49974 * conform/data/wordexp.h-data: Likewise.
49976 * include/stropts.h: New file.
49977 * include/uchar.h: New file.
49978 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49979 * include/assert.h: Likewise.
49980 * include/ctype.h: Likewise.
49981 * include/dirent.h: Likewise.
49982 * include/dlfcn.h: Likewise.
49983 * include/fcntl.h: Likewise.
49984 * include/fnmatch.h: Likewise.
49985 * include/glob.h: Likewise.
49986 * include/grp.h: Likewise.
49987 * include/libio.h: Likewise.
49988 * include/locale.h: Likewise.
49989 * include/math.h: Likewise.
49990 * include/net/if.h: Likewise.
49991 * include/netdb.h: Likewise.
49992 * include/netinet/in.h: Likewise.
49993 * include/pthread.h: Likewise.
49994 * include/pwd.h: Likewise.
49995 * include/regex.h: Likewise.
49996 * include/sched.h: Likewise.
49997 * include/search.h: Likewise.
49998 * include/setjmp.h: Likewise.
49999 * include/signal.h: Likewise.
50000 * include/stdio.h: Likewise.
50001 * include/stdlib.h: Likewise.
50002 * include/string.h: Likewise.
50003 * include/sys/cdefs.h: Likewise.
50004 * include/sys/mman.h: Likewise.
50005 * include/sys/msg.h: Likewise.
50006 * include/sys/resource.h: Likewise.
50007 * include/sys/select.h: Likewise.
50008 * include/sys/socket.h: Likewise.
50009 * include/sys/stat.h: Likewise.
50010 * include/sys/statvfs.h: Likewise.
50011 * include/sys/time.h: Likewise.
50012 * include/sys/times.h: Likewise.
50013 * include/sys/uio.h: Likewise.
50014 * include/sys/utsname.h: Likewise.
50015 * include/sys/wait.h: Likewise.
50016 * include/termios.h: Likewise.
50017 * include/time.h: Likewise.
50018 * include/ulimit.h: Likewise.
50019 * include/unistd.h: Likewise.
50020 * include/utime.h: Likewise.
50021 * include/wchar.h: Likewise.
50022 * include/wctype.h: Likewise.
50023 * include/wordexp.h: Likewise.
50025 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50027 * time/time.h: TIME_UTC must be a macro.
50028 Make timespec_get available for ISO C11 only as well.
50030 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50032 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50033 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50035 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50037 * configure.in: Use -o not -a in test for unsupported multi-arch.
50039 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50041 * manual/texinfo.tex: Update to version 2012-01-19.16.
50043 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50045 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50047 2012-02-24 Roland McGrath <roland@hack.frob.com>
50050 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50051 * manual/fdl-1.3.texi: New file.
50052 * manual/fdl-1.1.texi: File removed.
50055 * manual/libc.texinfo (FDL_VERSION): New @set.
50056 Use it for mention of FDL in cover text.
50057 (Documentation License): Use it in @include file name.
50059 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50060 Roland McGrath <roland@hack.frob.com>
50063 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50064 (not LONG_LONG_MAX and LONG_LONG_MIN.
50065 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50066 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50068 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50070 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50074 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50075 manipulate bits before adding and subtracting TWO23[sx].
50076 * math/libm-test.inc (nearbyint_test): Add more tests.
50078 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50081 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50082 bits before adding and subtracting TWO23[sx].
50083 * math/libm-test.inc (rint_test): Add more tests.
50084 (rint_test_tonearest): Likewise.
50085 (rint_test_towardzero): Likewise.
50086 (rint_test_downward): Likewise.
50087 (rint_test_upward: Likewise.
50089 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50092 * include/stdc-predef.h: New file. Extracted from features.h.
50093 * include/features.h: Include stdc-predef.h.
50094 * Makefile (headers): Add stdc-predef.h.
50095 * CONFORMANCE (Compiler limitations): Update.
50097 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50099 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50101 2012-02-21 David S. Miller <davem@davemloft.net>
50103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50104 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50106 2012-02-20 David S. Miller <davem@davemloft.net>
50108 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50109 using a normal save/restore sequence, rather than allocating a
50110 dummy stack frame just to store a frame pointer and restore.
50111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50113 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50115 * manual/install.texi: Fix stray word in line-wrapped comment.
50117 2012-02-20 David S. Miller <davem@davemloft.net>
50119 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50120 both binutils and gcc support GOTDATA.
50122 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50123 "rd %pc" in the PIC register setup sequences.
50125 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50126 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50127 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50128 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50129 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50134 (SYSCALL_ERROR_HANDLER): Likewise.
50135 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50136 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50138 (SYSCALL_ERROR_HANDLER): Likewise.
50140 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50141 (HAVE_GCC_GOTDATA): New.
50142 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50143 relocation support in both binutils and gcc.
50144 * sysdeps/sparc/elf/configure: Regenerate.
50146 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50147 * sysdeps/sparc/sparc32/elf/configure: Delete.
50148 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50149 * sysdeps/sparc/sparc64/elf/configure: Delete.
50150 * sysdeps/sparc/elf/configure.in: New file.
50151 * sysdeps/sparc/elf/configure: Generate.
50153 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50154 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50155 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50156 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50157 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50159 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50161 * manual/install.texi: Do not mention specific glibc version
50163 * manual/libc.texinfo (VERSION, UPDATED): Update.
50164 (@copying): Use @copyright{} and range of years.
50166 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50169 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50170 [crti.S not in sysdirs] (generated): Do not append.
50171 [crti.S not in sysdirs] (omit-deps): Likewise.
50172 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50173 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50174 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50175 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50176 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50178 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50179 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50180 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50181 * csu/defs.awk: Remove file.
50182 * sysdeps/generic/initfini.c: Likewise.
50183 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50185 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50188 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50190 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50191 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50192 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50195 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50197 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50198 (__EPOLL_PACKED): Define to empty if not defined by
50200 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50204 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50206 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50207 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50208 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50209 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50211 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50215 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50217 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50219 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50220 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50221 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50224 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50226 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50227 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50229 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50231 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50232 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50234 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50236 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50239 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50241 * math/w_acos.c: Use non-signaling floating-point comparisons.
50242 * math/w_acosf.c: Likewise.
50243 * math/w_acosh.c: Likewise.
50244 * math/w_acoshf.c: Likewise.
50245 * math/w_acoshl.c: Likewise.
50246 * math/w_acosl.c: Likewise.
50247 * math/w_asin.c: Likewise.
50248 * math/w_asinf.c: Likewise.
50249 * math/w_asinl.c: Likewise.
50250 * math/w_atanh.c: Likewise.
50251 * math/w_atanhf.c: Likewise.
50252 * math/w_atanhl.c: Likewise.
50253 * math/w_exp2.c: Likewise.
50254 * math/w_exp2f.c: Likewise.
50255 * math/w_exp2l.c: Likewise.
50256 * math/w_j0.c: Likewise.
50257 * math/w_j0f.c: Likewise.
50258 * math/w_j0l.c: Likewise.
50259 * math/w_j1.c: Likewise.
50260 * math/w_j1f.c: Likewise.
50261 * math/w_j1l.c: Likewise.
50262 * math/w_jn.c: Likewise.
50263 * math/w_jnf.c: Likewise.
50264 * math/w_log.c: Likewise.
50265 * math/w_log10.c: Likewise.
50266 * math/w_log10f.c: Likewise.
50267 * math/w_log10l.c: Likewise.
50268 * math/w_log2.c: Likewise.
50269 * math/w_log2f.c: Likewise.
50270 * math/w_log2l.c: Likewise.
50271 * math/w_logf.c: Likewise.
50272 * math/w_logl.c: Likewise.
50273 * math/w_sqrt.c: Likewise.
50274 * math/w_sqrtf.c: Likewise.
50275 * math/w_sqrtl.c: Likewise.
50276 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50277 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50279 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50280 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50282 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50285 * manual/string.texi (strnlen): Use correct parameter name in
50286 equivalent expression.
50288 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50291 * manual/users.texi (seteuid): Consistently use neweuid for
50294 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50297 * manual/nss.texi (Services in the NSS configuration): Correct
50298 list of services in example configuration file.
50300 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50303 * manual/arith.texi: Remove statements about negative zero
50304 behaving identically to zero.
50306 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50309 * manual/install.texi: Do not document upgrading from libc5.
50311 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50314 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50316 2012-02-18 David S. Miller <davem@davemloft.net>
50318 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50319 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50320 %o7 across the call.
50321 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50324 SETUP_PIC_REG_LEAF.
50325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50326 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50327 * sysdeps/sparc/crtn.S: Likewise.
50329 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50331 * aout/Makefile: Remove.
50333 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50336 * manual/examples/argp-ex1.c (main): Format definition in GNU
50338 * manual/examples/argp-ex2.c (main): Likewise.
50339 * manual/examples/argp-ex3.c (main): Likewise.
50340 * manual/examples/argp-ex4.c (main): Likewise.
50341 * manual/examples/longopt.c (main): Use new-style prototype
50343 * manual/examples/strncat.c (main): Specify return type and use
50344 (void) for arguments.
50345 * manual/examples/subopt.c (main): Use char **argv argument.
50347 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50350 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50353 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50356 * manual/string.texi (strchr): Change when strchrnul is
50359 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50362 * manual/locale.texi (setlocale): Document LOCPATH.
50364 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50367 * manual/process.texi (execle): Move @dots{} before last argument.
50369 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50372 * manual/charset.texi (Generic Charset Conversion): Fix typo
50373 (LC_TYPE -> LC_CTYPE).
50375 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50378 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50379 (scalbnf): Likewise.
50380 (scalbnl): Likewise.
50381 (scalbln): Likewise.
50382 (scalblnf): Likewise.
50383 (scalblnl): Likewise.
50384 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50385 (vwarnx): Likewise.
50388 * manual/filesys.texi (telldir): Use braces around return type.
50389 * manual/llio.texi (mmap): Add space after comma.
50390 (mmap64): Likewise.
50391 * manual/math.texi (jn): Use @var{} on parameter names.
50397 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50399 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50401 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50402 (sched_get_priority_max): Likewise.
50403 * manual/signal.texi (sigvec): Add space after comma.
50404 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50406 (if_indextoname): Likewise.
50407 (if_freenameindex): Likewise.
50408 (sendto): Use ',' instead of '.' in prototype.
50409 * manual/startup.texi (syscall): Use @dots{} instead of literal
50411 * manual/stdio.texi (__fpending): Separate initial words of
50412 paragraph from @deftypefun line.
50413 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50415 (vsyslog): Use @var{} on parameter names.
50416 * manual/terminal.texi (stty): Use @var{} on parameter names.
50417 * manual/users.texi (getutmp): Use @var{} on parameter names.
50418 (getutmpx): Likewise.
50420 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50423 * manual/stdio.texi (fopen): Fix typos in description of
50426 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50429 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50430 get clock_id definition.
50432 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50435 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50436 (madvise): Cast every argument to void on its own.
50438 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50441 * manual/startup.texi (Exit Status): Fix typo.
50443 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50446 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50447 * manual/examples/argp-ex2.c: Likewise.
50448 * manual/examples/argp-ex3.c: Likewise.
50450 2012-02-16 Richard Henderson <rth@redhat.com>
50452 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50453 * sysdeps/s390/s390-32/initfini.c: Remove.
50454 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50455 * sysdeps/s390/s390-64/initfini.c: Remove.
50457 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50459 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50460 compiler output for sysdeps/generic/initfini.c.
50461 * sysdeps/sh/elf/initfini.c: Remove file.
50463 2012-02-16 David S. Miller <davem@davemloft.net>
50466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50468 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50469 * sysdeps/sparc/crti.S: New file.
50470 * sysdeps/sparc/crtn.S: New file.
50471 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50472 * sysdeps/sparc/sparc64/Makefile: Likewise.
50474 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50477 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50479 2012-02-15 Roland McGrath <roland@hack.frob.com>
50482 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50484 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50485 (write, read, close): Likewise.
50486 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50488 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50490 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50491 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50492 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50493 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50495 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50499 2012-02-14 Marek Polacek <polacek@redhat.com>
50501 * sysdeps/x86_64/crti.S: New file.
50502 * sysdeps/x86_64/crtn.S: New file.
50503 * sysdeps/x86_64/elf/initfini.c: Remove file.
50505 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50507 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50508 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50509 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50510 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50512 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50516 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50518 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50519 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50520 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50521 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50523 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50527 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50529 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50530 __feraiseexcept instead of feraiseexcept.
50532 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50533 nanosleep invocations.
50534 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50535 strings, and add error checking for a nanosleep invocations.
50537 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50539 Replace FSF snail mail address with URLs, as per GNU coding standards.
50540 Most of the snail mail addresses were wrong anyway, and omitting
50541 them makes the source code easier to maintain. Almost all of the
50542 changes are to license notices and to locale LC_IDENTIFICATION
50543 addresses, except for this one:
50544 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50545 not its snail mail address.
50547 2012-02-09 Richard Henderson <rth@twiddle.net>
50549 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50550 of kernel-features.h.
50552 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50554 2012-02-08 Marek Polacek <polacek@redhat.com>
50556 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50557 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50558 * sysdeps/gnu/_G_config.h: Likewise.
50559 * sysdeps/generic/_G_config.h: Likewise.
50561 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50563 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50567 * sysdeps/powerpc/powerpc32/crti.S: New file.
50568 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50569 * sysdeps/powerpc/powerpc64/crti.S: New file.
50570 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50572 * Makeconfig (have-initfini): Don't set.
50573 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50574 * configure.in (nopic_initfini): Don't substitute.
50575 * config.h.in (HAVE_INITFINI): Don't #undef.
50576 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50577 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50579 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50581 Support crti.S and crtn.S provided directly by architectures.
50582 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50583 [crti.S in sysdirs] (omit-deps): Likewise.
50584 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50585 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50586 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50587 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50588 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50589 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50590 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50591 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50592 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50593 compiler output for sysdeps/generic/initfini.c.
50594 * sysdeps/i386/elf/Makefile: Remove file.
50595 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50597 2012-02-07 Marek Polacek <polacek@redhat.com>
50599 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50600 * sysdeps/gnu/_G_config.h: Likewise.
50601 * sysdeps/mach/hurd/_G_config.h: Likewise.
50603 2012-02-07 Marek Polacek <polacek@redhat.com>
50605 * math/Makefile (tests): Add tst-CMPLX2.
50606 * math/tst-CMPLX2.c: New file.
50608 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50612 * math/libm-test.inc (jn_test): Add missing L suffix.
50614 2012-02-06 Marek Polacek <polacek@redhat.com>
50616 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50617 * sysdeps/i386/fpu/e_powf.S: Likewise.
50618 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50619 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50620 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50621 * sysdeps/i386/fpu/e_pow.S: Likewise.
50622 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50623 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50624 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50625 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50626 * sysdeps/i386/fpu/e_log2.S: Likewise.
50627 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50628 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50629 * sysdeps/i386/fpu/e_powl.S: Likewise.
50630 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50631 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50632 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50633 * sysdeps/i386/fpu/e_logl.S: Likewise.
50634 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50635 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50636 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50637 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50638 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50639 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50640 * sysdeps/i386/fpu/e_log.S: Likewise.
50641 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50642 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50643 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50644 * sysdeps/i386/fpu/e_logf.S: Likewise.
50645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50647 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50648 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50649 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50650 * sysdeps/i386/fpu/e_log10.S: Likewise.
50651 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50652 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50653 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50654 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50655 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50656 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50657 * sysdeps/i386/asm-syntax.h: Likewise.
50658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50659 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50661 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50662 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50664 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50665 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50667 * sysdeps/powerpc/sysdep.h: Likewise.
50668 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50669 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50671 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50674 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50676 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50678 * sysdeps/i386/sysdep.h: Include <features.h>.
50679 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50682 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50684 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50686 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50689 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50691 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50692 (SETUP_PIC_REG): Use GET_PC_THUNK.
50693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50696 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50698 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50699 for non-PIC compilation.
50700 (SETUP_PIC_REG): Add .p2align directive.
50701 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50702 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50703 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50704 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50705 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50706 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50707 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50708 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50709 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50710 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50711 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50712 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50713 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50714 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50715 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50716 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50717 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50718 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50719 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50720 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50721 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50723 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50724 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50725 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50727 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50728 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50729 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50730 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50731 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50733 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50734 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50735 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50736 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50737 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50738 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50739 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50740 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50741 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50743 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50745 * math/tst-CMPLX.c: Include <stdio.h>.
50747 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50749 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50751 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50752 * sysdeps/sparc/bits/mathdef.h: Likewise.
50754 2012-01-31 Marek Polacek <polacek@redhat.com>
50756 * libio/libio.h: Don't define _PARAMS.
50757 * locale/programs/config.h: Don't define PARAMS.
50758 * stdlib/strtol_l.c: Likewise.
50759 (__strtol_l): Remove PARAMS from the prototype.
50761 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50763 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50764 names. Just use the correct names. Remove unnecessary wrapper
50766 * malloc/arena.c: Likewise.
50767 * malloc/hooks.c: Likewise.
50769 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50770 ARENA_TEST says not to. Simplify test for creation of a new arena.
50771 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50773 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50775 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50777 (update_get_addr): New function.
50778 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50779 GET_ADDR_MODULE parameter.
50781 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50783 * crypt/cert.c: Remove __STDC__ conditionals.
50784 * crypt/crypt-entry.c: Likewise.
50785 * crypt/crypt_util.c: Likewise.
50786 * libio/filedoalloc.c: Likewise.
50787 * libio/fileops.c: Likewise.
50788 * libio/genops.c: Likewise.
50789 * libio/iofclose.c: Likewise.
50790 * libio/iofdopen.c: Likewise.
50791 * libio/iofopen.c: Likewise.
50792 * libio/iofopen64.c: Likewise.
50793 * libio/iogetdelim.c: Likewise.
50794 * libio/iopopen.c: Likewise.
50795 * libio/obprintf.c: Likewise.
50796 * libio/oldfileops.c: Likewise.
50797 * libio/oldiofclose.c: Likewise.
50798 * libio/oldiofdopen.c: Likewise.
50799 * libio/oldiofopen.c: Likewise.
50800 * libio/oldiopopen.c: Likewise.
50801 * libio/wfiledoalloc.c: Likewise.
50802 * libio/wgenops.c: Likewise.
50803 * locale/programs/xmalloc.c: Likewise.
50804 * misc/syslog.c: Likewise.
50805 * stdio-common/xbug.c: Likewise.
50806 * string/memchr.c: Likewise.
50807 * string/memcmp.c: Likewise.
50808 * string/memrchr.c: Likewise.
50809 * string/rawmemchr.c: Likewise.
50810 * sysdeps/posix/getcwd.c: Likewise.
50811 * time/strftime_l.c: Likewise.
50813 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50815 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50816 * config.make.in (config-cflags-sse2avx): Define.
50817 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50820 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50822 * scripts/config.guess: Update from upstream config git repository.
50823 * scripts/config.sub: Likewise.
50825 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50827 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50829 (R_TILEPRO_*, R_TILEGX_*): New macros.
50831 * scripts/firstversions.awk: Fix bug in version range handling.
50833 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50835 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50837 * include/sys/epoll.h: New file.
50838 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50841 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50843 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50844 Avoid unnecessary __WORDSIZE == 64 test.
50845 (fmaxf): Use VEX format if possible.
50850 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50851 * math/math_private.h: Remove libc_fegetround* and
50853 * sysdeps/i386/configure.in: Check for -msse2avx.
50854 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50855 also if SSE2AVX is defined.
50856 Remove libc_fegetround* and libc_fesetround*.
50857 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50858 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50865 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50867 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50869 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50871 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50873 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50875 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50878 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50880 * Makeconfig (libm): Define.
50881 * elf/Makefile: Add rules to build and run tst-relsort1.
50882 * elf/tst-relsort1.c: New file.
50883 * elf/tst-relsort1mod1.c: New file.
50884 * elf/tst-relsort1mod2.c: New file.
50886 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50888 * math/s_ldexp.c: Remove __STDC__ conditionals.
50889 * math/s_ldexpf.c: Likewise.
50890 * math/s_ldexpl.c: Likewise.
50891 * math/s_nextafter.c: Likewise.
50892 * math/s_nexttowardf.c: Likewise.
50893 * math/s_significand.c: Likewise.
50894 * math/s_significandf.c: Likewise.
50895 * math/s_significandl.c: Likewise.
50896 * math/w_jnl.c: Likewise.
50897 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50898 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50899 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50900 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50901 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50902 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50903 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50904 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50905 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50906 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50907 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50909 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50914 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50918 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50919 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50923 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50924 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50925 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50926 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50927 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50928 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50929 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50930 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50931 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50932 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50933 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50934 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50935 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50936 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50937 * sysdeps/ieee754/k_standard.c: Likewise.
50938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50939 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50940 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50941 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50942 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50943 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50944 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50945 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50946 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50947 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50948 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50949 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50950 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50951 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50952 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50954 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50957 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50958 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50959 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50960 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50961 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50962 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50963 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50967 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50968 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50969 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50970 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50971 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50973 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50974 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50975 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50977 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50978 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50980 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50981 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50983 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50984 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50986 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50987 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50988 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50992 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50993 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50994 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50995 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50998 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50999 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51000 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51001 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51002 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51003 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51004 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51005 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51007 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51008 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51010 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51011 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51012 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51013 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51014 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51015 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51016 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51017 * sysdeps/ieee754/s_matherr.c: Likewise.
51018 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51023 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51025 * crypt/md5.h: Remove __STDC__ conditionals.
51026 * libio/libioP.h: Likewise.
51027 * locale/programs/config.h: Likewise.
51028 * sysdeps/generic/sysdep.h: Likewise.
51029 * sysdeps/i386/asm-syntax.h: Likewise.
51030 * sysdeps/s390/asm-syntax.h: Likewise.
51031 * sysdeps/unix/sysdep.h: Likewise.
51032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51035 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51037 * libio/libio.h: Remove __STDC__ conditionals.
51038 * malloc/obstack.h: Likewise.
51039 * math/complex.h: Likewise.
51040 * math/math.h: Likewise.
51041 * sysdeps/generic/_G_config.h: Likewise.
51042 * sysdeps/gnu/_G_config.h: Likewise.
51043 * sysdeps/mach/hurd/_G_config.h: Likewise.
51044 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51045 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51046 * sysdeps/sparc/bits/mathdef.h: Likewise.
51048 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51051 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51052 Clean up HAS_* macros.
51053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51054 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51056 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51058 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51059 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51064 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51066 * elf/tst-unique3.cc (gets): Remove declaration.
51067 * elf/tst-unique3lib.cc (gets): Likewise.
51068 * elf/tst-unique3lib2.cc (gets): Likewise.
51069 * elf/tst-unique4.cc (gets): Likewise.
51071 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51073 * include/stdio.h: Add C++ protection. Add gets declarations and
51075 * debug/tst-chk1.c: Don't declare gets here.
51076 * stdio-common/tst-gets.c: Likewise.
51078 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51080 * posix/glob: Remove directory.
51082 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51084 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51086 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51088 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51089 of the non-standard EPFNOSUPPORT.
51091 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51093 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51094 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51095 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51097 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51099 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51101 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51103 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51105 * nscd/grpcache.c (cache_addgr): Likewise.
51106 * nscd/hstcache.c (cache_addhst): Likewise.
51107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51108 * nscd/pwdcache.c (cache_addpw): Likewise.
51109 * nscd/servicescache.c (cache_addserv): Likewise.
51111 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51113 * malloc/malloc.c: Various cleanups.
51114 * malloc/hooks.c: Likewise.
51116 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51117 * stdlib/bug-fmtmsg1.c: New file.
51119 * stdlib/fmtmsg.c (init): Add missing unlock.
51120 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51122 2012-01-12 Marek Polacek <polacek@redhat.com>
51124 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51127 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51129 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51130 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51131 macro to ensure uniqueness of label name.
51132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51135 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51137 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51139 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51140 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51144 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51146 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51148 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51149 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51150 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51152 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51155 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51156 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51159 * math/bits/math-finite.h: Add ldexp support.
51161 2012-01-10 Marek Polacek <polacek@redhat.com>
51163 * locale/programs/localedef.h (show_archive_content): Add noreturn
51166 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51168 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51170 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51172 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51174 * io/Makefile (headers): Add bits/poll2.h.
51176 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51179 typo #include statement.
51181 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51183 * include/sys/cdefs.h: Define __attribute_alloc_size.
51184 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51185 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51186 * elf/pldd.c: Likewise.
51187 * iconv/iconv_charmap.c: Likewise.
51188 * iconv/iconvconfig.c: Likewise.
51189 * iconv/strtab.c: Likewise.
51190 * locale/programs/locale.c: Likewise.
51191 * locale/programs/localedef.h: Likewise.
51192 * locale/programs/simple-hash.c: Likewise.
51193 * nscd/nscd.h: Likewise.
51194 * nss/makedb.c: Likewise.
51195 * sysdeps/generic/ldconfig.h: Likewise.
51196 * locale/programs/localedef.c: Remove xmalloc prototype.
51197 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51199 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51204 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51206 * math/Makefile (tests): Add tst-CMPLX.
51207 * math/tst-CMPLX.c: New file.
51209 * math/complex.h (CMPLXL): Fix typo.
51211 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51212 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51214 * debug/tst-chk1.c: Add poll and ppoll tests.
51215 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51216 * include/sys/poll.h: Add hidden proto for ppoll.
51217 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51218 * sysdeps/mach/hurd/ppoll.c: Likewise.
51219 * io/ppoll.c: Likewise.
51220 * debug/poll_chk.c: New file.
51221 * debug/ppoll_chk.c: New file.
51222 * include/bits/poll2.h: New file.
51223 * io/bits/poll2.h: New file.
51226 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51228 * configure.in: static is always set to yes. Remove.
51229 * config.make.in: Don't set build-static.
51230 * Makeconfig: Remove use of build-static.
51231 * dlfcn/Makefile: Likewise.
51232 * elf/Makefile: Likewise.
51233 * math/Makefile: Likewise.
51234 * misc/Makefile: Likewise.
51235 * nptl/Makefile: Likewise.
51236 * sysdeps/mach/hurd/Makefile: Likewise.
51238 * configure.in: PWD_P is not used anymore.
51239 * config.make.in: Remove PWD_P entry.
51241 * configure.in: Remove last remnants of RANLIB.
51242 No need to check for signed size_t anymore.
51243 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51245 Remove __builtin_expect test because we require at least gcc 3.4.
51246 * aclocal.m4: Likewise.
51248 * wcsmbs/mbrtoc16.c: Implement using towc function.
51249 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51250 * wcsmbs/wcsmbsload.c: Likewise.
51251 * iconv/gconv_simple.c: Likewise.
51252 * iconv/gconv_int.h: Likewise.
51253 * iconv/gconv_builtin.h: Likewise.
51254 * iconv/iconv_prog.c: Remove CHAR16 handling.
51256 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51258 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51260 * configure.in: Remove --with-elf and --enable-bounded options.
51261 Dont set base_machine for ia64. More non-ELF conditions removed.
51262 Remove testing and setting of leading underscore information.
51263 * config.make.in (build-bounded): Set to no.
51264 * config.h.in: Remove NO_UNDERSCORES entry.
51265 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51267 * csu/start.c: Remove !NO_UNDERSCORE code.
51268 * locale/localeinfo.h: Likewise.
51269 * sysdeps/generic/machine-gmon.h: Likewise.
51270 * sysdeps/generic/sysdep.h: Likewise.
51271 * sysdeps/i386/sysdep.h: Likewise.
51272 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51273 * sysdeps/mach/sysdep.h: Likewise.
51274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51276 * sysdeps/sh/sysdep.h: Likewise.
51277 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51278 * sysdeps/unix/i386/sysdep.S: Likewise.
51279 * sysdeps/unix/sparc/start.c: Likewise.
51280 * sysdeps/unix/sparc/sysdep.S: Likewise.
51281 * sysdeps/unix/sparc/sysdep.h: Likewise.
51282 * sysdeps/unix/start.c: Likewise.
51283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51284 * sysdeps/x86_64/sysdep.h: Likewise.
51286 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51289 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51291 * argp/argp-fmtstream.h: Use const instead __const.
51292 * argp/argp.h: Likewise.
51293 * assert/assert.h: Likewise.
51294 * bits/fenv.h: Likewise.
51295 * bits/sched.h: Likewise.
51296 * bits/sigset.h: Likewise.
51297 * bits/sigthread.h: Likewise.
51298 * catgets/nl_types.h: Likewise.
51299 * conform/data/pthread.h-data: Likewise.
51300 * crypt/crypt-private.h: Likewise.
51301 * crypt/crypt.h: Likewise.
51302 * crypt/crypt_util.c: Likewise.
51303 * ctype/ctype.h: Likewise.
51304 * debug/execinfo.h: Likewise.
51305 * debug/mbsnrtowcs_chk.c: Likewise.
51306 * debug/mbsrtowcs_chk.c: Likewise.
51307 * debug/wcsnrtombs_chk.c: Likewise.
51308 * debug/wcsrtombs_chk.c: Likewise.
51309 * debug/wcstombs_chk.c: Likewise.
51310 * dirent/dirent.h: Likewise.
51311 * dlfcn/dlfcn.h: Likewise.
51312 * elf/neededtest4.c: Likewise.
51313 * grp/grp.h: Likewise.
51314 * gshadow/gshadow.h: Likewise.
51315 * iconv/gconv.h: Likewise.
51316 * iconv/gconv_int.h: Likewise.
51317 * iconv/gconv_simple.c: Likewise.
51318 * iconv/iconv.h: Likewise.
51319 * iconv/loop.c: Likewise.
51320 * iconv/skeleton.c: Likewise.
51321 * include/aio.h: Likewise.
51322 * include/aliases.h: Likewise.
51323 * include/argz.h: Likewise.
51324 * include/arpa/inet.h: Likewise.
51325 * include/assert.h: Likewise.
51326 * include/dirent.h: Likewise.
51327 * include/dlfcn.h: Likewise.
51328 * include/execinfo.h: Likewise.
51329 * include/fcntl.h: Likewise.
51330 * include/fenv.h: Likewise.
51331 * include/glob.h: Likewise.
51332 * include/grp.h: Likewise.
51333 * include/libintl.h: Likewise.
51334 * include/mntent.h: Likewise.
51335 * include/netdb.h: Likewise.
51336 * include/pwd.h: Likewise.
51337 * include/rpc/netdb.h: Likewise.
51338 * include/sched.h: Likewise.
51339 * include/search.h: Likewise.
51340 * include/shadow.h: Likewise.
51341 * include/signal.h: Likewise.
51342 * include/stdio.h: Likewise.
51343 * include/stdlib.h: Likewise.
51344 * include/string.h: Likewise.
51345 * include/sys/socket.h: Likewise.
51346 * include/sys/stat.h: Likewise.
51347 * include/sys/statfs.h: Likewise.
51348 * include/sys/statvfs.h: Likewise.
51349 * include/sys/syslog.h: Likewise.
51350 * include/sys/time.h: Likewise.
51351 * include/sys/uio.h: Likewise.
51352 * include/time.h: Likewise.
51353 * include/unistd.h: Likewise.
51354 * include/utmp.h: Likewise.
51355 * include/wchar.h: Likewise.
51356 * include/wctype.h: Likewise.
51357 * inet/aliases.h: Likewise.
51358 * inet/arpa/inet.h: Likewise.
51359 * inet/netinet/ether.h: Likewise.
51360 * inet/netinet/in.h: Likewise.
51361 * intl/libintl.h: Likewise.
51362 * io/bits/fcntl2.h: Likewise.
51363 * io/fcntl.h: Likewise.
51364 * io/ftw.h: Likewise.
51365 * io/sys/poll.h: Likewise.
51366 * io/sys/stat.h: Likewise.
51367 * io/sys/statfs.h: Likewise.
51368 * io/sys/statvfs.h: Likewise.
51369 * io/utime.h: Likewise.
51370 * libio/bits/stdio.h: Likewise.
51371 * libio/bits/stdio2.h: Likewise.
51372 * libio/libio.h: Likewise.
51373 * libio/libioP.h: Likewise.
51374 * libio/stdio.h: Likewise.
51375 * locale/lc-ctype.c: Likewise.
51376 * locale/locale.h: Likewise.
51377 * login/utmp.h: Likewise.
51378 * malloc/arena.c: Likewise.
51379 * malloc/malloc.c: Likewise.
51380 * malloc/malloc.h: Likewise.
51381 * malloc/mcheck.c: Likewise.
51382 * malloc/mtrace.c: Likewise.
51383 * math/bits/mathcalls.h: Likewise.
51384 * math/fenv.h: Likewise.
51385 * math/math_private.h: Likewise.
51386 * misc/bits/error.h: Likewise.
51387 * misc/bits/syslog.h: Likewise.
51388 * misc/err.h: Likewise.
51389 * misc/error.h: Likewise.
51390 * misc/fstab.h: Likewise.
51391 * misc/mntent.h: Likewise.
51392 * misc/regexp.h: Likewise.
51393 * misc/search.h: Likewise.
51394 * misc/sgtty.h: Likewise.
51395 * misc/sys/mman.h: Likewise.
51396 * misc/sys/syslog.h: Likewise.
51397 * misc/sys/uio.h: Likewise.
51398 * misc/sys/xattr.h: Likewise.
51399 * misc/ttyent.h: Likewise.
51400 * nis/rpcsvc/ypclnt.h: Likewise.
51401 * nss/nss.h: Likewise.
51402 * posix/bits/unistd.h: Likewise.
51403 * posix/fnmatch.h: Likewise.
51404 * posix/glob.h: Likewise.
51405 * posix/sched.h: Likewise.
51406 * posix/spawn.h: Likewise.
51407 * posix/sys/wait.h: Likewise.
51408 * posix/unistd.h: Likewise.
51409 * posix/wordexp.h: Likewise.
51410 * pwd/pwd.h: Likewise.
51411 * resolv/netdb.h: Likewise.
51412 * resource/sys/resource.h: Likewise.
51413 * rt/aio.h: Likewise.
51414 * rt/bits/mqueue2.h: Likewise.
51415 * rt/mqueue.h: Likewise.
51416 * shadow/shadow.h: Likewise.
51417 * signal/signal.h: Likewise.
51418 * socket/send.c: Likewise.
51419 * socket/sendto.c: Likewise.
51420 * socket/sys/socket.h: Likewise.
51421 * stdio-common/printf.h: Likewise.
51422 * stdlib/bits/stdlib.h: Likewise.
51423 * stdlib/fmtmsg.h: Likewise.
51424 * stdlib/monetary.h: Likewise.
51425 * stdlib/stdlib.h: Likewise.
51426 * stdlib/ucontext.h: Likewise.
51427 * streams/stropts.h: Likewise.
51428 * string/argz.h: Likewise.
51429 * string/bits/string2.h: Likewise.
51430 * string/string.h: Likewise.
51431 * string/strings.h: Likewise.
51432 * sunrpc/rpc/auth.h: Likewise.
51433 * sunrpc/rpc/auth_des.h: Likewise.
51434 * sunrpc/rpc/clnt.h: Likewise.
51435 * sunrpc/rpc/netdb.h: Likewise.
51436 * sunrpc/rpc/pmap_clnt.h: Likewise.
51437 * sunrpc/rpc/xdr.h: Likewise.
51438 * sysdeps/generic/inttypes.h: Likewise.
51439 * sysdeps/generic/net/if.h: Likewise.
51440 * sysdeps/generic/sys/swap.h: Likewise.
51441 * sysdeps/gnu/net/if.h: Likewise.
51442 * sysdeps/gnu/utmpx.h: Likewise.
51443 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51444 * sysdeps/i386/i486/bits/string.h: Likewise.
51445 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51446 * sysdeps/s390/bits/string.h: Likewise.
51447 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51448 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51449 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51450 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51451 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51452 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51453 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51454 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51455 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51456 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51457 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51458 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51459 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51460 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51461 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51462 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51463 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51468 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51469 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51470 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51471 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51472 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51473 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51474 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51475 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51477 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51478 * sysvipc/sys/ipc.h: Likewise.
51479 * sysvipc/sys/msg.h: Likewise.
51480 * sysvipc/sys/sem.h: Likewise.
51481 * sysvipc/sys/shm.h: Likewise.
51482 * termios/termios.h: Likewise.
51483 * time/sys/time.h: Likewise.
51484 * time/time.h: Likewise.
51485 * wcsmbs/bits/wchar2.h: Likewise.
51486 * wcsmbs/uchar.h: Likewise.
51487 * wcsmbs/wchar.h: Likewise.
51488 * wctype/wctype.h: Likewise.
51491 * Makeconfig: Remove all but ELF support including AIX support.
51492 * Makerules: Likewise.
51493 * config.h.in: Likewise.
51494 * config.make.in: Likewise.
51495 * configure: Likewise.
51496 * configure.in: Likewise.
51497 * csu/Makefile: Likewise.
51498 * csu/version.c: Likewise.
51499 * debug/Makefile: Likewise.
51500 * dlfcn/Makefile: Likewise.
51501 * elf/Makefile: Likewise.
51502 * extra-lib.mk: Likewise.
51503 * iconv/Makefile: Likewise.
51504 * include/libc-symbols.h: Likewise.
51505 * include/shlib-compat.h: Likewise.
51506 * resolv/Makefile: Likewise.
51507 * resolv/res_libc.c: Likewise.
51508 * rt/Makefile: Likewise.
51509 * sysdeps/i386/asm-syntax.h: Likewise.
51510 * sysdeps/i386/sysdep.h: Likewise.
51511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51512 * sysdeps/mach/sysdep.h: Likewise.
51513 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51514 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51515 * sysdeps/s390/asm-syntax.h: Likewise.
51516 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51518 * sysdeps/sh/sysdep.h: Likewise.
51519 * sysdeps/unix/sparc/sysdep.h: Likewise.
51520 * sysdeps/wordsize-32/divdi3.c: Likewise.
51521 * sysdeps/x86_64/sysdep.h: Likewise.
51523 * argp/Versions: Remove _argp_unlock_xxx.
51526 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51527 * abilist/libBrokenLocale.abilist: Likewise.
51528 * abilist/libanl.abilist: Likewise.
51529 * abilist/libc.abilist: Likewise.
51530 * abilist/libcrypt.abilist: Likewise.
51531 * abilist/libdl.abilist: Likewise.
51532 * abilist/libm.abilist: Likewise.
51533 * abilist/libnsl.abilist: Likewise.
51534 * abilist/libpthread.abilist: Likewise.
51535 * abilist/libresolv.abilist: Likewise.
51536 * abilist/librt.abilist: Likewise.
51537 * abilist/libthread_db.abilist: Likewise.
51538 * abilist/libutil.abilist: Likewise.
51539 * abilist/libnss_db.abilist: New file.
51541 * scripts/abilist.awk: Add support for indirect functions.
51543 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51545 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51547 * shlib-versions: Remove entries for ports architectures.
51549 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51551 * elf/stackguard-macros.h: Remove support for IA-64.
51552 * elf/tst-auditmod1.c: Likewise.
51553 * sysdeps/generic/ldsodefs.h: Likewise.
51555 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51556 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51560 * configure.in: Remove --enable-omitfp support.
51562 * config.make.in: Likewise.
51563 * Makeconfig: Likewise.
51564 * manual/install.texi: Likewise.
51566 In case anyone cares, the IA-64 architecture could move to ports.
51567 * sysdeps/ia64/*: Removed.
51568 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51569 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51572 * configure.in: Remove entries for unsupported architectures.
51575 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51576 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51578 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51579 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51580 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51581 fall back to using wcrtomb.
51582 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51583 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51585 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51586 * wcsmbs/tst-c16c32-1.c: New file.
51588 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51591 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51593 * elf/tst-unique3.cc: Add explicit declaration of gets.
51594 * elf/tst-unique3lib.cc: Likewise.
51595 * elf/tst-unique3lib2.cc: Likewise.
51596 * elf/tst-unique4.cc: Likewise.
51598 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51600 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51603 * assert/assert.h (static_assert): Don't define for C++.
51604 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51605 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51607 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51609 * iconv/loop.c (single loop): Fix assertion in storing of
51612 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51614 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51616 * posix/getconf.c: Update copyright year.
51617 * nss/getent.c: Likewise.
51618 * nss/makedb.c: Likewise.
51619 * iconv/iconvconfig.c: Likewise.
51620 * iconv/iconv_prog.c: Likewise.
51621 * elf/ldconfig.c: Likewise.
51622 * elf/pldd.c: Likewise.
51623 * elf/sotruss.ksh: Likewise.
51624 * catgets/gencat.c: Likewise.
51625 * csu/version.c: Likewise.
51626 * elf/ldd.bash.in: Likewise.
51627 * elf/sprof.c (print_version): Likewise.
51628 * locale/programs/locale.c: Likewise.
51629 * locale/programs/localedef.c: Likewise.
51630 * login/programs/pt_chown.c: Likewise.
51631 * nscd/nscd.c (print_version): Likewise.
51632 * debug/xtrace.sh: Likewise.
51633 * malloc/memusage.sh: Likewise.
51634 * malloc/mtrace.pl: Likewise.
51635 * debug/catchsegv.sh: Likewise.
51637 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51639 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51642 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51645 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51646 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51648 * iconv/gconv_int.h: Likewise.
51649 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51650 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51651 from libc for GLIBC_2.16.
51652 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51653 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51654 * wcsmbs/uchar.h: Really define mbstate_t.
51655 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51656 * wcsmbs/c16rtomb.c: New file.
51657 * wcsmbs/mbrtoc16.c: New file.
51658 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51659 for C/POSIX locale.
51660 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51661 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51663 * wcsmbs/wchar.h: Add missing __restrict.
51665 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51668 * time/Makefile (routines): Add timespec_get.
51669 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51670 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51671 timespec for ISO C11.
51672 * time/timespec_get.c: New file.
51673 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51674 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51677 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51678 * stdlib/stdlib.h: Declare aligned_alloc.
51679 * Versions.def: Add GLIBC_2.16 for libc.
51680 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51683 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51686 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51690 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51693 * assert/assert.h (static_assert): Define.
51695 * version.h: Update for 2.16 development version.
51698 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51701 * version.h (RELEASE): Bump for 2.15 release.
51702 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51704 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51705 Patch by Marek Polacek <mpolacek@redhat.com>.
51707 * bits/byteswap.h: Protect long long constants with __extension__.
51708 * sysdeps/i386/bits/byteswap.h: Likewise.
51709 * sysdeps/ia64/bits/byteswap.h: Likewise.
51710 * sysdeps/s390/bits/byteswap.h: Likewise.
51711 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51713 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51717 destination buffer.
51718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51720 2011-12-23 Marek Polacek <polacek@redhat.com>
51722 * elf/dl-addr.c (determine_info): Add inline keyword.
51723 * elf/tst-auditmod4b.c (check_avx): Likewise.
51724 * elf/tst-auditmod6b.c (check_avx): Likewise.
51725 * elf/tst-auditmod6c.c (check_avx): Likewise.
51726 * elf/tst-auditmod7b.c (check_avx): Likewise.
51728 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51730 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51733 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51737 processing for last bytes.
51739 2011-08-06 Bruno Haible <bruno@clisp.org>
51742 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51743 U+0385, not to U+1FEE.
51746 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51747 entry for U+00A5 U+0301.
51749 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51752 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51753 buffer for the output is too small.
51755 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51759 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51760 SSE flags if possible.
51762 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51766 processing for last bytes.
51768 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51770 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51771 (syscall-list-default-options, syscall-list-default-condition)
51772 (syscall-list-includes): Define.
51773 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51774 list of ABIs and options and #if conditions for each ABI. Do not
51775 handle common syscalls between ABIs specially.
51776 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51778 (syscall-list-variants, syscall-list-32bit-options)
51779 (syscall-list-32bit-condition, syscall-list-64bit-options)
51780 (syscall-list-64bit-condition): Define.
51781 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51782 (syscall-list-variants, syscall-list-32bit-options)
51783 (syscall-list-32bit-condition, syscall-list-64bit-options)
51784 (syscall-list-64bit-condition): Define.
51785 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51787 (syscall-list-variants, syscall-list-32bit-options)
51788 (syscall-list-32bit-condition, syscall-list-64bit-options)
51789 (syscall-list-64bit-condition): Define.
51790 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51792 (syscall-list-variants, syscall-list-32bit-options)
51793 (syscall-list-32bit-condition, syscall-list-64bit-options)
51794 (syscall-list-64bit-condition): Define.
51796 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51798 * locale/iso-639.def: Add brx entry.
51801 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51802 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51804 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51805 __feraiseexcept_renamed.
51807 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51810 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51811 EPOLLET with unsigned values.
51812 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51815 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51816 to large cancellation.
51817 * math/s_cacoshf.c: Likewise.
51818 * math/s_cacoshl.c: Likewise.
51820 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51824 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51825 * math/s_cacoshf.c: Likewise.
51826 * math/s_cacoshl.c: Likewise.
51828 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51831 * iconv/gconv.h: Define __GCONV_SWAP.
51832 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51833 * iconvdata/utf-16.c: Likewise.
51834 * iconvdata/utf-32.c: Likewise.
51836 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51839 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51840 numerator after shifting it by one limb.
51842 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51844 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51845 under [__USE_EXTERN_INLINES].
51847 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51850 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51852 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51854 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51855 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51857 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51858 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51859 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51860 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51861 for strncasecmp/strncasecmp_l compilation.
51862 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51863 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51865 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51868 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51871 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51874 * time/tzfile.c (__tzfile_read): Check values from file header.
51876 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51878 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51879 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51880 * powerpc/powerpc32/dl-start.S: Likewise.
51881 * powerpc/powerpc32/elf/start.S: Likewise.
51882 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51883 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51884 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51885 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51886 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51887 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51888 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51889 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51890 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51891 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51892 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51893 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51894 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51895 * powerpc/powerpc32/memset.S: Likewise.
51896 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51897 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51898 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51899 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51900 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51901 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51902 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51903 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51904 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51905 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51906 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51907 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51908 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51910 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51912 * math/libm-test.inc: Added more nearbyint tests.
51913 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51914 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51918 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51920 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51923 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51925 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51926 Add wcscpy-ssse3 wcscpy-c.
51927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51928 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51929 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51930 * sysdeps/x86_64/wcschr.S: New file.
51931 * sysdeps/x86_64/wcsrchr.S: New file.
51932 * string/test-strcmp.c: Remove checking of wcscmp function for
51934 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51935 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51936 wcsrchr-sse2 wcsrchr-c.
51937 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51938 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51939 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51940 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51941 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51942 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51943 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51944 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51946 * wcsmbc/wcschr.c (WCSCHR): New macro.
51948 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51950 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51951 * wcsmbs/test-wcsrchr.c: New file.
51952 * string/test-strrchr.c: Add wcsrchr support.
51954 * wcsmbs/test-wcscpy.c: New file.
51955 * string/test-strcpy.c: Add wcscpy support.
51958 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51963 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51966 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51968 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51970 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51971 Minor optimizations.
51973 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51974 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51975 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51977 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51979 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51980 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51981 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51982 for gcc to avoid warnings.
51983 * inet/Makefile (tests): Add tst-checks.
51984 * inet/tst-checks.c: New file.
51986 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51989 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51992 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51993 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51995 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51997 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51999 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52002 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52004 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52006 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52007 conditional on GCC version.
52008 (__arch_compare_and_exchange_val_8_acq)
52009 (__arch_compare_and_exchange_val_16_acq)
52010 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52011 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52012 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52014 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52016 * sysdeps/sh/backtrace.c: New file.
52018 2011-12-02 Andreas Schwab <schwab@redhat.com>
52020 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52023 2011-12-01 Andreas Schwab <schwab@redhat.com>
52025 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52026 falling back to utime.
52028 2011-11-30 Andreas Schwab <schwab@redhat.com>
52030 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52031 expectations for float.
52033 2011-11-29 Andreas Schwab <schwab@redhat.com>
52035 * locale/weight.h (findidx): Add parameter len.
52036 * locale/weightwc.h (findidx): Likewise.
52037 * posix/fnmatch_loop.c (FCT): Adjust caller.
52038 * posix/regcomp.c (build_equiv_class): Likewise.
52039 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52040 * posix/regexec.c (check_node_accept_bytes): Likewise.
52041 * string/strcoll_l.c (STRCOLL): Likewise.
52042 * string/strxfrm_l.c (STRXFRM): Likewise.
52044 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52046 * Makefile.in: Remove CVSOPT handling.
52047 * configure.in: Remove use of AC_REVISION.
52048 * iconvdata/Makefile (distribute): No need to filter out CVS.
52049 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52052 2011-11-16 Andreas Schwab <schwab@redhat.com>
52054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52055 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52056 [USE_AS_STRNCASECMP_L]: Likewise.
52057 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52058 NO_TLS_DIRECT_SEG_REFS.
52059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52060 Fix argument offsets for non-PIC.
52061 [USE_AS_STRNCASECMP_L]: Likewise.
52062 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52063 NO_TLS_DIRECT_SEG_REFS.
52065 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52067 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52069 * locale/loadlocale.c (_nl_load_locale): Likewise.
52071 2011-11-15 Andreas Schwab <schwab@redhat.com>
52073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52074 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52076 (SYSCALL_GETTIME): Set errno on error.
52078 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52079 count references to noai6ai_cached.
52081 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52083 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52085 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52086 FD_CLOEXEC for /proc/self/maps.
52088 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52089 FD_CLOEXEC for /proc/meminfo.
52091 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52094 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52095 FD_CLOEXEC for given file.
52097 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52099 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52100 FD_CLOEXEC for /etc/hosts.
52101 (_gethtent): Likewise.
52103 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52105 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52106 cancellation and set FD_CLOEXEC for /etc/netgroup.
52108 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52109 reading /etc/publickey.
52111 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52112 allow cancellation when reading /etc/group.
52114 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52116 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52118 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52119 when using data file.
52121 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52123 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52124 (write_nis_obj): Use "c" and "e" in fopen.
52126 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52128 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52130 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52132 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52134 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52137 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52139 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52141 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52143 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52144 file parsing and set FD_CLOEXEC.
52146 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52148 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52150 2011-11-14 Andreas Schwab <schwab@redhat.com>
52152 * malloc/arena.c (arena_get2): Don't call reused_arena when
52153 _int_new_arena failed.
52155 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52157 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52158 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52159 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52160 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52163 to compile strcasecmp and strncasecmp.
52164 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52165 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52169 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52171 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52172 locale-defines.sym to gen-as-const-headers.
52173 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52174 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52175 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52176 to compile strcasecmp and strncasecmp.
52177 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52178 strcasecmp_l and strncasecmp_l.
52179 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52180 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52181 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52182 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52183 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52184 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52185 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52186 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52187 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52188 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52189 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52191 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52193 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52194 result of SYSDEP_GETTIME_CPU to retval.
52195 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52196 parameter list to macro. Remove trailing semicolon. Adjust users.
52198 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52201 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52203 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52205 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52206 from unused variable.
52208 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52210 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52213 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52216 * sunrpc/rpc_prot.c (rejected): Fix case value.
52218 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52219 unsigned long long int to avoid warnings in shift.
52221 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52223 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52226 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52227 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52228 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52230 * nis/nis_table.c (nis_list): Use variable of correct type for
52231 result of __follow_path call.
52233 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52235 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52236 of math functions ceil, trunc, floor, round, and sqrt, when
52237 avaliable on the platform.
52238 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52240 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52241 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52242 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52244 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52246 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52247 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52249 2011-11-11 Roland McGrath <roland@hack.frob.com>
52251 * include/unistd.h: Fix __readlink return type.
52252 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52254 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52256 * stdlib/ucontext.h: Undo last change for makecontext.
52258 2011-11-11 Andreas Schwab <schwab@redhat.com>
52260 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52262 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52263 * setjmp/setjmp.h: Mark functions as non-leaf.
52264 * setjmp/bits/setjmp2.h: Likewise.
52265 * stdlib/ucontext.h: Likewise.
52267 2011-11-10 Andreas Schwab <schwab@redhat.com>
52269 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52270 (reused_arena): Don't check arena limit.
52271 (arena_get2): Atomically check arena limit.
52273 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52275 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52276 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52281 2011-11-07 Andreas Schwab <schwab@redhat.com>
52283 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52284 handler when locking.
52286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52287 Fix size of allocated buffer.
52289 2011-11-04 Andreas Schwab <schwab@redhat.com>
52292 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52293 declarations for long double functions.
52294 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52296 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52298 2011-11-03 Andreas Schwab <schwab@redhat.com>
52300 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52303 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52306 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52308 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52310 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52312 * include/alloca.h (stackinfo_alloca_round): Define.
52313 (extend_alloca): Use it.
52314 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52315 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52318 * scripts/check-local-headers.sh: Ignore libaudit.h.
52320 * nscd/Makefile (extra-objs): Make recursively expanded.
52322 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52324 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52327 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52328 * posix/tst-rfc3484-2.c: Likewise.
52329 * posix/tst-rfc3484-3.c: Likewise.
52331 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52333 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52335 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52336 process_vm_writev from libc using GLIBC_2.15 version.
52338 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52340 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52342 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52345 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52348 * nss/getent.c (initgroups_keys): Show error message in case no group
52351 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52352 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52353 __bump_nl_timestamp.
52354 * nscd/connections (nscd_init): When host database is served open
52355 netlink socket and request notification about configuration changes.
52356 (main_loop_poll): Track netlink file descriptor and bump timestamp
52357 in case data becomes available.
52358 (main_loop_epoll): Likewise.
52359 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52360 (database_pers_head): Add extra_data fileds.
52361 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52362 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52363 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52366 in6ai data, call __free_in6ai.
52367 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52368 Add -DHAVE_NETLINK.
52369 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52370 interface information. Reuse previous data if netlink timestamp
52372 (__bump_nl_timestamp): New function.
52373 (__free_in6ai): New function.
52375 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52377 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52378 close_not_cancel_no_status here.
52379 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52381 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52384 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52387 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52388 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52389 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52391 2011-07-03 Andreas Jaeger <aj@suse.de>
52394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52395 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52396 * math/libm-test.inc (sin_test): Add test case.
52398 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52401 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52402 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52404 * elf/chroot_canon.c (chroot_canon): Cleanups.
52406 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52409 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52410 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52412 * string/test-strchr.c: Make usable for strchrnul testing.
52413 * string/test-strchrnul.c: New file.
52414 * string/Makefile (strop-tests): Add strchrnul.
52416 * po/it.po: Update from translation team.
52417 * po/es.po: Likewise.
52419 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52422 the three constants needed as parameters. Drop the others.
52423 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52424 __m128i_strloadu_tolower.
52425 Create and initialize variable zero and use it in all the places
52426 where _mm_setzero_si128 was used.
52428 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52429 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52430 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52431 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52433 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52434 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52435 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52436 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52438 __mpranred, __mptan.
52439 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52440 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52441 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52442 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52443 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52444 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52446 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52447 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52449 2011-10-28 Andreas Schwab <schwab@redhat.com>
52451 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52452 redefine if SHARED.
52453 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52456 wide char related routines to wcsmbs subdir.
52458 2011-10-27 Andreas Schwab <schwab@redhat.com>
52461 * misc/sys/cdefs.h (__THROWNL): Define.
52462 * posix/unistd.h: Use __THREADNL instead of __THREAD
52463 for memory synchronization functions.
52465 2011-10-26 Roland McGrath <roland@hack.frob.com>
52468 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52470 * manual/stdio.texi (Obstack Streams): Node removed.
52472 2011-10-26 Andreas Schwab <schwab@redhat.com>
52474 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52475 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52476 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52478 * math/math_private.h (math_force_eval): Allow non-addressable
52480 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52484 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52485 file is not needed.
52487 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52488 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52494 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52500 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52501 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52502 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52503 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52504 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52505 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52506 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52507 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52510 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52511 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52512 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52513 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52514 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52516 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52517 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52520 place. Use VEX encoding when compiling for AVX.
52522 2011-10-25 Andreas Schwab <schwab@redhat.com>
52524 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52525 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52527 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52529 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52531 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52532 useless if() expression.
52533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52536 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52542 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52545 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52546 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52548 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52551 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52553 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52555 2011-10-25 Andreas Schwab <schwab@redhat.com>
52557 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52559 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52561 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52563 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52564 .text section. Avoid duplicate constants.
52565 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52567 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52569 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52573 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52574 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52575 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52576 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52577 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52578 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52579 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52580 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52581 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52582 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52583 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52585 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52586 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52587 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52588 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52589 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52590 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52591 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52592 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52593 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52594 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52595 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52596 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52597 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52598 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52599 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52600 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52601 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52603 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52604 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52605 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52606 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52607 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52608 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52609 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52611 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52613 * sysdeps/x86_64/dla.h: Move to ...
52614 * sysdeps/x86_64/fpu/dla.h: ...here.
52615 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52616 situations. Use __builtin_fma only for gcc 4.6 and up.
52618 * config.make.in: Add have-mfma4 entry.
52619 * configure.in: Substitute libc_cv_cc_fma4.
52620 * math/Makefile (dbl-only-routines): Add sincostab.
52621 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52622 Use __sincostab not sincos.
52623 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52630 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52631 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52632 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52633 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52635 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52636 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52638 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52639 define aliases when function name is a macro.
52640 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52641 sysdeps/ieee754/dbl-64/sincos.tbl.
52642 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52643 fma4-enabled routines.
52644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52645 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52646 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52647 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52648 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52651 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52653 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52654 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52656 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52657 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52658 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52659 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52660 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52661 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52662 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52663 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52664 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52665 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52668 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52670 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52671 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52672 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52673 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52675 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52686 2011-10-24 Andreas Schwab <schwab@redhat.com>
52688 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52690 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52692 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52694 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52696 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52698 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52699 Remove unused variable magic_bits.
52700 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52702 * string/strnlen.c: Define and use STRNLEN macro.
52703 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52704 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52706 * wcsmbs/wcslen.c: Define and use WCSLEN.
52707 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52708 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52709 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52710 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52711 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52712 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52713 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52715 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52718 strnlen-sse2-no-bsf.
52719 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52721 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52722 Add strnlen support.
52723 (USE_AS_STRNLEN): New macro.
52724 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52725 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52726 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52727 * sysdeps/x86_64/wcslen.S: New file.
52729 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52731 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52732 XMM-moves are used for copying on small sizes.
52734 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52736 * wcsmbs/Makefile (strop-tests): Add wcschr.
52737 * wcsmbs/test-wcschr.c: New file.
52738 * string/test-strchr.c: Update.
52739 Add wcschr support.
52742 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52744 * wcsmbs/Makefile (strop-tests): Add wcslen.
52745 * wcsmbs/test-wcslen.c: New file.
52746 * string/test-strlen.c: Update.
52747 Add wcslen support.
52750 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52752 * po/it.po: Update from translation team.
52754 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52756 * sysdeps/x86_64/wcscmp.S: Update.
52757 Fix wrong comparison semantics.
52758 wcscmp shall use signed comparison not unsigned.
52759 Don't use substraction to avoid overflow bug.
52760 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52761 * wcsmbc/wcscmp.c: Likewise.
52762 * string/test-strcmp.c: Likewise.
52763 Add new tests to check cases with negative values.
52765 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52767 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52768 * sysdeps/x86_64/dla.h: ...here. New file.
52769 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52774 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52779 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52782 __ynl_finite aliases.
52784 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52788 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52790 [DLA_FMA] (EMULV): Use DLA_FMA.
52791 [DLA_FMA] (MUL12): Use EMULV.
52792 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52793 that are not needed.
52794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52802 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52804 * math/s_nan.c: Undef __nan.
52805 * math/s_nanf.c: Undef __nanf.
52806 * math/s_nanl.c: Undef __nanl.
52807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52810 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52812 * math/s_catan.c: Add branch predictions.
52813 * math/s_catanf.c: Likewise.
52814 * math/s_catanh.c: Likewise.
52815 * math/s_catanhf.c: Likewise.
52816 * math/s_catanhl.c: Likewise.
52817 * math/s_catanl.c: Likewise.
52818 * math/s_cexp.c: Likewise.
52819 * math/s_cexpf.c: Likewise.
52820 * math/s_cexpl.c: Likewise.
52821 * math/s_clog.c: Likewise.
52822 * math/s_clog10.c: Likewise.
52823 * math/s_clog10f.c: Likewise.
52824 * math/s_clog10l.c: Likewise.
52825 * math/s_clogf.c: Likewise.
52826 * math/s_clogl.c: Likewise.
52827 * math/s_csqrt.c: Likewise.
52828 * math/s_csqrtf.c: Likewise.
52829 * math/s_csqrtl.c: Likewise.
52830 * math/s_ctanf.c: Likewise.
52831 * math/s_ctanh.c: Likewise.
52832 * math/s_ctanhf.c: Likewise.
52833 * math/s_ctanhl.c: Likewise.
52834 * math/s_ctanl.c: Likewise.
52836 * math/math_private.h: Define __nan, __nanf, __nanl.
52837 * math/s_cacosh.c: Include <math_private.h>.
52838 * math/s_cacoshl.c: Likewise.
52839 * math/s_casinh.c: Likewise.
52840 * math/s_casinhf.c: Likewise.
52841 * math/s_casinhl.c: Likewise.
52842 * math/s_ccos.c: Rely entire on ccosh.
52843 * math/s_ccosf.c: Rely entire on ccoshf.
52844 * math/s_ccosl.c: Rely entirely on ccoshl.
52845 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52846 Remove tests for FE_INVALID.
52847 * math/s_ccoshf.c: Likewise.
52848 * math/s_ccoshl.c: Likewise.
52849 * math/s_csin.c: Likewise.
52850 * math/s_csinf.c: Likewise.
52851 * math/s_csinh.c Likewise.
52852 * math/s_csinhf.c: Likewise.
52853 * math/s_csinhl.c: Likewise.
52854 * math/s_csinl.c: Likewise.
52855 * math/s_ctan.c: Likewise.
52856 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52857 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52858 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52860 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52863 compilation problems.
52865 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52868 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52870 * sysdeps/i386/configure.in: Test for -mfma4 option.
52871 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52872 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52873 COMMON_CPUID_INDEX_80000001.
52874 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52875 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52876 use it if FMA3 is not supported.
52877 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52879 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52880 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52882 2011-10-20 Andreas Schwab <schwab@redhat.com>
52885 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52886 it would create a cycle with a link time dependency.
52888 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52890 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52892 * string/Makefile (strop-tests): Add rawmemchr.
52893 * string/test-rawmemchr.c: New file.
52895 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52897 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52898 when compiling str{,n}casecmp and when AVX is available. Hook up
52899 new optimized code in initializers.
52901 2011-10-19 Andreas Schwab <schwab@redhat.com>
52903 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52904 __feraiseexcept instead of feraiseexcept.
52906 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52908 * math/math_private.h: Define defaults for libc_fetestexcept and
52910 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52911 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52912 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52913 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52914 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52915 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52916 libc_fetestexcept and libc_feupdateenv.
52918 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52919 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52920 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52921 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52922 libc_feholdexcept_setround.
52924 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52925 Add s_nearbyint-c and s_nearbyintf-c.
52926 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52927 nearbyintf inlines.
52928 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52929 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52930 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52931 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52933 * math/math_private.h: Define defaults for libc_fegetround,
52934 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52935 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52936 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52937 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52938 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52939 standard functions.
52940 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52941 Remove comments and hacks for old compiler versions.
52942 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52943 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52944 libc_feholdexceptl.
52946 2011-10-18 Andreas Schwab <schwab@redhat.com>
52948 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52949 (__feraiseexcept_renamed): Add __NTH.
52950 (feraiseexcept): Add __NTH. Rename local variables to fix
52951 namespace violations.
52953 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52955 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52959 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52960 recently added interfaces.
52961 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52963 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52964 about macro parameter expansion.
52966 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52967 __NO_MATH_INLINES is defined. Cleanups.
52969 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52970 and __floorf is target has SSE4.1.
52971 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52972 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52973 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52974 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52976 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52978 (floorf): Likewise.
52980 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52982 2011-10-17 Andreas Schwab <schwab@redhat.com>
52984 * misc/sys/cdefs.h: Fix last change.
52986 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52989 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52991 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52993 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52994 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52998 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52999 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53000 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53001 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53002 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53003 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53004 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53005 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53006 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53007 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53008 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53009 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53010 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53011 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53012 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53013 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53014 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53016 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53017 ceil, ceilf, floor, floorf.
53019 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53020 Perform IRELATIVE relocations last.
53022 * elf/do-rel.h: Add another parameter nrelative, replacing the
53023 local variable with the same name. Change name of the function
53024 to end in Rel or Rela (uppercase).
53025 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53026 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53027 elf_dynamic_do_##reloc function.
53029 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53031 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53032 is sufficient, at least on modern CPUs.
53034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53036 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53037 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53039 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53041 * math/bits/math-finite.h: Add entries for exp.
53042 * math/e_expl.c: Add __*_finite alias.
53043 * sysdeps/i386/fpu/e_exp.S: Likewise.
53044 * sysdeps/i386/fpu/e_expf.S: Likewise.
53045 * sysdeps/i386/fpu/e_expl.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53047 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53050 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53051 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53052 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53054 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53055 is sufficient, at least on modern CPUs.
53057 * ctype/ctype-info.c (__ctype_init): Define.
53058 * include/ctype.h (__ctype_init): Declare.
53059 (__ctype_b_loc): The variable is always initialized.
53060 (__ctype_toupper_loc): Likewise.
53061 (__ctype_tolower_loc): Likewise.
53062 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53063 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53065 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53067 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53069 * configure.in: Also look in $cxxmachine/include for C++ system
53072 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53074 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53075 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53076 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53077 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53078 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53079 (USE_AS_WMEMCMP): New macro.
53081 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53082 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53083 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53084 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53086 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53087 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53088 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53089 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53090 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53091 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53092 (USE_AS_WMEMCMP): New macro.
53093 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53094 * sysdeps/string/test-memcmp.c: Update.
53095 Fix simple_wmemcmp.
53097 * wcsmbs/wmemcmp.c: Update.
53098 (WMEMCMP): New macro.
53101 2011-10-12 Andreas Jaeger <aj@suse.de>
53104 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53106 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53108 * libio/iofwide.c (do_length): Avoid warning.
53110 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53112 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53114 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53116 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53117 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53118 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53119 * sysdeps/i386/i686/fpu/e_log.S: New file.
53120 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53121 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53123 * ctype/ctype.h: Add support for inlined isXXX functions when
53124 compiling C++ code.
53126 2011-10-14 Andreas Schwab <schwab@redhat.com>
53128 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53130 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53132 2011-10-13 Roland McGrath <roland@hack.frob.com>
53135 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53137 2011-10-13 Andreas Schwab <schwab@redhat.com>
53139 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53140 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53143 * sysdeps/x86_64/memrchr.S: Check for zero size.
53145 * string/stratcliff.c: Add memrchr tests.
53147 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53150 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53151 rawmemchr-sse2 rawmemchr-sse2-bsf.
53152 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53153 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53154 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53155 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53156 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53157 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53158 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53159 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53160 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53161 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53162 * string/memrchr.c (MEMRCHR): New macro.
53164 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53166 Add integration with gcc's -ffinite-math-only and optimize wrapper
53168 * Versions.def: Define GLIBC_2.15 version for libm.
53169 * math/Makefile (headers): Add bits/math-finite.h.
53170 * math/bits/math-finite.h: New file.
53171 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53172 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53173 * math/e_acoshl.c: Add __*_finite alias.
53174 * math/e_acosl.c: Likewise.
53175 * math/e_asinl.c: Likewise.
53176 * math/e_atan2l.c: Likewise.
53177 * math/e_atanhl.c: Likewise.
53178 * math/e_coshl.c: Likewise.
53179 * math/e_exp10.c: Likewise.
53180 * math/e_exp10f.c: Likewise.
53181 * math/e_exp10l.c: Likewise.
53182 * math/e_exp2l.c: Likewise.
53183 * math/e_fmodl.c: Likewise.
53184 * math/e_gammal_r.c: Likewise.
53185 * math/e_hypotl.c: Likewise.
53186 * math/e_j0l.c: Likewise.
53187 * math/e_j1l.c: Likewise.
53188 * math/e_jnl.c: Likewise.
53189 * math/e_lgammal_r.c: Likewise.
53190 * math/e_log10l.c: Likewise.
53191 * math/e_log2l.c: Likewise.
53192 * math/e_logl.c: Likewise.
53193 * math/e_powl.c: Likewise.
53194 * math/e_sinhl.c: Likewise.
53195 * math/e_sqrtl.c: Likewise.
53196 * math/e_scalb.c: Completely rewritten and optimized.
53197 * math/e_scalbf.c: Likewise.
53198 * math/e_scalbl.c: Likewise.
53199 * math/w_acos.c: Likewise.
53200 * math/w_acosf.c: Likewise.
53201 * math/w_acosl.c: Likewise.
53202 * math/w_acosh.c: Likewise.
53203 * math/w_acoshf.c: Likewise.
53204 * math/w_acoshl.c: Likewise.
53205 * math/w_asin.c: Likewise.
53206 * math/w_asinf.c: Likewise.
53207 * math/w_asinl.c: Likewise.
53208 * math/w_atan2.c: Likewise.
53209 * math/w_atan2f.c: Likewise.
53210 * math/w_atan2l.c: Likewise.
53211 * math/w_atanh.c: Likewise.
53212 * math/w_atanhf.c: Likewise.
53213 * math/w_atanhl.c: Likewise.
53214 * math/w_exp10.c: Likewise.
53215 * math/w_exp10f.c: Likewise.
53216 * math/w_exp10l.c: Likewise.
53217 * math/w_fmod.c: Likewise.
53218 * math/w_fmodf.c: Likewise.
53219 * math/w_fmodl.c: Likewise.
53220 * math/w_j0.c: Likewise.
53221 * math/w_j0f.c: Likewise.
53222 * math/w_j0l.c: Likewise.
53223 * math/w_j1.c: Likewise.
53224 * math/w_j1f.c: Likewise.
53225 * math/w_j1l.c: Likewise.
53226 * math/w_jn.c: Likewise.
53227 * math/w_jnf.c: Likewise.
53228 * math/w_log.c: Likewise.
53229 * math/w_logf.c: Likewise.
53230 * math/w_logl.c: Likewise.
53231 * math/w_log10.c: Likewise.
53232 * math/w_log10f.c: Likewise.
53233 * math/w_log10l.c: Likewise.
53234 * math/w_log2.c: Likewise.
53235 * math/w_log2f.c: Likewise.
53236 * math/w_log2l.c: Likewise.
53237 * math/w_pow.c: Likewise.
53238 * math/w_powf.c: Likewise.
53239 * math/w_powl.c: Likewise.
53240 * math/w_remainder.c: Likewise.
53241 * math/w_remainderf.c: Likewise.
53242 * math/w_remainderl.c: Likewise.
53243 * math/w_scalb.c: Likewise.
53244 * math/w_scalbf.c: Likewise.
53245 * math/w_scalbl.c: Likewise.
53246 * math/w_sqrt.c: Likewise.
53247 * math/w_sqrtf.c: Likewise.
53248 * math/w_sqrtl.c: Likewise.
53249 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53250 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53252 * math/math_private.h: Declare __kernel_standard_f.
53253 * math/w_cosh.c: Remove cruft and optimize a bit.
53254 * math/w_coshf.c: Likewise.
53255 * math/w_coshl.c: Likewise.
53256 * math/w_exp2.c: Likewise.
53257 * math/w_exp2f.c: Likewise.
53258 * math/w_exp2l.c: Likewise.
53259 * math/w_hypot.c: Likewise.
53260 * math/w_hypotf.c: Likewise.
53261 * math/w_hypotl.c: Likewise.
53262 * math/w_lgamma.c: Likewise.
53263 * math/w_lgamma_r.c: Likewise.
53264 * math/w_lgammaf.c: Likewise.
53265 * math/w_lgammaf_r.c: Likewise.
53266 * math/w_lgammal.c: Likewise.
53267 * math/w_lgammal_r.c: Likewise.
53268 * math/w_sinh.c: Likewise.
53269 * math/w_sinhf.c: Likewise.
53270 * math/w_sinhl.c: Likewise.
53271 * math/w_tgamma.c: Likewise.
53272 * math/w_tgammaf.c: Likewise.
53273 * math/w_tgammal.c: Likewise.
53274 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53275 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53276 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53277 Minor optimizations. Pretty printing. Remove cruft.
53278 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53279 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53280 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53281 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53282 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53283 * sysdeps/i386/fpu/e_asin.S: Likewise.
53284 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53285 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53286 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53287 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53288 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53289 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53290 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53291 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53292 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53293 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53294 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53295 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53296 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53297 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53298 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53299 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53300 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53301 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53302 * sysdeps/i386/fpu/e_log.S: Likewise.
53303 * sysdeps/i386/fpu/e_log10.S: Likewise.
53304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53305 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53306 * sysdeps/i386/fpu/e_log2.S: Likewise.
53307 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53308 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53309 * sysdeps/i386/fpu/e_logf.S: Likewise.
53310 * sysdeps/i386/fpu/e_logl.S: Likewise.
53311 * sysdeps/i386/fpu/e_pow.S: Likewise.
53312 * sysdeps/i386/fpu/e_powf.S: Likewise.
53313 * sysdeps/i386/fpu/e_powl.S: Likewise.
53314 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53315 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53316 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53317 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53320 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53321 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53322 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53326 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53327 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53328 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53329 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53339 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53340 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53341 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53344 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53345 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53346 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53347 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53348 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53349 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53350 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53351 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53352 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53354 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53355 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53356 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53357 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53358 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53359 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53360 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53361 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53362 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53363 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53364 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53372 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53374 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53375 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53376 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53378 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53379 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53380 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53381 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53384 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53385 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53387 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53388 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53389 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53390 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53391 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53393 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53394 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53395 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53396 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53397 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53399 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53400 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53401 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53402 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53404 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53405 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53406 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53407 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53408 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53410 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53411 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53412 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53413 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53414 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53415 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53416 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53417 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53418 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53419 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53420 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53421 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53422 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53423 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53424 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53425 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53426 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53427 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53431 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53432 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53433 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53434 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53435 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53436 (__isnanf): Likewise.
53437 (__isinf_ns): Likewise.
53438 (__isinf_nsf): Likewise.
53439 (__finite): Likewise.
53440 (__finitef): Likewise.
53441 (__ieee754_sqrt): Define as macro.
53442 (__ieee754_sqrtf): Define as macro.
53443 (__ieee754_sqrtl): Define as macro.
53444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53446 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53447 __FINITE_MATH_ONLY__ consistent.
53448 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53450 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53452 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53455 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53457 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53459 * po/ja.po: Update from translation team.
53461 2011-10-08 Roland McGrath <roland@hack.frob.com>
53463 * locale/programs/locarchive.c (prepare_address_space): New function.
53464 (create_archive, enlarge_archive, open_archive): Use it.
53466 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53467 inside [SHARED], where it is used.
53469 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53471 * nss/getent.c (netgroup_keys): Remove unused variable.
53472 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53474 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53476 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53477 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53479 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53480 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53481 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53482 * math/Makefile (libm-calls): Add s_isinf_ns.
53483 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53484 * math/multc3.c: Likewise.
53485 * math/s_casin.c: Likewise.
53486 * math/s_casinf.c: Likewise.
53487 * math/s_casinl.c: Likewise.
53488 * math/s_ccos.c: Likewise.
53489 * math/s_ccosf.c: Likewise.
53490 * math/s_ccosl.c: Likewise.
53491 * math/s_ctan.c: Likewise.
53492 * math/s_ctanf.c: Likewise.
53493 * math/s_ctanh.c: Likewise.
53494 * math/s_ctanhf.c: Likewise.
53495 * math/s_ctanhl.c: Likewise.
53496 * math/s_ctanl.c: Likewise.
53497 * math/w_fmod.c: Likewise.
53498 * math/w_fmodf.c: Likewise.
53499 * math/w_fmodl.c: Likewise.
53500 * math/w_remainder.c: Likewise.
53501 * math/w_remainderf.c: Likewise.
53502 * math/w_remainderl.c: Likewise.
53503 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53504 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53505 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53507 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53508 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53509 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53510 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53512 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53514 * stdio-common/printf_fphex.c: Likewise.
53515 * stdio-common/printf_size.c: Likewise.
53517 * math/e_exp10.c: Include math_private.h using <...> not "...".
53518 * math/e_exp10f.c: Likewise.
53519 * math/e_exp10l.c: Likewise.
53520 * math/e_exp2l.c: Likewise.
53521 * math/e_j0l.c: Likewise.
53522 * math/e_j1l.c: Likewise.
53523 * math/e_jnl.c: Likewise.
53524 * math/e_lgammal_r.c: Likewise.
53525 * math/e_rem_pio2l.c: Likewise.
53526 * math/e_scalb.c: Likewise.
53527 * math/e_scalbf.c: Likewise.
53528 * math/e_scalbl.c: Likewise.
53529 * math/k_cosl.c: Likewise.
53530 * math/k_sinl.c: Likewise.
53531 * math/k_tanl.c: Likewise.
53532 * math/s_cacoshf.c: Likewise.
53533 * math/s_catan.c: Likewise.
53534 * math/s_catanf.c: Likewise.
53535 * math/s_catanh.c: Likewise.
53536 * math/s_catanhf.c: Likewise.
53537 * math/s_catanhl.c: Likewise.
53538 * math/s_catanl.c: Likewise.
53539 * math/s_ccosh.c: Likewise.
53540 * math/s_ccoshf.c: Likewise.
53541 * math/s_ccoshl.c: Likewise.
53542 * math/s_cexp.c: Likewise.
53543 * math/s_cexpf.c: Likewise.
53544 * math/s_cexpl.c: Likewise.
53545 * math/s_clog.c: Likewise.
53546 * math/s_clog10.c: Likewise.
53547 * math/s_clog10f.c: Likewise.
53548 * math/s_clog10l.c: Likewise.
53549 * math/s_clogf.c: Likewise.
53550 * math/s_clogl.c: Likewise.
53551 * math/s_csin.c: Likewise.
53552 * math/s_csinf.c: Likewise.
53553 * math/s_csinh.c: Likewise.
53554 * math/s_csinhf.c: Likewise.
53555 * math/s_csinhl.c: Likewise.
53556 * math/s_csinl.c: Likewise.
53557 * math/s_csqrt.c: Likewise.
53558 * math/s_csqrtf.c: Likewise.
53559 * math/s_csqrtl.c: Likewise.
53560 * math/s_ctan.c: Likewise.
53561 * math/s_ctanf.c: Likewise.
53562 * math/s_ctanh.c: Likewise.
53563 * math/s_ctanhf.c: Likewise.
53564 * math/s_ctanhl.c: Likewise.
53565 * math/s_ctanl.c: Likewise.
53566 * math/s_ldexp.c: Likewise.
53567 * math/s_ldexpf.c: Likewise.
53568 * math/s_ldexpl.c: Likewise.
53569 * math/s_significand.c: Likewise.
53570 * math/s_significandf.c: Likewise.
53571 * math/s_significandl.c: Likewise.
53572 * math/w_acos.c: Likewise.
53573 * math/w_acosf.c: Likewise.
53574 * math/w_acosh.c: Likewise.
53575 * math/w_acoshf.c: Likewise.
53576 * math/w_acoshl.c: Likewise.
53577 * math/w_acosl.c: Likewise.
53578 * math/w_asin.c: Likewise.
53579 * math/w_asinf.c: Likewise.
53580 * math/w_asinl.c: Likewise.
53581 * math/w_atan2.c: Likewise.
53582 * math/w_atan2f.c: Likewise.
53583 * math/w_atan2l.c: Likewise.
53584 * math/w_atanh.c: Likewise.
53585 * math/w_atanhf.c: Likewise.
53586 * math/w_atanhl.c: Likewise.
53587 * math/w_cosh.c: Likewise.
53588 * math/w_coshf.c: Likewise.
53589 * math/w_coshl.c: Likewise.
53590 * math/w_dremf.c: Likewise.
53591 * math/w_exp10.c: Likewise.
53592 * math/w_exp10f.c: Likewise.
53593 * math/w_exp10l.c: Likewise.
53594 * math/w_exp2.c: Likewise.
53595 * math/w_exp2f.c: Likewise.
53596 * math/w_fmod.c: Likewise.
53597 * math/w_fmodf.c: Likewise.
53598 * math/w_fmodl.c: Likewise.
53599 * math/w_hypot.c: Likewise.
53600 * math/w_hypotf.c: Likewise.
53601 * math/w_hypotl.c: Likewise.
53602 * math/w_j0.c: Likewise.
53603 * math/w_j0f.c: Likewise.
53604 * math/w_j0l.c: Likewise.
53605 * math/w_j1.c: Likewise.
53606 * math/w_j1f.c: Likewise.
53607 * math/w_j1l.c: Likewise.
53608 * math/w_jn.c: Likewise.
53609 * math/w_jnf.c: Likewise.
53610 * math/w_jnl.c: Likewise.
53611 * math/w_lgamma.c: Likewise.
53612 * math/w_lgamma_r.c: Likewise.
53613 * math/w_lgammaf.c: Likewise.
53614 * math/w_lgammaf_r.c: Likewise.
53615 * math/w_lgammal.c: Likewise.
53616 * math/w_lgammal_r.c: Likewise.
53617 * math/w_log.c: Likewise.
53618 * math/w_log10.c: Likewise.
53619 * math/w_log10f.c: Likewise.
53620 * math/w_log10l.c: Likewise.
53621 * math/w_log2.c: Likewise.
53622 * math/w_log2f.c: Likewise.
53623 * math/w_log2l.c: Likewise.
53624 * math/w_logf.c: Likewise.
53625 * math/w_logl.c: Likewise.
53626 * math/w_pow.c: Likewise.
53627 * math/w_powf.c: Likewise.
53628 * math/w_powl.c: Likewise.
53629 * math/w_remainder.c: Likewise.
53630 * math/w_remainderf.c: Likewise.
53631 * math/w_remainderl.c: Likewise.
53632 * math/w_scalb.c: Likewise.
53633 * math/w_scalbf.c: Likewise.
53634 * math/w_scalbl.c: Likewise.
53635 * math/w_sinh.c: Likewise.
53636 * math/w_sinhf.c: Likewise.
53637 * math/w_sinhl.c: Likewise.
53638 * math/w_sqrt.c: Likewise.
53639 * math/w_sqrtf.c: Likewise.
53640 * math/w_sqrtl.c: Likewise.
53641 * math/w_tgamma.c: Likewise.
53642 * math/w_tgammaf.c: Likewise.
53643 * math/w_tgammal.c: Likewise.
53645 * po/ja.po: Update from translation team.
53647 2011-09-29 Andreas Jaeger <aj@suse.de>
53650 * sunrpc/netname.c (netname2host): Fix logic.
53654 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53656 * math/w_remainder.c (__remainder): Likewise.
53657 * math/w_remainderf.c (__remainderf): Likewise.
53658 * math/libm-test.inc (remainder_test): Add test cases.
53660 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53662 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53665 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53667 * string/test-memcmp.c: Avoid unncessary #defines.
53668 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53670 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53672 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53673 Use new sse2 version for core i3 - i7 as it's faster
53674 than sse42 version.
53675 (bit_Prefer_PMINUB_for_stringop): New.
53676 * sysdeps/x86_64/rawmemchr.S: Update.
53677 Replace with faster SSE2 version.
53678 * sysdeps/x86_64/memrchr.S: New file.
53679 * sysdeps/x86_64/memchr.S: Update.
53680 Replace with faster SSE2 version.
53682 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53684 * elf/dl-load.c (lose): Add cast to avoid warning.
53686 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53688 * po/ca.po: Update from translation team.
53690 * inet/getnetgrent_r.c: Hook up nscd.
53691 * nscd/Makefile (routines): Add nscd_netgroup.
53692 (nscd-modules): Add netgroupcache.
53693 (CFLAGS-netgroupcache.c): Define.
53694 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53695 (cache_search): Add const to second parameter.
53696 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53698 (dbs): Add netgrdb entry.
53699 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53700 (verify_persistent_db): Handle netgrdb.
53701 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53702 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53704 (netgroup_response_header): Define.
53705 (innetgroup_response_header): Define.
53706 (datahead): Add netgroup_response_header and innetgroup_response_header
53708 * nscd/nscd.conf: Add entries for netgroup cache.
53709 * nscd/nscd.h (dbtype): Add netgrdb.
53710 (_PATH_NSCD_NETGROUP_DB): Define.
53711 (netgroup_iov_disabled): Declare.
53712 (xmalloc, xcalloc, xrealloc): Move declarations here.
53713 (cache_search): Adjust prototype.
53714 Add netgroup-related prototypes.
53715 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53716 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53717 (__nscd_innetgr): Declare.
53718 * nscd/selinux.c (perms): Use access_vector_t as element type and
53719 add netgroup-related initializers.
53720 * nscd/netgroupcache.c: New file.
53721 * nscd/nscd_netgroup.c: New file.
53722 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53723 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53724 For four parameters use innetgr.
53725 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53726 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53727 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53728 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53730 * nscd/connections.c (register_traced_file): Don't register file
53731 for disabled databases.
53733 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53735 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53737 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53738 from tree and freeing node.
53740 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53742 * nss/nsswitch.c (__nss_database_lookup): Handle
53743 nss_parse_service_list out of memory case.
53745 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53747 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53748 out of memory case.
53750 2011-10-04 Andreas Schwab <schwab@redhat.com>
53752 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53753 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53755 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53756 elf_machine_rela, elf_machine_lazy_rel.
53757 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53758 (ELF_DYNAMIC_DO_REL): Likewise.
53759 (ELF_DYNAMIC_DO_RELA): Likewise.
53760 (ELF_DYNAMIC_RELOCATE): Likewise.
53761 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53762 to ELF_DYNAMIC_DO_REL.
53763 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53764 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53765 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53768 skip_ifunc, don't call ifunc function if non-zero.
53769 (elf_machine_rela): Likewise.
53770 (elf_machine_lazy_rel): Likewise.
53771 (elf_machine_lazy_rela): Likewise.
53772 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53773 (elf_machine_lazy_rel): Likewise.
53774 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53776 (elf_machine_lazy_rel): Likewise.
53777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53779 (elf_machine_lazy_rel): Likewise.
53780 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53781 (elf_machine_lazy_rel): Likewise.
53782 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53783 (elf_machine_lazy_rel): Likewise.
53784 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53785 (elf_machine_lazy_rel): Likewise.
53786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53787 (elf_machine_lazy_rel): Likewise.
53788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53789 (elf_machine_lazy_rel): Likewise.
53790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53791 (elf_machine_lazy_rel): Likewise.
53793 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53795 * nss/nss_files/files-init.c (_nss_files_init): Use static
53796 initialization for all the *_traced_file variables.
53798 2011-09-28 Andreas Schwab <schwab@redhat.com>
53800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53802 2011-09-27 Roland McGrath <roland@hack.frob.com>
53805 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53807 2011-09-27 Andreas Schwab <schwab@redhat.com>
53809 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53810 Reread the line before reparsing it.
53812 2011-09-26 Andreas Schwab <schwab@redhat.com>
53814 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53816 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53817 Maxim Kuvyrkov <maxim@codesourcery.com>
53818 Joseph Myers <joseph@codesourcery.com>
53820 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53821 if needed for __stack_chk_guard.
53823 2011-09-19 Roland McGrath <roland@hack.frob.com>
53825 * sysdeps/posix/spawni.c (script_execute): Always define it.
53826 It will be optimized away if unused.
53827 (maybe_script_execute): New function.
53828 (__spawni): Call it.
53830 * Makerules: Don't include tls.make.
53831 (config-tls): Always set to thread.
53832 * tls.make.c: File removed.
53834 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53836 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53837 * config.make.in (CPPFLAGS-config): New substituted variable.
53839 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53844 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53845 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53847 2011-09-15 Roland McGrath <roland@hack.frob.com>
53849 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53850 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53852 (CALL_FAIL): Likewise.
53853 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53854 (CALL_FAIL): Macro removed.
53855 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53857 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53859 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53860 for __FINITE_MATH_ONLY__ == 1.
53862 2011-09-15 Andreas Schwab <schwab@redhat.com>
53864 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53865 __ieee754_sqrt instead of sqrt.
53866 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53867 __ieee754_sqrtf instead of sqrtf.
53868 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53869 __floorf instead of floorf.
53870 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53871 __floorf, __truncf instead of floorf, truncf.
53873 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53875 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53877 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53878 __extern_always_inline.
53879 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53882 2011-09-14 Andreas Schwab <schwab@redhat.com>
53884 * elf/rtld.c (dl_main): Also relocate in dependency order when
53885 doing symbol dependency testing.
53887 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53890 Always define `refsym'.
53892 2011-09-13 Andreas Schwab <schwab@redhat.com>
53894 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53895 (__FD_ELT): Renamed from __FDELT.
53896 * misc/bits/select2.h (__FD_ELT): Likewise.
53897 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53898 __FD_MASK instead of __FDELT, __FDMASK.
53899 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53901 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53904 * elf/Makefile (gen-ldd): Fix pattern.
53906 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53907 (init_tls): Likewise.
53909 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53913 2011-09-12 Andreas Schwab <schwab@redhat.com>
53915 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53916 `struct cmsghdr *' instead of `void *'.
53917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53920 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53922 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53924 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53925 ldd_rewrite_script.
53927 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53929 * configure.in: Remove --with-tls option.
53930 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53931 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53932 out in case it is missing.
53933 * sysdeps/ia64/elf/configure.in: Likewise.
53934 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53935 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53936 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53937 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53938 * sysdeps/sh/elf/configure.in: Likewise.
53939 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53940 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53941 * sysdeps/x86_64/elf/configure.in: Likewise.
53942 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53943 * sysdeps/mach/hurd/tls.h: Likewise.
53946 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53949 * configure.in: Fix use of AC_INIT.
53951 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53953 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53955 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53957 * malloc/hooks.c: Likewise.
53960 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53961 variables statically.
53962 (narenas): Initialize.
53963 (list_lock): Initialize.
53964 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53965 initializtion of main_arena and list_lock. Small cleanups.
53966 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53967 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53968 Add initializers to main_arena and mp_.
53969 (malloc_state): Remove pagesize member. Change all users to use
53972 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53973 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53974 is always initialized.
53976 * malloc/malloc.c: Removed unused configurations and dead code.
53977 * malloc/arena.c: Likewise.
53978 * malloc/hooks.c: Likewise.
53979 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53981 * include/tls.h: Removed. USE___THREAD must always be defined.
53982 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53983 * elf/dl-libc.c: Likewise.
53984 * elf/dl-tsd.c: Likewise.
53985 * include/errno.h: Likewise.
53986 * include/netdb.h: Likewise.
53987 * include/resolv.h: Likewise.
53988 * inet/herrno-loc.c: Likewise.
53989 * inet/herrno.c: Likewise.
53990 * malloc/arena.c: Likewise.
53991 * malloc/hooks.c: Likewise.
53992 * malloc/malloc.c: Likewise.
53993 * resolv/res-state.c: Likewise.
53994 * resolv/res_libc.c: Likewise.
53995 * sysdeps/i386/dl-machine.h: Likewise.
53996 * sysdeps/ia64/dl-machine.h: Likewise.
53997 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53998 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53999 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54000 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54001 * sysdeps/sh/dl-machine.h: Likewise.
54002 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54003 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54004 * sysdeps/unix/i386/sysdep.S: Likewise.
54005 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54006 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54007 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54008 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54011 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54016 * sysdeps/x86_64/dl-machine.h: Likewise.
54017 * tls.make.c: Likewise.
54019 * configure.in: Remove --with-__thread option. Make tests for
54020 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54021 tls_model attribute fail if no support is available. Remove
54023 * Makeconfig: Adjust for dropped configure option. All features are
54025 * Makerules: Likewise.
54026 * Versions.def: Likewise.
54027 * argp/argp-fmtstream.c: Likewise.
54028 * argp/argp-fmtstream.h: Likewise.
54029 * argp/argp-help.c: Likewise.
54030 * assert/assert.c: Likewise.
54031 * config.h.in: Likewise.
54032 * config.make.in: Likewise.
54033 * configure: Likewise.
54034 * configure.in: Likewise.
54035 * csu/Versions: Likewise.
54036 * csu/init.c: Likewise.
54037 * elf/tst-audit2.c: Likewise.
54038 * elf/tst-tls10.c: Likewise.
54039 * elf/tst-tls10.h: Likewise.
54040 * elf/tst-tls11.c: Likewise.
54041 * elf/tst-tls12.c: Likewise.
54042 * elf/tst-tls14.c: Likewise.
54043 * elf/tst-tlsmod11.c: Likewise.
54044 * elf/tst-tlsmod12.c: Likewise.
54045 * elf/tst-tlsmod13.c: Likewise.
54046 * elf/tst-tlsmod13a.c: Likewise.
54047 * elf/tst-tlsmod14a.c: Likewise.
54048 * elf/tst-tlsmod15b.c: Likewise.
54049 * elf/tst-tlsmod16a.c: Likewise.
54050 * elf/tst-tlsmod16b.c: Likewise.
54051 * elf/tst-tlsmod7.c: Likewise.
54052 * elf/tst-tlsmod8.c: Likewise.
54053 * elf/tst-tlsmod9.c: Likewise.
54054 * gmon/gmon.c: Likewise.
54055 * grp/fgetgrent_r.c: Likewise.
54056 * grp/putgrent.c: Likewise.
54057 * hurd/fopenport.c: Likewise.
54058 * include/libc-symbols.h: Likewise.
54059 * include/tls.h: Likewise.
54060 * intl/gettextP.h: Likewise.
54061 * intl/loadinfo.h: Likewise.
54062 * locale/global-locale.c: Likewise.
54063 * locale/localeinfo.h: Likewise.
54064 * mach/devstream.c: Likewise.
54065 * malloc/arena.c: Likewise.
54066 * malloc/set-freeres.c: Likewise.
54067 * misc/err.c: Likewise.
54068 * misc/getttyent.c: Likewise.
54069 * misc/mntent_r.c: Likewise.
54070 * posix/getopt.c: Likewise.
54071 * posix/wordexp.c: Likewise.
54072 * pwd/fgetpwent_r.c: Likewise.
54073 * resolv/Versions: Likewise.
54074 * resolv/res_hconf.c: Likewise.
54075 * shadow/fgetspent_r.c: Likewise.
54076 * shadow/putspent.c: Likewise.
54077 * stdio-common/printf_fphex.c: Likewise.
54078 * stdio-common/tmpfile.c: Likewise.
54079 * stdlib/abort.c: Likewise.
54080 * stdlib/fmtmsg.c: Likewise.
54081 * sunrpc/auth_unix.c: Likewise.
54082 * sunrpc/clnt_perr.c: Likewise.
54083 * sunrpc/clnt_tcp.c: Likewise.
54084 * sunrpc/clnt_udp.c: Likewise.
54085 * sunrpc/clnt_unix.c: Likewise.
54086 * sunrpc/openchild.c: Likewise.
54087 * sunrpc/svc_simple.c: Likewise.
54088 * sunrpc/svc_tcp.c: Likewise.
54089 * sunrpc/svc_udp.c: Likewise.
54090 * sunrpc/svc_unix.c: Likewise.
54091 * sunrpc/xdr.c: Likewise.
54092 * sunrpc/xdr_array.c: Likewise.
54093 * sunrpc/xdr_rec.c: Likewise.
54094 * sunrpc/xdr_ref.c: Likewise.
54095 * sunrpc/xdr_stdio.c: Likewise.
54097 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54099 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54101 2011-07-03 Andreas Jaeger <aj@suse.de>
54103 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54104 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54105 regenerate with gen-libm-tests.pl.
54107 2010-05-12 Petr Baudis <pasky@suse.cz>
54110 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54111 around j0() zero points by switching to j1().
54112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54115 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54117 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54119 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54121 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54124 Patch in part by Pavel Roskin <proski@gnu.org>.
54127 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54129 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54130 Free memory block if necessary.
54133 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54134 be NULL. Don't lock in this case.
54136 2011-09-09 Roland McGrath <roland@hack.frob.com>
54138 * elf/elf.h (ELFOSABI_GNU): New macro.
54139 (ELFOSABI_LINUX): Define to that.
54141 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54143 * string/strncat.c (strncat): Undef the symbol in case it has been
54144 defined in bits/string.h.
54146 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54148 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54150 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54153 2011-08-17 Andreas Jaeger <aj@suse.de>
54155 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54157 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54158 Ian Lance Taylor <iant@google.com>
54160 * math/libm-test.inc (lround_test): New testcase.
54161 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54163 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54165 * Makefile: Remove support for automatic cvs check-ins.
54166 * Makerules: Likewise.
54167 * config.make.in: Likewise.
54168 * configure.in: Likewise.
54169 * intl/Makefile: Likewise.
54170 * locale/Makefile: Likewise.
54171 * po/Makefile: Likewise.
54172 * posix/Makefile: Likewise.
54173 * sysdeps/gnu/Makefile: Likewise.
54174 * sysdeps/mach/hurd/Makefile: Likewise.
54175 * sysdeps/sparc/sparc32/Makefile: Likewise.
54178 * posix/Makefile (bug-regex32-ENV): Define.
54179 Patch by John Stanley <jpsinthemix@verizon.net>.
54181 * misc/Makefile (headers): Add bits/select2.h.
54182 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54183 * misc/bits/select2.h: New file.
54184 * include/bits/select2.h: New file.
54185 * debug/Makefile (routines): Add fdelt_chk.
54186 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54187 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54189 * debug/fdelt_chk.c: New file.
54191 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54192 * wcsmbs/test-wmemcmp.c: Likewise.
54193 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54194 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54196 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54198 * string/Makefile (strop-tests): Add memcmp.
54199 * string/test-wmemcmp.c: New file.
54200 * string/test-memcmp.c: Add wmemcmp support.
54202 2011-09-08 Roland McGrath <roland@hack.frob.com>
54205 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54208 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54209 garbage value in a __mach_port_mod_refs call in the cases of the
54210 task-self and thread-self ports.
54212 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54214 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54216 2011-09-08 Andreas Schwab <schwab@redhat.com>
54218 * elf/dl-load.c (lose): Check for non-null L.
54220 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54222 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54224 * elf/dl-libc.c (dlerror_run): Pass back error code from
54228 * elf/dl-load.c (lose): Free l_origin if it is valid.
54230 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54232 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54233 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54234 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54235 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54236 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54237 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54239 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54241 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54242 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54243 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54244 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54245 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54246 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54247 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54248 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54249 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54250 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54252 2011-08-15 Alan Modra <amodra@gmail.com>
54255 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54256 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54257 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54258 ppc_mcount to static-only-routines.
54259 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54261 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54262 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54264 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54266 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54267 for finite and infinity parameters.
54269 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54272 and add nop instructions for throughput optimization.
54273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54275 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54277 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54278 aligned copy for power7 with vector-scalar instructions.
54279 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54281 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54286 2011-09-07 Andreas Schwab <schwab@redhat.com>
54289 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54292 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54294 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54295 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54296 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54297 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54300 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54302 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54303 Forgot to demangle the pointer.
54305 * sysdeps/i386/sysdep.h: Define atom_text_section.
54306 * sysdeps/x86_64/sysdep.h: Likewise.
54307 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54308 section with atom_text_section.
54309 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54310 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54312 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54313 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54315 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54316 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54317 already be defined. Change to take two parameters and don't assign
54318 result to variable. Adjust all users.
54319 Define INTERNAL_GETTIME if not already defined.
54320 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54323 HAVE_CLOCK_GETTIME_VSYSCALL.
54324 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54327 gettimeofday vsyscall, just use time.
54329 2011-09-06 Andreas Schwab <schwab@redhat.com>
54331 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54334 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54336 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54338 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54340 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54342 syscall if possible.
54344 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54346 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54347 e_ident. Don't pass to find_mapsXX.
54348 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54350 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54353 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54354 * sysdeps/x86_64/multiarch/strchr.S: Update.
54355 Check bit_slow_BSF bit.
54356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54357 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54360 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54363 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54365 (tryshell): Define.
54366 (__spawni): Change last parameter to be flag. Test
54367 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54368 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54369 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54370 * posix/spawni.c: Likewise.
54371 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54372 * posix/spawnp.c: Likewise. Change normal version to use
54373 SPAWN_XFLAGS_USE_PATH.
54374 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54375 SPAWN_XFLAGS_TRY_SHELL.
54378 * posix/glob.h: Remove gcc 1.x support.
54381 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54383 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54386 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54388 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54389 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54390 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54392 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54393 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54395 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54397 * sysdeps/x86_64/wcscmp.S: New file.
54399 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54400 wcscmp-c wcscmp-sse2
54401 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54402 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54403 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54404 * wcsmbs/wcscmp.c: Allow renaming.
54406 2011-09-05 David S. Miller <davem@davemloft.net>
54408 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54409 stack slot, rather than the struct return pointer slot.
54410 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54411 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54413 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54415 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54417 * po/ja.po: Update from translation team.
54420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54421 kernel in 64-bit binaries.
54423 2011-09-01 David S. Miller <davem@davemloft.net>
54425 * elf/elf.h (HWCAP_SPARC_*): Move to..
54426 * sysdeps/sparc/sysdep.h: this new file and add new values.
54427 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54428 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54429 _DL_HWCAP_COUNT to 24.
54430 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54432 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54433 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54434 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54436 instead of magic constants.
54437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54439 2011-08-31 David S. Miller <davem@davemloft.net>
54441 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54443 Reimplement to do errno handling inline.
54444 (SYSCALL_ERROR_HANDLER): New macro.
54445 (__SYSCALL_STRING): Do not do errno handling in asm.
54446 (__CLONE_SYSCALL_STRING): Delete.
54447 (__INTERNAL_SYSCALL_STRING): Delete.
54448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54449 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54450 (PSEUDO): Reimplement to do errno handling inline.
54451 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54452 (SYSCALL_ERROR_HANDLER): New macro.
54453 (__SYSCALL_STRING): Do not do errno handling in asm.
54454 (__CLONE_SYSCALL_STRING): Delete.
54455 (__INTERNAL_SYSCALL_STRING): Delete.
54456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54457 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54459 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54460 (inline_syscall*): Add 'err' argument.
54461 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54462 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54463 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54464 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54466 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54467 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54469 2011-08-30 Andreas Schwab <schwab@redhat.com>
54471 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54473 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54475 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54478 2011-08-24 David S. Miller <davem@davemloft.net>
54480 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54482 2011-08-24 Andreas Schwab <schwab@redhat.com>
54484 * elf/Makefile: Add rules to build and run unload8 test.
54485 * elf/unload8.c: New file.
54486 * elf/unload8mod1.c: New file.
54487 * elf/unload8mod1x.c: New file.
54488 * elf/unload8mod2.c: New file.
54489 * elf/unload8mod3.c: New file.
54491 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54494 2011-08-23 David S. Miller <davem@davemloft.net>
54496 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54497 subtract stack bias.
54498 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54499 %sp not %fp in calculations.
54500 (_JMPBUF_UNWINDS_ADJ): Likewise.
54502 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54503 (aio_suspend): Call it to force an exception region around the
54504 AIO_MISC_WAIT() invocation.
54506 2011-08-23 Andreas Schwab <schwab@redhat.com>
54508 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54511 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54513 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54515 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54516 and <dl-machine.h>.
54517 (Elf64_FuncDesc): Remove.
54519 2011-08-22 David S. Miller <davem@davemloft.net>
54521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54522 sigaltstack check, add missing cfi directives.
54523 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54524 missing cfi directives, and sigaltstack handling.
54526 2011-08-16 Andreas Schwab <schwab@redhat.com>
54529 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54530 object is seen twice.
54531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54533 * elf/Makefile (distribute): Add tst-initorder2.c.
54534 (tests): Add tst-initorder2.
54535 (modules-names): Add tst-initorder2a tst-initorder2b
54536 tst-initorder2c tst-initorder2d. Add rules to build them.
54537 ($(objpfx)tst-initorder2.out): New rule.
54538 * elf/tst-initorder2.c: New file.
54539 * elf/tst-initorder2.exp: New file.
54541 2011-08-22 Andreas Schwab <schwab@redhat.com>
54543 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54545 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54546 dependencies back to end of function.
54548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54549 $(elfobjdir)/ld.so.
54551 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54554 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54556 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54557 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54558 of __vdso_gettimeofday.
54559 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54560 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54562 (_libc_vdso_platform_setup): Remove initialization of
54563 __vdso_gettimeofday and __vdso_time.
54565 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54567 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54568 and fgetc_unlocked.
54569 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54572 * elf/dl-open.c (add_to_global): Report additions to the global scope
54573 for LD_DEBUG=scopes.
54574 (dl_open_worker): Also print scope of newly loaded dependencies.
54575 (_dl_show_scope): Indicate if there is no scope.
54578 * stdio-common/Makefile (tests): Add bug24.
54579 * stdio-common/bug24.c: New file.
54581 2011-08-19 Andreas Jaeger <aj@suse.de>
54584 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54585 non-existant file when using close-on-exec mode.
54587 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54590 the very first instruction.
54592 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54593 the CFI state in the end.
54594 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54595 inclusion of dl-trampoline.h.
54596 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54598 2011-08-19 Andreas Schwab <schwab@redhat.com>
54600 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54601 expectations for long double.
54603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54604 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54606 2011-08-14 David S. Miller <davem@davemloft.net>
54608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54609 artificual limit depends upon the system page size.
54611 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54613 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54614 * resolv/Makefile: Define CFLAGS-libresolv.
54616 2011-08-17 Andreas Schwab <schwab@redhat.com>
54618 * nss/makedb.c (compute_tables): Make variables used in nested
54621 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54623 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54624 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54625 if buffer was too small.
54627 * elf/pldd.c (main): Attach to all threads in the process.
54628 Rewrite /proc handling to use *at functions.
54630 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54632 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54633 specifies first scope to show.
54634 (dl_open_worker): Update callers. Move printing scope of new
54635 object to before the relocation.
54636 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54637 * sysdeps/generic/ldsodefs.h: Update declaration.
54639 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54640 string for the scope number.
54642 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54644 * nscd/servicescache.c (cache_addserv): Make sure written is always
54647 2011-08-14 Roland McGrath <roland@hack.frob.com>
54649 * sysdeps/i386/i486/bits/atomic.h
54650 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54651 statement expression, so as to suppress "set but not used" warning.
54652 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54654 * string/strncat.c (STRNCAT): Use prototype definition.
54656 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54657 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54659 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54660 (localedef-modules): Add localedef.
54661 (locale-modules): Add locale.
54663 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54664 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54665 to avoid a warning.
54667 2011-08-14 David S. Miller <davem@davemloft.net>
54669 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54670 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54672 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54674 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54675 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54676 * elf/rtld.c (dl_main): Set l_name of vDSO.
54677 Call _dl_show_scope when DL_DEBUG_SCOPES.
54678 (process_dl_debug): Recognize scopes flag and also set it for all.
54679 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54680 Declare _dl_show_scope.
54682 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54683 (do_dlopen): Pass caller_dlopen to dl_open.
54684 (__libc_dlopen_mode): Initialize caller_dlopen.
54686 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54687 of libc. Make tolower call locale-independent. Optimize a bit by
54688 using isdigit instead of isalnum.
54689 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54691 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54693 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54694 was a dependency or dynamically loaded.
54696 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54698 * intl/l10nflist.c: Allow architecture-specific pop function.
54699 * sysdeps/x86_64/l10nflist.c: New file.
54701 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54704 2011-08-10 Andreas Schwab <schwab@redhat.com>
54706 * include/dirent.h: Add libc_hidden_proto for scandirat and
54707 scandirat64. Don't declare __scandirat64.
54708 * dirent/scandirat.c: Add libc_hidden_def.
54709 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54710 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54712 2011-08-10 David S. Miller <davem@davemloft.net>
54714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54717 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54720 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54722 * Versions.def [libc]: Add GLIBC_2.15.
54723 * dirent/Makefile (routines): Add scandirat and scandirat64.
54724 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54726 * dirent/dirent.h: Declare scandirat and scandirat64.
54727 * dirent/scandirat.c: New file.
54728 * dirent/scandirat64.c: New file.
54729 * sysdeps/wordsize-64/scandirat.c: New file.
54730 * sysdeps/wordsize-64/scandirat64.c: New file.
54731 * dirent/opendir.c: Define opendirat.
54732 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54734 * dirent/scandir64.c: Adjust for scandir.c change.
54735 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54736 __scandirat64, and __scandir_cancel_handler.
54737 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54738 additional parameter and use openat instead of open (outside of ld.so).
54739 Add new __opendir as wrapper around __opendirat.
54740 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54741 here without requiring old scandirat implementation.
54743 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54745 * dirent/scandir.c (cancel_handler): Renamed to
54746 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54747 defined. Adjust users.
54748 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54749 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54751 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54753 * string/test-string.h (IMPL): Use __STRING to expand name and then
54756 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54759 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54761 * string/Makefile: Update.
54762 (strop-tests): Append strncat.
54763 * string/test-wcscmp.c: New file.
54764 New comprehensive test for wcscmp.
54765 * string/test-strcmp.c: Update.
54766 (WIDE): New define.
54768 2011-07-22 Andreas Schwab <schwab@redhat.com>
54770 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54773 2011-07-26 Andreas Schwab <schwab@redhat.com>
54775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54776 encoding to ACE if AI_IDN.
54778 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54781 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54783 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54786 Fix overflow bug in strncat.
54787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54789 * string/test-strncat.c: Update.
54790 Add new tests for checking overflow bugs.
54792 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54795 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54796 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54797 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54798 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54799 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54800 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54801 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54802 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54805 (USE_AS_STRCAT): Define.
54806 Add strcat and strncat support.
54807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54809 2011-07-25 Andreas Schwab <schwab@redhat.com>
54811 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54812 __n bigger than INT_MAX+1.
54813 (__strncmp_g): Likewise.
54815 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54817 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54818 * libio/stido.h: Likewise.
54820 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54825 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54827 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54828 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54832 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54837 (_dl_x86_64_save_sse): Likewise.
54839 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54843 (_dl_x86_64_save_sse): Likewise.
54845 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54847 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54849 2011-07-21 Andreas Schwab <schwab@redhat.com>
54851 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54853 (_dl_x86_64_save_sse): Use correct AVX check.
54855 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54858 bug in strncpy/strncat.
54859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54861 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54863 * string/tester.c (test_strcat): Add tests for different alignments
54864 of source and destination.
54865 (test_strncat): Likewise.
54867 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54870 * posix/glob.c (glob): Check passed in values before using them in
54871 expressions to avoid some overflows.
54872 (glob_in_dir): Likewise.
54875 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54876 check for AVX enablement so that we don't crash with old kernels and
54878 * elf/tst-audit4.c: Add same checks here.
54879 * elf/tst-audit6.c: Likewise.
54881 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54883 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54885 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54887 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54889 * po/cs.po: Update from translation team.
54890 * po/bg.po: Likewise.
54892 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54894 * misc/sys/cdefs.h: Add support for const attribute.
54895 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54896 to gnu_dev_{major,minor,makedev} functions.
54898 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54900 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54902 2011-07-20 Andreas Schwab <schwab@redhat.com>
54904 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54907 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54909 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54910 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54911 register in order to avoid conflicts with the soft frame pointer
54912 being held in r11 when necessary.
54913 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54914 (INTERNAL_VSYSCALL_NCS): Likewise.
54916 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54918 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54919 * elf/dl-fini.c (_dl_fini): Adjust caller.
54920 * elf/dl-close.c (_dl_close_worker): Likewise.
54921 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54923 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54925 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54926 "aux_cache->nlibs < 0".
54928 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54929 in the reload-count case.
54931 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54934 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54935 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54936 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54937 * sysdeps/x86_64/multiarch/strcat.S: New file.
54938 * sysdeps/x86_64/multiarch/strncat.S: New file.
54939 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54940 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54941 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54942 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54944 (USE_AS_STRCAT): Define.
54945 Add strcat and strncat support.
54946 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54947 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54948 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54949 * string/strncat.c: Update.
54950 (USE_AS_STRNCAT): Define.
54951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54952 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54954 * sysdeps/x86_64/multiarch/init-arch.h
54955 (bit_Prefer_PMINUB_for_stringop): New.
54956 (index_Prefer_PMINUB_for_stringop): Likewise.
54957 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54958 bit_Prefer_PMINUB_for_stringop.
54960 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54962 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54964 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54965 of casting of buffer.
54966 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54967 buffer32 and buffer64.
54968 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54969 writes instead of casting of buffer.
54970 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54972 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54975 2011-07-19 Andreas Schwab <schwab@redhat.com>
54977 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54979 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54981 * nscd/nscd.c (termination_handler): Don't do anything for a database
54982 if it has not yet been initialized.
54984 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54986 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54988 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54990 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54992 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54994 * po/nl.po: Update from translation team.
54995 * po/sv.po: Likewise.
54997 2011-07-16 Roland McGrath <roland@hack.frob.com>
54999 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55000 now disallowed by GCC.
55002 * configure.in (use-default-link): Default to yes if a test -shared
55003 link meets our qualifications.
55004 * configure: Regenerated.
55006 * config.make.in (output-format): New variable.
55007 * configure.in: Check for ld --print-output-format support.
55008 * configure: Regenerated.
55009 * Makerules ($(common-objpfx)format.lds)
55010 [$(output-format) != unknown]: Just use $(output-format),
55011 instead of the linker-script munging.
55013 2011-07-14 Roland McGrath <roland@hack.frob.com>
55015 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55016 of $(common-objpfx)shlib.lds.
55017 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55019 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55020 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55022 * configure.in (-z relro check): Adjust test code to add a large
55023 writable data section after it.
55024 * configure: Regenerated.
55026 2011-07-11 Roland McGrath <roland@hack.frob.com>
55028 * configure.in (-z relro check): Fix test code to make the variable
55030 * configure: Regenerated.
55032 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55034 * nscd/nscd.h (struct traced_file): Define.
55035 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55036 elements. Add traced_files.
55037 (inotify_fd): Declare.
55038 (register_traced_file): Declare.
55039 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55040 (inotify_fd): Export.
55041 (resolv_conf_descr): Remove.
55042 (nscd_init): Move inotify descriptor creation to main.
55043 Don't register files for notification here.
55044 (register_traced_file): New function.
55045 (invalidate_cache): Don't use reset_res to determine whether to call
55046 res_init, go through the list of registered files.
55047 (main_loop_poll): The inotify descriptors are now stored in the
55048 structures for the traced files.
55049 (main_loop_epoll): Likewise
55050 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55051 to __nss_disable_nscd.
55052 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55053 for a database anymore. Check the records for all the registered
55055 * nss/Makefile (libnss_files-routines): Add files-init.
55056 (libnss_db-routines): Add db-init.
55057 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55058 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55059 * nss/nss_db/db-init.c: New file.
55060 * nss/nss_files/files-init.c: New file.
55061 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55062 __nss_lookup_function.
55063 (__nss_lookup_function): Call nss_load_library.
55064 (nss_load_all_libraries): New function.
55065 (__nss_disable_nscd): Take parameter with callback function for files
55066 to register. Set is_nscd. Load all the DSOs for the NSS modules
55067 used for the cached services.
55068 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55069 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55070 options for features to all the files in nscd.
55072 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55074 2011-07-10 Roland McGrath <roland@hack.frob.com>
55076 * csu/elf-init.c (__libc_csu_init): Comment typo.
55078 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55080 * po/pl.po: Update from translation team.
55081 * po/ja.po: Likewise.
55082 * po/ru.po: Likewise.
55083 * po/ko.po: Likewise.
55084 * po/fr.po: Likewise.
55086 2011-07-09 Roland McGrath <roland@hack.frob.com>
55088 * configure.in (.ctors/.dtors header and trailer check):
55089 Use an empirical test on a built program.
55090 * configure: Regenerated.
55092 * configure.in (-z relro check): Use an empirical test on a built DSO.
55093 Detect, but do not require, on ia64.
55094 * configure: Regenerated.
55096 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55097 Update tests that use readelf to use $READELF instead.
55098 * configure: Regenerated.
55100 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55102 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55103 if the result is not used.
55105 2011-07-05 Andreas Jaeger <aj@suse.de>
55108 * stdlib/tst-strtod.c: Add testcase.
55110 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55112 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55113 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55114 The latter has a higher limit. Take additional parameter to pass to
55116 (__pathconf): Pass file to __statfs_link_max.
55117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55119 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55123 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55124 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55126 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55127 (__statfs_filesize_max): Likewise.
55128 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55130 2011-07-05 Andreas Jaeger <aj@suse.de>
55132 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55134 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55136 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55138 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55141 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55143 * Makefile (strop-tests): Add strncat.
55144 * string/test-strncat.c: New file.
55146 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55148 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55150 2011-06-21 Andreas Jaeger <aj@suse.de>
55152 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55153 Copy rule from iconvdata/Makefile.
55155 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55158 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55159 but no long options are defined, just return 'W'.
55161 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55164 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55166 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55168 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55170 (innetgr): Likewise.
55172 2011-07-05 Roland McGrath <roland@hack.frob.com>
55174 * config.make.in (install_root): Default to $(DESTDIR).
55176 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55180 2011-07-02 Roland McGrath <roland@hack.frob.com>
55182 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55184 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55185 containing directory rather than embedding absolute directory names.
55187 * scripts/check-local-headers.sh: Rewritten using awk.
55188 Match by word, not by line. Print error messages for matches.
55189 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55191 * Makerules [shlib-lds-flags empty]:
55192 ($(common-objpfx)libc_pic.opts): New target.
55193 ($(common-objpfx)libc_pic.os.clean): New target.
55194 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55196 * config.make.in (OBJCOPY): New variable.
55197 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55198 * configure: Regenerated.
55200 * config.make.in (use-default-link): New variable.
55201 * configure.in (use_default_link): Grok --with-default-link to set it.
55202 * configure: Regenerated.
55203 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55204 (shlib-lds, shlib-lds-flags): Define to empty.
55206 * Makerules (shlib-lds): New variable.
55207 (shlib-lds-flags): New variable.
55208 (build-shlib, build-moduile, build-module-asneeded): Use it.
55209 ($(common-objpfx)libc.so): Use $(shlib-lds).
55210 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55211 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55213 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55214 DT_FLAGS/DT_FLAGS_1 with zero flags.
55216 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55217 linker script munging.
55219 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55221 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55223 * crypt/sha512.c (sha512_process_block): Perform total addition using
55224 128-bit if possible.
55225 (__sha512_finish_ctx): Likewise.
55226 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55228 * crypt/sha256.c (SWAP64): Define.
55229 (sha256_process_block): Perform total addition using 64-bit if
55231 (__sha256_finish_ctx): Likewise.
55233 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55235 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55237 * nscd/hstcache.c (cache_addhst): Likewise.
55238 * nscd/grpcache.c (cache_addgr): Likewise.
55239 * nscd/aicache.c (addhstaiX): Likewise
55240 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55242 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55244 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55246 * nscd/hstcache.c (cache_addhst): Likewise.
55247 * nscd/grpcache.c (cache_addgr): Likewise.
55248 * nscd/aicache.c (addhstaiX): Likewise
55250 2011-07-01 Andreas Schwab <schwab@redhat.com>
55252 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55253 domain only when needed.
55255 2011-06-30 Andreas Schwab <schwab@redhat.com>
55257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55258 is always restored.
55260 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55262 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55263 are re-adding the entry.
55264 * nscd/servicescache.c (cache_addserv): Likewise.
55266 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55268 * sysdeps/generic/dl-irel.h: fix protection against multiple
55270 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55272 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55275 * malloc/memusage.sh: Fix quoting in message.
55276 * debug/xtrace.sh: Likewise.
55278 * configure.in: Remove support for --experimental-malloc option, make
55280 * config.make.in: Likewise.
55281 * malloc/Makefile: Likewise.
55283 2011-06-27 Andreas Schwab <schwab@redhat.com>
55285 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55286 two-byte characters.
55288 2011-06-27 Roland McGrath <roland@hack.frob.com>
55290 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55291 AC_CACHE_CHECK invocation.
55292 * configure: Regenerated.
55294 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55296 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55299 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55300 bit from old_res_options.
55302 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55304 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55305 value type for setfct.
55307 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55309 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55310 __gettimeofday instead of gettimeofday.
55312 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55314 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55316 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55320 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55323 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55326 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55327 strcpy-sse2-unaligned strncpy-sse2-unaligned
55328 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55329 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55330 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55331 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55332 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55333 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55334 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55335 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55336 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55337 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55338 (STRCPY): Support SSE2 and SSSE3 versions.
55340 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55343 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55344 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55345 kernels which artificially limit size of requests.
55347 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55350 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55351 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55352 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55353 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55354 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55355 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55356 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55358 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55359 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55360 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55361 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55362 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55363 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55365 Enable unaligned load optimization for Intel Core i3, i5 and i7
55367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55369 (index_Fast_Unaligned_Load): Define.
55370 (HAS_FAST_UNALIGNED_LOAD): Define.
55372 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55374 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55376 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55380 until it is clear that the information is realy needed.
55381 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55383 2011-06-22 Andreas Schwab <schwab@redhat.com>
55385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55387 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55390 /sys/devices/system/cpu/online if it is usable.
55392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55393 reading the information from the /proc filesystem to once a second.
55395 2011-06-21 Andreas Jaeger <aj@suse.de>
55397 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55398 NULL after inclusion of kernel headers.
55400 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55402 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55403 calls to internal_setent.
55406 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55407 addresses using gethostbyname4_r ignore IPv4 addresses.
55409 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55410 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55412 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55414 2011-06-20 David S. Miller <davem@davemloft.net>
55416 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55418 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55420 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55421 (elf_irel): Use it.
55422 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55423 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55424 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55425 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55426 * sysdeps/x86_64/dl-irel.h: Likewise.
55428 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55429 * elf/dl-sym.c: Likewise.
55431 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55433 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55434 need to dereference resplen2.
55436 2011-06-14 Andreas Schwab <schwab@redhat.com>
55438 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55440 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55442 * Makeconfig: Define vardbdir and inst_vardbdir.
55443 * nss/Makefile: Add rules to install db-Makefile.
55445 * nss/nss_db/db-XXX.c: Cleanup.
55447 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55448 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55450 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55451 * nss/makedb.c: Implement -g option to specify that value strings
55452 are generated and should not be added to table iterated over for
55454 * nss/nss_db/db-initgroups.c: New file.
55456 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55459 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55460 (internal_getgrouplist): Adjust to name change.
55461 Update use_initgroups_entry if this is not the first call.
55462 * nss/databases.def: Add initgroups entry.
55464 * nss/makedb.c (compute_tables): Check result of multiple hash table
55465 sizes to minimize maximum chain length.
55467 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55469 * Versions.def: Add entry for libnss_db.
55470 * shlib-versions: Likewise.
55471 * nss/Makefile: Add rules to build libnss_db.
55472 * nss/Versions: Add libnss_db information. Organize libnss_files
55474 * nss/db-Makefile: Add gshadow support. Change rules for the new
55475 makedb progra. Some minor improvements to generate smaller files.
55476 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55478 * nss/makedb.c: ...here.
55479 Improve database format to be smaller and require less memory at
55481 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55483 * nss/nss_db/db-netgrp.c: Likewise.
55484 * nss/nss_db/db-open.c: Likewise.
55485 * nss/nss_files/flies-XXX.x: Adjust comments.
55486 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55487 * nss/nss_files/files-grp.c: Likewise.
55488 * nss/nss_files/files-hosts.c: Likewise.
55489 * nss/nss_files/files-network.c: Likewise.
55490 * nss/nss_files/files-proto.c: Likewise.
55491 * nss/nss_files/files-pwd.c: Likewise.
55492 * nss/nss_files/files-rpc.c: Likewise.
55493 * nss/nss_files/files-service.c: Likewise.
55494 * nss/nss_files/files-sgrp.c: Likewise.
55495 * nss/nss_files/files-spwd.c: Likewise.
55496 * nss/nss_db/db-alias.c: Removed.
55497 * nss/nss_db/dummy-db.h: Removed.
55499 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55501 * nss/makedb.c: Rewritten to not use database library.
55502 * nss/Makefile: Update to build new makedb program.
55504 2011-06-14 Andreas Jaeger <aj@suse.de>
55506 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55507 memset declaration.
55509 2011-06-10 Andreas Schwab <schwab@redhat.com>
55511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55514 2011-06-10 Roland McGrath <roland@hack.frob.com>
55516 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55517 * elf/Makefile ($(objpfx)ld.so): Likewise.
55519 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55520 Don't list ld.so twice in dependencies.
55522 * posix/bug-regex31.c: Include <stdlib.h>.
55524 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55526 * nis/nss_compat/compat-spwd.c
55527 (getspent_next_nss_netgr): Remove unused variable.
55528 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55530 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55531 nonmembers" output to use the right array.
55533 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55535 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55537 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55538 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55539 * catgets/gencat.c (read_input_file): Likewise.
55540 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55542 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55543 variable definition inside #if's controlling its use.
55545 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55547 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55549 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55551 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55554 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55556 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55557 * configure: Regenerated.
55559 * Makerules: Revert last change.
55560 * elf/Makefile: Likewise.
55562 2011-06-09 Roland McGrath <roland@hack.frob.com>
55564 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55565 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55566 (reloc-link): Likewise.
55568 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55570 * elf/Makefile: Add rules to build pldd.
55571 * elf/pldd.c: New file.
55572 * elf/pldd-xx.c: New file.
55574 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55576 * version.h: Update for 2.15 development version.
55578 2011-06-07 David S. Miller <davem@davemloft.net>
55580 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55583 elf_machine_lazy_rel): Likewise.
55584 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55585 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55586 elf_machine_lazy_rel): Likewise.
55587 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55588 dl_hwcap via passed in argument.
55589 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55592 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55594 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55596 2011-06-06 Roland McGrath <roland@hack.frob.com>
55599 * manual/fdl-1.1.texi: New file, verbatim from:
55600 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55601 * manual/lgpl-2.1.texi: New file, verbatim from:
55602 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55603 * manual/Makefile (licenses): New variable, list those new file names.
55605 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55607 * manual/fdl.texi: File removed.
55608 * manual/lesser.texi: File removed.
55609 * manual/libc.texinfo (Copying, Documentation License):
55610 Use new @include file names, put @appendix directive before @include.
55612 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55615 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55616 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55617 (mq_open): Add __NTH.
55619 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55622 Assume Intel Core i3/i5/i7 processor if AVX is available.
55624 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55629 2011-05-31 Andreas Schwab <schwab@redhat.com>
55631 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55632 memory. Use alloca_account. Fix memory leak when retrying.
55634 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55636 * version.h (RELEASE): Bump for 2.14 release.
55637 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55639 * config.make.in (RANLIB): Remove entry.
55641 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55643 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55644 (libc.pot): Work around missing support for .ksh extension in xgettext.
55647 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55648 if both request failed.
55649 (send_dg): In case of server errors clear resplen or *resplen2.
55652 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55653 when there are multiple maps.
55654 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55655 (_dl_fini): Remove test here.
55657 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55659 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55662 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55663 bit from old_res_options.
55664 (gaih_inet): Likewise.
55667 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55670 * resolv/res_init.c (res_setoptions): Make the code more compact.
55673 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55677 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55679 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55682 * malloc/malloc.h: Declare malloc hook variables as volatile.
55684 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55688 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55689 raise in the comment.
55690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55692 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55694 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55697 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55698 grow the buffers more if it already has to be sufficient.
55699 (build_wcs_upper_buffer): Likewise.
55700 * posix/regexec.c (check_matching): Likewise.
55701 (clean_state_log_if_needed): Likewise.
55702 (extend_buffers): Don't enlarge buffers beyond size of the input
55704 Patches mostly by Emil Wojak <emil@wojak.eu>.
55705 * posix/bug-regex32.c: New file.
55706 * posix/Makefile (tests): Add bug-regex32.
55708 * locale/findlocale.c (_nl_find_locale): Return right away if
55709 _nl_explode_name failed.
55710 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55712 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55714 * debug/xtrace.sh: Unify messages.
55715 * malloc/memusage.sh: Likewise.
55718 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55719 time symbol from vDSO. Substitute with vsyscall if not available.
55720 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55723 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55724 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55725 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55726 Add sendmmsg and internal_sendmmsg.
55727 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55728 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55729 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55731 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55732 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55735 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55738 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55739 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55745 * iconvdata/Makefile (tests): Add bug-iconv9.
55746 * iconvdata/bug-iconv9.c: New file.
55748 2011-05-27 Andreas Schwab <schwab@redhat.com>
55751 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55753 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55756 (struct user_regs_struct): Change intcs field back to cs.
55758 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55760 * po/ja.po: Update from translation team.
55762 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55765 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55766 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55768 2011-05-20 Andreas Schwab <schwab@redhat.com>
55770 * stdlib/longlong.h: Update from GCC.
55772 2011-05-23 Andreas Schwab <schwab@redhat.com>
55774 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55776 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55777 Add parameter name.
55778 (__sysconf): Pass it down.
55780 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55783 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55786 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55787 add in in __libc_use_alloca calls. Adjust callers.
55788 (glob): Use malloc in some situations.
55790 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55791 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55794 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55796 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55797 and CLOCK_BOOTTIME_ALARM.
55800 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55803 * string/_strerror.c (__strerror_r): Print negative errors as signed
55807 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55808 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55809 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55811 * configure.in: Fix typo in redirection and correct removal of test
55812 files in two cases.
55815 * locale/setlocale.c (new_composite_name): Fix test to check for
55816 identical name of all categories.
55819 * libio/filedoalloc.c (local_isatty): New function.
55820 (_IO_file_doallocate): Use local_isatty.
55821 * stdio-common/perror.c (perror): In case a new stream is used
55822 forward the stream error.
55823 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55826 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55831 * include/alloca.h (extend_alloca_account): Define.
55834 * posix/regex.h: Fix comments with documentation of user-accessible
55835 fields after compilation and describe correct free'ing of pattern
55836 after re_compile_pattern.
55837 Patch by Reuben Thomas <rrt@sc3d.org>.
55839 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55841 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55842 and -mno-altivec to prevent the compiler from using Altivec and/or
55843 VSX instructions when the corresponding registers are not available.
55845 2011-05-19 Andreas Schwab <schwab@redhat.com>
55847 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55849 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55851 * libio/freopen.c (freopen): Use __dup2, not dup2.
55852 * libio/freopen64.c (freopen64): Likewise.
55854 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55857 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55858 * math/Makefile (tests): Add test-powl.
55859 (CFLAGS-test-powl.c): Define.
55860 * math/test-powl.c: New file.
55862 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55864 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55866 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55869 * iconvdata/gb18030.c: Update to GB18020-2005.
55871 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55873 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55874 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55875 Patch by Aharon Robbins <arnold@skeeve.com>.
55878 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55882 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55883 through underflows.
55886 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55887 point to strings before performing equality test for error_one_per_line
55891 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55894 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55895 (struct user_fpregs_struct): Avoid __uint*_t types.
55898 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55899 symbol info. Use it instead of calling _dl_addr locally.
55900 (lock_and_info): New function.
55901 (tr_freehook): Call lock_and_info and pass symbol info as additional
55902 parameter to tr_where.
55903 (tr_mallochook): Likewise.
55904 (tr_reallochook): Likewise.
55905 (tr_memalignhook): Likewise.
55907 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55908 used and couldn't be at all thread-safe.
55910 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55912 * libio/freopen.c (freopen): Don't close old file descriptor
55913 before the new one is opened. Instead dup the new file descriptor
55914 to the old one after the new stream is created.
55915 * libio/freopen64.c (freopen64): Likewise.
55916 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55917 * libio/fileops.c (_IO_new_file_close_it): Handle new
55918 _IO_FLAGS2_NOCLOSE flag.
55919 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55920 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55921 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55922 _IO_FLAGS2_NOCLOSE flag.
55923 * include/unistd.h: Add hidden_proto for dup3.
55924 Define __have_dup3.
55925 * io/dup3.c: Define hidden symbol.
55926 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55929 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55930 when an incomplete long option is used.
55931 * posix/tst-getopt_long1.c: New file.
55932 * posix/Makefile (tests): Add tst-getopt_long1.
55935 * scripts/config.guess: Update from autoconf-2.68.
55936 * scripts/config.sub: Likewise.
55939 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55941 (has_cpuclock): ...this. New function.
55942 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55943 macro here based on has_cpuclock code.
55946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55947 First byte (not low byte) is now always NUL.
55948 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55951 Use non-cancelable interfaces.
55954 * locale/iso-639.def: Add entry for Sorani.
55957 * include/stdlib.h: Move include protection to the right place.
55958 Define abort_msg_s. Declare __abort_msg with it.
55959 * stdlib/abort.c (__abort_msg): Adjust type.
55960 * assert/assert.c (__assert_fail_base): New function. Majority
55961 of code from __assert_fail. Allocate memory for __abort_msg with
55963 (__assert_fail): Now call __assert_fail_base.
55964 * assert/assert-perr.c: Remove bulk of implementation. Use
55965 __assert_fail_base.
55966 * include/assert.hL Declare __assert_fail_base.
55967 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55969 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55971 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55975 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55976 until all modules are registered in the DTV.
55977 * elf/Makefile: Add rules to build and run tst-tls19.
55978 * elf/tst-tls19.c: New file.
55979 * elf/tst-tls19mod1.c: New file.
55980 * elf/tst-tls19mod2.c: New file.
55981 * elf/tst-tls19mod3.c: New file.
55982 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55985 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55989 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55990 two-byte sequence errors.
55991 * iconvdata/Makefile (tests): Add bug-iconv8.
55992 * iconvdata/bug-iconv8.c: New file.
55995 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55998 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56001 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56002 (dummy_getcfa): New function.
56003 (init): Get _Unwind_GetCFA address, use dummy if not found.
56004 (backtrace_helper): In recursion check, also check whether CFA changes.
56005 (__backtrace): Completely initialize arg.
56007 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56008 storing incomplete byte sequence in state object. Avoid testing for
56009 guaranteed too small input if we know there is enough data available.
56011 2011-05-11 Andreas Schwab <schwab@redhat.com>
56013 * Makeconfig (+link-pie): Indent.
56014 * Rules (binaries-pie): Define if $(have-fpie) and
56016 (binaries-shared): Also filter out $(binaries-pie).
56017 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56018 * nscd/Makefile (others-pie): Add nscd.
56019 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56020 ($(objpfx)nscd): Remove command override.
56021 * login/Makefile (others-pie): Add pt_chown.
56022 ($(objpfx)pt_chown): Remove command override.
56023 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56024 remove command overrides.
56026 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56028 * libio/tst_putwc.c: Fix error messages.
56031 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56032 currently writing and seek to current position when not.
56033 * libio/Makefile (tests): Add bug-fclose1.
56034 * libio/bug-fclose1.c: New file.
56036 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56039 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56040 don't set DF_1_NODELETE here.
56041 (do_lookup_x): When entering new entry test for copy relocation
56042 and if necessary set DF_1_NODELETE flag.
56043 * elf/tst-unique4.cc: New file.
56044 * elf/tst-unique4.h: New file.
56045 * elf/tst-unique4lib.cc: New file.
56046 * elf/Makefile: Add rules to build and run tst-unique4.
56047 Patch by Piotr Bury <pbury@goahead.com>.
56049 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56052 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56055 * misc/mntent_r.c (addmntent): Flush the stream after the output
56058 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56059 (is_trusted_path_normalize): Skip initial colon. Append slash
56060 to empty buffer. Duplicate is_trusted_path code but allow
56061 constructed patch to be prefix.
56062 (is_dst): Allow $ORIGIN followed by /.
56063 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56064 Correct testing of result of is_trusted_path_normalize
56065 (decompose_rpath): Fix warning.
56067 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56070 * grp/initgroups.c (internal_getgrouplist): When we found the service
56071 list through the initgroups entry in nsswitch.conf do not always
56072 continue on a successful lookup. Don't always use the
56073 __nss_group_database value if it is set.
56074 * nss/nsswitch.conf (initgroups): Change action for successful db
56075 lookup to continue for compatibility.
56077 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56080 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56082 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56084 * iconvdata/tst-tables.sh: Likewise.
56085 * iconvdata/cp770.c: New file.
56086 * iconvdata/cp771.c: New file.
56087 * iconvdata/cp772.c: New file.
56088 * iconvdata/cp773.c: New file.
56089 * iconvdata/cp774.c: New file.
56090 * iconvdata/testdata/CP770: New file.
56091 * iconvdata/testdata/CP770..UTF8: New file.
56092 * iconvdata/testdata/CP771: New file.
56093 * iconvdata/testdata/CP771..UTF8: New file.
56094 * iconvdata/testdata/CP772: New file.
56095 * iconvdata/testdata/CP772..UTF8: New file.
56096 * iconvdata/testdata/CP773: New file.
56097 * iconvdata/testdata/CP773..UTF8: New file.
56098 * iconvdata/testdata/CP774: New file.
56099 * iconvdata/testdata/CP774..UTF8: New file.
56101 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56103 * iconvdata/gen-8bit-gap.sh: Likewise.
56104 * iconvdata/gen-8bit.sh: Likewise.
56106 * locale/iso-639.def: Add ary entry.
56109 * locale/C-translit.h.in: Add U20A1 transliteration.
56112 * locale/iso-639.def: Add wae entry.
56113 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56116 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56120 * locale/C-translit.h.in: Add entry for U20B9.
56121 Patch by pravin.d.s@gmail.com.
56123 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56126 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56127 ENAMETOOLONG use generic getcwd.
56128 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56129 in rtld. Use *stat64.
56130 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56131 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56132 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56133 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56134 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56135 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56136 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56137 __fstatat64 macros.
56138 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56139 * dirent/rewinddir.c: Add libc_hidden_def.
56140 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56141 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56143 * include/dirent.h (__alloc_dir): Add flags parameter.
56144 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56145 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56147 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56148 from fdopendir if O_CLOEXEC is already set.
56150 2011-03-15 Alan Modra <amodra@gmail.com>
56152 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56153 l_tls_firstbyte_offset non-zero. Save padding offset in
56154 l_tls_firstbyte_offset for later use.
56155 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56156 freeing static tls block.
56158 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56160 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56161 where #ifdef was intended. The intent is to prevent ARG_MAX from
56162 being defined by the kernel headers.
56164 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56167 * resolv/resolv.h: Define RES_NOTLDQUERY.
56168 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56169 no-tld-query and set RES_NOTLDQUERY.
56170 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56171 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56172 modern BIND to search name as TLD unless forbidden.
56174 2011-05-07 Petr Baudis <pasky@suse.cz>
56175 Ulrich Drepper <drepper@gmail.com>
56178 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56179 (is_trusted_path): ...to here.
56180 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56181 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56182 using is_trusted_path_normalize() in setuid scripts.
56184 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56186 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56187 __BEGIN/__END_DECLS.
56189 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56192 NSS_STATUS_NOTFOUND if no record was found.
56194 2011-05-05 Andreas Schwab <schwab@redhat.com>
56196 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56197 (headers-not-in-tirpc): Remove rpc/netdb.h
56198 * resolv/netdb.h: Revert last change.
56200 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56202 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56203 circular dependency between libgcc.a and libc.a.
56205 2011-05-05 Andreas Schwab <schwab@redhat.com>
56207 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56208 * nis/Makefile: Don't install rpcsvc/*.
56209 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56210 instead of <rpc/types.h>.
56211 (MAXHOSTNAMELEN): Define.
56213 2011-05-03 Andreas Schwab <schwab@redhat.com>
56215 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56217 2011-04-28 Maciej Babinski <mbabinski@google.com>
56220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56221 gethostbyname4_r when IPv6 results are possible.
56223 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56226 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56227 _PC_PIPE_BUF handling.
56229 2011-04-30 Bruno Haible <bruno@clisp.org>
56232 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56233 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56235 * inet/getnameinfo.c (getnameinfo): Likewise.
56237 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56239 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56240 to groups setting in database lookup.
56241 * nss/nsswitch.conf: Add initgroups entry.
56243 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56246 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56248 Patch by Eric Blake <eblake@redhat.com>.
56250 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56252 * sunrpc/Makefile (need-export-routines): Add svc_run.
56253 (routines): Remove svc_run.
56254 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56255 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56256 * sunrpc/svc_run.c (svc_run): Likewise.
56257 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56259 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56262 problem in reallocation in last patch.
56264 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56266 * sunrpc/Makefile: Move inclusion of Rules.
56268 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56270 * nss/nss_files/files-initgroups.c: New file.
56271 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56272 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56273 _nss_files_initgroups_dyn.
56275 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56277 * elf/elf.h (R_ARM_IRELATIVE): Define.
56279 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56281 * po/ru.po: Update from translation team.
56283 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56285 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56288 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56292 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56294 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56295 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56297 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56299 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56301 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56302 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56305 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56308 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56310 * stdlib/bug-getcontext.c: New file.
56311 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56313 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56315 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56316 instructions into .machine "z9-109".
56317 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56318 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56320 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56322 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56323 between environment variables and auxiliary vector.
56325 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56327 * Makefile: Add rules to build linkobj/libc.so.
56328 * include/libc-symbols.h: Define libc_hidden_nolink.
56329 * include/rpc/auth.h: Mark functions which are to be hidden.
56330 * include/rpc/auth_des.h: Likewise.
56331 * include/rpc/auth_unix.h: Likewise.
56332 * include/rpc/clnt.h: Likewise.
56333 * include/rpc/des_crypt.h: Likewise.
56334 * include/rpc/key_prot.h: Likewise.
56335 * include/rpc/pmap_clnt.h: Likewise.
56336 * include/rpc/pmap_prot.h: Likewise.
56337 * include/rpc/pmap_rmt.h: Likewise.
56338 * include/rpc/rpc_msg.h: Likewise.
56339 * include/rpc/svc.h: Likewise.
56340 * include/rpc/svc_auth.h: Likewise.
56341 * include/rpc/xdr.h: Likewise.
56342 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56343 * nss/Makefile: Likewise.
56344 * sunrpc/Makefile: Don't install headers. Build library with normal
56345 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56346 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56347 for the compat linking library. Remove use of INTDEF/INTUSE.
56348 * sunrpc/auth_none.c: Likewise.
56349 * sunrpc/auth_unix.c: Likewise.
56350 * sunrpc/authdes_prot.c: Likewise.
56351 * sunrpc/authuxprot.c: Likewise.
56352 * sunrpc/clnt_gen.c: Likewise.
56353 * sunrpc/clnt_perr.c: Likewise.
56354 * sunrpc/clnt_raw.c: Likewise.
56355 * sunrpc/clnt_simp.c: Likewise.
56356 * sunrpc/clnt_tcp.c: Likewise.
56357 * sunrpc/clnt_udp.c: Likewise.
56358 * sunrpc/clnt_unix.c: Likewise.
56359 * sunrpc/des_crypt.c: Likewise.
56360 * sunrpc/des_soft.c: Likewise.
56361 * sunrpc/get_myaddr.c: Likewise.
56362 * sunrpc/key_call.c: Likewise.
56363 * sunrpc/key_prot.c: Likewise.
56364 * sunrpc/netname.c: Likewise.
56365 * sunrpc/pm_getmaps.c: Likewise.
56366 * sunrpc/pm_getport.c: Likewise.
56367 * sunrpc/pmap_clnt.c: Likewise.
56368 * sunrpc/pmap_prot.c: Likewise.
56369 * sunrpc/pmap_prot2.c: Likewise.
56370 * sunrpc/pmap_rmt.c: Likewise.
56371 * sunrpc/publickey.c: Likewise.
56372 * sunrpc/rpc_cmsg.c: Likewise.
56373 * sunrpc/rpc_common.c: Likewise.
56374 * sunrpc/rpc_dtable.c: Likewise.
56375 * sunrpc/rpc_prot.c: Likewise.
56376 * sunrpc/rpc_thread.c: Likewise.
56377 * sunrpc/rtime.c: Likewise.
56378 * sunrpc/svc.c: Likewise.
56379 * sunrpc/svc_auth.c: Likewise.
56380 * sunrpc/svc_authux.c: Likewise.
56381 * sunrpc/svc_raw.c: Likewise.
56382 * sunrpc/svc_run.c: Likewise.
56383 * sunrpc/svc_simple.c: Likewise.
56384 * sunrpc/svc_tcp.c: Likewise.
56385 * sunrpc/svc_udp.c: Likewise.
56386 * sunrpc/svc_unix.c: Likewise.
56387 * sunrpc/svcauth_des.c: Likewise.
56388 * sunrpc/xcrypt.c: Likewise.
56389 * sunrpc/xdr.c: Likewise.
56390 * sunrpc/xdr_array.c: Likewise.
56391 * sunrpc/xdr_float.c: Likewise.
56392 * sunrpc/xdr_intXX_t.c: Likewise.
56393 * sunrpc/xdr_mem.c: Likewise.
56394 * sunrpc/xdr_rec.c: Likewise.
56395 * sunrpc/xdr_ref.c: Likewise.
56396 * sunrpc/xdr_sizeof.c: Likewise.
56397 * sunrpc/xdr_stdio.c: Likewise.
56399 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56402 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56403 * sysdeps/ia64/dl-tls.h: Likewise.
56404 * sysdeps/powerpc/dl-tls.h: Likewise.
56405 * sysdeps/s390/dl-tls.h: Likewise.
56406 * sysdeps/sh/dl-tls.h: Likewise.
56407 * sysdeps/sparc/dl-tls.h: Likewise.
56408 * sysdeps/x86_64/dl-tls.h: Likewise.
56409 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56411 2011-03-14 Andreas Schwab <schwab@redhat.com>
56413 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56414 rpath element also skip the following colon.
56415 (expand_dynamic_string_token): Add is_path parameter and pass
56416 down to DL_DST_REQUIRED and _dl_dst_substitute.
56417 (decompose_rpath): Call expand_dynamic_string_token with
56418 non-zero is_path. Ignore empty rpaths.
56419 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56422 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56427 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56430 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56431 Patch by Filipe David Manana <fdmanana@apache.org>.
56433 2011-04-07 Andreas Schwab <schwab@redhat.com>
56435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56436 Maintain aligned stack.
56437 (CHECK_RSP): Remove unused macro.
56439 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56441 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56444 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56446 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56448 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56450 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56453 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56454 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56455 * sysdeps/x86_64/memmove.c: New file.
56456 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56457 (memcpy): Renamed to ...
56458 (__new_memcpy): This.
56459 (memcpy): Provide GLIBC_2_14 memcpy.
56460 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56461 (memcpy): Provide GLIBC_2_2_5 memcpy.
56463 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56466 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56468 2011-03-30 Andreas Schwab <schwab@redhat.com>
56470 * misc/syncfs.c: New file.
56471 * misc/Makefile (routines): Add syncfs.
56472 * posix/unistd.h: Declare syncfs.
56473 * sysdeps/unix/syscalls.list: Add syncfs.
56475 2011-04-01 Andreas Schwab <schwab@redhat.com>
56477 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56480 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56484 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56487 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56489 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56491 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56493 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56497 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56498 sync_file_range.c with -fexceptions.
56499 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56500 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56501 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56502 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56503 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56504 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56506 sync_file_range as cancellation point
56507 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56508 now a wrapper around __call_sync_file_range with cancellation handling.
56509 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56511 function name to __call_sync_file_range.
56512 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56513 Add call_sync_file_range.
56515 2011-04-01 Andreas Schwab <schwab@redhat.com>
56517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56520 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56522 * iconv/iconv.h: Fix typo in comment.
56523 * io/fcntl.h: Likewise.
56524 * libio/stdio.h: Likewise.
56525 * posix/spawn.h: Likewise.
56526 * posix/unistd.h: Likewise.
56527 * stdlib/stdlib.h: Likewise.
56528 * time/time.h: Likewise.
56529 * wcsmbs/wchar.h: Likewise.
56531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56532 open_by_handle): Add.
56533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56534 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56535 Augment a few comments.
56536 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56541 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56544 * io/fcntl.h (AT_EMPTY_PATH): Define.
56546 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56548 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56549 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56550 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56552 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56553 * Versions.def: Add GLIBC_2.14.
56554 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56557 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56561 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56563 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56566 * string/test-strncmp.c (do_page_test): New function.
56567 (check2): Likewise.
56568 (test_main): Call check2.
56569 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56571 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56574 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56575 Handle cache information in CPU leaf 4.
56576 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56578 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56581 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56582 character representation.
56583 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56585 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56587 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56588 END(__isnan) to END(__isnanf) to match function entry point/label
56589 EALIGN(__isnanf,...).
56591 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56593 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56595 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56598 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56599 copy from the symbol referenced in the relocation to initialize the
56601 Patch by Piotr Bury <pbury@goahead.com>.
56602 * elf/Makefile: Add rules to build and tst-unique3.
56603 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56604 * elf/tst-unique3.cc: New file.
56605 * elf/tst-unique3.h: New file.
56606 * elf/tst-unique3lib.cc: New file.
56607 * elf/tst-unique3lib2.cc: New file.
56609 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56611 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56613 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56614 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56617 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56619 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56620 to-be-loaded object along a path to loader is ld.so.
56622 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56623 Ulrich Drepper <drepper@gmail.com>
56625 * sysdeps/x86_64/memset.S: After aligning destination, code
56626 branches to different locations depending on the value of
56627 misalignment, when multiarch is enabled. Fix this.
56629 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56631 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56632 Set _x86_64_preferred_memory_instruction for AMD processsors.
56633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56634 Set bit_Prefer_SSE_for_memop for AMD processors.
56636 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56638 * libio/fmemopen.c (fmemopen): Optimize a bit.
56640 2011-03-03 Andreas Schwab <schwab@redhat.com>
56642 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56644 2011-03-03 Roland McGrath <roland@redhat.com>
56646 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56648 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56650 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56651 __bzero_ultra1 instead of __memset_ultra1.
56653 2011-02-23 Andreas Schwab <schwab@redhat.com>
56654 Ulrich Drepper <drepper@gmail.com>
56657 * include/link.h (struct link_map): Add l_orig_initfini.
56658 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56659 returning unsuccessfully.
56660 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56661 close of a file loaded at startup, restore the original l_initfini
56663 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56664 list, store the pointer.
56665 * elf/Makefile ($(objpfx)noload-mem): New rule.
56666 (noload-ENV): Define.
56667 (tests): Add $(objpfx)noload-mem.
56668 * elf/noload.c: Include <memcheck.h>.
56669 (main): Call mtrace. Close all opened handles.
56671 2011-02-17 Andreas Schwab <schwab@redhat.com>
56674 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56675 dependencies are missing.
56677 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56679 Fix __if_freereq crash: Unlike the generic version which uses free,
56681 * sysdeps/mach/hurd/ifreq.h: New file.
56683 2011-01-27 Petr Baudis <pasky@suse.cz>
56684 Ulrich Drepper <drepper@gmail.com>
56687 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56688 to extend_alloca().
56689 * stdio-common/bug23.c: New file.
56690 * stdio-common/Makefile (tests): Add bug23.
56692 2010-09-28 Andreas Schwab <schwab@redhat.com>
56693 Ulrich Drepper <drepper@gmail.com>
56696 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56697 before performing relro protection. At old place add assertion
56698 to make sure nothing changed.
56700 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56701 Glauber de Oliveira Costa <glommer@gmail.com>
56703 * elf/elf.h: Add new ARM TLS relocs.
56705 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56708 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56710 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56712 * sysdeps/wordsize-64/tst-writev.c: New file.
56714 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56716 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56717 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56718 insns in _dl_start to prevent a TOC reference before relocs are
56721 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56724 * Makeconfig: Remove RANLIB definition.
56725 * Makerules: Don't use RANLIB.
56726 * aclocal.m4: Remove ranlib test.
56727 * configure.in: No need to check for ranlib.
56728 * elf/rtld-Rules: Don't use RANLIB.
56730 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56732 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56734 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56735 inclusion protection macro.
56737 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56738 SIGRTMIN and SIGRTMAX and print information in that case only when
56739 SIGRTMIN is defined.
56741 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56743 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56744 arginfo fn returning -1.
56746 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56747 and thousands string is zero terminated.
56749 2011-02-03 Andreas Schwab <schwab@redhat.com>
56751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56752 sysdeps/unix/sysv/linux/bits/socket.h.
56754 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56756 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56757 (__CPU_COUNT): Remove old macros.
56758 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56759 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56760 (__CPU_ALLOC, __CPU_FREE): Add macros.
56761 (__sched_cpualloc, __sched_cpufree): Add declarations.
56763 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56765 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56766 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56767 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56768 (readdhstai): Return value of addhstaiX call.
56769 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56770 (addgrbyX): Return value returned by cache_addgr.
56771 (readdgrbyname): Return value returned by addgrbyX.
56772 (readdgrbygid): Likewise.
56773 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56774 (addpwbyX): Return value returned by cache_addpw.
56775 (readdpwbyname): Return value returned by addhstbyX.
56776 (readdpwbyuid): Likewise.
56777 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56778 (addservbyX): Return value returned by cache_addserv.
56779 (readdservbyname): Return value returned by addservbyX:
56780 (readdservbyport): Likewise.
56781 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56782 (addhstbyX): Return value returned by cache_addhst.
56783 (readdhstbyname): Return value returned by addhstbyX.
56784 (readdhstbyaddr): Likewise.
56785 (readdhstbynamev6): Likewise.
56786 (readdhstbyaddrv6): Likewise.
56787 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56788 (readdinitgroups): Return value returned by addinitgroupsX.
56789 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56790 (prune_cache): Keep track of timeout value of re-added entries.
56791 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56792 * nscd/nscd.h: Adjust prototypes of readd* functions.
56794 2011-02-04 Roland McGrath <roland@redhat.com>
56796 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56797 (nis_stats): Likewise.
56798 * nis/nis_modify.c (nis_modify): Likewise.
56799 * nis/nis_remove.c (nis_remove): Likewise.
56800 * nis/nis_add.c (nis_add): Likewise.
56802 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56804 * posix/fnmatch_loop.c: Add some consts.
56806 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56808 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56811 * config.make.in (config-cflags-novzeroupper): Define.
56812 * configure.in: Substitute libc_cv_cc_novzeroupper.
56813 * elf/Makefile (AVX-CFLAGS): Define.
56814 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56815 (CFLAGS-tst-auditmod4a.c): Likewise.
56816 (CFLAGS-tst-auditmod4b.c): Likewise.
56817 (CFLAGS-tst-auditmod6b.c): Likewise.
56818 (CFLAGS-tst-auditmod6c.c): Likewise.
56819 (CFLAGS-tst-auditmod7b.c): Likewise.
56820 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56822 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56824 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56825 function to the callback.
56826 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56828 2011-02-02 Andreas Schwab <schwab@redhat.com>
56830 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56833 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56836 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56838 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56840 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56843 * elf/Makefile: Add rules to build and run new test.
56844 * elf/tst-initorder.c: New file.
56845 * elf/tst-initorder.exp: New file.
56846 * elf/tst-initordera1.c: New file.
56847 * elf/tst-initordera2.c: New file.
56848 * elf/tst-initordera3.c: New file.
56849 * elf/tst-initordera4.c: New file.
56850 * elf/tst-initorderb1.c: New file.
56851 * elf/tst-initorderb2.c: New file.
56852 * elf/tst-order-a1.c: New file.
56853 * elf/tst-order-a2.c: New file.
56854 * elf/tst-order-a3.c: New file.
56855 * elf/tst-order-a4.c: New file.
56856 * elf/tst-order-b1.c: New file.
56857 * elf/tst-order-b2.c: New file.
56858 * elf/tst-order-main.c: New file.
56859 New test case by George Gensure <werkt0@gmail.com>.
56861 2010-10-01 Andreas Schwab <schwab@redhat.com>
56863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56864 decoding ACE if AI_CANONIDN.
56866 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56868 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56870 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56872 * version.h (RELEASE): Bump for 2.13 release.
56873 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56875 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56879 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56880 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56881 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56883 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56884 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56886 * posix/getconf.c: Update copyright year.
56887 * catgets/gencat.c: Likewise.
56888 * csu/version.c: Likewise.
56889 * debug/catchsegv.sh: Likewise.
56890 * debug/xtrace.sh: Likewise.
56891 * elf/ldconfig.c: Likewise.
56892 * elf/ldd.bash.in: Likewise.
56893 * elf/sprof.c (print_version): Likewise.
56894 * iconv/iconv_prog.c: Likewise.
56895 * iconv/iconvconfig.c: Likewise.
56896 * locale/programs/locale.c: Likewise.
56897 * locale/programs/localedef.c: Likewise.
56898 * malloc/memusage.sh: Likewise.
56899 * malloc/mtrace.pl: Likewise.
56900 * nscd/nscd.c (print_version): Likewise.
56901 * nss/getent.c: Likewise.
56903 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56904 PF_CAIF, and PF_ALG.
56905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56907 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56909 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56910 (modules-names): Use them.
56911 (ifunc-test-modules, ifunc-pie-tests): Define.
56912 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56913 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56914 (test-extras): Likewise.
56915 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56916 $(compile-command.c).
56917 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56918 (all-built-dso): Define.
56919 (check-textrel.out, check-execstack.out): Depend on it.
56921 * configure.in: Don't override --enable-multi-arch.
56923 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56926 * nscd/hstcache.c (tryagain): Define.
56927 (cache_addhst): Return tryagain not notfound for temporary errors.
56928 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56931 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56934 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56935 to make the syscall.
56936 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56939 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56940 and fall back to matching as normal character if the string ends before
56941 the matching ']' is found. This is what POSIX requires.
56942 * posix/testfnm.c: Adjust test result.
56943 * posix/globtest.sh: Adjust test result. Add new test.
56944 * posix/tst-fnmatch.input: Likewise.
56945 * posix/tst-fnmatch2.c: Add new test.
56947 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56949 * elf/Makefile (check-execstack): Revert last change. Depend on
56951 (check-execstack.h): New target.
56952 (generated): Add check-execstack.h.
56953 * elf/check-execstack.c: Include "check-execstack.h".
56954 (main): Revert last change.
56955 (handle_file): Return zero if GNU_STACK is absent and
56956 DEFAULT_STACK_PERMS doesn't include PF_X.
56958 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56960 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56961 in child fails because the descriptor is already closed.
56962 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56963 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56964 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56967 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56971 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56972 temporary buffer used to handle multi lookups locally.
56973 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56975 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56977 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56980 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56982 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56983 alignment for SSE2.
56985 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56988 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56989 characters. When rounding increased number of integer digits recompute
56991 * stdio-common/tst-grouping.c: New file.
56992 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56994 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56996 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56997 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56999 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57001 * bits/select.h: Likewise.
57003 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57005 * po/ja.po: Update from translation team.
57007 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57010 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57011 implementation just like for lxstat, fxstatat, et al.
57013 2010-12-27 Jim Meyering <meyering@redhat.com>
57016 * posix/regexec.c (build_trtable): Return failure indication upon
57017 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57019 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57022 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57023 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57024 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57025 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57028 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57031 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57032 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57034 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57036 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57037 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57038 script has SORT_BY_INIT_PRIORITY.
57039 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57040 NO_CTORS_DTORS_SECTIONS is defined.
57041 * elf/soinit.c: Likewise.
57042 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57043 NO_CTORS_DTORS_SECTIONS is defined.
57044 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57045 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57046 * sysdeps/sh/init-first.c: Likewise.
57047 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57049 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57051 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57052 always use the slow path.
57054 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57056 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57057 similar rule which adds the sysdep directories to the header search in
57058 order to pick up the correct platform stackinfo.h.
57059 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57060 perform test if it is, otherwise return successfully without testing.
57061 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57062 DEFAULT_STACK_PERMS define in stackinfo.h.
57063 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57064 defined in stackinfo.h.
57065 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57066 DEFAULT_STACK_PERMS defined in stackinfo.h.
57067 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57068 * sysdeps/ia64/stackinfo.h: Likewise.
57069 * sysdeps/s390/stackinfo.h: Likewise.
57070 * sysdeps/sh/stackinfo.h: Likewise.
57071 * sysdeps/sparc/stackinfo.h: Likewise.
57072 * sysdeps/x86_64/stackinfo.h: Likewise.
57073 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57074 PF_X for powerpc64. Retain PF_X for powerpc32.
57076 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57078 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57080 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57081 GETDENTS_64BIT_ALIGNED.
57083 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57085 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57087 2010-12-10 Andreas Schwab <schwab@redhat.com>
57089 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57093 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57095 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57096 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57098 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57101 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57104 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57106 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57108 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57110 * po/it.po: Update from translation team.
57112 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57117 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57119 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57121 2010-11-24 Andreas Schwab <schwab@redhat.com>
57123 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57125 (gaih_getanswer_slice): Likewise.
57127 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57131 2010-05-31 Petr Baudis <pasky@suse.cz>
57134 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57135 silently even in the chroot mode.
57137 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57139 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57140 last patch a bit. Pretty printing
57142 2010-05-31 Petr Baudis <pasky@suse.cz>
57145 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57146 initialization of skip_initgroups_dyn.
57148 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57150 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57153 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57155 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57157 2010-11-11 Andreas Schwab <schwab@redhat.com>
57159 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57160 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57161 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57162 ($(objpfx)tst-fnmatch-mem): New rule.
57163 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57164 * posix/tst-fnmatch.c (main): Call mtrace.
57166 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57169 Support Intel processor model 6 and model 0x2c.
57171 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57176 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57179 * string/test-strncasecmp.c (check_result): New function.
57180 (do_one_test): Use it.
57181 (check1): New function.
57182 (test_main): Use it.
57183 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57184 Support strcasecmp and strncasecmp.
57186 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57189 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57190 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57192 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57194 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57198 * sysdeps/x86_64/multiarch/bzero.S: New file.
57199 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57200 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57201 * sysdeps/x86_64/multiarch/memset.S: New file.
57202 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57204 Set bit_Prefer_SSE_for_memop for Intel processors.
57205 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57207 (index_Prefer_SSE_for_memop): Define.
57208 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57210 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57212 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57213 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57215 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57218 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57219 (__x86_64_raw_data_cache_size_half): Likewise.
57220 (__x86_64_raw_shared_cache_size): Likewise.
57221 (__x86_64_raw_shared_cache_size_half): Likewise.
57223 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57224 (__x86_64_raw_data_cache_size_half): Likewise.
57225 (__x86_64_raw_shared_cache_size): Likewise.
57226 (__x86_64_raw_shared_cache_size_half): Likewise.
57227 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57228 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57229 and __x86_64_raw_shared_cache_size_half. Round
57230 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57231 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57232 to multiple of 256 bytes.
57234 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57237 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57238 of inacessible symlinks. Verify result of symlink before returning it.
57239 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57240 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57242 2010-10-28 Erich Ritz <erichritz@gmail.com>
57244 * math/math.h (isinf): Fix typo in comment.
57246 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57248 * po/da.po: Update from translation team.
57250 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57252 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57253 is added to the list.
57255 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57256 Ulrich Drepper <drepper@gmail.com>
57258 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57259 the global list here. Move code to...
57260 (_dl_add_to_namespace_list): ...here. New function.
57261 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57262 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57263 * elf/dl-load.c (lose): Don't remove the element from the list.
57264 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57265 (_dl_map_object): Likewise.
57267 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57270 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57271 into all bytes of SSE register.
57272 Patch by Richard Li <richardpku@gmail.com>.
57274 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57277 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57280 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57282 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57283 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57284 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57285 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57290 2010-10-22 Andreas Schwab <schwab@redhat.com>
57292 * include/dlfcn.h (__RTLD_SECURE): Define.
57293 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57294 mode & __RTLD_SECURE instead.
57295 (open_path): Rename preloaded parameter to secure.
57296 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57297 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57298 * elf/dl-deps.c (openaux): Likewise.
57299 * elf/rtld.c (struct map_args): Remove is_preloaded.
57300 (map_doit): Don't use it.
57301 (dl_main): Likewise.
57302 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57303 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57305 2010-09-09 Andreas Schwab <schwab@redhat.com>
57307 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57308 (sysd-rules-targets): Remove duplicates.
57309 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57310 rtld-%.$o dependency.
57312 2010-10-18 Andreas Schwab <schwab@redhat.com>
57314 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57315 _dl_map_object do it.
57317 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57319 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57320 fast fma builtins, define the macros in the C99 standard.
57321 (FP_FAST_FMAF): Likewise.
57322 (FP_FAST_FMAL): Likewise.
57323 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57325 * bits/mathdef.h: Update copyright year.
57326 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57328 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57330 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57331 builtins, define the macros in the C99 standard.
57332 (FP_FAST_FMAF): Likewise.
57333 (FP_FAST_FMAL): Likewise.
57334 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57336 (FP_FAST_FMAF): Likewise.
57338 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57341 * math/libm-test.inc (fma_test): Some new testcases.
57342 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57343 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57344 y and infinite z. Do multiplication by C already in long double.
57345 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57347 y and infinite z. Do bitwise or of inexact bit into u.d.
57348 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57349 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57350 * sysdeps/i386/fpu/s_fma.S: Removed.
57351 * sysdeps/i386/fpu/s_fmal.S: Removed.
57353 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57356 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57358 computation is not scheduled after fetestexcept. Fix value
57359 of minimum denormal long double.
57361 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57364 * math/libm-test.inc (fma_test): Add some more tests.
57365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57368 2010-10-15 Andreas Schwab <schwab@redhat.com>
57370 * scripts/data/localplt-s390-linux-gnu.data: New file.
57371 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57373 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57376 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57377 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57379 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57381 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57383 if one of x and y is very large and the other is subnormal.
57384 * sysdeps/s390/fpu/s_fmaf.c: New file.
57385 * sysdeps/s390/fpu/s_fma.c: New file.
57386 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57387 * sysdeps/powerpc/fpu/s_fma.S: New file.
57388 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57389 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57390 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57392 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57395 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57397 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57398 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57399 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57400 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57401 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57402 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57403 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57405 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57408 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57409 * posix/bug-regex31.input: Add test case.
57411 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57413 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57414 * posix/bug-regex31.input: New file.
57417 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57418 (parse_sub_exp): Fix last change, use postorder.
57420 * posix/bug-regex31.c: New file.
57421 * posix/Makefile: Add rules to build and run bug-regex31.
57423 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57426 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57429 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57430 to have entries in sys_siglist.
57433 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57436 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57439 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57440 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57441 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57442 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57443 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57444 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57445 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57446 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57447 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57448 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57449 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57450 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57451 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57452 * math/ftestexcept.c (fetestexcept): Likewise.
57453 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57454 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57455 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57456 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57457 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57458 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57459 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57461 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57464 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57467 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57469 * string/bug-strstr1.c: New file.
57470 * string/Makefile: Add rules to build and run bug-strstr1.
57472 2010-10-05 Eric Blake <eblake@redhat.com>
57475 * string/str-two-way.h (two_way_long_needle): Always clear memory
57476 when skipping input due to the shift table.
57478 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57481 * malloc/mcheck.c: Handle large requests.
57484 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57485 for strncmp and strncasecmp.
57486 * string/stratcliff.c: Add tests for strcmp and strncmp.
57487 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57489 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57491 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57494 2010-09-30 Andreas Jaeger <aj@suse.de>
57496 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57497 (CGROUP_SUPER_MAGIC): Define.
57498 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57499 Handle btrfs and cgroup file systems.
57500 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57503 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57505 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57506 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57508 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57511 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57512 trying to locate the ELF header.
57514 2010-09-27 Andreas Schwab <schwab@redhat.com>
57517 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57518 Mask out sign-bit copies when constructing f_fsid.
57520 2010-09-24 Petr Baudis <pasky@suse.cz>
57522 * debug/stack_chk_fail_local.c: Add missing licence exception.
57523 * debug/warning-nop.c: Likewise.
57525 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57527 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57528 implementing getdents64 using getdents syscall, set d_type if
57529 __ASSUME_GETDENTS32_D_TYPE.
57531 2010-09-16 Andreas Schwab <schwab@redhat.com>
57533 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57534 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57536 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57539 * posix/unistd.h: Undo change of feature selection for ftruncate from
57542 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57544 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57547 2010-09-20 Andreas Schwab <schwab@redhat.com>
57549 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57553 2010-09-14 Andreas Schwab <schwab@redhat.com>
57555 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57556 variables after CHECK_SP call.
57557 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57559 2010-09-13 Andreas Schwab <schwab@redhat.com>
57560 Ulrich Drepper <drepper@redhat.com>
57562 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57563 re-relocationg ld.so.
57564 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57565 _dl_init_paths call.
57566 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57569 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57571 * resolv/res_init.c (__res_vinit): Count the default server we added.
57573 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57574 Ulrich Drepper <drepper@redhat.com>
57577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57578 (____longjmp_chk): Use %ebx for saving value across system call.
57581 2010-09-06 Andreas Schwab <schwab@redhat.com>
57583 * manual/Makefile: Don't mix pattern rules with normal rules.
57585 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57587 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57589 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57590 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57591 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57592 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57596 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57599 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57600 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57602 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57604 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57605 * sysdeps/x86_64/addmul_1.S: Likewise.
57606 * sysdeps/x86_64/lshift.S: Likewise.
57607 * sysdeps/x86_64/mul_1.S: Likewise.
57608 * sysdeps/x86_64/rshift.S: Likewise.
57609 * sysdeps/x86_64/sub_n.S: Likewise.
57610 * sysdeps/x86_64/submul_1.S: Likewise.
57612 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57614 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57615 Define __sched_param instead of SCHED_* and sched_param when
57616 <bits/sched.h> is included with __need_schedparam defined.
57617 * bits/sched.h [__need_schedparam]
57618 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57619 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57620 (__defined_schedparam): Define to 1.
57621 (__sched_param): New structure, identical to sched_param.
57622 (__need_schedparam): Undefine.
57624 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57627 (epoll_create1): Declare.
57629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57631 2010-08-31 Andreas Schwab <schwab@redhat.com>
57634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57635 shifting retval into place.
57637 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57639 * nis/rpcsvc/nis.h: Update copyright notice.
57640 * nis/rpcsvc/nis.x: Likewise.
57641 * nis/rpcsvc/nis_callback.h: Likewise.
57642 * nis/rpcsvc/nis_callback.x: Likewise.
57643 * nis/rpcsvc/nis_object.x: Likewise.
57644 * nis/rpcsvc/nis_tags.h: Likewise.
57645 * nis/rpcsvc/yp.h: Likewise.
57646 * nis/rpcsvc/yp.x: Likewise.
57647 * nis/rpcsvc/ypupd.h: Likewise.
57648 * nis/yp_xdr.c: Likewise.
57649 * nis/ypupdate_xdr.c: Likewise.
57651 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57652 mainly the body of pmap_getport. Add parameters to specify timeouts.
57653 (pmap_getport): Use __libc_rpc_getport.
57654 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57655 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57656 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57658 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57663 2010-08-27 Roland McGrath <roland@redhat.com>
57665 * sysdeps/i386/i686/multiarch/Makefile
57666 (CFLAGS-varshift.c): New variable.
57668 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57670 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57671 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57675 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57677 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57679 * sysdeps/x86_64/strlen.S: Unroll the loop.
57680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57681 strlen-sse2 strlen-sse2-bsf.
57682 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57683 __strlen_no_bsf if bit_Slow_BSF is set.
57684 (__strlen_sse42): Removed.
57685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57686 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57688 2010-08-25 Roland McGrath <roland@redhat.com>
57690 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57691 * sysdeps/x86_64/multiarch/varshift.c: New file.
57692 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57693 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57694 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57695 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57697 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57700 strlen-sse2 strlen-sse2-bsf.
57701 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57702 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57703 (__strlen_sse2): Removed.
57704 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57705 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57707 bit_Slow_BSF for Atom.
57708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57709 (index_Slow_BSF): Define.
57710 (HAS_SLOW_BSF): Define.
57712 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57715 * resolv/res_init.c (__res_vinit): When no server address at all
57716 is given default to loopback.
57718 2010-08-24 Roland McGrath <roland@redhat.com>
57720 * configure.in: Remove config-name.h generation.
57721 * configure: Regenerated.
57722 * config-name.in: File removed.
57723 * scripts/config-uname.sh: New file.
57724 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57725 ($(objdir)config-name.h): New target.
57727 * sunrpc/rpc_parse.h: Avoid nested comment.
57729 2010-08-24 Richard Henderson <rth@redhat.com>
57730 Ulrich Drepper <drepper@redhat.com>
57731 H.J. Lu <hongjiu.lu@intel.com>
57733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57735 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57736 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57737 _mm_alignr_epi8 with _mm_loadu_si128.
57738 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57739 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57740 (__m128i_shift_right): Removed.
57741 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57742 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57743 * sysdeps/x86_64/multiarch/varshift.h: New file.
57744 * sysdeps/x86_64/multiarch/varshift.S: New file.
57746 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57748 * configure.in: Move assembler checks to before sysdep dir checking.
57750 2010-08-20 Petr Baudis <pasky@suse.cz>
57752 * LICENSES: Sync the sunrpc license.
57754 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57756 * sunrpc/auth_des.c: Update copyright notice once again.
57757 * sunrpc/auth_none.c: Likewise.
57758 * sunrpc/auth_unix.c: Likewise.
57759 * sunrpc/authdes_prot.c: Likewise.
57760 * sunrpc/authuxprot.c: Likewise.
57761 * sunrpc/bindrsvprt.c: Likewise.
57762 * sunrpc/clnt_gen.c: Likewise.
57763 * sunrpc/clnt_perr.c: Likewise.
57764 * sunrpc/clnt_raw.c: Likewise.
57765 * sunrpc/clnt_simp.c: Likewise.
57766 * sunrpc/clnt_tcp.c: Likewise.
57767 * sunrpc/clnt_udp.c: Likewise.
57768 * sunrpc/clnt_unix.c: Likewise.
57769 * sunrpc/des_crypt.c: Likewise.
57770 * sunrpc/des_soft.c: Likewise.
57771 * sunrpc/get_myaddr.c: Likewise.
57772 * sunrpc/getrpcport.c: Likewise.
57773 * sunrpc/key_call.c: Likewise.
57774 * sunrpc/key_prot.c: Likewise.
57775 * sunrpc/openchild.c: Likewise.
57776 * sunrpc/pm_getmaps.c: Likewise.
57777 * sunrpc/pm_getport.c: Likewise.
57778 * sunrpc/pmap_clnt.c: Likewise.
57779 * sunrpc/pmap_prot.c: Likewise.
57780 * sunrpc/pmap_prot2.c: Likewise.
57781 * sunrpc/pmap_rmt.c: Likewise.
57782 * sunrpc/rpc/auth.h: Likewise.
57783 * sunrpc/rpc/auth_unix.h: Likewise.
57784 * sunrpc/rpc/clnt.h: Likewise.
57785 * sunrpc/rpc/des_crypt.h: Likewise.
57786 * sunrpc/rpc/key_prot.h: Likewise.
57787 * sunrpc/rpc/netdb.h: Likewise.
57788 * sunrpc/rpc/pmap_clnt.h: Likewise.
57789 * sunrpc/rpc/pmap_prot.h: Likewise.
57790 * sunrpc/rpc/pmap_rmt.h: Likewise.
57791 * sunrpc/rpc/rpc.h: Likewise.
57792 * sunrpc/rpc/rpc_des.h: Likewise.
57793 * sunrpc/rpc/rpc_msg.h: Likewise.
57794 * sunrpc/rpc/svc.h: Likewise.
57795 * sunrpc/rpc/svc_auth.h: Likewise.
57796 * sunrpc/rpc/types.h: Likewise.
57797 * sunrpc/rpc/xdr.h: Likewise.
57798 * sunrpc/rpc_clntout.c: Likewise.
57799 * sunrpc/rpc_cmsg.c: Likewise.
57800 * sunrpc/rpc_common.c: Likewise.
57801 * sunrpc/rpc_cout.c: Likewise.
57802 * sunrpc/rpc_dtable.c: Likewise.
57803 * sunrpc/rpc_hout.c: Likewise.
57804 * sunrpc/rpc_main.c: Likewise.
57805 * sunrpc/rpc_parse.c: Likewise.
57806 * sunrpc/rpc_parse.h: Likewise.
57807 * sunrpc/rpc_prot.c: Likewise.
57808 * sunrpc/rpc_sample.c: Likewise.
57809 * sunrpc/rpc_scan.c: Likewise.
57810 * sunrpc/rpc_scan.h: Likewise.
57811 * sunrpc/rpc_svcout.c: Likewise.
57812 * sunrpc/rpc_tblout.c: Likewise.
57813 * sunrpc/rpc_util.c: Likewise.
57814 * sunrpc/rpc_util.h: Likewise.
57815 * sunrpc/rpcinfo.c: Likewise.
57816 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57817 * sunrpc/rpcsvc/key_prot.x: Likewise.
57818 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57819 * sunrpc/rpcsvc/mount.x: Likewise.
57820 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57821 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57822 * sunrpc/rpcsvc/rex.x: Likewise.
57823 * sunrpc/rpcsvc/rstat.x: Likewise.
57824 * sunrpc/rpcsvc/rusers.x: Likewise.
57825 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57826 * sunrpc/rpcsvc/spray.x: Likewise.
57827 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57828 * sunrpc/rtime.c: Likewise.
57829 * sunrpc/svc.c: Likewise.
57830 * sunrpc/svc_auth.c: Likewise.
57831 * sunrpc/svc_authux.c: Likewise.
57832 * sunrpc/svc_raw.c: Likewise.
57833 * sunrpc/svc_run.c: Likewise.
57834 * sunrpc/svc_simple.c: Likewise.
57835 * sunrpc/svc_tcp.c: Likewise.
57836 * sunrpc/svc_udp.c: Likewise.
57837 * sunrpc/svc_unix.c: Likewise.
57838 * sunrpc/svcauth_des.c: Likewise.
57839 * sunrpc/xcrypt.c: Likewise.
57840 * sunrpc/xdr.c: Likewise.
57841 * sunrpc/xdr_array.c: Likewise.
57842 * sunrpc/xdr_float.c: Likewise.
57843 * sunrpc/xdr_mem.c: Likewise.
57844 * sunrpc/xdr_rec.c: Likewise.
57845 * sunrpc/xdr_ref.c: Likewise.
57846 * sunrpc/xdr_sizeof.c: Likewise.
57847 * sunrpc/xdr_stdio.c: Likewise.
57849 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57852 2010-08-19 Andreas Schwab <schwab@redhat.com>
57854 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57856 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57858 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57859 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57861 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57862 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57863 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57864 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57865 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57867 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57868 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57869 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57870 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57871 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57873 2010-07-26 Anton Blanchard <anton@samba.org>
57875 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57876 * malloc/arena.c (heap_trim): Likewise.
57878 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57880 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57882 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57883 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57885 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57887 * sysdeps/i386/elf/Makefile: New file.
57889 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57891 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57892 from fanotify_init.
57893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57896 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57898 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57900 * sysdeps/multiarch/strcmp.S: Likewise.
57902 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57904 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57905 strncase_l-nonascii.
57906 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57907 Add strncase_l-ssse3.
57908 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57909 * sysdeps/x86_64/strcmp.S: Likewise.
57910 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57911 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57912 * sysdeps/x86_64/strncase.S: New file.
57913 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57914 * sysdeps/x86_64/strncase_l.S: New file.
57915 * string/Makefile (strop-tests): Add strncasecmp.
57916 * string/test-strncasecmp.c: New file.
57918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57921 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57922 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57924 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57926 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57928 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57930 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57931 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57932 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57934 2010-05-01 Alan Modra <amodra@gmail.com>
57936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57937 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57938 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57939 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57940 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57941 tidying. Don't tail-call __sigjmp_save for static lib.
57942 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57944 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57945 (CALL_MCOUNT): Add eh info, and nop after bl.
57946 (TAIL_CALL_SYSCALL_ERROR): New macro.
57947 (PSEUDO_RET): Use it.
57948 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57949 Correct save location of integer regs and cr.
57950 (_dl_profile_resolve): Correct cr save location. Delete nops
57951 after bl when SHARED. Reduce cfi size a little by better
57952 placement of cfi directives.
57953 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57954 make a stack frame. Instead use parm save area as a temp.
57955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57956 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57958 Don't make a stack frame for parent, use parm save area.
57959 Increase child stack frame to 112 bytes. Don't save unused reg,
57960 and adjust reg usage. Set up cfi on error recovery and
57961 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57963 (__makecontext): Add dummy nop after jump to exit.
57964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57965 Use correct parm save area and cr save, reduce stack frame.
57966 Correct cfi for possible PSEUDO_RET frame setup.
57967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57968 Branch to local label emitted by PSEUDO_RET rather than
57971 2010-08-12 Andreas Schwab <schwab@redhat.com>
57974 * locale/programs/locale.c (print_assignment): New function.
57975 (show_locale_vars): Use it.
57977 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57979 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57981 (struct statfs64): Likewise.
57982 (_STATFS_F_FLAGS): Define.
57983 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57984 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57985 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57986 (ST_VALID): Define locally.
57987 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57988 __statvfs_getflags, use the provided value.
57989 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57990 __ASSUME_STATFS_F_FLAGS.
57992 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57994 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57995 Add sys/fanotify.h.
57996 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57997 fanotify_mask for GLIBC_2.13.
57998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57999 fanotify_init and fanotify_mark.
58000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58001 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58003 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58005 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58006 prlimit64 for GLIBC_2.13.
58007 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58012 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58013 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58014 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58015 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58017 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58020 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58021 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58023 * nss/Makefile: Add rules to build and run tst-nss-test1.
58024 * shlib-versions: Add entry for libnss_test1.
58025 * nss/nss_test1.c: New file.
58026 * nss/tst-nss-test1.c: New file.
58028 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58029 (__nss_configure_lookup): Set appropriate entry in
58030 __nss_configure_lookup to true.
58031 * nss/nsswitch.h: Define enum with indeces of databases in
58032 databases and __nss_database_custom arrays. Declare
58033 __nss_database_custom.
58034 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58035 to avoid using nscd when custom rules are installed.
58036 * nss/getXXbyYY_r.c: Likewise.
58037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58039 * nss/nss_files/files-parse.c: Whitespace fixes.
58041 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58044 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58045 * posix/fnmatch_loop.c: Likewise.
58047 2010-07-17 Andi Kleen <ak@linux.intel.com>
58049 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58050 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58051 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58052 * Versions.def [GLIBC_2.13]: Add.
58054 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58057 Also fail if tpwd after pwuid call is NULL.
58059 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58061 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58062 when converting to ms.
58064 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58066 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58067 EOPNOTSUPP errors with ENOTTY.
58068 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58069 EOPNOTSUPP errors with ENOTTY.
58071 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58073 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58074 Add strcasecmp_l-ssse3.
58075 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58077 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58078 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58079 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58081 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58083 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58085 * string/Makefile (strop-tests): Add strcasecmp.
58086 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58087 strcasecmp_l-nonascii.
58088 (gen-as-const-headers): Add locale-defines.sym.
58089 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58090 * sysdeps/x86_64/strcasecmp.S: New file.
58091 * sysdeps/x86_64/strcasecmp_l.S: New file.
58092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58093 * sysdeps/x86_64/locale-defines.sym: New file.
58094 * string/test-strcasecmp.c: New file.
58096 * string/test-strcasestr.c: Test both ends of the range of characters.
58097 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58099 2010-07-29 Roland McGrath <roland@redhat.com>
58102 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58104 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58106 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58109 2010-07-27 Andreas Schwab <schwab@redhat.com>
58111 * manual/memory.texi (Malloc Tunable Parameters): Document
58114 2010-07-26 Roland McGrath <roland@redhat.com>
58117 * configure.in (-fgnu89-inline check): Set and substitute
58118 gnu89_inline, not libc_cv_gnu89_inline.
58119 * configure: Regenerated.
58120 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58122 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58124 * string/test-strnlen.c: New file.
58125 * string/Makefile (strop-tests): Add strnlen.
58126 * string/tester.c (test_strnlen): Add a few more test cases.
58127 * string/tst-strlen.c: Better error reporting.
58129 * sysdeps/x86_64/strnlen.S: New file.
58131 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58133 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58134 lower-latency instructions.
58136 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58138 * string/test-strcasestr.c: New file.
58139 * string/test-strstr.c: New file.
58140 * string/Makefile (strop-tests): Add strstr and strcasestr.
58141 * string/str-two-way.h: Don't undefine MAX.
58142 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58144 2010-07-21 Andreas Schwab <schwab@redhat.com>
58146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58147 strcasestr-nonascii.
58148 (CFLAGS-strcasestr-nonascii.c): Define.
58149 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58151 Remove unused attribute.
58153 2010-07-20 Roland McGrath <roland@redhat.com>
58155 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58156 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58157 ld.so.cache was broken. With it, there is no way to disable dsocaps
58158 like LD_HWCAP_MASK can disable hwcaps.
58160 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58162 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58164 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58166 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58167 call in strcasestr.
58168 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58169 __strcasestr_sse42_nonascii.
58170 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58171 strcasestr-nonascii.c.
58172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58174 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58176 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58179 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58181 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58183 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58186 2010-07-06 Andreas Schwab <schwab@redhat.com>
58189 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58192 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58194 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58195 _PC_PIPE_BUF using F_GETPIPE_SZ.
58197 2010-07-05 Roland McGrath <roland@redhat.com>
58199 * manual/arith.texi (Rounding Functions): Fix rint description
58200 implicit in round description.
58202 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58204 * elf/Makefile: Fix linking for a few tests to make recent linker
58207 2010-06-30 Andreas Schwab <schwab@redhat.com>
58209 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58210 $(common-objpfx)libc_nonshared.a.
58212 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58214 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58215 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58216 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58217 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58218 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58219 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58220 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58221 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58236 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58237 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58238 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58239 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58240 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58241 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58242 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58243 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58244 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58245 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58246 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58247 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58263 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58265 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58266 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58267 * string/memmove.c (memmove): Renamed to ...
58268 (MEMMOVE): ...this. Default to memmove.
58269 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58270 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58273 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58274 mempcpy-ssse3-back memmove-ssse3-back.
58275 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58276 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58277 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58278 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58279 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58280 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58281 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58282 * sysdeps/x86_64/multiarch/memmove.c: New file.
58283 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58284 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58285 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58286 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58287 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58290 (index_Fast_Copy_Backward): Define.
58291 (HAS_ARCH_FEATURE): Define.
58292 (HAS_FAST_REP_STRING): Define.
58293 (HAS_FAST_COPY_BACKWARD): Define.
58295 2010-06-21 Andreas Schwab <schwab@redhat.com>
58297 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58298 Restore proper fallback handling.
58300 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58303 * posix/group_member.c (__group_member): Correct checking loop.
58305 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58306 OOM in getpwuid_r correctly. Return error number when the caller
58307 should return, otherwise -1.
58308 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58309 call returning > 0 value.
58310 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58312 2010-06-07 Andreas Schwab <schwab@redhat.com>
58314 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58315 libc_nonshared.a from targets in modules-names.
58317 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58319 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58322 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58324 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58325 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58326 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58329 2010-06-02 Andreas Schwab <schwab@redhat.com>
58331 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58333 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58335 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58338 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58342 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58344 2010-06-14 Roland McGrath <roland@redhat.com>
58346 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58348 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58350 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58351 __REDIRECT followed by __THROW.
58352 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58353 * posix/getopt.h (getopt): Likewise.
58355 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58357 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58358 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58359 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58361 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58362 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58364 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58366 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58368 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58372 Properly check family and model.
58374 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58376 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58378 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58380 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58382 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58384 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58387 2010-05-19 Andreas Schwab <schwab@redhat.com>
58389 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58392 2010-05-21 Andreas Schwab <schwab@redhat.com>
58394 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58395 and internal_recvmmsg.
58396 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58397 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58398 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58399 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58401 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58402 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58403 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58405 2010-05-20 Andreas Schwab <schwab@redhat.com>
58407 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58409 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58411 POWER7 optimizations.
58412 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58413 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58415 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58417 * version.h: Update for 2.13 development version.
58419 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58421 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58422 exceptions. Return 0.
58424 2010-05-07 Roland McGrath <roland@redhat.com>
58426 * elf/ldconfig.c (main): Add a const.
58428 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58430 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58431 (args_options): Add no-idn option.
58432 (ahosts_keys_int): Add idn_flags to ai_flags.
58433 (parse_option): Handle 'i' option to clear idn_flags.
58435 * malloc/malloc.c (_int_free): Possible race in the most recently
58436 added check. Only act on the data if no current modification
58439 See ChangeLog.17 for earlier changes.